sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
function swapImage(target,isSwap) {
	var sImgsrc = new Image();
	var sOverImg;
	var source = document[target].src;
	if (isSwap) {
			sOverImg = source.substr(0,source.length-4)+'Over.gif';
			document[target].src = sOverImg;
		}
	else {
			sOverImg = source.substr(0,source.length-8)+'.gif';
			document[target].src = sOverImg;
		}
}

// Choose the language
function changemylang(A){
	var f=document.Form1;
	var a = f.action.split("/");
	if(document.domain){
		var newaction="http://" + document.domain + "/" + A + "/" + a[a.length-1];
	}else{
		var newaction=A + "/" + a[a.length-1];
	}
	f.action=newaction;
}