function callrootmenu()
{
stm_bm(["menu2749",430,"menu/","blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[0,4,0,0,1,0,0,7,100,"",-2,"",-2,50,0,0,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"HOME","","",-1,-1,0,"index.htm","_self","","","","",0,0,0,"","",0,0,0,1,1,"#B0B0B1",0,"#626262",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","bold 8pt Verdana","bold 8pt Verdana",0,0],159,18);
stm_aix("p0i1","p0i0",[0,"ABOUT ME","","",-1,-1,0,"","_self","","","","",0,0,0,"","",7,7],159,18);
stm_bp("p1",[1,4,-1,0,1,0,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.60)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.60)",4,50,0,0,"#999999","#FFFFFF","",3,0,0,"#ffffff"]);
stm_aix("p1i0","p0i0",[0,"  My Family","","",-1,-1,0,"family.htm","_self","","","","",0,0,0,"","",0,0,0,0,1,"#B0B0B1",0,"#626262",0,"","",3,3,1,1,"#000000"],157,20);
stm_ep();
stm_aix("p0i2","p0i1",[0,"TECHNICAL"],159,18);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"  Today\'s Special","","",-1,-1,0,"knowledge.htm"],157,20);
stm_ep();
stm_aix("p0i3","p0i1",[0,"MISCELLANEOUS"],160,18);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"  Movies &amp; Songs","","",-1,-1,0,"movies.htm"],158,20);
stm_aix("p3i1","p1i0",[0,"  Quotes","","",-1,-1,0,"quotes/quotes1.htm"],158,20);
stm_aix("p3i2","p1i0",[0,"  Chat &amp; Radio","","",-1,-1,0,"radio.htm"],158,20);
stm_ep();
stm_aix("p0i4","p0i1",[0,"GUEST BOOK"],159,18);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p1i0",[0,"  Sign Guest Book","","",-1,-1,0,"contact.htm"],157,20);
stm_aix("p4i1","p1i0",[0,"  View Guest Book","","",-1,-1,0,"guestpages/guest1.htm"],157,20);
stm_aix("p4i2","p1i0",[0,"  Old Pages","","",-1,-1,0,"OldPages/pages/index.htm"],157,20);
stm_ep();
stm_ep();
stm_em();
}

function callsubmenu()
{
stm_bm(["menu2749",430,"menu/","blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[0,4,0,0,1,0,0,7,100,"",-2,"",-2,50,0,0,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"HOME","","",-1,-1,0,"../index.htm","_self","","","","",0,0,0,"","",0,0,0,1,1,"#B0B0B1",0,"#626262",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","bold 8pt Verdana","bold 8pt Verdana",0,0],159,18);
stm_aix("p0i1","p0i0",[0,"ABOUT ME","","",-1,-1,0,"","_self","","","","",0,0,0,"","",7,7],159,18);
stm_bp("p1",[1,4,-1,0,1,0,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.60)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.60)",4,50,0,0,"#999999","#FFFFFF","",3,0,0,"#ffffff"]);
stm_aix("p1i0","p0i0",[0,"  My Family","","",-1,-1,0,"../family.htm","_self","","","","",0,0,0,"","",0,0,0,0,1,"#B0B0B1",0,"#626262",0,"","",3,3,1,1,"#000000"],157,20);
stm_ep();
stm_aix("p0i2","p0i1",[0,"TECHNICAL"],159,18);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"  Today\'s Special","","",-1,-1,0,"../knowledge.htm"],157,20);
stm_ep();
stm_aix("p0i3","p0i1",[0,"MISCELLANEOUS"],160,18);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"  Movies &amp; Songs","","",-1,-1,0,"../movies.htm"],158,20);
stm_aix("p3i1","p1i0",[0,"  Quotes","","",-1,-1,0,"../quotes/quotes1.htm"],158,20);
stm_aix("p3i2","p1i0",[0,"  Chat &amp; Radio","","",-1,-1,0,"../radio.htm"],158,20);
stm_ep();
stm_aix("p0i4","p0i1",[0,"GUEST BOOK"],159,18);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p1i0",[0,"  Sign Guest Book","","",-1,-1,0,"../contact.htm"],157,20);
stm_aix("p4i1","p1i0",[0,"  View Guest Book","","",-1,-1,0,"../guestpages/guest1.htm"],157,20);
stm_aix("p4i2","p1i0",[0,"  Old Pages","","",-1,-1,0,"../OldPages/pages/index.htm"],157,20);
stm_ep();
stm_ep();
stm_em();
}


picture=new Array(
"images/array/image1.jpg",
"images/array/image2.jpg",
"images/array/image3.jpg",
"images/array/image4.jpg");
swap=Math.floor(picture.length*Math.random());
swap='<img SRC="./'+ picture[swap]+ '" BORDER=0>';

function loadlistboxes()
{
	document.form1.links.options[0].text = "PAGES";
	for (var i = 1; i <= 6; i++)
	{
		document.form1.links.options[i].text = i;
    		document.form1.links.options[i].value = i;
  	}

}

function options()
{
document.write('<option><option><option><option><option><option><option>');

}


function pages() 
{
	var pick = document.forms.form1.links.selectedIndex;
	switch (pick)
	{
 		case 1:window.location ="guest1.htm";break;
 		case 2:window.location ="guest2.htm";break;
		case 3:window.location ="guest3.htm";break;
		case 4:window.location ="guest4.htm";break;
		case 5:window.location ="guest5.htm";break;
		case 6:window.location ="guest6.htm";break;
	}
}

function validate_form( )
{
	valid = true;

	if (document.main.gb_0.value == "" )
    	{
        	alert ( "Please enter your name." );
	        valid = false;
		return valid;
	}

	if ( document.main.gb_2.value == "" )
	{
        	alert ( "Please enter city or country." );
	        valid = false;
		return valid;
	}
	else
	{
		return true;
	}
    
    
}

function emptyTextBoxes()
{
	document.main.gb_0.value = "";
	document.main.gb_1.value = "";
	document.main.gb_2.value = "";
	document.main.gb_3.value = "";
}

function pagesQuotes(page)
{
	var pageCount = 8;
    var tablePages = '<table width="700"  border="0" cellspacing="0" cellpadding="0">  <tr align="center"> ';

    for (var i = 1; i <= pageCount; i++)
    {
        tablePages = tablePages + '<td><a href="../quotes/quotes' + i + '.htm" target="_self" class="pages';
        if(i == page)
        {
            tablePages = tablePages + 'Active">PAGE ' + i + '</a></td>';
        }
        else
        {
            tablePages = tablePages + 'InActive">PAGE ' + i + '</a></td>';
        }

    }
    tablePages = tablePages + '</tr></table>';
    document.write(tablePages);
}

function pagesGuestBook(page)
{
	var pageCount = 10;
    var tablePages = '<table width="700"  border="0" cellspacing="0" cellpadding="0">  <tr align="center"> ';

    for (var i = 1; i <= pageCount; i++)
    {
        tablePages = tablePages + '<td><a href="../guestpages/guest' + i + '.htm" target="_self" class="pages';
        if(i == page)
        {
            tablePages = tablePages + 'Active">PAGE ' + i + '</a></td>';
        }
        else
        {
            tablePages = tablePages + 'InActive">PAGE ' + i + '</a></td>';
        }

    }
    tablePages = tablePages + '</tr></table>';
    document.write(tablePages);
}

