var Activepage = "";

function setPage(pageId){
	document.getElementById(pageId).src = "/i/fant_snav_"+pageId+"_on.gif";	
	Activepage = pageId;
}

function Rollover(imgId){
	//window.alert(imgId);
	if(Activepage != imgId){
		document.getElementById(imgId).src = "/i/fant_snav_"+imgId+"_on.gif";
	}
}

function Rolloff(imgId){
	document.getElementById(imgId).src = "/i/fant_snav_"+imgId+".gif"	;
}
//added by IDC for left Navigation currentpage display
function Rollover(imgId,pageId){
	
	if(pageId != imgId){
		document.getElementById(imgId).src = "/i/fant_snav_"+imgId+"_on.gif";
	}

}

function Rolloff(imgId,pageId){
if(pageId != imgId){
	document.getElementById(imgId).src = "/i/fant_snav_"+imgId+".gif"	;
}
}

function PopWindow(mypage,myname) {
	winprops = 'height=500,width=820,top=30,left=0,scrollbars=1,resizable=1,status=1';
	win = window.open(mypage, myname, winprops);
}


	
if (document.images){
	alllon = new Image
	allloff = new Image
	bleachon = new Image
	bleachoff = new Image
	cleanshineon = new Image
	cleanshineoff = new Image
	faqson = new Image
	faqsoff = new Image
	fopon = new Image
	fopoff = new Image
	homeon = new Image
	homeoff = new Image
	lemonon = new Image
	lemonoff = new Image
	orangeon = new Image
	orangeoff = new Image
	oxyon = new Image
	oxyoff = new Image
	realon = new Image
	realoff = new Image
	wipeson = new Image
	wipesoff = new Image
	multiwipeson = new Image
	multiwipesoff = new Image

	alllon.src = "/i/fant_snav_all_on.gif"
	allloff.src = "/i/fant_snav_all.gif"
	bleachon.src = "/i/fant_snav_bleach_on.gif"
	bleachoff.src = "/i/fant_snav_bleach.gif"
	cleanshineon.src = "/i/fant_snav_cleanshine_on.gif"
	cleanshineoff.src = "/i/fant_snav_cleanshine.gif"
	faqson.src = "/i/fant_snav_faqs_on.gif"
	faqsoff.src = "/i/fant_snav_faqs.gif"
	fopon.src = "/i/fant_snav_fop_on.gif"
	fopoff.src = "/i/fant_snav_fop.gif"
	homeon.src = "/i/fant_snav_home_on.gif"
	homeoff.src = "/i/fant_snav_home.gif"
	lemonon.src = "/i/fant_snav_lemon_on.gif"
	lemonoff.src = "/i/fant_snav_lemon.gif"
	orangeon.src = "/i/fant_snav_orange_on.gif"
	orangeoff.src = "/i/fant_snav_orange.gif"
	oxyon.src = "/i/fant_snav_oxy_on.gif"
	oxyoff.src = "/i/fant_snav_oxy.gif"
	realon.src = "/i/fant_snav_real_on.gif"
	realoff.src = "/i/fant_snav_real.gif"
	wipeson.src = "/i/fant_snav_wipes_on.gif"
	wipesoff.src = "/i/fant_snav_wipes.gif"
	multiwipeson.src = "/i/fant_snav_multiwipes_on.gif"
	multiwipesoff.src = "/i/fant_snav_multiwipes.gif"

}
else {
	alllon.src = ""
	allloff.src = ""
	bleachon.src = ""
	bleachoff.src = ""
	cleanshineon.src = ""
	cleanshineoff.src = ""
	faqson.src = ""
	faqsoff.src = ""
	fopon.src = ""
	fopoff.src = ""
	homeon.src = ""
	homeoff.src = ""
	lemonon.src = ""
	lemonoff.src = ""
	orangeon.src = ""
	orangeoff.src = ""
	oxyon.src = ""
	oxyoff.src = ""
	realon.src = ""
	realoff.src = ""
	wipeson.src = ""
	wipesoff.src = ""
	multiwipeson.src = ""
	multiwipesoff.src = ""

}
if (document.layers || document.all || document.getElementById)
	var doc = 'document.', vis='.visibility';
if (document.all)
	var doc = 'document.all.', vis = '.style.visibility';
// below check enables NN 6.x compatibility
if (!document.all && document.getElementById)
	var doc = 'document.getElementById("', vis = '").style.visibility';
	