mac=(navigator.appVersion.indexOf('Mac')!=-1)?true:false;ie=(navigator.appName.charAt(0) == "M")?true:false;/*load extra js for png*/document.write('<script language="JavaScript" src="/shared/js/iepngfix.js" type="text/javascript"></script>');document.write('<script language="JavaScript" src="/green/scripts/prototype.js" type="text/javascript"></script>');document.write('<script language="JavaScript" src="/green/scripts/full.js" type="text/javascript"></script>');/*load extra js for special site*/document.write('<script language="JavaScript" src="/shared/js/popup.js" type="text/javascript"></script>');document.write("<STYLE TYPE='text/css'><!--");document.write("body {	margin-top: 0px;background-color: #CC0000;margin-bottom: 0px; font-size:12px; font-family: Verdana;}");document.write("body,td{font-size:12px;font-family: Verdana;}")document.write("a:link {  color: #0000ff;text-decoration: none}");document.write("a:visited {  color: #9900cc;text-decoration: none}");document.write("a:hover {  text-decoration: underline}");/*document.write("h3{	font-size:14px;font-weight: bold;font-family: Verdana;}");*//* class for gnvBase of no flash*/document.write("#gnvBase {width:700px;height:101px;}");document.write(".gnvBaseRed {background: URL(/shared/img/gnv/gnvBaseRed.jpg);width:700px;height:101px;}");document.write(".gnvBaseGreen {background: URL(/shared/img/gnv/gnvBaseGreen.jpg);width:700px;height:101px;}");document.write(".gnvBaseGray {background: URL(/shared/img/gnv/gnvBaseGray.jpg);width:700px;height:101px;}");/* class for text size */if(mac){	//mac_ie_nn	document.write(".ss{font-size:9px;font-family: Verdana;}");	document.write(".s{font-size:10px;font-family: Verdana;}");	document.write(".sb{font-size:10px;font-weight: bold;font-family: Verdana;}");	document.write(".m{font-size:12px;font-family: Verdana;}");	document.write(".mb{font-size:12px;font-weight: bold;font-family: Verdana;}");	document.write(".l{font-size:14px;font-family: Verdana;}");	document.write(".lb{font-size:14px;font-weight: bold;font-family: Verdana;}");	document.write(".xl{font-size:16px;font-family:  Verdana;}");	document.write(".xlb{font-size:16px;font-weight: bold;font-family: Verdana;}");	}else{	if(ie){	//win_ie	document.write(".ss{font-size:9px;font-family: Verdana;}");	document.write(".s{font-size:10px;font-family: Verdana;}");	document.write(".sb{font-size:10px;font-weight: bold;font-family: Verdana;}");	document.write(".m{font-size:12px;font-family: Verdana;}");	document.write(".mb{font-size:12px;font-weight: bold;font-family: Verdana;}");	document.write(".l{font-size:14px;font-family: Verdana;}");	document.write(".lb{font-size:14px;font-weight: bold;font-family: Verdana;}");	document.write(".xl{font-size:16px;font-family:  Verdana;}");	document.write(".xlb{font-size:16px;font-weight: bold;font-family: Verdana;}");	}	else{	//win_nn	document.write(".ss{font-size:9px;font-family: Verdana;}");	document.write(".sb{font-size:9px;font-weight: bold;font-family: Verdana;}");	document.write(".s{font-size:10px;font-family: Verdana;}");	document.write(".m{font-size:12px;font-family: Verdana;}");	document.write(".mb{font-size:12px;font-weight: bold;font-family: Verdana;}");	document.write(".l{font-size:14px;font-family: Verdana;}");	document.write(".lb{font-size:14px;font-weight: bold;font-family: Verdana;}");	document.write(".xl{font-size:16px;font-family:  Verdana;}");	document.write(".xlb{font-size:16px;font-weight: bold;font-family: Verdana;}");	}}/* class for colorCorner */document.write(".redBg {background: #CC0000;}");document.write(".greenBg {background: #3c9b2f URL(/shared/img/common/greenbg.jpg) no-repeat 50% 0% !important;}");document.write(".hideCorner {z-index:2000;height:11px;width:700px;display:none;position:absolute;top:101px;left:50%}");document.write(".greenCorner {z-index:2001;height:11px;width:700px;display:block;position:absolute;top:101px;left:50%;margin-left:-350px;background: URL(/shared/img/header/lr_001green.png)}");document.write("*html .greenCorner { behavior: expression(IEPNGFIX.fix(this)); }");document.write(".greenLowerCorner {z-index:2002;width:700px;height:16px;display:block;position:absolute;top:100%;margin-top:-16px;left:50%;margin-left:-350px;background: url(/shared/img/format/lr_footerGreen.gif)}");//document.write("*html .greenLowerCorner {margin-top:0;}");document.write("--></STYLE>");/* js for Green */function setGreen(){	setBodyColor('greenBg');	Full();	//window.open("/green/","Green");	changeClass('upperCorner','greenCorner');	changeClass('lowerCorner','greenLowerCorner');	if(thisMovie("gnvBase")) changeClass('gnvBase','gnvBaseGreen'); //for no flash	setLowerCorner();	callASFunction('green');}function setLowerCorner(){	var arrayPageSize = getPageSize();	//alert("debug by bulbs : " + arrayPageSize[1] + " / " + arrayPageSize[3]);	if(arrayPageSize[1] - arrayPageSize[3] <= 16){		document.getElementById('lowerCorner').style.top = arrayPageSize[1];	}	else{		document.getElementById('lowerCorner').style.top = arrayPageSize[1];	}	}/* js for change class of id */function setBodyColor(className) {    document.body.className = className;}function changeClass(i,c){ if(document.all) document.all(i).className=c; else if(document.getElementById)  document.getElementById(i).className=c; }/*js for change cornerColor of flash banner*/function thisMovie(movieName) {    if (navigator.appName.indexOf("Microsoft") != -1) {        return window[movieName];    }    else {        return document[movieName];    }}function callASFunction(col){  if(thisMovie("gnv")) thisMovie("gnv").changeColor(col);  if(thisMovie("mainImage")) thisMovie("mainImage").changeColor(col); //top,asimo,message  if(thisMovie("mymovie")) thisMovie("mymovie").changeColor(col); //ms  if(thisMovie("hdtvFeatures")) thisMovie("hdtvFeatures").changeColor(col); //hdtv//alert(thisMovie("swfmovie"));}function getPageSize(){		var xScroll, yScroll;		if (window.innerHeight && window.scrollMaxY) {			xScroll = document.body.scrollWidth;		yScroll = window.innerHeight + window.scrollMaxY;	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac		xScroll = document.body.scrollWidth;		yScroll = document.body.scrollHeight;	} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari		xScroll = document.body.offsetWidth;		yScroll = document.body.offsetHeight;	}		var windowWidth, windowHeight;	if (self.innerHeight) {	// all except Explorer		windowWidth = self.innerWidth;		windowHeight = self.innerHeight;	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode		windowWidth = document.documentElement.clientWidth;		windowHeight = document.documentElement.clientHeight;	} else if (document.body) { // other Explorers		windowWidth = document.body.clientWidth;		windowHeight = document.body.clientHeight;	}			// for small pages with total height less then height of the viewport	if(yScroll < windowHeight){		pageHeight = windowHeight;	} else { 		pageHeight = yScroll;	}	// for small pages with total width less then width of the viewport	if(xScroll < windowWidth){			pageWidth = windowWidth;	} else {		pageWidth = xScroll;	}	arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) 	return arrayPageSize;}