addLoadEvent(Init);

function Init() {
   showAsTabs.init('tabbox');
   fadingBoxes.init();

   var trigger1x = getElem('trigger1');
   var trigger2x = getElem('trigger2');
   if (trigger1x && trigger2x) {
      trigger1x.style.display='inline';
      trigger2x.style.display='inline';
   }
   //calendar('f-date-from','f-date-to',"trigger1","trigger2","%d.%m.%Y");
}
//alert('O');
function BigImg2(path,image,description) {
   //alert('source='path+'/'+image+'&title='+description);
   window.open('@image.php?source=.'+path+'&img='+image+'&title='+description, 'blank', 'toolbar=no');
   return false;
}

function BigImg(path,image) {
   window.open('@image.php?source=.'+path+'&img='+image, 'blank', 'toolbar=no');
   return false;
}

function FullImg(image) {
   window.open('/@image-full.php?img='+image, 'blank', 'toolbar=no');
   return false;
}

/*
function BigImg(ARI,IMI){
        var URL;
        IMI=IMI.substring(1,IMI.length);
        URL="/Article/BigImg.asp?ARI="+ARI+"&IMI="+IMI;
        window.open(URL,'','scrollbars=no,width=650,height=560');
}
function BigImg2(ARI,IMI,ALT){
        var URL;
        IMI=IMI.substring(1,IMI.length);
        URL="/Article/BigImg.asp?ARI="+ARI+"&IMI="+IMI+"&ALT="+ALT;
        window.open(URL,'','scrollbars=no,width=650,height=560');
}

*/
function goCountry()
{
	var ref = document.getElementById('onlinebookingautform');

	if (ref.land.selectedIndex > 0)
	{
		my_land = ref.land.options[ref.land.options.selectedIndex].value;

		// sets the hidden field in submit form
		ref.land.value = my_land;

		ref.submit();
	}
}
