
var brAgent = navigator.userAgent.toUpperCase();
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if (bName == "Netscape"){
	if (bVer <= 4){
		if (brAgent.indexOf("MAC") != -1){
		document.write('<link rel="stylesheet" type="text/css" href="../../../shared/css/mac_others.css">');
		} else if (brAgent.indexOf("WIN") != -1) {
		document.write('<link rel="stylesheet" type="text/css" href="../../../shared/css/win_others.css">');
		}
	} else if (brAgent.indexOf("WIN") != -1){
	document.write('<link rel="stylesheet" type="text/css" href="../../../shared/css/win_nn.css">');
	} else {
	document.write('<link rel="stylesheet" type="text/css" href="../../../shared/css/mac_nn.css">');	
	}
} else if (brAgent.indexOf("MAC") != -1){
document.write('<link rel="stylesheet" type="text/css" href="../../../shared/css/mac_ie.css">');
} else if (brAgent.indexOf("WIN") != -1) {
document.write('<link rel="stylesheet" type="text/css" href="../../../shared/css/win_ie.css">');
} else {

}

if (document.images) {
	var btnImg=new Array();
	
	btnImg['1a']=new Image(),btnImg['1a'].src="";
	btnImg['1b']=new Image(),btnImg['1b'].src="";
	
}
function dispBtn(n){
	if (document.images) {document.images["btn"+n].src=eval("btnImg['"+n+"b'].src");}
 }
function hideBtn(n){
	if (document.images) {document.images["btn"+n].src=eval("btnImg['"+n+"a'].src");}
}

//pop up
function popWin(Aurl,Aname,Awidth,Aheight,Atoolbar,Alocation,Astatus,Ascroll,Amenu,Aresize) {
  Astr = "";
  if(Awidth != "")Astr+= "width=" + Awidth;
  if(Astr != "")Astr+=",";
  if(Aheight != "")Astr+= "height=" + Aheight;
  if(Astr != "")Astr+=",";
  if(Atoolbar)Astr+= "toolbar";
  if(Alocation)Astr+= ",location";
  if(Astatus)Astr+= ",status";
  if(Ascroll)Astr+= ",scrollbars";
  if(Amenu)Astr+= ",menubar";
  if(Aresize)Astr+= ",resizable";
  openwindow = window.open(Aurl,Aname,Astr);
  openwindow.focus();
}
//
