function formHandlerDest(){
	var URL = document.bigbluetours.destination.options[document.bigbluetours.destination.selectedIndex].value;
	window.location.href = URL;
}


function Search()
{
document.SUCH.submit()
}
Von=0
Bis=11
tv=1
tr=0
if (tr==0) tr=674 // +Tage welche im 2. Kästli angezeigt werden
tb=tv+tr
function TCHECK(VonBis)
{
with (document.SUCH)
{
Von1 = VON.selectedIndex
Bis = Math.max(Math.min( BIS.selectedIndex + Von1-Von ,BIS.length-1),0);
BIS.selectedIndex = Bis;
Von=Von1
window.status="Von: "+Von
}	
}
function SELECT_VON()
{
document.write("<select class=mask1_select_datum name='VON' size=1 onChange=TCHECK(0)>")
for (var i=tv; i<= tb ;i++)
{
document.write('<option value='+i+'>'+GetDatum(i)+'')
}
document.write("</select>")
}
function SELECT_BIS()
{
document.write("<select class=mask1_select_datum name='BIS' size=1 >")
// document.write("<option value=2000><?php echo""._BELIEBIG.""; ?>")
for (var i=tv+3; i<= (tb+674);i++)
{
if (i==tv+674) document.write('<option selected ');  
else 
document.write('<option ');
document.write('value='+i+'>'+GetDatum(i)+'')
}
document.write('</select>')
}

function GetDatum(offset)
{ 
DatArray = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","??" )
var time = new Date()
time.setTime( time.getTime()+offset*86400000);

tag     = time.getDate();
monat   = time.getMonth()+1;
jahr    = time.getYear() % 100;
if (tag   < 10)   tag   = "0"+tag;
if (monat < 10)   monat = "0"+monat;
if (jahr  < 10)   jahr  = "0"+jahr;
return tag+'.'+monat+'.'+jahr+' - '+DatArray[time.getDay()]
}





function ShowPic(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img){
  largh=foto1.width;
  altez=foto1.height;
  stringa="width="+largh+",height="+altez;
  finestra=window.open("","",stringa,'left=200','top=200','ScreenX=200','ScreenY=200','location=yes');
  finestra.document.write('<html><head><title>TravelHits!</title></head>');	
  finestra.document.write('<body bgcolor="#4A4A4A" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
  finestra.document.write('<img src="' + img + '"><p>');
  finestra.document.write('<p></font></body></html>');
  finestra.document.close();
}