function s(){window.status=document.title;return true};
if(document.layers)document.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT|Event.CLICK|Event.DBLCLICK);
document.onload=s;
document.onmouseover=s;
document.onmouseout=s;
document.onclick=s;
function ow(script, width, height){var scr=window.open(script, 'wnd', 'channelmode=no,directories=no,fullscreen=no,width='+width+',height='+height+',location=no,menubar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolbar=0');}
function isn(variable){if(variable==null||variable==undefined)return false;else return true}
function cs(){
	with(document.data){
		if(isn(document.data.country)&&(country.value==undefined||country.value=='')){
			alert('Please choose country.');
			country.focus();
			return false;
		}
		if(isn(document.data.city)&&(city.value==undefined||city.value=='')){
			alert('Please choose city.');
			city.focus();
			return false;
		}
		if(/^(\d{1,2})\/(\d{1,2})\/(\d{2,4})$/.test(dinp.value))var idi=RegExp.$3+RegExp.$2+RegExp.$1;
		if(/^(\d{1,2})\/(\d{1,2})\/(\d{2,4})$/.test(dout.value))var ido=RegExp.$3+RegExp.$2+RegExp.$1;
		var month=Today.getMonth()+1;
		var today=Today.getDate()+'/'+((month<9)?'0'+String(month):month)+'/'+Today.getFullYear();
		if(isn(document.data.dinp)&&(dinp.value==today)){
			alert('Check-in date should be at least one day more than today.');
			dinp_Month.focus();
			return false;
		}
		if(isn(document.data.dout)&&(dout.value==today||dout.value<=dinp.value)){
			alert('Check-out date should be at least one day more than check-in date.');
			dout_Month.focus();
			return false;
		}
		if(
			(isn(document.data.sroom)&&(sroom.value==undefined||sroom.value==0))&&
			(isn(document.data.droom)&&(droom.value==undefined||droom.value==0))&&
			(isn(document.data.troom)&&(troom.value==undefined||troom.value==0))&&
			(isn(document.data.kroom)&&(kroom.value==undefined||kroom.value==0))
		){
			alert('Please choose rooms type.');
			sroom.focus();
			return false;
		}
	}
}   