function toggle(menu, sub) {
  for (g=1;g<=sub;g++) {
	 mname=(g<10 ? menu+"_0"+ g : menu+"_"+ g);
	 /*if( document.getElementById(mname).style.display=='none' ){
	   document.getElementById(mname).style.display = '';	   	   
	 }else{
	   document.getElementById(mname).style.display = 'none';
	   document.getElementById(mname).bgColor='#FFBA75';
	 }*/
	document.getElementById(mname).bgColor='#FFBA75';
  }
}

function initMenu() {
  toggle("menu1", 8);
  toggle("menu2", 4);
  toggle("menu3", 3);
  toggle("menu4", 3);
  toggle("menu5", 2);
  toggle("menu6", 4);  
}



var window1;

function MenuColorOvr(src, c) {
	col=(c==0?'#F47B02':'#FFAE57');
//  if (!src.contains(event.fromElement)) {
	  src.bgColor = col;
	  src.style.cursor = 'hand';
	  src.style.cursor = 'pointer';
	  src.style.color = '';
	  src.style.border = '';
//	}
  }

function MenuColorOut(src, c) {
	col=(c==0?'#FF9933':'#FFBA75');
//	if (!src.contains(event.toElement)) {
	  src.style.cursor = 'default';
	  src.bgColor = col;
	  src.style.color = '';
	  src.style.border = '';
//	}
  }

var sh;
function ifrmGoster() {
  frm=document.getElementById('ifrm');
  /*if (frm==null) { 
    document.location.href="http://www.besttravel.ch/?plinks=1";
    return;
  }*/
  if (sh!=1) {
    frm.style.visibility='visible';
    frm.style.height='300px';
    sh=1;
  } else {
    frm.style.visibility='hidden';
    frm.style.height='0px';
    sh=0;
  }
}