    //<![CDATA[

function MM_jumpMenu(targ,selObj,restore){ //v3.0-ASB
	if (selObj.options[selObj.selectedIndex].value != "") {
		eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
		if (restore) selObj.selectedIndex=0; }
}

function MM_findObj(n, d) { //v3.0
	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=MM_findObj(n,d.layers[i].document); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
	var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
	
function validatedropdown(theform) {
	 if (theform.dropdown.value == -1) {
	return (false);
 }
	 return (true);
 }
		
function OpenCertDetails()	{
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=GBSTIF4', 'anew', config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
	}

function ONM_swapImgRestore() { //v3.0
  var i,x,a=document.ONM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function ONM_findObj(n, d) { //v4.0
  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=ONM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function ONM_swapImage() { //v3.0
  var i,j=0,x,a=ONM_swapImage.arguments; document.ONM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=ONM_findObj(a[i]))!=null){document.ONM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function winPopUP(URL,windowFeatures) { 
	today = new Date();
	windowName = today.getTime();
	return window.open(URL, windowName, windowFeatures); 
	newWindow.focus();
} 

function discountCode() {
	if(document.getElementById("discount_code").value == "") {
		alert("Please enter your discount code");
		return false
	} else {
		return true
	}
}


window.onload = function () {

  if (!document.getElementsByTagName) return false;
  if (!document.getElementById("topNavSearch")) return false;

		var searchBox;
		searchBox = document.getElementById("topNavSearch");
			searchBox.onclick = function() {
				searchBox.value = "";
				searchBox.className = "active";
    		    return false;
			}
			searchBox.onblur = function() {
				if(searchBox.value == "") {
					searchBox.value = "Enter Keyword";
					searchBox.className = "nonActive";
    		    	return false;
    		    }
			}
			
			var nlBox
			nlBox = document.getElementById("ea")
			nlBox.onfocus = function() {
					nlBox.value = "";
    		    	return false;
			}
			nlBox.onblur = function() {
				if(nlBox.value == "") {
					nlBox.value = "Your Email Address";
    		    	return false;
    		    }
			}
			
		if(document.getElementById("eatwo")) {
			var compBox
			compBox = document.getElementById("eatwo")
			compBox.onfocus = function() {
					compBox.value = "";
    		    	return false;
			}
			compBox.onblur = function() {
				if(compBox.value == "") {
					compBox.value = "Your Email Address";
    		    	return false;
    		    }
			}
		}
			
}
	
    //]]>