<!--
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=3) browser=1;
else if (document.all) browser=1;
else browser=0;
window.name="ccsmain";
var sAgent = navigator.userAgent
var bIs95NT = sAgent.indexOf("Windows 95") > -1 || sAgent.indexOf("Windows NT")  > -1 || sAgent.indexOf("Win32")  > -1 
var bIsIE4 = sAgent.indexOf("IE 4")  > -1 || sAgent.indexOf("IE 5")  > -1 && sAgent.indexOf("b1") <= -1 && sAgent.indexOf("p1") <= -1
var bIsIE432 = bIs95NT && bIsIE4
var tempWinHandle;

if (browser) {

var path ="/images/";

	aboutus_on = new Image();
	aboutus_on.src = path + "menubar_aboutus_on.jpg";
	aboutus_off = new Image();
	aboutus_off.src = path + "menubar_aboutus.jpg";	

	flash_on = new Image();
	flash_on.src = path + "btn_flashdemo_on.jpg";
	flash_off = new Image();
	flash_off.src = path + "btn_flashdemo.jpg";	
	
	product_on = new Image();
	product_on.src = path + "menubar_product_on.jpg";
	product_off = new Image();
	product_off.src = path + "menubar_product.jpg";	
	
	demo_on = new Image();
	demo_on.src = path + "menubar_demo_on.jpg";
	demo_off = new Image();
	demo_off.src = path + "menubar_demo.jpg";		
	
	signup_on = new Image();
	signup_on.src = path + "menubar_signup_on.jpg";
	signup_off = new Image();
	signup_off.src = path + "menubar_signup.jpg";	
	
	download_on = new Image();
	download_on.src = path + "menubar_download_on.jpg";
	download_off = new Image();
	download_off.src = path + "menubar_download.jpg";				
	
	support_on = new Image();
	support_on.src = path + "menubar_support_on.jpg";
	support_off = new Image();
	support_off.src = path + "menubar_support.jpg";		
	
	contact_on = new Image();
	contact_on.src = path + "menubar_contact_on.jpg";
	contact_off = new Image();
	contact_off.src = path + "menubar_contact.jpg";		
	
}

function hiLite(imgDocID,imgObjName) {
  if (browser){
    document.images[imgDocID].src = eval(imgObjName + ".src")
   }
}

function unhiLite(imgDocID,imgObjName) {
  if (browser){
    document.images[imgDocID].src = eval(imgObjName + ".src")
   }
}


function borderize(what,color, bgcolor){
	//what.style.borderColor=color
	what.style.backgroundColor=bgcolor
}

function borderize_on(e){
	if (document.all)
		source3=event.srcElement
	else if (document.getElementById)
		source3=e.target
	if (source3.className=="menulines"){
		borderize(source3,"black","#F2F2F2")
	}
	else{
		while(source3.tagName!="TABLE"){
			source3=document.getElementById? source3.parentNode : source3.parentElement
			if (source3.className=="menulines")
				borderize(source3,"black","#F2F2F2")
		}
	}
}

function borderize_off(e){
	if (document.all)
		source4=event.srcElement
	else if (document.getElementById)
		source4=e.target
	if (source4.className=="menulines")
		borderize(source4,"white", "white")
	else{
		while(source4.tagName!="TABLE"){
			source4=document.getElementById? source4.parentNode : source4.parentElement
			if (source4.className=="menulines")
				borderize(source4,"white", "white")
		}
	}
}


function popUserGuide(){
	popUserGuideSpec('')
}

function popUserGuideSpec(thissection){
	if (thissection != '') {
		thissection = '?' + thissection;
	}
	popWin('ccsUserGuide', '/userguidev5/index.html'+thissection, 800, 600);
}

function popWin(winname, ghtml, gwidth, gheight) {
	pref_1 = "width="+ gwidth +",height="+ gheight +",directories=no, location=no, menubar=no, scrollbars=yes, status=no, toolbar=yes, resizable=yes, screenX=20,screenY=50,left=20,top=50"
	tempWinHandle = window.open(ghtml,winname,pref_1);
	tempWinHandle.focus();
}

function popPlainWin(winname, ghtml, gwidth, gheight) {
	pref_1 = "width="+ gwidth +",height="+ gheight +",directories=no, location=no, menubar=no, scrollbars=no, status=no, toolbar=no, resizable=no, screenX=20,screenY=20,left=20,top=20"
	tempWinHandle = window.open(ghtml,winname,pref_1);
	tempWinHandle.focus();
}

//-->