function eHide(destination) { document.getElementById(destination).style.display = "none" ; }
function eShow(destination) { document.getElementById(destination).style.display = "block" ; }
function prodsee(seethis) { eShow("productcontainer") ; eShow("productframe") ; document.productshow.src = "/images/" + seethis ; }
function prodhid() { eHide("productcontainer") ; eHide("productframe") }

function eShowLoc(location) { 
	document.getElementById(location + '_ref').href="javascript:eHideLoc('" + location + "' )";
	document.getElementById(location + '_img').src="/images/btup.png";	
	document.getElementById(location + '_img').alt="Hide main cities in this area";	
	document.getElementById(location + '_img').title="Hide main cities in this area";	
	eShow(location + "_main_cities");
	}
function eHideLoc(location) {
	document.getElementById(location + '_ref').href="javascript:eShowLoc('" + location + "' )";
	document.getElementById(location + '_img').src="/images/btdwn.png";	
	document.getElementById(location + '_img').alt="Show main cities in this area";	
	document.getElementById(location + '_img').title="Show main cities in this area";	
	eHide(location + "_main_cities");
}

function eShowPar(thecontent) { 
	document.getElementById(thecontent + '_ref').href="javascript:eHidePar('" + thecontent + "' )";
	document.getElementById(thecontent + '_img').src="/images/btup.png";	
	document.getElementById(thecontent + '_img').alt="Hide content";	
	document.getElementById(thecontent + '_img').title="Hide content";	
	eShow(thecontent + "");
	}
function eHidePar(thecontent) {
	document.getElementById(thecontent + '_ref').href="javascript:eShowPar('" + thecontent + "' )";
	document.getElementById(thecontent + '_img').src="/images/btdwn.png";	
	document.getElementById(thecontent + '_img').alt="Show content";	
	document.getElementById(thecontent + '_img').title="Show content";	
	eHide(thecontent + "");
}

function eShowXPar(thecontent) { 
	document.getElementById(thecontent + '_ref').href="javascript:eHideXPar('" + thecontent + "' )";
	eShow(thecontent + "");
	}
function eHideXPar(thecontent) {
	document.getElementById(thecontent + '_ref').href="javascript:eShowXPar('" + thecontent + "' )";
	eHide(thecontent + "");
}


function mainShow() { 
	eShow("mnmain");
	document.getElementById("thismainmn_ref").href="javascript:mainHide()";
	document.getElementById("thismainmn_img").src="/images/topmn_mainmenu_hide.png";	
	document.getElementById("thismainmn_img").alt="Hide main menu";	
	document.getElementById("thismainmn_img").title="Hide main menu";	
	eShow(thecontent + "");
	}
function mainHide() {
	eHide("mnmain") ;
	document.getElementById("thismainmn_ref").href="javascript:mainShow()";
	document.getElementById("thismainmn_img").src="/images/topmn_mainmenu.png";	
	document.getElementById("thismainmn_img").alt="Show main menu";	
	document.getElementById("thismainmn_img").title="Show main menu";	
	eHide(thecontent + "");
}


//function mainShow() { eShow("mnmain") ; eShow("mainhide") ; eHide("mainshow") ; }
//function mainHide() { eHide("mnmain") ; eHide("mainhide") ; eShow("mainshow") ; }

function eSource(externalref) { window.open(externalref,'esource',''); }
