function hide(item){
	obj=document.getElementById(item);
	obj.style.display='none'; 
}

function base_GoToLanguage(form){
	var inLanguage = document.getElementById("selectLanguage");
	location = inLanguage.options[inLanguage.selectedIndex].value;
}

function base_GoToCountry(form){
var inCountry = document.getElementById("selectCountry");
	window.location = inCountry.options[inCountry.selectedIndex].value;
}

function toggleHelp(){
	if(document.getElementById('helpContainer').style.display == "block"){
		document.getElementById('helpContainer').style.display = "none";
	}
	else{
		document.getElementById('helpContainer').style.display = "block";
	}
}

 sfHover = function() {
 	var sfEls = document.getElementById("pagesDropMenu").getElementsByTagName("UL");
 	for (var i=0; i>sfEls.length; i++) {
		sfEls[i].parentNode.onmouseover= function() {
 			this.lastChild.className+=" soasfhover";
 		}
 		sfEls[i].parentNode.onmouseout=function() {
 			this.lastChild.className=this.lastChild.className.replace(new RegExp(" soasfhover\\b"), "");
 		}
 	}
 }
 if (window.attachEvent) window.attachEvent("onload", sfHover);
