	<!--to hiding script from old browsers
	/*user-defined data type*/
	bAgent = navigator.userAgent;
	bName = navigator.appName;
	bVer = parseInt(navigator.appVersion);
	bPlugins = navigator.plugins;
	Vmajor = parseInt(navigator.appVersion);	// ex. 3
	Vminor = parseFloat(navigator.appVersion);	// ex. 3.01

	/*OS*/
	Win = (bAgent.indexOf("Win",0) != -1);
	Mac = (bAgent.indexOf("Mac",0) != -1);
	MacOSX = ((bAgent.indexOf("Mozilla") != -1) && (bAgent.indexOf("Mac OS X") != -1));
	if(bPlugins){for(i=0;i<bPlugins.length;i++){if(Mac && (bPlugins[i].filename.indexOf("QuickTime Plugin.plugin")!=-1)){MacOSX=true;}}}

	/*Browser*/
	IE = (bName == "Microsoft Internet Explorer");
	NS = (bName == "Netscape")
	Moz = (bAgent.indexOf("Gecko") != -1);
	SAFARI = (bAgent.indexOf("Safari",0) != -1);
	ICAB = (bAgent.indexOf("iCab",0) != -1);
	OPERA = (bAgent.indexOf("Opera",0) != -1);

	NS7 = (bAgent.indexOf("Netscape/7") != -1);
	NS6 = (bAgent.indexOf("Netscape6/") != -1);
	MacIE5 = (Mac && (bAgent.indexOf('MSIE 5.',0) != -1));
	MacIE45 = (Mac && (bAgent.indexOf('MSIE 4.5',0) != -1));
	MacIE4 = (Mac && (bAgent.indexOf('MSIE 4.',0) != -1));

	/*user-defined object check*/
	/*NS4 = 1, IE4 = 2, IE5+ = 3, NS6 = 4, others = 0*/
	checkObj = document.all?(document.getElementById?3:2):(document.getElementById?4:(document.layers?1:0));
	function initObj(){
		checkObj = document.all?(document.getElementById?3:2):(document.getElementById?4:(document.layers?1:0));
	}

	/*Set Up Stylesheet*/
	cssRelative = "";
	cssType = (Win && IE)?"wie":((Win && NS)?"wns":((Mac && IE)?"mie":((Mac && NS)?"mns":"wie")));
	function cssSet(){
		document.open();
		if(cssType != ""){
			document.write('<link rel=\"stylesheet\" href=\"../shared/stylesheets/sayan_' +cssType+ '.css\" type=\"text/css\">');
		}else{
			document.write('<link rel=\"stylesheet\" href=\"../shared/stylesheets/sayan_wie.css\" type=\"text/css\">');
		}
		document.close();
	}
	if(parseInt(navigator.appVersion) >= 4) {
		if((checkObj == 1) || (checkObj == 2) || (checkObj == 3) || (checkObj == 4) || (checkObj == 0)){
			cssSet();
		}
	}

	/*document reload for user resized*/
	if(! window.definedWidth){
		window.onresize = check_size;
		window.definedWidth = window.innerWidth;
		window.definedHeight = window.innerHeight;
	}
	function check_size(){
		if(definedWidth < window.innerWidth || definedWidth > window.innerWidth || definedHeight > window.innerHeight || definedHeight < window.innerHeight){
		location.reload();
		}
	}

	/*ChangeImage*/
	imgId2 = imgId3 = imgId4 ="";
	stayId2 = stayId3 = stayId4 ="";
	function imgChange(imgName,imgState) {
		if(document.images) {
			stringId0 = imgName.substring(0,4);
			stringId2 = imgName.substring(4,8);
			stringId3 = imgName.substring(4,8);
			stringId4 = imgName.substring(4,8);
			if(((stringId0 == "navi") || (stringId0 == "navf") || (stringId0 == "navs")) && ((imgName == imgId2) || (imgName == imgId3) || (imgName == imgId4))){
				document[imgName].src = eval(imgName + "on" + ".src");
			} else {
				document[imgName].src = eval(imgName + imgState + ".src");
			}
		}
	}

	function stayMenuSecond(stayId2){
		imgChange("navi" + stayId2,"on");
		imgId2 = ("navi" + stayId2);
	}

	/*SetBgcolorForTable*/
	var set_bgcolor = new Array();
	set_bgcolor[1] = "#eaeaea";
	set_bgcolor[2] = "#6daed2";
	function setBgcolor(setName,setColor) {
		if(checkObj == 2 || checkObj == 3) {
			document.all(setName).style.backgroundColor = set_bgcolor[setColor];
		} else if(checkObj == 4){
			document.getElementById(setName).style.background = set_bgcolor[setColor];
		} else if(checkObj == 1){
			return true;
		}
	}

	/*CacheImage*/
	if(document.images) {
		var arrowSecond = new Array();
		arrowSecond[1] = new Image();
		arrowSecond[1].src = "/shared/img/arrow_second_01.gif";
		arrowSecond[2]= new Image();
		arrowSecond[2].src = "/shared/img/arrow_second_02.gif";
	}
	/*ChangeImage*/
	function imgChangeNum(nam,num) {
		if(document.images && (checkObj != 1)) {
			document[nam].src = arrowSecond[num].src;
		}
	}
	/*kov window*/
	windowKov = ""; kovUrl = ""; kovName = "";
	kovWidth = ""; kovHeight = "";
	function kovWin(kovUrl,kovName,kovWidth,kovHeight) {
		if(Win && IE){
			kovWidth+=0;kovHeight+=0;
			windowKov = window.open(kovUrl,kovName,"width="+kovWidth+",height="+kovHeight+",location=yes,menubar=yes,personalbar=no,directories=no,scrollbars=yes,status=yes,toolbar=no,copyhistory=no,resizable=yes,top=0,left=0");
		}else if(Win && NS){
			kovWidth+=0;kovHeight+=0;
			windowKov = window.open(kovUrl,kovName,"width="+kovWidth+",height="+kovHeight+",location=yes,menubar=yes,personalbar=no,directories=no,scrollbars=auto,status=yes,toolbar=no,copyhistory=no,resizable=yes,top=0,left=0");
		}else if(Mac && IE){
			kovWidth+=0;kovHeight+=0;
			windowKov = window.open(kovUrl,kovName,"width="+kovWidth+",height="+kovHeight+",location=yes,menubar=yes,personalbar=no,directories=no,scrollbars=auto,status=yes,toolbar=no,copyhistory=no,resizable=yes,top=0,left=0");
		}else if(Mac && NS){
			kovWidth+=0;kovHeight+=0;
			windowKov = window.open(kovUrl,kovName,"width="+kovWidth+",height="+kovHeight+",location=yes,menubar=yes,personalbar=no,directories=no,scrollbars=auto,status=yes,toolbar=no,copyhistory=no,resizable=yes,top=0,left=0");
		}else{
			kovWidth+=0;kovHeight+=0;
			windowKov = window.open(kovUrl,kovName,"width="+kovWidth+",height="+kovHeight+",location=yes,menubar=yes,personalbar=no,directories=no,scrollbars=auto,status=yes,toolbar=no,copyhistory=no,resizable=yes,top=0,left=0");
		}
		windowKov.opener = self;
	}
	// end hiding script from old browsers  -->

