addLoadEvent(Init);

function Init() {
   showAsTabs.init('tabbox');

   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");
}
function BigImg2(path,image,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;
}