function ZImgClick(lang, id, Nam, target) {
	currentSelectedPT = Nam;
	tempWeb = eval("parent.frames['" + target + "'].location");
	tempWeb.href = "/hotelwindow/360/360.aspx?ID=" + id +"&lid"+lang;	
	document.images["PT"].src = PTLeft_off.src;	
}

function changeVT(selObj, tergetURL, target)
{ 
	selectedVTNumber = selObj.options[selObj.selectedIndex].value
	if ( selectedVTNumber!="#" )
	{
		if (target == "self" || target == "") {
			location.href = tergetURL + selectedVTNumber;
		} else {
			tempWeb = eval("parent.frames['" + target + "'].location");
			tempWeb.href = tergetURL + selectedVTNumber;
		}
		
	}
}

function ZImgOn(Nam) {
	if (document.images) {
		var strImgUrl = eval(Nam + ".src");

		if (strImgUrl.substring(strImgUrl.length-1,strImgUrl.length)=="/")
		{
			strImgUrl = "../images/blank_la.gif";
		}
		
		document.images["PT"].src = strImgUrl;
		
		document.images[currentSelectedPT].src = PTLeft_off.src; 
		document.images[Nam].src = PTLeft_on.src;
	}
}

function ZImgOff(Nam) {
	if (document.images) {
		document.images["PT"].src = PTLeft_off.src;
		document.images[Nam].src = PTLeft_off.src; 
		document.images[currentSelectedPT].src = PTLeft_on.src; 
	}
}

function killErrors() 
{ 
	//return true; 
}
