	menuData = new Array()
	for (i=0; i < 7; i++) {
	menuData[i] = new Array(40)
	for (j=0; j < 20; j++) {
		menuData[i][j] = new Array(2)}}
	
var br
if(navigator.appName == 'Netscape' && document.layers != null){br="N";}
else if(navigator.appName == 'Microsoft Internet Explorer' && document.all != null){br="IE";}
else{br=null}

function linkTo(form) {
    var myindex=form.nav_menu.selectedIndex
	location=(form.nav_menu.options[myindex].value);
}


function arrmOn(imgName)
{if (document.images) {document[imgName].src=eval(imgName+"on.src");}}
//
function arrmOff(imgName)
{if (document.images) {document[imgName].src=eval(imgName+"off.src");}}
//
if (document.images)
{


//top_s_menu
sico01on=new Image(); sico01on.src="../images/common/top_001_on.gif";
sico01off=new Image(); sico01off.src="../images/common/top_001_off.gif";

sico02on=new Image(); sico02on.src="../images/common/top_002_on.gif";
sico02off=new Image(); sico02off.src="../images/common/top_002_off.gif";

sico03on=new Image(); sico03on.src="../images/common/top_003_on.gif";
sico03off=new Image(); sico03off.src="../images/common/top_003_off.gif";

//topmenu
top01on=new Image(); top01on.src="../images/common/topmenu_01_on.gif";
top01off=new Image(); top01off.src="../images/common/topmenu_01_off.gif";

top02on=new Image(); top02on.src="../images/common/topmenu_02_on.gif";
top02off=new Image(); top02off.src="../images/common/topmenu_02_off.gif";

top03on=new Image(); top03on.src="../images/common/topmenu_03_on.gif";
top03off=new Image(); top03off.src="../images/common/topmenu_03_off.gif";

top04on=new Image(); top04on.src="../images/common/topmenu_04_on.gif";
top04off=new Image(); top04off.src="../images/common/topmenu_04_off.gif";

top05on=new Image(); top05on.src="../images/common/topmenu_05_on.gif";
top05off=new Image(); top05off.src="../images/common/topmenu_05_off.gif";

top06on=new Image(); top06on.src="../images/common/topmenu_06_on.gif";
top06off=new Image(); top06off.src="../images/common/topmenu_06_off.gif";

top07on=new Image(); top07on.src="../images/common/topmenu_07_on.gif";
top07off=new Image(); top07off.src="../images/common/topmenu_07_off.gif";
}
//

function bt(id,after) 
{ 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+after+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
} 

function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

function MM_showHideLayers() { //v3.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_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}


var old_menu = '';
var old_cell = '';
function menuclick( submenu)
{
  if( old_menu != submenu ) {
    if( old_menu !='' ) {
      old_menu.style.display = 'none';
    }
    submenu.style.display = 'block';
    old_menu = submenu;
  } else {
    submenu.style.display = 'none';
    old_menu = '';
    old_cell = '';
  }
}