function overFunc(ele, state) {

var theDiv = document.getElementById(ele);

switch(state) {

case 'off': theDiv.style.display = "none"; break;

case 'on': theDiv.style.display = "inline"; break;

}

}



function eraseDefault()
{

document.getElementById("div_roll_default").style.display="none";

}



function restoreDefault()
{

document.getElementById("div_roll_default").style.display="inline";

}


function openVideoPopup()
{

		openPopupV =  window.open("http://link.brightcove.com/services/player/bcpid1785302607?bctid=44414523001","plain",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=680,height=490,left=100,top=40');

		openPopupV.focus();
}

function openPopup(image_id)
{

		openPopupX =  window.open("popup.php?img="+image_id,"plain",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=470,height=500,left=250,top=40');

		openPopupX.focus();

}

function changeLanguage()
{	
	//alert (document.getElementById("selLang").options[document.getElementById("selLang").selectedIndex].value);
	document.location.href = "SetLanguage.php?qs=" + document.getElementById("hidQueryString").value + "&redirect=" + document.getElementById("hidScriptName").value + "&lang=" + document.getElementById("selLang").options[document.getElementById("selLang").selectedIndex].value;
}












