
var menuReady = false;

function popupMenuSH() { 
		if((!ie45mac)&&(!ie5mac))
		{
 		var i, visStr, args, theObj,x;
		args = popupMenuSH.arguments;
 		for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
    		if(args[i+2]==1) {
				visStr = 'show';
			}
			else
			{
				visStr = 'hide';
			}
			if (navigator.appName == 'Netscape' && document.layers != null) {
				theObj = eval('document.layers["menu' + String(args[i]) + '"]');
				if (theObj) theObj.visibility = visStr;
				
			} else if (document.all != null) { //IE
      				if (visStr == 'show') visStr = 'visible'; //convert vals
      				if (visStr == 'hide') visStr = 'hidden';
      				theObj = eval('document.all["menu' + String(args[i+1]) + '"]');
					
      				if (theObj) theObj.style.visibility = visStr;
			}
		}
		}
	};
	
	function val(fillit) {
		for (i=0;i<fillit.elements.length;i++)
		{
			if(fillit.elements[i].value=="")
			{
				alert("Please fill in all fields.");
				return false;
			}
		}
		return true;
	};
	
	function go_intl(where) {
		var pass;
		pass = where.options[where.options.selectedIndex].value;
		window.location='/international/default.asp?inid='+pass;
	};
	
	function check_ser(val) {
		
		if(val=="") {
			alert("Please put a search string in the text box.");
			return false;
		}
		else
		{
			
			return true;
		}
	};
		
	if(document.images){	
	var ttoff = new Image();
	ttoff.src = "frames_files/9d_animated.gif";
	 
	var homoff = new Image();
	homoff.src = "frames_files/home.gif";
	var homon  = new Image();
	homon.src = "frames_files/home.gif";
	var thom = new Image();
	thom.src = "frames_files/home_insert.gif";  <!--update-->

	
   	var weboff = new Image();
	weboff.src = "frames_files/webhosting.gif";
   	var webon = new Image();
	webon.src = "frames_files/webhosting.gif";
	var tweb = new Image();
	tweb.src = "frames_files/webhosting_insert.gif";	<!--update-->
	
	var prooff = new Image();
	prooff.src = "frames_files/products.gif";
	var proon = new Image();
	proon.src = "frames_files/products.gif";
	var	tpro = new Image();
	tpro.src = "frames_files/products_insert.gif";	<!--update-->
	
	var seroff = new Image();
	seroff.src = "frames_files/services.gif";
	var seron = new Image();
	seron.src = "frames_files/services.gif";
	var tser = new Image();
	tser.src = "frames_files/services_insert.gif";	<!--update-->
	
	var supoff = new Image();
	supoff.src = "frames_files/support.gif";
	var supon = new Image();
	supon.src = "frames_files/support.gif";
	var tsup = new Image();
	tsup.src = "frames_files/support_insert.gif";	<!--update-->
	
	var lawoff = new Image();
	lawoff.src = "frames_files/forlawyers.gif";
	var lawon = new Image();
	lawon.src = "frames_files/forlawyers.gif";
	var tlaw = new Image();
	tlaw.src = "frames_files/lawyers_insert.gif";<!--update-->
	
	var disoff = new Image();
	disoff.src = "frames_files/discussion.gif";
	var dison = new Image();
	dison.src = "frames_files/discussion.gif";
	var tdis = new Image();
	tdis.src = "frames_files/forums_insert.gif";	<!--update-->
	
	var teroff = new Image();
	teroff.src = "frames_files/termsofservice.gif";
	var teron = new Image();
	teron.src = "frames_files/termsofservice.gif";
	var tter = new Image();
	tter.src = "frames_files/terms_insert.gif";	<!--update-->
	
	var usoff = new Image();
	usoff.src = "frames_files/aboutus.gif";
	var uson = new Image();
	uson.src = "frames_files/aboutus.gif";
	var tus = new Image();
	tus.src = "frames_files/aboutus_insert.gif";	<!--update-->
	};
	
	//var docom = (document.getElementById);
	//var ie = (navigator.appName == 'Microsoft Internet Explorer');
	var ns4 = (document.layers)? true:false;
	var ie4 = (document.all)? true:false;
	//var ie4mac = (ie && !docom && navigator.userAgent.indexOf('Macintosh') != -1);
	var ie45mac = (navigator.appVersion.indexOf('MSIE 4.5; Macintosh')!=-1);
	var ie5mac = (navigator.appVersion.indexOf('MSIE 5.0; Macintosh')!=-1);

	function check() {
		if (ns4 && document.layers) {
			document.menu1.onmouseover=new Function("popupMenuSH(1,1,1)");
			document.menu1.onmouseout=new Function("popupMenuSH(1,1,0)");
			document.menu2.onmouseover=new Function("popupMenuSH(2,2,1)");
			document.menu2.onmouseout=new Function("popupMenuSH(2,2,0)");
			document.menu3.onmouseover=new Function("popupMenuSH(3,3,1)");
			document.menu3.onmouseout=new Function("popupMenuSH(3,3,0)");
			document.menu4.onmouseover=new Function("popupMenuSH(4,4,1)");
			document.menu4.onmouseout=new Function("popupMenuSH(4,4,0)");
			document.menu5.onmouseover=new Function("popupMenuSH(5,5,1)");
			document.menu5.onmouseout=new Function("popupMenuSH(5,5,0)");
			document.menu6.onmouseover=new Function("popupMenuSH(6,6,1)");
			document.menu6.onmouseout=new Function("popupMenuSH(6,6,0)");
		}
		if (ie4 & document.all) {
			
		}
		
	};


	