﻿// JScript File
var xx
var yy
var city
var url

function openw(url) {
    window.open(url,"book");
}

function openmap(city,xx){
			window.open("/maps/vmap.aspx?city=" + city +"&pid=" + xx , "viewmap","resizable=yes,Width=800, Height=600");
			}			

	function openpr(aid,prf,curr,d1,d2){
			
			window.open("/rates.aspx?aid=" + aid + "&prf=" + prf + "&c=" + curr + "&d1=" + d1 + "&d2=" + d2 + "", "viewprice","Width=750, Height=480, status=yes,Scrollbars=Yes");
			}		
					
		function sw(pl,aid){
		
		var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
		
		if (pl==1) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-1.jpg";
		if (pl==2) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-2.jpg";
		if (pl==3) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-3.jpg";
		if (pl==4) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-4.jpg";
		if (pl==5) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-5.jpg";
		if (pl==6) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-6.jpg";
		if (pl==7) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-7.jpg";
		if (pl==8) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-8.jpg";
		if (pl==9) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-9.jpg";
		if (pl==10) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-10.jpg";
		if (pl==11) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-11.jpg";
		if (pl==12) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-12.jpg";
		if (pl==13) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-13.jpg";
		if (pl==14) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-14.jpg";
		if (pl==15) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-15.jpg";
		if (pl==16) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-16.jpg";
		if (pl==17) ttheForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-17.jpg";
		if (pl==18) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-18.jpg";
		if (pl==19) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-19.jpg";
		if (pl==20) theForm.ctl00_p1_img1.src="/fs/" + aid + "/" + aid + "-20.jpg";
		
		}		
		
	 
function showwait(){
    document.getElementById("progress").innerHTML = "<img src=/images/wait.gif />";
}

				