function swaplanguage(lang, origin) {
	str = "\/" + origin + "\/";
	replaceStr = "\/" + lang + "\/";		
	now = new String(document.URL);
	newString = now.replace(str,replaceStr);
	//alert (str + "\n" + replaceStr + "\n" +  now + "\n" + newString);
	top.location = newString;
}
function MM_openBrWindow(theURL, winName, features) { //v2.0
window.open(theURL, winName, features);
}