function lib_bwcheck(){ 
	this.ver=navigator.appVersion
	this.name=navigator.appName
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0;
	this.opera=(navigator.userAgent.indexOf("Opera")>-1 && !this.ie6)?1:0
	this.ie4=(document.all && !this.dom)?1:0;       //ie4
	this.ie6=(this.agent.indexOf("MSIE 5")>-1 || this.agent.indexOf("MSIE 6")>-1 || this.agent.indexOf("MSIE 7")>-1)?1:0;        //IE5,6,Opera include
 	this.ie=(this.ie4 || this.ie6);
	this.moz=(this.agent.indexOf("Gecko")>-1 && this.dom)?1:0;
	this.ns6=(this.name.match("Netscape") && this.dom)?1:0;                                //+mozilla
	this.ns4=(document.layers && !this.dom)?1:0;
	this.mac=this.ver.indexOf("Mac")>-1
	this.win = (this.ver.indexOf("Windows") != -1) ? 1:0;


  return this
}
bw=new lib_bwcheck()



document.write("<STYLE TYPE='text/css'><!--")
if(bw.mac){
	if(bw.ie || bw.ns6){
	document.writeln(".t9{font-size:9px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t10{font-size:10px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t10A{font-size:10px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t11{font-size:11px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t12{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t12r{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#CC0033;}");
	document.writeln(".t12b{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#003399;}");
	document.writeln(".t12g{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#666666;}");
	document.writeln(".t14{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t14r{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#CC0033;}");
	document.writeln(".t14bl{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#003399;}");
	document.writeln(".t14b{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#990033;}");
	document.writeln(".t16{font-size:16px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t18{font-size:18px; font-family:‚l‚r ƒSƒVƒbƒN; line-height:18px; color:#333333;}");
	document.writeln(".formbg{font-size:12px;border:inset 1px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; background:#FFD9E6;}");
	document.writeln(".formbgp{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; background:#FF9393; ime-mode:active;}");
	document.writeln(".formbgpn{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; background:#FF9393; ime-mode:inactive;}");
	document.writeln(".form1{font-size:12px;border-style:inset;border-width:1px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333;}");
	document.writeln(".form2{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333;}");
	document.writeln(".form3{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; ime-mode:active;}");
	document.writeln(".form4{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; ime-mode:inactive;}");
	document.writeln("textarea{font-size:10px;border-style:inset;border-width:1px; font-family:‚l‚r ƒSƒVƒbƒN, Arial,Helvetica; color:#333333;}");
	document.writeln(".tableB1{ border-left:5px #002F87 solid; border-top:1px #002F87 solid; border-right:1px #002F87 solid; border-bottom:1px #002F87 solid;}");
	document.writeln(".tableB2{ border-left:1px #002F87 solid; border-top:1px #002F87 solid; border-right:1px #002F87 solid; border-bottom:1px #002F87 solid; margin:1px;}");
	document.writeln(".tableB3{ border-left:1px #990033 solid; border-top:1px #990033 solid; border-right:1px #990033 solid; border-bottom:1px #990033 solid; margin:1px; margin-top:3px; margin-bottom:3px;}");
	document.writeln(".line1{ border-left:1px #990033 solid; }");
	document.writeln(".caption{width:750px; height:50px; vertical-align:middle; background:#002F87; text-align:center;}");

	document.writeln(".elmspaceA{margin:5px;}");
	document.writeln(".elmspaceT{margin-top:5px;}");
	document.writeln(".elmspaceL{margin-left:5px;}");
	document.writeln(".elmspaceB{margin-bottom:5px;}");
	document.writeln(".elmspaceR{margin-right:5px;}");
	document.writeln(".elmspaceLT{margin-left:5px; margin-top:5px;}");
	document.writeln(".elmspaceLTR{margin-left:5px; margin-top:5px; margin-right:10px;}");
	
	}
}
else if(bw.win){
	if(bw.ie || bw.ns6){
	document.writeln(".t9{font-size:9px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t10{font-size:10px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t10A{font-size:10px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t11{font-size:11px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t12{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t12r{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#CC0033;}");
	document.writeln(".t12b{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#003399;}");
	document.writeln(".t12g{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN;color:#666666;}");
	document.writeln(".t14{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t14r{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#CC0033;}");
	document.writeln(".t14b{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#990033;}");
	document.writeln(".t14bl{font-size:14px; font-family:‚l‚r ƒSƒVƒbƒN;color:#003399;}");
	document.writeln(".t16{font-size:16px; font-family:‚l‚r ƒSƒVƒbƒN;color:#333333;}");
	document.writeln(".t18{font-size:18px; font-family:‚l‚r ƒSƒVƒbƒN; line-height:18px; color:#333333;}");
	document.writeln(".formbg{font-size:12px;border:inset 1px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; background:#FFD9E6;}");
	document.writeln(".formbgp{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; background:#FF9393; ime-mode:active;}");
	document.writeln(".formbgpn{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; background:#FF9393; ime-mode:inactive;}");
	document.writeln(".form1{font-size:12px;border-style:inset;border-width:1px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333;}");
	document.writeln(".form2{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333;}");
	document.writeln(".form3{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; ime-mode:active;}");
	document.writeln(".form4{font-size:12px; font-family:‚l‚r ƒSƒVƒbƒN, color:#333333; ime-mode:inactive;}");
	document.writeln("textarea{font-size:10px;border-style:inset;border-width:1px; font-family:‚l‚r ƒSƒVƒbƒN, Arial,Helvetica; color:#333333;}");
	document.writeln(".tableB1{ border-left:5px #002F87 solid; border-top:1px #002F87 solid; border-right:1px #002F87 solid; border-bottom:1px #002F87 solid;}");
	document.writeln(".tableB2{ border-left:1px #002F87 solid; border-top:1px #002F87 solid; border-right:1px #002F87 solid; border-bottom:1px #002F87 solid; margin:1px;}");
	document.writeln(".tableB3{ border-left:1px #990033 solid; border-top:1px #990033 solid; border-right:1px #990033 solid; border-bottom:1px #990033 solid; margin:1px;}");
	document.writeln(".line1{ border-left:1px #990033 solid; }");
	document.writeln(".caption{width:750px; height:50px; vertical-align:middle; background:#002F87; text-align:center;}");

	document.writeln(".elmspaceA{margin:5px;}");
	document.writeln(".elmspaceT{margin-top:5px;}");
	document.writeln(".elmspaceL{margin-left:5px;}");
	document.writeln(".elmspaceB{margin-bottom:5px;}");
	document.writeln(".elmspaceR{margin-right:5px;}");
	document.writeln(".elmspaceLT{margin-left:5px; margin-top:5px;}");
	document.writeln(".elmspaceLTR{margin-left:5px; margin-top:5px; margin-right:10px;}");
	
	}
}
//document.write("body{background:url(img/common/mainbg.gif) repeat-y}");
document.write("a:link{text-decoration:none; color:#333333}");
document.write("a:visited{text-decoration:none; color:#333333}");
document.write("a:active{text-decoration:none; color:#0033CC}");
document.write("a:hover{text-decoration:underline; color:#CC0033}");
document.write("//--></STYLE>");


function getScreenInfo(){
	//if (bw.dom && bw.ns4){
		scWidthCenter = screen.width / 2;
		scHeightCenter = screen.height / 2;
		}
	//}



	function openWin(wUrl , wName , Width , Height , posX , posY){
	getScreenInfo();
	wOption = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + Width + ",height=" + Height + ",left=" + (scWidthCenter + posX) + ",top=" + (scHeightCenter + posY);
	help = window.open(wUrl,wName,wOption);

}
