if (typeof(COMMON_JS) == 'undefined') { // ÇÑ¹ø¸¸ ½ÇÇà
	var COMMON_JS = true;

	// Àü¿ª º¯¼ö
	var errmsg = "";
	var errfld;

	// ÇÊµå °Ë»ç
	function check_field(fld, msg) 
	{
		if ((fld.value = trim(fld.value)) == "") 			   
			error_field(fld, msg);
		else
			clear_field(fld);
		return;
	}

	// ÇÊµå ¿À·ù Ç¥½Ã
	function error_field(fld, msg) 
	{
		if (msg != "")
			errmsg += msg + "\n";
		if (!errfld) errfld = fld;
		fld.style.background = "#BDDEF7";
	}

	// ÇÊµå¸¦ ±ú²ýÇÏ°Ô
	function clear_field(fld) 
	{
		fld.style.background = "#FFFFFF";
	}

	function trim(s)
	{
		var t = "";
		var from_pos = to_pos = 0;

		for (i=0; i<s.length; i++)
		{
			if (s.charAt(i) == ' ')
				continue;
			else 
			{
				from_pos = i;
				break;
			}
		}

		for (i=s.length; i>=0; i--)
		{
			if (s.charAt(i-1) == ' ')
				continue;
			else 
			{
				to_pos = i;
				break;
			}
		}	

		t = s.substring(from_pos, to_pos);
		//				alert(from_pos + ',' + to_pos + ',' + t+'.');
		return t;
	}

	// ÀÚ¹Ù½ºÅ©¸³Æ®·Î PHPÀÇ number_format Èä³»¸¦ ³¿
	// ¼ýÀÚ¿¡ , ¸¦ Ãâ·Â
	function number_format(data) 
	{
		
		var tmp = '';
		var number = '';
		var cutlen = 3;
		var comma = ',';
		var i;
	   
		len = data.length;
		mod = (len % cutlen);
		k = cutlen - mod;
		for (i=0; i<data.length; i++) 
		{
			number = number + data.charAt(i);
			
			if (i < data.length - 1) 
			{
				k++;
				if ((k % cutlen) == 0) 
				{
					number = number + comma;
					k = 0;
				}
			}
		}

		return number;
	}

	// »õ Ã¢
	function popup_window(url, winname, opt)
	{
		window.open(url, winname, opt);
	}


	// Æû¸ÞÀÏ Ã¢
	function popup_formmail(url)
	{
		opt = 'scrollbars=yes,width=417,height=385,top=10,left=20';
		popup_window(url, "wformmail", opt);
	}

	// , ¸¦ ¾ø¾Ø´Ù.
	function no_comma(data)
	{
		var tmp = '';
		var comma = ',';
		var i;

		for (i=0; i<data.length; i++)
		{
			if (data.charAt(i) != comma)
				tmp += data.charAt(i);
		}
		return tmp;
	}

	// »èÁ¦ °Ë»ç È®ÀÎ
	function del(href) 
	{
		if(confirm("ÇÑ¹ø »èÁ¦ÇÑ ÀÚ·á´Â º¹±¸ÇÒ ¹æ¹ýÀÌ ¾ø½À´Ï´Ù.\n\nÁ¤¸» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?")) 
			document.location.href = href;
	}

	// ÄíÅ° ÀÔ·Â
	function set_cookie(name, value, expirehours) 
	{
		var today = new Date();
		today.setTime(today.getTime() + (60*60*1000*expirehours));
		document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + today.toGMTString() + ";";
	}

	// ÄíÅ° ¾òÀ½
	function get_cookie(name) 
	{
		var find_sw = false;
		var start, end;
		var i = 0;

		for (i=0; i<= document.cookie.length; i++)
		{
			start = i;
			end = start + name.length;

			if(document.cookie.substring(start, end) == name) 
			{
				find_sw = true
				break
			}
		}

		if (find_sw == true) 
		{
			start = end + 1;
			end = document.cookie.indexOf(";", start);

			if(end < start)
				end = document.cookie.length;

			return document.cookie.substring(start, end);
		}
		return "";
	}

	// ÄíÅ° Áö¿ò
	function delete_cookie(name) 
	{
		var today = new Date();

		today.setTime(today.getTime() - 1);
		var value = getCookie(name);
		if(value != "")
			document.cookie = name + "=" + value + "; path=/; expires=" + today.toGMTString();
	}

	// ÀÌ¹ÌÁöÀÇ Å©±â¿¡ µû¶ó »õÃ¢ÀÇ Å©±â°¡ º¯°æµË´Ï´Ù.
	// zzzz´Ô²²¼­ ¾Ë·ÁÁÖ¼Ì½À´Ï´Ù. 2005/04/12
	function image_window(img)
	{
		var w = img.tmp_width; 
		var h = img.tmp_height; 
		var winl = (screen.width-w)/2; 
		var wint = (screen.height-h)/3; 

		if (w >= screen.width) { 
			winl = 0; 
			h = (parseInt)(w * (h / w)); 
		} 

		if (h >= screen.height) { 
			wint = 0; 
			w = (parseInt)(h * (w / h)); 
		} 

		var js_url = "<script language='JavaScript1.2'> \n"; 
			js_url += "<!-- \n"; 
			js_url += "var ie=document.all; \n"; 
			js_url += "var nn6=document.getElementById&&!document.all; \n"; 
			js_url += "var isdrag=false; \n"; 
			js_url += "var x,y; \n"; 
			js_url += "var dobj; \n"; 
			js_url += "function movemouse(e) \n"; 
			js_url += "{ \n"; 
			js_url += "  if (isdrag) \n"; 
			js_url += "  { \n"; 
			js_url += "    dobj.style.left = nn6 ? tx + e.clientX - x : tx + event.clientX - x; \n"; 
			js_url += "    dobj.style.top  = nn6 ? ty + e.clientY - y : ty + event.clientY - y; \n"; 
			js_url += "    return false; \n"; 
			js_url += "  } \n"; 
			js_url += "} \n"; 
			js_url += "function selectmouse(e) \n"; 
			js_url += "{ \n"; 
			js_url += "  var fobj      = nn6 ? e.target : event.srcElement; \n"; 
			js_url += "  var topelement = nn6 ? 'HTML' : 'BODY'; \n"; 
			js_url += "  while (fobj.tagName != topelement && fobj.className != 'dragme') \n"; 
			js_url += "  { \n"; 
			js_url += "    fobj = nn6 ? fobj.parentNode : fobj.parentElement; \n"; 
			js_url += "  } \n"; 
			js_url += "  if (fobj.className=='dragme') \n"; 
			js_url += "  { \n"; 
			js_url += "    isdrag = true; \n"; 
			js_url += "    dobj = fobj; \n"; 
			js_url += "    tx = parseInt(dobj.style.left+0); \n"; 
			js_url += "    ty = parseInt(dobj.style.top+0); \n"; 
			js_url += "    x = nn6 ? e.clientX : event.clientX; \n"; 
			js_url += "    y = nn6 ? e.clientY : event.clientY; \n"; 
			js_url += "    document.onmousemove=movemouse; \n"; 
			js_url += "    return false; \n"; 
			js_url += "  } \n"; 
			js_url += "} \n"; 
			js_url += "document.onmousedown=selectmouse; \n"; 
			js_url += "document.onmouseup=new Function('isdrag=false'); \n"; 
			js_url += "//--> \n"; 
			js_url += "</"+"script> \n"; 

		var settings;

		if (g4_is_gecko) {
			settings  ='width='+(w+10)+','; 
			settings +='height='+(h+10)+','; 
		} else {
			settings  ='width='+w+','; 
			settings +='height='+h+','; 
		}
		settings +='top='+wint+','; 
		settings +='left='+winl+','; 
		settings +='scrollbars=no,'; 
		settings +='resizable=yes,'; 
		settings +='status=no'; 


		win=window.open("","image_window",settings); 
		win.document.open(); 
		win.document.write ("<html><head> \n<meta http-equiv='imagetoolbar' CONTENT='no'> \n<meta http-equiv='content-type' content='text/html; charset=euc-kr'>\n"); 
		var size = "ÀÌ¹ÌÁö »çÀÌÁî : "+w+" x "+h;
		win.document.write ("<title>"+size+"</title> \n"); 
		if(w >= screen.width || h >= screen.height) { 
			win.document.write (js_url); 
			var click = "ondblclick='window.close();' style='cursor:move' title=' "+size+" \n\n ÀÌ¹ÌÁö »çÀÌÁî°¡ È­¸éº¸´Ù Å®´Ï´Ù. \n ¿ÞÂÊ ¹öÆ°À» Å¬¸¯ÇÑ ÈÄ ¸¶¿ì½º¸¦ ¿òÁ÷¿©¼­ º¸¼¼¿ä. \n\n ´õºí Å¬¸¯ÇÏ¸é ´ÝÇô¿ä. '"; 
		} 
		else 
			var click = "onclick='window.close();' style='cursor:pointer' title=' "+size+" \n\n Å¬¸¯ÇÏ¸é ´ÝÇô¿ä. '"; 
		win.document.write ("<style>.dragme{position:relative;}</style> \n"); 
		win.document.write ("</head> \n\n"); 
		win.document.write ("<body leftmargin=0 topmargin=0 bgcolor=#dddddd style='cursor:arrow;'> \n"); 
		win.document.write ("<table width=100% height=100% cellpadding=0 cellspacing=0><tr><td align=center valign=middle><img src='"+img.src+"' width='"+w+"' height='"+h+"' border=0 class='dragme' "+click+"></td></tr></table>");
		win.document.write ("</body></html>"); 
		win.document.close(); 

		if(parseInt(navigator.appVersion) >= 4){win.window.focus();} 
	}

	// ´Þ·Â Ã¢
	function popup_calendar(fld, dir, year, month, top, left)
	{
		if (!top) top = 100;
		if (!left) left = 200;
		if (!year) year = '';
		if (!month) month = '';
		url = dir+'/calendar.php?yyyy='+year+'&mm='+month+'&fld='+fld;
		opt = 'scrollbars=no,status=no,resizable=no,width=250,height=225,top='+top+',left='+left;
		window.open(url, "gbCalendar", opt);
	}

	// a ÅÂ±×¿¡¼­ onclick ÀÌº¥Æ®¸¦ »ç¿ëÇÏÁö ¾Ê±â À§ÇØ
	function win_open(url, name, option)
	{
		var popup = window.open(url, name, option);
		popup.focus();
	}

	// ¿ìÆí¹øÈ£ Ã¢
	function win_zip(frm_name, frm_zip1, frm_zip2, frm_addr1, frm_addr2)
	{
		url = g4_path + "/" + g4_bbs + "/zip.php?frm_name="+frm_name+"&frm_zip1="+frm_zip1+"&frm_zip2="+frm_zip2+"&frm_addr1="+frm_addr1+"&frm_addr2="+frm_addr2;
		win_open(url, "winZip", "left=50,top=50,width=616,height=460,scrollbars=1");
	}

	function win_zip2(frm_name, frm_zip, frm_addr1, frm_addr2)
	{
		url = g4_path + "/" + g4_bbs + "/zip2.php?frm_name="+frm_name+"&frm_zip="+frm_zip+"&frm_addr1="+frm_addr1+"&frm_addr2="+frm_addr2;
		win_open(url, "winZip", "left=50,top=50,width=616,height=460,scrollbars=1");
	}

	// ÂÊÁö Ã¢
	function win_memo(url)
	{
		if (!url)
			url = g4_path + "/" + g4_bbs + "/memo.php";
		win_open(url, "winMemo", "left=50,top=50,width=600,height=460,scrollbars=0");
	}

	// Æ÷ÀÎÆ® Ã¢
	function win_point(url)
	{
		win_open(g4_path + "/" + g4_bbs + "/point.php", "winPoint", "left=20, top=20, width=600, height=635, scrollbars=0");
	}

	// ½ºÅ©·¦ Ã¢
	function win_scrap(url)
	{
		if (!url)
			url = g4_path + "/" + g4_bbs + "/scrap.php";
		win_open(url, "scrap", "left=20, top=20, width=616, height=500, scrollbars=1");
	}

	// ÆÐ½º¿öµå ºÐ½Ç Ã¢
	function win_password_forget()
	{
		win_open(g4_path + "/" + g4_bbs + "/password_forget.php", 'winPasswordForget', 'left=50, top=50, width=616, height=500, scrollbars=1');
	}

	// ÄÚ¸àÆ® Ã¢
	function win_comment(url)
	{
		win_open(url, "winComment", "left=50, top=50, width=800, height=600, scrollbars=1");
	}

	// Æû¸ÞÀÏ Ã¢
	function win_formmail(mb_id, name, email)
	{
		win_open(g4_path+"/" + g4_bbs + "/formmail.php?mb_id="+mb_id+"&name="+name+"&email="+email, "winFormmail", "left=50, top=50, width=600, height=480, scrollbars=0");
	}

	// ¼³¹®Á¶»ç Ã¢
	function win_poll(url)
	{
		if (!url)
			url = "";
		win_open(url, "winPoll", "left=50, top=50, width=616, height=500, scrollbars=1");
	}

	// ÀÚ±â¼Ò°³ Ã¢
	function win_profile(mb_id)
	{
		win_open(g4_path+"/" + g4_bbs + "/profile.php?mb_id="+mb_id, 'winProfile', 'left=50,top=50,width=616,height=500,scrollbars=1');
	}

	var old='';
	function menu(name){

		submenu=eval(name+".style");

		if (old!=submenu)
		{
			if(old!='')
				old.display='none';

			submenu.display='block';
			old=submenu;
		}
		else
		{
			submenu.display='none';
			old='';
		}
	}

	function textarea_decrease(id, row)
	{
		if (document.getElementById(id).rows - row > 0)
			document.getElementById(id).rows -= row;
	}

	function textarea_original(id, row)
	{
		document.getElementById(id).rows = row;
	}

	function textarea_increase(id, row)
	{
		document.getElementById(id).rows += row;
	}

	// ±Û¼ýÀÚ °Ë»ç
	function check_byte(content, target)
	{
		var i = 0;
		var cnt = 0;
		var ch = '';
		var cont = document.getElementById(content).value;

		for (i=0; i<cont.length; i++) {
			ch = cont.charAt(i);
			if (escape(ch).length > 4) {
				cnt += 2;
			} else {
				cnt += 1;
			}
		}
		// ¼ýÀÚ¸¦ Ãâ·Â
		document.getElementById(target).innerHTML = cnt;
	}

	// ºê¶ó¿ìÀú¿¡¼­ ¿ÀºêÁ§Æ®ÀÇ ¿ÞÂÊ ÁÂÇ¥
	function get_left_pos(obj)
	{
		var parentObj = null;
		var clientObj = obj;
		var left = obj.offsetLeft + document.body.clientLeft;

		while((parentObj=clientObj.offsetParent) != null)
		{
			left = left + parentObj.offsetLeft;
			clientObj = parentObj;
		}

		return left;
	}

	// ºê¶ó¿ìÀú¿¡¼­ ¿ÀºêÁ§Æ®ÀÇ »ó´Ü ÁÂÇ¥
	function get_top_pos(obj)
	{
		var parentObj = null;
		var clientObj = obj;
		var top = obj.offsetTop + document.body.clientTop;

		while((parentObj=clientObj.offsetParent) != null)
		{
			top = top + parentObj.offsetTop;
			clientObj = parentObj;
		}

		return top;
	}

	function help(id, left, top)
	{
		menu(id);

		//submenu = eval(name+".style");
		submenu = document.getElementById(id).style;
		submenu.posLeft = tempX - 50 + left;
		submenu.posTop  = tempY + 15 + top;

	}

	function getCookie(NameCookie)
	{
		var i = document.cookie.indexOf(NameCookie + '=' );
		if (i != -1) {
			i += NameCookie.length + 1;
			NameEnd = document.cookie.indexOf(';', i);
			if (NameEnd == -1){
				NameEnd = document.cookie.length;
			}
			return  unescape(document.cookie.substring(i, NameEnd));
		} else {
			return "";
		}
	}

	function setCookie( name, value, expiredays ){
		var todayDate = new Date();
		todayDate.setDate( todayDate.getDate() + expiredays );
		document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
	}

function openNewWin(url, name, prop){
	 window.open(url, name, prop);
}


var score_layers = new Array( "layer1", "layer2","layer3","layer4")
var score_objs = new Array( score_layers.length );
function score_getObjs()
{
    var nObjMax = score_layers.length;
    for( nCount = 0; nCount < nObjMax; nCount++ )
    {
        score_objs[nCount] = document.getElementById( score_layers[nCount] );
    }
}
function setMultitap( layerID )
{
    score_objs[0] != null ? "" : score_getObjs();
    if( layerID == score_objs[0].id ) {
        score_objs[0].style.display = "";
        score_objs[1].style.display = "none";
        score_objs[2].style.display = "none";
        score_objs[3].style.display = "none";
    }
    else if( layerID == score_objs[1].id ) {
        score_objs[0].style.display = "none";
        score_objs[1].style.display = "";
        score_objs[2].style.display = "none";
        score_objs[3].style.display = "none";
    }
    else if( layerID == score_objs[2].id ) {
        score_objs[0].style.display = "none";
        score_objs[1].style.display = "none";
        score_objs[2].style.display = "";
        score_objs[3].style.display = "none";
    }
    else if( layerID == score_objs[3].id ) {
        score_objs[0].style.display = "none";
        score_objs[1].style.display = "none";
        score_objs[2].style.display = "none";
        score_objs[3].style.display = "";
    }
	setCookie("index_tab", layerID , 365);
}
//Å©°Ô, ÀÛ°Ô ÇÔ¼ö 

var cfontsize ="";
var fontsize_max = 16; 
var fontsize_min = 9; 


function setDefaultFont()
{

	cfontsize = getCookie( "Fontsize" ); 

	if( document.getElementById( "sub_body") ){
		if (!isNaN(cfontsize) && cfontsize != "" ){
			if(fontsize_max<cfontsize) cfontsize = fontsize_max;
			else if(fontsize_min>cfontsize) cfontsize = fontsize_min;
			fsnum=cfontsize;
		}else{
			fsnum=12;
			//cfontsize = 9;
		}

		document.all.sub_body.style.fontSize = fsnum;
		document.all.sub_body.style.lineHeight = 1.5;

		testObj=document.all.sub_body;
		testObj.style.fontSize = fsnum;
		sObj = testObj.childNodes;


		for (i=0;i< sObj.length;i++){
			if (sObj[i].nodeName && nodeCheck(sObj[i].nodeName)) if(sObj[i].style) sObj[i].style.fontSize = fsnum; 
				aObj = sObj[i].childNodes;
				if(!aObj) continue;
				for(a=0;a<aObj.length;a++){
						if (aObj[a].nodeName && nodeCheck(aObj[a].nodeName)) if(aObj[a].style) aObj[a].style.fontSize = fsnum; 
						bObj = aObj[a].childNodes;
						if(bObj.length<1) continue;
						for(b=0;b<bObj.length;b++){
							if (bObj[b].nodeName && nodeCheck(bObj[b].nodeName)) if(bObj[b].style) bObj[b].style.fontSize = fsnum; 
					}
				}
			}
	}

}

function changesize(flag){
	
	//obj = document.all.sub_body.style.fontSize;
	obj = document.all.sub_contents.style.fontSize;
	
	num = eval(obj.substring(0,obj.length-2)*1);
	//alert(obj+"::"+num);
	if(num ==0){num=12;}
	if(!isNaN(num)){
		
		if(flag=='+'){
			
			if(num < fontsize_max) num++;
		}else{
			if(num > fontsize_min) 	num--;
		}
		
		changeFont(num);
		
		//document.all.sub_body.style.fontSize = num;
		document.all.sub_contents.style.fontSize = num;	
		document.cookie = "Fontsize=" + num + ";"   
	}
}

function changeFont(num){ 
	//  self_join2(sObj,sObj.length,num);
	//sObj = document.all.sub_body.childNodes;
	sObj = document.all.sub_contents.childNodes;
	for (i=0;i< sObj.length;i++){
	if (sObj[i].nodeName && nodeCheck(sObj[i].nodeName)) if(sObj[i].style)  sObj[i].style.fontSize = num; 
		aObj = sObj[i].childNodes;
		
		if(!aObj) continue;
		
		for(a=0;a<aObj.length;a++){
			
				if (aObj[a].nodeName && nodeCheck(aObj[a].nodeName)) if(aObj[a].style)  aObj[a].style.fontSize = num; 
				bObj = aObj[a].childNodes;
				if(bObj.length<1) continue;
				for(b=0;b<bObj.length;b++){
					if (bObj[b].nodeName && nodeCheck(bObj[b].nodeName)) if(bObj[b].style) bObj[b].style.fontSize = num; 
			}
		}
	}

}

function nodeCheck(obj) {
	var re=/(table|tbody|TR||TD|p|DIV|label)$/i;
	return re.test(obj);
}

function wheelchange(){   
        if (event.wheelDelta >= 120)
                changesize('+');
        else if (event.wheelDelta <= -120)
                changesize('-'); 
                
	return false;
}


//ÆùÆ®È®´ë
function FontPlus(uid)
{	
	var l = document.getElementById('sub_body');
	var nSize = l.style.fontSize   ? l.style.fontSize   : '9pt';
	var iSize = parseInt(nSize.replace('pt',''));
	
	if (iSize < 20)
	{
		l.style.fontSize   = (iSize + 1) + 'pt';
		l.style.lineHeight = '140%';
	}
}
//ÆùÆ®Ãà¼Ò
function FontMinus(uid)
{
	var l = document.getElementById('sub_body');
	var nSize = l.style.fontSize ? l.style.fontSize : '9pt';
	var iSize = parseInt(nSize.replace('pt',''));
	
	if (iSize > 6)
	{
		l.style.fontSize = (iSize - 1) + 'pt';
		l.style.lineHeight = '140%';
	}
}


function file_down(url)
{
	ff = window.open(url, "_down", "left=4000,top=4000,width=0,height=0");
//	ff.focus();
}

// HTML ·Î ³Ñ¾î¿Â <img ... > ÅÂ±×ÀÇ ÆøÀÌ Å×ÀÌºíÆøº¸´Ù Å©´Ù¸é Å×ÀÌºíÆøÀ» Àû¿ëÇÑ´Ù.
function resize_image()
{
    var target = document.getElementsByName('target_resize_image[]');
    var image_width = parseInt('600');
    var image_height = 0;

    for(i=0; i<target.length; i++) { 
        // ¿ø·¡ »çÀÌÁî¸¦ ÀúÀåÇØ ³õ´Â´Ù
        target[i].tmp_width  = target[i].width;
        target[i].tmp_height = target[i].height;
        // ÀÌ¹ÌÁö ÆøÀÌ Å×ÀÌºí Æøº¸´Ù Å©´Ù¸é Å×ÀÌºíÆø¿¡ ¸ÂÃá´Ù
        if(target[i].width > image_width) {
            image_height = parseFloat(target[i].width / target[i].height)
            target[i].width = image_width;
            target[i].height = parseInt(image_width / image_height);
        }
    }
}

function nodeCheck(obj) {
	var re=/(table|tbody|TR||TD|p|DIV|label)$/i;
	return re.test(obj);
}



/*
if(!opener) window.onload = resize_image;

String.prototype.popupView = function () { 

var img_view = this;
var x = x + 20 ; 
var y = y + 30 ; 
htmlz = "<html><head><title>ÀÌ¹ÌÁöÅ©°Ôº¸±â</title><style>body{margin:0;cursor:hand;}</style></head><body scroll=auto onload='width1=document.all.Timage.width;if(width1>1024)width1=1024;height1=document.all.Timage.height;if(height1>768)height1=768;top.window.resizeTo(width1+30,height1+54);' onclick='top.window.close();'><img src='"+img_view+"'  title='Å¬¸¯ÇÏ½Ã¸é ´ÝÈü´Ï´Ù.' name='Timage' id='Timage'></body></html>" 
imagez = window.open('', "image", "width="+ 100 +", height="+ 100 +", top=0,left=0,scrollbars=auto,resizable=1,toolbar=0,menubar=0,location=0,directories=0,status=1"); 
imagez.document.open(); 
imagez.document.write(htmlz) 
imagez.document.close(); 
} 
*/


function write_it(status_text) {
//	if(!status_text) hideURL();
    window.status=status_text;
}

var msg = '';  
function hideURL() {
       window.status = msg;  
       timerID= setTimeout("hideURL()", 0);  
}




function PagePrint(){
      var objWin = window.open('', 'printerWindow', 'width=700,height=600,resizable=no,scrollbars,toolbar=no,menubar=no');
      var strHtml = '';
      strHtml += '<html><head>';
      strHtml += '<style>';
      strHtml += 'img { border : 0; }';

      strHtml += 'A:link {text-decoration:none; color:555555;}';
      strHtml += 'A:visited {text-decoration:none; color:555555;}';
      strHtml += 'A:hover {  text-decoration:none;  color:#3E8FFC;}';

      strHtml += '.pv:link {text-decoration:none; color:blue;font-size:9pt;}';
      strHtml += '.pv:visited {text-decoration:none; color:BLUE;font-size:9pt;}';
      strHtml += '.pv:hover {  text-decoration:none;  color:RED;font-size:9pt;}';

      strHtml += '.white:link {text-decoration:none; color:white;font-size:7pt;font-family:tahoma;}';
      strHtml += '.white:visited {text-decoration:none; color:white;font-size:7pt;font-family:tahoma;}';
      strHtml += '.white:hover {  text-decoration:none;  color:BLACK;font-size:7pt;font-family:tahoma;}';

      strHtml += '.deco:hover {  text-decoration:underline; color:000000;}';

      strHtml += 'body,table,td,input,select,textarea {';
      strHtml += '	font-family : µ¸¿ò;';
      strHtml += '	font-size   : 9pt;';
      strHtml += '	color:666666;';
      strHtml += '}';

      strHtml += '.font01 { font-size:7pt;font-family:tahoma}';
      strHtml += '.font02 { font-size:8pt;font-family:tahoma}';
      strHtml += '.shadow_font01 { font-size:7pt;font-family:tahoma;color:999999;filter:dropshadow(color=#FFFFFF,offX=1,offY=1,positive=1); }';
      strHtml += '.shadow_font02 { font-size:8pt;font-family:tahoma;filter:dropshadow(color=#FFFFFF,offX=1,offY=1,positive=1); }';

      strHtml += '.input_login {';
      strHtml += '	font-size:8pt;';
      strHtml += '	font-family:tahoma;';
      strHtml += '	border-left:0px;';
      strHtml += '	border-right:0px;';
      strHtml += '	border-top:0px;';
      strHtml += '	border-bottom:1px #555555 solid;';
      strHtml += '	width:63px;';
      strHtml += '	color:blue;';
      strHtml += '}';
      strHtml += '.Blink { cursor : pointer;text-decoration : underline;color : blue;}';
      strHtml += '</style>';
	  strHtml += '<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onblur=\"self.close();\" onload=\"window.print();self.focus();\" >';
//onblur=self.close()
	  strHtml += '<center><table width=99%>';
	  strHtml += '<tr><td width=100% valign=top>';
	  strHtml += objContents.innerHTML;
	  strHtml += '<img src=/_publish/images/center/bar_footer.gif></td></tr>';
	  strHtml += '<tr><td></td></tr></table>';
      strHtml += '<center><br><table width=100%><td style=\"border-top:1px #c0c0c0 solid;font-family:tahoma;font-size:9pt\" align=right><b>Àü³²Ã¼½ÅÃ»</td></table></center>';
      strHtml += '<br>';
      strHtml += '<\/body>';
      strHtml += '<\/html>';
      objWin.document.open();
      objWin.document.write(strHtml);
      objWin.document.close();
}

<!--°ü·Ã±â°ü¹Ù·Î°¡±â-->

var ref_win = null;
var ref_url = "";
function setURL2(value){
	if (value=="")
		return false;
	if (ref_url==value)
		return false;
	
	ref_win = window.open(value);
	ref_url = value;
}





}

