function viewWaitingBos(){
 document.getElementById('SearchDiv').style.visibility='hidden';
 document.getElementById('SearchDiv').style.display='none';
 document.getElementById('waitingDiv').style.visibility='visible';
 document.getElementById('waitingDiv').style.display='block';
}

function viewWaiting2(hotelID){	
	viewWaitingBos();
	document.getElementById('HotelSearchForm').action='price_periodChange.asp?hotelid='+hotelID;
	//document.getElementById('HotelSearchForm').target='price'; 
	document.getElementById('HotelSearchForm').target='_self'; 
	priceDetailClose();	
	document.getElementById('HotelSearchForm').submit();
} 

function priceDetailClose(){
	window.parent.document.getElementById('prijsDetailTable').style.visibility='hidden';
	window.parent.document.getElementById('prijsDetailTable').style.display='none';
	//window.parent.document.getElementById('prijsDetailTableHeader').style.visibility='hidden';
	//window.parent.document.getElementById('prijsDetailTableHeader').style.display='none';	
	window.open('Price_Detail.asp','priceDetail','');
}
function priceDetailOpen(){
	window.parent.document.getElementById('prijsDetailTable').style.visibility='visible';
	window.parent.document.getElementById('prijsDetailTable').style.display='';
	//window.parent.document.getElementById('prijsDetailTableHeader').style.visibility='visible';
	//window.parent.document.getElementById('prijsDetailTableHeader').style.display='';
}



/*
function childageupdate(childcount)
{
	for (i=1;i<=16;i++)
	{
		document.getElementById('ChildAge'+i).style.display='none';
		document.getElementById('Leeftijd').style.display='none';
	}	
	for (i=1;i<=childcount;i++)
	{
		document.getElementById('ChildAge'+i).style.display='';
		document.getElementById('Leeftijd').style.display='';
	}	
}

function formcontrol(hotelID){
	//alert(parent.document.all('priceDetail').location);
	//alert('aaa');
	//HotelSearchForm.target='_parent';
	//	HotelSearchForm.action='priceList.asp?hotelid='+hotelID;
}




function periodchange(form){
	SetValue(form.durCount,'');
}
function durationchange(form){
	//SetValue(form.hotelroomID,'');
}


// mouse olaylari
function po(o){
	o.className=='price_DayActive'?o.className='price_DayActive_Over': o.className=o.className;	
}

function px(o){
	o.className=='price_DayActive_Over'?o.className='price_DayActive': o.className=o.className;	
}

function pc(o){
	o.className='price_DayActive_Over';
}
// mouse olaylari son

*/
