<!--//
ns4 = (document.layers)?true:false
ie4 = (document.all)?true:false
loadComplete = false

/**********************************************************************************
	Layer Show Hide
***********************************************************************************/

function LayerSH(LayerName,Status) {
		if (document) {
			LayerN = document.all[LayerName].style
			if (Status == 'show') LayerN.visibility = 'visible';
			if (Status == 'hide') LayerN.visibility = 'hidden';
		}

}

/**********************************************************************************
	Image Roll Over
***********************************************************************************/

function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}

function allHide() {

	LayerSH('sub01','hide');
	LayerSH('sub02','hide');
		LayerSH('sub03','hide');
			LayerSH('sub04','hide');




}

function oneShow(LayerName,Status) {
	allHide();
	LayerSH(LayerName,Status);
	
}


function imgChg(imgName,imgObj) {
if (document.images) {
	if (eval(imgObj))  {
		document.images[imgName].src = eval(imgObj+".src")
		}
	}
}




function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
//-->