	var agt=navigator.userAgent.toLowerCase();
	var is_safari = agt.indexOf("safari")!=-1;

	function getdropdowns(){
		
		dn = 'hostd';startdiv(dn ,'157');
		bi('https://www.deltatechnicalservices.com/webhosting.php',dn ,'Compare Hosting Plans');
		bi('https://www.deltatechnicalservices.com/free-web-hosting.php',dn ,'Free Web Hosting');
		bi('https://www.deltatechnicalservices.com/webhosting.php',dn ,'Signup for Hosting');
		bi('http://www.DeltaTechnicalServices.com/assisted_hosting.php',dn ,'About Assisted Hosting');
		bi('https://www.deltatechnicalservices.com/clients/cart.php?gid=4',dn ,'SSL Certificates');
		bi('http://www.deltatechnicalservices.com/pci.php',dn ,'PCI Compliant Secure Hosting');
		bi('https://www.deltatechnicalservices.com/forums/',dn ,'User Support Forum');

/*		bi('http://www.DeltaTechnicalServices.com/hosting_platform_compare.php',dn ,'Hosting Platforms Compared'); */
//		sm(dn,'Dedicated Servers');
//		sm(dn,'Dedicated Server Plans');
//		bi('http://www.securepaynet.net/gdshop/hosting/virtual.asp?ci=1784&prog_id=bcr',dn ,'Virtual Dedicated Server');
//		bi('http://www.securepaynet.net/gdshop/hosting/dedicated.asp?ci=1785&prog_id=bcr',dn ,'Dedicated Server');
		enddiv();
		
/*		
		
		dn = 'consul';startdiv(dn,'64');
		bi('/consulting.php',dn,'On-Site Consulting');
		enddiv();
		
		dn = 'cont';startdiv(dn,'109');
		bi('/contact.php',dn,'Contact Info');
		enddiv();
*/		
		dn = 'domd';startdiv(dn,'157');
		bi('http://www.deltatechnicalservices.com/clients/domainchecker.php',dn,'Domain Checker');
		bi('https://www.deltatechnicalservices.com/clients/cart.php?a=add&domain=register',dn,'Register a Domain');
		bi('https://www.deltatechnicalservices.com/clients/cart.php?a=add&domain=transfer',dn,'Transfer a Domain');
		bi('http://www.deltatechnicalservices.com/clients/domainchecker.php?search=bulkregister',dn,'Register Multiple Domains');
		bi('http://www.deltatechnicalservices.com/clients/domainchecker.php?search=bulktransfer',dn,'Transfer Multiple Domains');
		bi('https://www.deltatechnicalservices.com/clients/cart.php?gid=4',dn ,'SSL Certificates');
		enddiv();

		dn = 'myacct';startdiv(dn,'157');
		
		bi('/clients/clientarea.php',dn,'Login');
		bi('/clients/',dn,'Support Area');
		bi('https://www.deltatechnicalservices.com/forums/',dn ,'User Support Forum');
		bi('/clients/knowledgebase.php',dn,'Knowledge Base');
		bi('/clients/clientarea.php?action=invoices',dn,'Pay Your Bill');
		bi('/privacy.php',dn,'Privacy Policy');
		bi('/termsofuse.php',dn,'Terms of Use');

/*
		bi('/account/domain_select.php?mode=cp',dn,'Control Panel Access');
		bi('/account/passwd_change.php',dn,'Change Your Password');
		bi('/account/logout.php',dn,'Log Off');
		sm(dn,'Manuals');
		bi('/domainadmin_manual',dn,'Domain Admin Panel Manual');
		bi('/email_manual',dn,'Email Admin Panel Manual');
		bi('/controlpanel.php',dn,'Control Panel');		
*/		
		enddiv();

		dn = 'des';startdiv(dn,'157');
		bi('/webdesign.php',dn,'Web Design');
		bi('/seo.php',dn,'Search Engine Optimization');
		enddiv();



	}
	
	function startdiv(idval,w){
		var s = document.write ('<div id="'+idval+'"><table width="'+w+'" border="0" cellpadding="0" cellspacing="0" class="mt">');
	}
	function enddiv(){
		var s = document.write ("</table></div>");
	}
	function bi(link,div,name){
		var s = document.write ("<tr><td onClick=\"lnk('"+link+"');\" onMouseOver=\"menuovr('"+div+"','"+pn(name)+"',this);\" onMouseOut=\"menuout('"+div+"',this);\" class=\"nav2\">"+name+"</td></tr>");
	}
	function sm(div,name){
//		var s = document.write ("<tr><td onMouseOver=\"smenuovr('"+div+"','"+pn(name)+"',this);\" onMouseOut=\"smenuout('"+div+"',this);\" class=\"nav3\">"+name+"</td></tr>");
		var s = document.write ("<tr><td onMouseOver=\"smenuovr('"+div+"','"+pn(name)+"',this);\" onMouseOut=\"smenuout('"+div+"',this);\" class=\"nav3\">"+name+"</td></tr>");
	}
	function pn(name){
		var s=name;if(s.indexOf("<")>0) {return(s.slice(0,s.indexOf("<")-1));}return(s);
	}
	function lnk(link){
		internal_clicked = true;
		window.open(link,'_self');
	}
	function mainovr(div,status){
		if(is_safari){
			bHover=status;window.status=status;setDD(div,status,false);}
		else{
			bHover=status;window.status=status;setTimeout('setDD(\'' + div + '\', \'' + status + '\', false)',400);}
	}
	function mainout(div){
		bHover='';window.status='';setDDTimeout(div);
	}
	function menuovr(div, link, item){
		window.status=link;item.style.backgroundColor='#AADDFF';setDD(div,'',true);
	}
	function imgovr(div){
	}
	function menuout(div, item){
		setDDTimeout(div);item.style.backgroundColor='#EEE';
	}
	function smenuovr(div, link, item){
		window.status=link;item.style.backgroundColor='#0000AA';setDD(div,'',true);
	}
	function smenuout(div, item){
		setDDTimeout(div);item.style.backgroundColor='#0000AA';
	}
	function findDiv(n, d) { 
		var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findDiv(n,d.layers[i].document);
	  if(!x && document.getElementById) x=document.getElementById(n); return x;
	}
	function tNav() { 	
		var i,p,v,obj,args=tNav.arguments;
	  for (i=0; i<(args.length-2); i+=3) if ((obj=findDiv(args[i]))!=null) { v=args[i+2];
	    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
	    obj.visibility=v; }    
	}
	function hideDDs(sect) {
		tNav('domd','','hide');tNav('hostd','','hide');tNav('cont','','hide');tNav('consul','','hide');tNav('des','','hide');tNav('myacct','','hide');tNav('dad','','hide');tNav('wwdd','','hide');showElement('SELECT');showElement('OBJECT');showElement('EMBED');
	}
	function hideDD(sect) {
		tNav(sect,'','hide');hideDDs(sect);
	}
	var secSet = null;
	var activeTimer = null;
	var bHover = '';
	var img = '';

	function setDD(sect, windowStatusVal, bshow) {
		hideDDs(sect);
		if ((bHover==windowStatusVal)||(bshow)){
			tNav(sect,'','show');
			if (secSet != null) window.clearTimeout(secSet);		
//			hideElement('SELECT', document.all[sect]); 
//			hideElement('OBJECT', document.all[sect]); 
//			hideElement('EMBED', document.all[sect]); 
		}
	}
	function setDDTimeout(sect){
		if (secSet != null) window.clearTimeout(secSet);
		secSet = window.setTimeout('hideDD("' + sect + '")',500);
	}
	function hideElement( elmID, overDiv ) {
	  if(document.all) {
	    for(i = 0; i < document.all.tags( elmID ).length; i++) {
	      obj = document.all.tags( elmID )[i];
	      if(!obj || !obj.offsetParent) continue;
	      // Find the element's offsetTop and offsetLeft relative to the BODY tag.
	      objLeft   = obj.offsetLeft - overDiv.offsetParent.offsetLeft;
	      objTop    = obj.offsetTop;
	      objParent = obj.offsetParent;
	      while(objParent.tagName.toUpperCase() != 'BODY') {
	        objLeft  += objParent.offsetLeft;
	        objTop   += objParent.offsetTop;
	        objParent = objParent.offsetParent;}
	      objHeight = obj.offsetHeight;
	      objWidth  = obj.offsetWidth;
	      if((overDiv.offsetLeft + overDiv.offsetWidth) <= objLeft);
	      else if((overDiv.offsetParent.offsetTop + overDiv.offsetHeight + 20) <= objTop);
	      else if(overDiv.offsetParent.offsetTop >= eval(objTop + objHeight));
	      else if(overDiv.offsetLeft >= eval(objLeft + objWidth));
	      else {
	        obj.style.visibility = 'hidden';
	      }

	    }
	  }
	}


	function showElement(elmID) {
	  if(document.all) {
	    for(i = 0; i < document.all.tags( elmID ).length; i++) {
	      obj = document.all.tags(elmID)[i];
	      if(!obj || !obj.offsetParent) continue;
	      obj.style.visibility = '';
	    }
	  }
	}
