<!--
function mm_reloadpage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
mm_reloadpage(true);

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 ldmHover() {
	if (document.getElementById('lyrNav')) {
		var navItems = document.getElementById('lyrNav').getElementsByTagName('li');
		for (var i=0; i<navItems.length; i++) {
			navItems[i].onmouseover=navOver;
		}
	}
}

function navOver () {
	switch(this.id) {
		case 'menu_01':
			document.getElementById('lyrNav').className = 'menu_01';
			break;
		case 'menu_02':
			document.getElementById('lyrNav').className = 'menu_02';
			break;
		case 'menu_03':
			document.getElementById('lyrNav').className = 'menu_03';
			break;
		case 'menu_04':
			document.getElementById('lyrNav').className = 'menu_04';
			break;
		case 'menu_05':
			document.getElementById('lyrNav').className = 'menu_05';
			break;
		case 'menu_06':
			document.getElementById('lyrNav').className = 'menu_06';
			break;
	}
}

if(window.addEventListener){
	window.addEventListener('load',ldmHover,false);
} else if (window.attachEvent){ 
	window.attachEvent('onload', ldmHover);
}

function menu_01_over() { //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;
  document.getElementById('menu_01_img').src="images/nav/menu_head_over_01.gif";
  document.getElementById('menu_02_img').src="images/nav/menu_head_02.gif";
  document.getElementById('menu_03_img').src="images/nav/menu_head_03.gif";
  document.getElementById('menu_04_img').src="images/nav/menu_head_04.gif";
  document.getElementById('menu_05_img').src="images/nav/menu_head_05.gif";
  document.getElementById('menu_06_img').src="images/nav/menu_head_06.gif";
}
function menu_02_over() { //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;
  document.getElementById('menu_01_img').src="images/nav/menu_head_01.gif";
  document.getElementById('menu_02_img').src="images/nav/menu_head_over_02.gif";
  document.getElementById('menu_03_img').src="images/nav/menu_head_03.gif";
  document.getElementById('menu_04_img').src="images/nav/menu_head_04.gif";
  document.getElementById('menu_05_img').src="images/nav/menu_head_05.gif";
  document.getElementById('menu_06_img').src="images/nav/menu_head_06.gif";
}
function menu_03_over() { //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;
  document.getElementById('menu_01_img').src="images/nav/menu_head_01.gif";
  document.getElementById('menu_02_img').src="images/nav/menu_head_02.gif";
  document.getElementById('menu_03_img').src="images/nav/menu_head_over_03.gif";
  document.getElementById('menu_04_img').src="images/nav/menu_head_04.gif";
  document.getElementById('menu_05_img').src="images/nav/menu_head_05.gif";
  document.getElementById('menu_06_img').src="images/nav/menu_head_06.gif";
}
function menu_04_over() { //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;
  document.getElementById('menu_01_img').src="images/nav/menu_head_01.gif";
  document.getElementById('menu_02_img').src="images/nav/menu_head_02.gif";
  document.getElementById('menu_03_img').src="images/nav/menu_head_03.gif";
  document.getElementById('menu_04_img').src="images/nav/menu_head_over_04.gif";
  document.getElementById('menu_05_img').src="images/nav/menu_head_05.gif";
  document.getElementById('menu_06_img').src="images/nav/menu_head_06.gif";
}
function menu_05_over() { //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;
  document.getElementById('menu_01_img').src="images/nav/menu_head_01.gif";
  document.getElementById('menu_02_img').src="images/nav/menu_head_02.gif";
  document.getElementById('menu_03_img').src="images/nav/menu_head_03.gif";
  document.getElementById('menu_04_img').src="images/nav/menu_head_04.gif";
  document.getElementById('menu_05_img').src="images/nav/menu_head_over_05.gif";
  document.getElementById('menu_06_img').src="images/nav/menu_head_06.gif";
}
function menu_06_over() { //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;
  document.getElementById('menu_01_img').src="images/nav/menu_head_01.gif";
  document.getElementById('menu_02_img').src="images/nav/menu_head_02.gif";
  document.getElementById('menu_03_img').src="images/nav/menu_head_03.gif";
  document.getElementById('menu_04_img').src="images/nav/menu_head_04.gif";
  document.getElementById('menu_05_img').src="images/nav/menu_head_05.gif";
  document.getElementById('menu_06_img').src="images/nav/menu_head_over_06.gif";
}


function createwindow(IMGURL,IMGALT,IMGW,IMGH,DOCTITLE) {
day = new Date();
id = day.getTime();

var newWindow = window.open("", "as_popup","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=620,height=460")
//      var newWindow = window.open('empty.htm', '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400');
//      var newWindow = window.open();
	  newWindow.document.writeln("<html><head><title>" + DOCTITLE + "</title><style type='text/css'>");
	  newWindow.document.writeln("<!--");
	  newWindow.document.writeln("body { background-color: #008083; }");
	  newWindow.document.writeln("-->");
	  newWindow.document.writeln("</style></head><body>");
	  newWindow.document.writeln("<img src='" + IMGURL + "' alt='" + IMGALT + "' />");
/*	  newWindow.document.writeln("<img src='" + IMGURL + "' alt='" + IMGALT + "' width='" + IMGW + "' height='" + IMGH + "' />");*/
	  newWindow.document.writeln("</body></html>");

}

//-->