if (self != top){ if (document.images) top.location.replace(self.location); else top.location = self.location; } function ricerca() { txt = document.forms.ricerca.q.value if (txt != '') { document.forms.ricerca.submit(); } else { alert('Per favore digitare una chiave di ricerca'); document.forms.ricerca.q.focus(); } } function signup() { txt = document.forms.subscribeform.email.value if (txt != '') { document.forms.subscribeform.submit(); } else { alert('Per favore inserire l\'email'); document.forms.subscribeform.email.focus(); } } function ricerca_vacanze() { txt = document.forms.ricerca.q.value if (txt != '') { document.forms.ricerca.submit(); // location.href = "http://www.omnidreams.net/vacanze.html?q=" + txt ; } else { alert('Per favore digitare una chiave di ricerca'); document.forms.ricerca.q.focus(); } } function newPage(destUrl) { window.open(destUrl); } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i