// JScript source code
		  
<!--
	var AgntUsr=navigator.userAgent.toLowerCase();
	var DomYes=(document.getElementById)?1:0; // DOM
	var NavYes=(AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')==-1)?1:0; // Netscape
	var ExpYes=(AgntUsr.indexOf('msie')!=-1)?1:0; // IExplorer
	var Opr5=(AgntUsr.indexOf('opera 5')!=-1||AgntUsr.indexOf('opera/5')!=-1)?1:0; // Opera 5
	var Opr7=(AgntUsr.indexOf('opera 7')!=-1||AgntUsr.indexOf('opera/7')!=-1)?1:0; // Opera 7
	var Opera=(AgntUsr.indexOf('opera')!=-1)?1:0;
	var DomNav=(DomYes&&NavYes)?1:0; // Netscape 6 up
	var DomExp=(DomYes&&ExpYes)?1:0; // IExplorer 5 up
	var Nav4=(NavYes&&!DomYes&&document.layers)?1:0; // Netscape 4
	var Exp4=(ExpYes&&!DomYes&&document.all)?1:0; // IExplorer 4
	function loCopy(varTab)
	{
			varTab.style.fontWeight='normal';
			varTab.style.cursor="";
			varTab.style.color='#000000';
			varTab.style.backgroundColor='#ffee00';
	}
	function loCopyS(varTab)
	{
			varTab.style.fontWeight='bold';
			varTab.style.cursor="";
			varTab.style.color='#cc0000';
			varTab.style.backgroundColor='#eecc00';
	}
	function hiCopy(varTab)
	{
			varTab.style.fontWeight='bold';
			varTab.style.cursor="hand";
			varTab.style.color='#ffff00';
			varTab.style.backgroundColor='#cc0000';
	}
	function hiTTabA(vCell)
	{ //hilight tab for current page
		  vCell.style.backgroundColor='#ffff11';
		  vCell.style.color='#ff0055';
		  vCell.style.cursor='hand';
	 }
	 function loTTabA(vCell)
	 {
		  vCell.style.backgroundColor='#eecc00';
		  vCell.style.setExpression("backgroundColor","'#eecc00'");
		  vCell.style.color='#ff0000';
		  vCell.style.cursor='';
	 }	 
	function hiTTabN(vCell)
	{ //hilight tab for non current page
		  vCell.style.backgroundColor='#e95411';
		  vCell.style.color='#ffee00';
		  vCell.style.cursor='hand';
	 }
	 function loTTabN(vCell)
	 {
		  vCell.style.backgroundColor='#bb3300';
		  vCell.style.setExpression("backgroundColor","'#bb3300'");
		  vCell.style.color='#cccc00';
		  vCell.style.cursor='';
	 }	 
	 function showProduct(vAct)
	 {
		  var vCell;
		  vCell=document.getElementById("tabProd");
		  if(vCell)
		  {
			   if(vAct==1){hiTTabA(vCell);}else{hiTTabN(vCell);}
		  }
		  var vMen, viBody;
		  vMen=document.getElementById("divProducts");
		  if(vMen)
		  {
			   vMen.style.visibility='visible';
		  }
	 }
	 function hideProduct(vAct)
	 {
		  var vCell;
		  var vMen, viBody;
		  vMen=document.getElementById("divProducts");
		  if(vMen)
		  {
	 			vMen.style.visibility='hidden';
		  }
		  vCell=document.getElementById("tabProd");
		  if(vCell)
		  {
			   if(vAct==1){loTTabA(vCell);}else{loTTabN(vCell);}
		  }
		  document.recalc(true);
	 }		  
	 function showInstall(vAct)
	 {
		  var vCell;
		  vCell=document.getElementById("tabInst");
		  if(vCell)
		  {
			   if(vAct==1){hiTTabA(vCell);}else{hiTTabN(vCell);}
		  }
		  var vMen;
		  vMen=document.getElementById("divInstall");
		  if(vMen)
		  {
			   vMen.style.visibility='visible';
		  }
	 }
	 function hideInstall(vAct)
	 {
		  var vCell;
		  var vMen;
		  vMen=document.getElementById("divInstall");
		  if(vMen)
		  {
			   vMen.style.visibility='hidden';
		  }
		  vCell=document.getElementById("tabInst");
		  if(vCell)
		  {
			   if(vAct){loTTabA(vCell);}else{loTTabN(vCell);}
		  }
	 }		  
	 function showWCMCont(vAct)
	 {
		  showProduct(vAct);
		  var vCell;
		  vCell=document.getElementById("proWCM");
		  if(vCell)
		  {
			   hiCopy(vCell);
		  }
		  var vMen;
			   vMen=document.getElementById("divWCMCont");
			   if(vMen)
			   {
					if(!DomExp)
					{
						 viBody = document.getElementById("iBody");
						 if(viBody)
						 {
							  viBody.style.visibility='hidden';
						 }
					}
					vMen.style.visibility='visible';
				}
	 }
	 function hideWCMCont(vAct)
	 {
		 var vTab;
		 vTab = document.getElementById("proWCM");
		if(vAct==1){loCopyS(vTab);}else{loCopy(vTab);}
		document.getElementById("divWCMCont").style.visibility='hidden';
//		hideInstall(vAct);
		
		  hideProduct(vAct);
//		  var vMen;
//		  vMen=document.getElementById("divWCMCont");
//		  if(vMen)
//		  {
//			vMen.style.visibility='hidden';
//			if(!DomExp)
//			{
//				viBody = document.getElementById("iBody");
//				if(viBody)
//				{
//					viBody.style.visibility='visible';
//				}
//			}
//		  }
//		  var vCell;
//		  vCell=document.getElementById("proWCM");
//		  if(vCell)
//		  {
//			   if(vAct==1){loCopyS(vCell);}else{loCopy(vCell);}
//		  }

	 }		  
	 function showWMSCont(vAct)
	 {
		  showProduct(vAct);
		  var vCell;
		  vCell=document.getElementById("proWMS");
		  if(vCell)
		  {
			   hiCopy(vCell);
		  }
		  var vMen;
			   vMen=document.getElementById("divWMSCont");
			   if(vMen)
			   {
					vMen.style.visibility='visible';
				}
	 }
	 function hideWMSCont(vAct)
	 {
//		 var vTab;
//		 vTab = document.getElementById("proWCM");
//		if(vAct==1){loCopyS(vTab);}else{loCopy(vTab);}
//		document.getElementById("divWCMCont").style.visibility='hidden';
//		hideInstall(vAct);
		
//		  hideProduct(vAct);
	 
		  var vCell;
		  vCell=document.getElementById("proWMS");
		  if(vCell)
		  {
			   if(vAct==1){loCopyS(vCell);}else{loCopy(vCell);}
		  }
					var vMen;
					vMen=document.getElementById("divWMSCont");
					if(vMen)
					{
						 vMen.style.visibility='hidden';
					}
		  hideProduct(vAct);
					
	 }		  
	 function loadBody(varFile)
	 {
		  var vFrame;
		  vFrame = document.getElementById('iBody');
		  if(vFrame){
			   vFrame.src=varFile;
		  }
		  if(!DomExp)
		  {
			   hideProduct(1);
		  }
	}
function showAust(vAct)
{
	 showInstall(vAct);
	 var vTab;
	 vTab = document.getElementById("sitAust");
	 hiCopy(vTab);
	 document.getElementById("divAust").style.visibility='visible';
}
function hideAust(vAct)
{
	 var vTab;
	 vTab = document.getElementById("sitAust");
	 if(vAct==1){loCopyS(vTab);}else{loCopy(vTab);}
	 document.getElementById("divAust").style.visibility='hidden';
	 hideInstall(vAct);
}
function showAmer(vAct)
{
	 showInstall(vAct);
	 var vTab;
	 vTab = document.getElementById("sitAmer");
	 hiCopy(vTab);
	 document.getElementById("divAmer").style.visibility='visible';
}
function hideAmer(vAct)
{
	 var vTab;
	 vTab = document.getElementById("sitAmer");
	 if(vAct==1){loCopyS(vTab);}else{loCopy(vTab);}
	 document.getElementById("divAmer").style.visibility='hidden';
	 hideInstall(vAct);
}
function showEuro(vAct)
{
	 showInstall(vAct);
	 var vTab;
	 vTab = document.getElementById("sitEuro");
	 hiCopy(vTab);
	 document.getElementById("divEuro").style.visibility='visible';
}
function hideEuro(vAct)
{
	 var vTab;
	 vTab = document.getElementById("sitEuro");
	 if(vAct==1){loCopyS(vTab);}else{loCopy(vTab);}
	 document.getElementById("divEuro").style.visibility='hidden';
	 hideInstall(vAct);
}
function trim(strFatty) {
	return strFatty.replace(/^\s*(.*\S|.*)\s*$/, '$1');
}
function checkEmailFormat(emailStr) 
{
	// return true for error and false so this can be easily tested, if(checkEmailFmt()){ return False/error }
        var bFoundAt = false;
        var bFoundDot = false;

        for (i = 0; i < emailStr.length - 2; i++) {
                if (emailStr.charAt(i) == '@') {
                        if (bFoundAt) return false;
                        bFoundAt = true;
                }

                if (emailStr.charAt(i) == '.')
                {
                        if (!bFoundAt) return false;
                        bFoundDot = true;
                }

        }

        if (!bFoundDot || !bFoundAt)
                return true;

        // else, OK
        return false;
}
function CheckSub()
{
	if( trim(form.email.value ) == "" && trim(form.name.value) == "" && trim(form.company.value) == "" )
	{
		 alert( "Enter your email address, your name or your company" );
		form.email.value='?';
		form.email.focus();
		return false;
	}
	if(trim(form.name.value) == "" && trim(form.company.value) == "" )
	{
		if( checkEmailFormat( trim(form.email.value) ) ){
			 alert( "please enter a valid email address" );
			form.email.focus();
			return false;
		}
	}
	return true;
}
function Swap() 
{ 
  	var i,j=0,x,a=Swap.arguments; 
  	document.sr=new Array; 
  	for(i=0;i<(a.length-2);i+=3)
  	{
		if (( x=findObj(a[i]))!=null)
   		{
   			document.sr[j++]=x; 
   			if(!x.oSrc) 
   				x.oSrc=x.src; x.src=a[i+2];
   		}
   	}
}
function preloadImages() 
{ 
 	var d=document; 
 	if(d.images)
 	{ 
 		if(!d.p) 
 			d.p=new Array();
		var i,j=d.p.length,a=preloadImages.arguments; 
   		for(i=0; i<a.length; i++)
   		{
   			if (a[i].indexOf("#")!=0)
   			{ 
   				d.p[j]=new Image; d.p[j++].src=a[i];
   			}
 		}
 	}

}
function 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=findObj(n,d.layers[i].document);

  	if(!x && document.getElementById) 
  		x=document.getElementById(n); 
  	return x;
}
function Restore() 
{ 
  var i,x,a=document.sr; 
  for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) 
		x.src=x.oSrc;
}
 
//-->
