function GetUrl( CurrentLang, Newlang ) {
	
	var CurrentPage = window.location.href
	
	if ( Newlang.value )
		var LangRepl = Newlang.value;
	else
		var LangRepl = Newlang;
		var NewPage = CurrentPage.replace( "/" + CurrentLang + "/", "/" + LangRepl + "/" );
		window.location = NewPage.replace( "_" + CurrentLang + ".", "_" + LangRepl + "." );
}

	
/*	function GetUrlXML( CurrentLang, Newlang ) {

		var CurrentPage = window.location.href
	
		if ( Newlang.value )
			var LangRepl = Newlang.value;
		else
			var LangRepl = Newlang;
		
		if ( CurrentPage.indexOf( "l=" ) != -1 ) {

			// RDT - 29/09/2005 - Changed the way to determine the currently selected language
			CurrentLang = CurrentPage.substr( CurrentPage.indexOf( "l=" ) + 3, 2 );
			var NewPage = CurrentPage.replace( "l=" + CurrentLang , "l=" + LangRepl );
		} 
		else {
			var NewPage = CurrentPage + "l=" + LangRepl;
		}	
		
		window.location = NewPage;
	}
	
*/

function CallMe(control,lang)
{
	var Types = document.theForm.selType.options;
	var Type = Types [Types .selectedIndex].value;
	// window.parent.location= "/contacts/contacts.asp" + "?l=" + lang + "&tp=" + Type;
	window.parent.location= "/contacts/contacts.aspx" + "?l=" + lang + "&tp=" + Type;
}



function CallMeAgain(control,lang)
{
	var Types = document.theForm.selType.options;
	var Type = Types [Types .selectedIndex].value;
	
	var Countries = document.theForm.selCountry.options;
	var Country = Countries[Countries .selectedIndex].value;
	
	// window.parent.location= "/contacts/contacts.asp" + "?l=" + lang + "&tp=" + Type + "&cn=" + Country;
	window.parent.location= "/contacts/contacts.aspx" + "?l=" + lang + "&tp=" + Type + "&cn=" + Country;
}

function show_tooltip(object) {
	if (document.layers && document.layers[object] != null)
	    document.layers[object].visibility = 'visible';
	else if (document.all)
	    document.all[object].style.visibility = 'visible';
}
function hide_tooltip(object) {
	if (document.layers && document.layers[object] != null)
	    document.layers[object].visibility = 'hidden';
	else if (document.all)
	    document.all[object].style.visibility = 'hidden';
}