function loading()
{}
function reSearch(deel)
{document.form.action='/search_'+deel+'/index.php';document.form.submit();}
function set_promo(hotelcode,day,month,year,airport,nights,what,ori)
{if(typeof(ori)=='undefined'){var ori="";}
parent.document.form.Origin.value=ori;for($i=0;$i<parent.document.form.DepartDay.options.length;$i++)
{if(parent.document.form.DepartDay.options[$i].value==day)
{parent.document.form.DepartDay.options[$i].selected=true;}}
parent.document.form.DepartMonth.value=month;parent.document.form.DepartYear.value=year;parent.document.form.Hotelcode.value=hotelcode;try{parent.document.hotelzoeken.hotelcode2.value=hotelcode;}catch(excp){}
if(parent.document.form.Duration&&nights!=''){parent.document.form.Duration.value=parseFloat(nights);}
if(parent.document.form.Airport&&airport!=''){parent.document.form.luchthaven.value=airport;parent.document.form.Airport.value=airport;}
try{parent.checkSeason();}catch(exp){}
parent.hotelZoekenSubmit(parent.document.getElementById('hotelzoeken'),what);}
function set_promo_sj(hotelcode,day,month,year,airport,nights,what,ori)
{if(typeof(ori)=='undefined'){var ori="";}
parent.document.form.Origin.value=ori;parent.document.form.DepartDay.value=day;parent.document.form.DepartMonth.value=month;parent.document.form.DepartYear.value=year;try{parent.document.form.Hotelcode.value=hotelcode;}catch(excp){}
parent.document.hotelzoeken.hotelcode2.value=hotelcode;if(parent.document.form.Duration&&nights!=''){parent.document.form.Duration.value=parseFloat(nights);}
if(parent.document.form.Airport&&airport!=''){parent.document.form.luchthaven.value=airport;parent.document.form.Airport.value=airport;}
parent.submitAdvancedSearch();}
function Searching()
{document.form_check.submit();}
