<!--
/* Old JS
var iens6 = document.all || document.getElementById ? true : false;
var ns4 = document.layers ? true : false;

function MaxLength(Object, MaxLen)
{
  return (Object.value.length <= MaxLen);
}

var isIE = document.all?true:false;
var isNS = document.layers?true:false;
function onlyDigits(e) {
var _ret = true;
if (isIE) {
if (window.event.keyCode < 46 || window.event.keyCode > 57) {
window.event.keyCode = 0;
_ret = false;
}
}
if (isNS) {
if (e.which < 46 || e.which > 57) {
e.which = 0;
_ret = false;
}
}
return (_ret); 
}
	
function toggleEx()
	{
	if (iens6)
		{
		tabObj = document.getElementById ? document.getElementById("tab1").style : document.all.tab1.style;
		if (tabObj.visibility == "hidden")
			{
			tabObj.visibility = "visible";
			document.toggleImg.src = toggleImg1.src;
			}
		else
			{
			tabObj.visibility = "hidden";
			document.toggleImg.src = toggleImg0.src;
			}
		}
	else if (ns4)
		{
		if (document.tab1.visibility == "hide")
			{
			document.tab1.visibility = "show";
			document.toggleImg.src = toggleImg1.src;
			}
		else
			{
			document.tab1.visibility = "hide";
			document.toggleImg.src = toggleImg0.src;
			}
		}		
	}

browsok = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3)) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=3)));
if(browsok)
	{

	// Main Menu OVER
	home1 = new Image();
	home1.src = "images/top_menu/home_on.gif";
	about1 = new Image();
	about1.src = "images/top_menu/about_on.gif";
	products1 = new Image();
	products1.src = "images/top_menu/products_on.gif";
	support1 = new Image();
	support1.src = "images/top_menu/support_on.gif";
	purchase1 = new Image();
	purchase1.src = "images/top_menu/purchase_on.gif";
	contact1 = new Image();
	contact1.src = "images/top_menu/contact_on.gif";
	newsevents1 = new Image();
	newsevents1.src = "images/top_menu/news_events_on.gif";

	// Main Menu OFF  
	home0 = new Image();
	home0.src = "images/top_menu/home.gif";
	about0 = new Image();
	about0.src = "images/top_menu/about.gif";
	products0 = new Image();
	products0.src = "images/top_menu/products.gif";
	support0 = new Image();
	support0.src = "images/top_menu/support.gif";
	purchase0 = new Image();
	purchase0.src = "images/top_menu/purchase.gif";
	contact0 = new Image();
	contact0.src = "images/top_menu/contact.gif";
	newsevents0 = new Image();
	newsevents0.src = "images/top_menu/news_events.gif";
	
	// Left Menu - About - Over
	management_team1 = new Image();
	management_team1.src = "images/left_menu/about/management_team_on.gif";
	advisors1 = new Image();
	advisors1.src = "images/left_menu/about/advisors_on.gif";
	news1 = new Image();
	news1.src = "images/left_menu/about/news_on.gif";
	trade_shows1 = new Image();
	trade_shows1.src = "images/left_menu/about/trade_shows_on.gif";
	careers1 = new Image();
	careers1.src = "images/left_menu/about/careers_on.gif";
	job_postings1 = new Image();
	job_postings1.src = "images/left_menu/about/job_postings_on.gif";
	top_reasons1 = new Image();
	top_reasons1.src = "images/left_menu/about/top_reasons_on.gif";

	// Left Menu - About - Off  
	management_team0 = new Image();
	management_team0.src = "images/left_menu/about/management_team.gif";
	advisors0 = new Image();
	advisors0.src = "images/left_menu/about/advisors.gif";
	news0 = new Image();
	news0.src = "images/left_menu/about/news.gif";
	trade_shows0 = new Image();
	trade_shows0.src = "images/left_menu/about/trade_shows.gif";
	careers0 = new Image();
	careers0.src = "images/left_menu/about/careers.gif";
	job_postings0 = new Image();
	job_postings0.src = "images/left_menu/about/job_postings.gif";
	top_reasons0 = new Image();
	top_reasons0.src = "images/left_menu/about/top_reasons.gif";
	
	// Left Menu - Products - OVER
	spartandx1 = new Image();
	spartandx1.src = "images/left_menu/products/spartan_dx_on.gif";
	partners1 = new Image();
	partners1.src = "images/left_menu/products/partners_on.gif";
	promotion1 = new Image();
	promotion1.src = "images/left_menu/products/promotion_on.gif";
	manuals1 = new Image();
	manuals1.src = "images/left_menu/products/manuals_on.gif";
	warrantyservice1 = new Image();
	warrantyservice1.src = "images/left_menu/products/warranty_service_on.gif";
	worryfree1 = new Image();
	worryfree1.src = "images/left_menu/products/worry_free_warranty_on.gif";
	testimonials1 = new Image();
	testimonials1.src = "images/left_menu/products/testimonials_on.gif";	
	downloadbrochure1 = new Image();
	downloadbrochure1.src = "images/left_menu/products/download_brochure_on.gif";

	// Left Menu - Products - OFF
	spartandx0 = new Image();
	spartandx0.src = "images/left_menu/products/spartan_dx.gif";
	promotion0 = new Image();
	promotion0.src = "images/left_menu/products/promotion.gif";
	partners0 = new Image();
	partners0.src = "images/left_menu/products/partners.gif";
	manuals0 = new Image();
	manuals0.src = "images/left_menu/products/manuals.gif";
	warrantyservice0 = new Image();
	warrantyservice0.src = "images/left_menu/products/warranty_service.gif";
	worryfree0 = new Image();
	worryfree0.src = "images/left_menu/products/worry_free_warranty.gif";
	testimonials0 = new Image();
	testimonials0.src = "images/left_menu/products/testimonials.gif";
	downloadbrochure0 = new Image();
	downloadbrochure0.src = "images/left_menu/products/download_brochure.gif";

	// Left Menu - Support - OVER
	application_notes1 = new Image();
	application_notes1.src = "images/left_menu/support/application_notes_on.gif";
	ask_scientist1 = new Image();
	ask_scientist1.src = "images/left_menu/support/ask_scientist_on.gif";
	faq1 = new Image();
	faq1.src = "images/left_menu/support/faq_on.gif";
	blog1 = new Image();
	blog1.src = "images/left_menu/support/blog_on.gif";	
	multimedia1 = new Image();
	multimedia1.src = "images/left_menu/support/multimedia_on.gif";	
	protocols1 = new Image();
	protocols1.src = "images/left_menu/support/protocols_on.gif";
	publications1 = new Image();
	publications1.src = "images/left_menu/support/publications_on.gif";
	
	// Left Menu - Support - OFF
	application_notes0 = new Image();
	application_notes0.src = "images/left_menu/support/application_notes.gif";
	ask_scientist0 = new Image();
	ask_scientist0.src = "images/left_menu/support/ask_scientist.gif";
	faq0 = new Image();
	faq0.src = "images/left_menu/support/faq.gif";
	blog0 = new Image();
	blog0.src = "images/left_menu/support/blog.gif";
	multimedia0 = new Image();
	multimedia0.src = "images/left_menu/support/multimedia.gif";
	protocols0 = new Image();
	protocols0.src = "images/left_menu/support/protocols.gif";
	publications0 = new Image();
	publications0.src = "images/left_menu/support/publications.gif";
	
	// Left Menu - Purchase - OVER
	distributors1 = new Image();
	distributors1.src = "images/left_menu/purchase/distributors_on.gif";
	purchaseleft1 = new Image();
	purchaseleft1.src = "images/left_menu/purchase/purchase_on.gif";
	
	// Left Menu - Purchase - OVER
	distributors0 = new Image();
	distributors0.src = "images/left_menu/purchase/distributors.gif";	
	purchaseleft0 = new Image();
	purchaseleft0.src = "images/left_menu/purchase/purchase.gif";

	
	// Left Menu - News Events - OVER
	newsreleases1 = new Image();
	newsreleases1.src = "images/left_menu/news_events/news_releases_on.gif";
	events1 = new Image();
	events1.src = "images/left_menu/news_events/events_on.gif";
	mediacoverage1 = new Image();
	mediacoverage1.src = "images/left_menu/news_events/media_coverage_on.gif";
	mediacontacts1 = new Image();
	mediacontacts1.src = "images/left_menu/news_events/media_contacts_on.gif";
	mediakit1 = new Image();
	mediakit1.src = "images/left_menu/news_events/media_kit_on.gif";
	corporatefacts1 = new Image();
	corporatefacts1.src = "images/left_menu/news_events/corporate_facts_on.gif";
	executivebios1 = new Image();
	executivebios1.src = "images/left_menu/news_events/executive_bios_on.gif";
	corporatelogos1 = new Image();
	corporatelogos1.src = "images/left_menu/news_events/corporate_logos_on.gif";
	screenshots1 = new Image();
	screenshots1.src = "images/left_menu/news_events/screen_shots_on.gif";
	
	// Left Menu - News Events - OVER
	newsreleases0 = new Image();
	newsreleases0.src = "images/left_menu/news_events/news_releases.gif";	
	events0 = new Image();
	events0.src = "images/left_menu/news_events/events.gif";
	mediacoverage0 = new Image();
	mediacoverage0.src = "images/left_menu/news_events/media_coverage.gif";
	mediacontacts0 = new Image();
	mediacontacts0.src = "images/left_menu/news_events/media_contacts.gif";
	mediakit0 = new Image();
	mediakit0.src = "images/left_menu/news_events/media_kit.gif";
	corporatefacts0 = new Image();
	corporatefacts0.src = "images/left_menu/news_events/corporate_facts.gif";
	executivebios0 = new Image();
	executivebios0.src = "images/left_menu/news_events/executive_bios.gif";
	corporatelogos0 = new Image();
	corporatelogos0.src = "images/left_menu/news_events/corporate_logos.gif";
	screenshots0 = new Image();
	screenshots0.src = "images/left_menu/news_events/screen_shots.gif";
	}

function BNB_mouseon(n)
	{
	if(browsok)
		{
		imageON = eval(n + "1.src");
		document [n].src = imageON;
		}
	}

function BNB_mouseoff(n)
	{
	if(browsok)
		{
		imageOFF = eval(n + "0.src");
		document [n].src = imageOFF;
		}
	}

var popup;
function launchwindow(winURL,winName,w,h,winSpecs)
	{
	popup = window.open(winURL, winName, "Width=" + w + ",Height=" + h + "," + winSpecs);
	popup.focus();
	}
	
function insertIt() 
	{ 
		var _y = document.getElementById('framediv'); 
		var _x = window.frames[0].document.body.innerHTML; 
		_y.innerHTML = _x 
	} 
// -->  

*/


<!-- added new functions -->

function MM_preloadImages() { 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(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=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

