
function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&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<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
<!--
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function blockage(item) {
   obj=document.getElementById(item);
   visible=(obj.style.display!="none")
   key=document.getElementById("x" + item);
   if (visible) {
     obj.style.display="none";
     key.innerHTML="<img src='../includes/help.png' onmouseover='ChangeCursor(this)' align='absmiddle' border='0' />";
   } else {
      obj.style.display="block";
      key.innerHTML="<img src='../includes/help.png' onmouseover='ChangeCursor(this)' align='absmiddle' border='0' />";
   }
}
// cursor change for link
function ChangeCursor(thisObject){thisObject.style.cursor="pointer";}
// end cursor change

// menu home ---------------------------------------------------------------------------
tabCounta = 2; //number of tabs //

// active tab: you can replace the images and background images as well //	
	function activateTaba(i) {
		//document.getElementById( "tab-lefta:"+i ).src="tools/tabmenu/tab-left_active.gif";
		//document.getElementById( "tab-bga:"+i ).style.borderLeft = "solid #000000 5px";
		//document.getElementById( "tab-righta:"+i ).src="tools/tabmenu/tab-right_active.gif";
		document.getElementById( "tab-bodya:"+i ).style.display='block';
	}
	
// in-active tab: you can replace the images and background images as well //	
	function deactivateTaba(i) {
		//document.getElementById( "tab-lefta:"+i ).src="tools/tabmenu/tab-left_inactive.gif";
		//document.getElementById( "tab-bga:"+i ).style.borderLeft = "solid #ffffff 5px";
		//document.getElementById( "tab-righta:"+i ).src="tools/tabmenu/tab-right_inactive.gif";
		document.getElementById( "tab-bodya:"+i ).style.display='none';
	}
	
// change of active tab: DO NOT edit this section //	
	function changeActiveTaba(i) {
		for( j=0; j < tabCounta; ++j ) {
			if( j==i ) {
				activateTaba(j);
			} else {
				deactivateTaba(j);
			}
		}
	}
// end menu home -----------------------------------------------------------------------

// menu music ---------------------------------------------------------------------------
tabCountb = 8; //number of tabs //

// active tab: you can replace the images and background images as well //	
	function activateTabb(i) {
		//document.getElementById( "tab-leftb:"+i ).src="tools/tabmenu/tab-left_active.gif";
		//document.getElementById( "tab-bgb:"+i ).style.borderLeft = "solid #000000 5px";
		//document.getElementById( "tab-rightb:"+i ).src="tools/tabmenu/tab-right_active.gif";
		document.getElementById( "tab-bodyb:"+i ).style.display='block';
	}
	
// in-active tab: you can replace the images and background images as well //	
	function deactivateTabb(i) {
		//document.getElementById( "tab-leftb:"+i ).src="tools/tabmenu/tab-left_inactive.gif";
		//document.getElementById( "tab-bgb:"+i ).style.borderLeft = "solid #ffffff 5px";
		//document.getElementById( "tab-rightb:"+i ).src="tools/tabmenu/tab-right_inactive.gif";
		document.getElementById( "tab-bodyb:"+i ).style.display='none';
	}
	
// change of active tab: DO NOT edit this section //	
	function changeActiveTabb(i) {
		for( j=0; j < tabCountb; ++j ) {
			if( j==i ) {
				activateTabb(j);
			} else {
				deactivateTabb(j);
			}
		}
	}
// end menu music -----------------------------------------------------------------------

// menu food ---------------------------------------------------------------------------
tabCountc = 4; //number of tabs //

// active tab: you can replace the images and background images as well //	
	function activateTabc(i) {
		//document.getElementById( "tab-leftc:"+i ).src="tools/tabmenu/tab-left_active.gif";
		//document.getElementById( "tab-bgc:"+i ).style.borderLeft = "solid #000000 5px";
		//document.getElementById( "tab-rightc:"+i ).src="tools/tabmenu/tab-right_active.gif";
		document.getElementById( "tab-bodyc:"+i ).style.display='block';
	}
	
// in-active tab: you can replace the images and background images as well //	
	function deactivateTabc(i) {
		//document.getElementById( "tab-leftc:"+i ).src="tools/tabmenu/tab-left_inactive.gif";
		//document.getElementById( "tab-bgc:"+i ).style.borderLeft = "solid #ffffff 5px";
		//document.getElementById( "tab-rightc:"+i ).src="tools/tabmenu/tab-right_inactive.gif";
		document.getElementById( "tab-bodyc:"+i ).style.display='none';
	}
	
// change of active tab: DO NOT edit this section //	
	function changeActiveTabc(i) {
		for( j=0; j < tabCountc; ++j ) {
			if( j==i ) {
				activateTabc(j);
			} else {
				deactivateTabc(j);
			}
		}
	}
// end menu food -----------------------------------------------------------------------
