
cent_mess = "Centennial Discovery - audit software, network inventory, software audit and inventory software solutions.";

function showanim(whichone) {
  window.open("/images/"+whichone+".swf", "CentennialAnimations", "scrollbars=no,status=no,width=700,height=400");
}

var downdir = "/downloads/";

if(navigator.appName=="Microsoft Internet Explorer") br="IE";
else br="NS";

if (br=="IE") { oddHeight=4; } else { oddHeight=5; }

if(document.getElementById) {
	docLay="document.getElementById";
	brackl = "(";
	brackr = ")";
}
else if(document.all) {
	docLay="document.all";
	brackl = "(";
	brackr = ")";
}
else if(document.layers) {
	docLay="document.layers";
	brackl = "[";
	brackr = "]";
}

if(br!="") {
  imgaboutusOff = new Image();
  imgaboutusOff.src = "/images/about_us_off.gif";
  imgaboutusOn = new Image();
  imgaboutusOn.src = "/images/about_us_on.gif";  
  imgproductsOff = new Image();
  imgproductsOff.src = "/images/products_off.gif";
  imgproductsOn = new Image();
  imgproductsOn.src = "/images/products_on.gif";
  imgcaseOff = new Image();
  imgcaseOff.src = "/images/case_studies_off.gif";
  imgcaseOn = new Image();
  imgcaseOn.src = "/images/case_studies_on.gif";
  imgtryitOff = new Image();
  imgtryitOff.src = "/images/try_it_off.gif";
  imgtryitOn = new Image();
  imgtryitOn.src = "/images/try_it_on.gif";
  imgcustomerzoneOff = new Image();
  imgcustomerzoneOff.src = "/images/customer_zone_off.gif";
  imgcustomerzoneOn = new Image();
  imgcustomerzoneOn.src = "/images/customer_zone_on.gif";
  imgcontactusOff = new Image();
  imgcontactusOff.src = "/images/contact_us_off.gif";
  imgcontactusOn = new Image();
  imgcontactusOn.src = "/images/contact_us_on.gif";
  imgpressOff = new Image();
  imgpressOff.src = "/images/press_off.gif";
  imgpressOn = new Image();
  imgpressOn.src = "/images/press_on.gif";
  imgProtectYouOff = new Image();
  imgProtectYouOff.src = "/images/protect_you_off.gif";
  imgProtectYouOn = new Image();
  imgProtectYouOn.src = "/images/protect_you_on.gif";
  imgSaveMoneyOff = new Image();
  imgSaveMoneyOff.src = "/images/save_money_off.gif";
  imgSaveMoneyOn = new Image();
  imgSaveMoneyOn.src = "/images/save_money_on.gif";    
  imgLegalOff = new Image();
  imgLegalOff.src = "/images/keep_legal_off.gif";
  imgLegalOn = new Image();
  imgLegalOn.src = "/images/keep_legal_on.gif";
  imgGoodCompanyOff = new Image();
  imgGoodCompanyOff.src = "/images/good_company_off.gif";
  imgGoodCompanyOn = new Image();
  imgGoodCompanyOn.src = "/images/good_company_on.gif";
/*
  imgGoodCompanyOff = new Image();
  imgGoodCompanyOff.src = "/images/cebit-off.gif";
  imgGoodCompanyOn = new Image();
  imgGoodCompanyOn.src = "/images/cebit-on.gif";
*/
  imgSaveMoneylwOff = new Image();
  imgSaveMoneylwOff.src = "/images/save_money_top_off.gif";
  imgSaveMoneylwOn = new Image();
  imgSaveMoneylwOn.src = "/images/save_money_top_on.gif";
  imgLegallwOff = new Image();
  imgLegallwOff.src = "/images/keep_legal_top_off.gif";
  imgLegallwOn = new Image();
  imgLegallwOn.src = "/images/keep_legal_top_on.gif";
  imgProtectYoulwOff = new Image();
  imgProtectYoulwOff.src = "/images/protect_you_top_off.gif";
  imgProtectYoulwOn = new Image();
  imgProtectYoulwOn.src = "/images/protect_you_top_on.gif";
  imgGoodCompanylwOff = new Image();
  imgGoodCompanylwOff.src = "/images/good_company_top_off.gif";
  imgGoodCompanylwOn = new Image();
  imgGoodCompanylwOn.src = "/images/good_company_top_on.gif";
}

function imgAct(imgName) {
	if (document.images) {
	  eval(docLay+brackl+"'centimga'"+brackr+".document.images['"+imgName+"'].src = "+imgName + "On.src");
    }
}
function imgInact(imgName) {
	if (document.images) {
	  eval(docLay+brackl+"'centimga'"+brackr+".document.images['"+imgName+"'].src = "+imgName + "Off.src");
    }

}

