/* 
 *	 
 *	by franksop
 */

var UserAgent = navigator.userAgent;
var AppVersion = (((navigator.appVersion.split('; '))[1].split(' '))[1]);

// default NSelect style
var SL_ActiveIDX = null;
var SL_Focused = null;
var SL_FocusedIDX = null;
var SL_Table = " cellspacing=0 cellpadding=0 border=0";
var SL_Text = "text-indent:2px;padding-top:3px;";
var SL_IPrefix = "img/";
var SL_AImage = "arrow.gif";
var SL_BImage = "trans.gif";
var SL_SBLen = 10;
var SL_SBWidth = 18;
var SL_ScrollBar = ""
    +"scrollbar-face-color:#ffffff;"
    +"scrollbar-shadow-color:999999;"
    +"scrollbar-highlight-color:#E8E8E8;"
    +"scrollbar-3dlight-color:999999;"
    +"scrollbar-darkshadow-color:#EEEEEE;"
    +"scrollbar-track-color:#999999;"
    +"scrollbar-arrow-color:#E8E8E8;";

var SL_BGColor = "ivory";
var SL_BGColor_M = "#FEFFCB";
var SL_Border = "1px solid #AFB086";
var SL_FontSize = "10pt";
var SL_FontColor = "#000000";
var SL_Height = "18px";

SList = new Array();
document.write( "<div id=NSDiv style='position:absolute;top:-100px;z-index:3;'></div>" );

// set SL Style 
function setEnv( pSrc, pBG, pBM, pBD, pAI )
{
    var oEnv = new Object();
    var oSrc = createObject( pSrc );

    if( oSrc.style.width ) {
	oEnv.Width = oSrc.style.width;
    } else {
	document.all.NSDiv.innerHTML = ""
	    +"<table style='top:2px;'><tr><td height=1>"+pSrc+"</td></tr></table>";
	oEnv.Width = document.all.NSDiv.scrollWidth;
    }
    if( oSrc.style.height ) oEnv.Height = oSrc.style.height; else oEnv.Height = SL_Height;
    if( oSrc.style.fontSize ) oEnv.FontSize = oSrc.style.fontSize; else oEnv.FontSize = SL_FontSize;
    if( oSrc.style.color ) oEnv.FontColor = oSrc.style.color; else oEnv.FontColor = SL_FontColor;

    if( pBG ) oEnv.BGColor = pBG;	else oEnv.BGColor = SL_BGColor;
    if( pBM ) oEnv.BGColor_M = pBM;	else oEnv.BGColor_M = SL_BGColor_M;
    if( pBD ) oEnv.Border = pBD;	else oEnv.Border = SL_Border;
    if( pAI ) oEnv.AImage = pAI;	else oEnv.AImage = SL_AImage;

    return oEnv;
}

// parameter NSelect
function NSelect( HTMLSrc, KIN, BG, BM, BD, AI )
{
    if ( UserAgent.indexOf( "MSIE" ) < 0 || AppVersion < 5 ) {
	document.write( HTMLSrc );
	return;
    } else {
	var SE = setEnv( HTMLSrc, BG, BM, BD, AI );
	var SListObj = new setNSelect( HTMLSrc, KIN, SE );
	SListObj.append();

	return SListObj;
    }
}

function appendSList()
{
    document.write("<div id=TempDiv></div>\n");
    document.all.TempDiv.appendChild( this.Table );
    document.all.TempDiv.removeNode();

    return;
}

function MouseScrollHandler() {
    var f_titleObj = SList[SL_FocusedIDX].Title;
    var f_itemObj = SList[SL_FocusedIDX].Items;
    var idx_length = f_itemObj.options.length;
    var idx_selected = f_itemObj.options.selectedIndex ;

    CancelEventHandler( window.event );

    if( window.event.wheelDelta > 0 ) {
	idx_selected = Math.max( 0, --idx_selected );
    } else {
	idx_selected = Math.min( idx_length - 1, ++idx_selected );
    }

    if( f_itemObj.options.selectedIndex != idx_selected ) {
	f_itemObj.options.selectedIndex = idx_selected;
	SList[SL_FocusedIDX].ChangeTitle();
	if( f_itemObj.onchange ) f_itemObj.onchange();
    }

    return;
}

function ActiveIDXHandler() {
    if( SL_ActiveIDX == null ) {
	for( i = 0; i < SList.length; i++ ) {
	    SList[i].List.style.display = "none";
	    if( i == SL_Focused ) TitleHighlightHandler( i, 1 );
	    else TitleHighlightHandler( i, 0 );
	}

	if( SL_Focused == null )
	    document.detachEvent( 'onclick', ActiveIDXHandler );
    }
    if( SL_Focused == null ) document.detachEvent( 'onmousewheel', MouseScrollHandler );
    else document.attachEvent( 'onmousewheel', MouseScrollHandler );

    SL_ActiveIDX = null;
    SL_Focused = null;

    return;
}

function TitleClickHandler()
{
    SL_ActiveIDX = this.entry;

    for( i = 0; i < SList.length; i++ ) {
	if( i == SL_ActiveIDX ) {
	    if( SList[i].List.style.display == "block" ) {
		SList[i].List.style.display = "none";
		TitleHighlightHandler( i, 1 );
		SL_Focused = i;
		SL_FocusedIDX = i;
	    } else SList[i].List.style.display = "block";
	} else {
	    SList[i].List.style.display = "none";
	    TitleHighlightHandler( i, 0 );
	}
    }

    document.detachEvent( 'onclick', ActiveIDXHandler );
    document.attachEvent( 'onclick', ActiveIDXHandler );

    return;
}

function TitleMouseOverHandler()
{
    this.Title.children(0).cells(2).children(0).style.filter = "";
    if( !this.kin ) this.Title.style.border = "1 solid #999999";

    return;
}

function TitleMouseOutHandler()
{
    this.Title.children(0).cells(2).children(0).style.filter = "alpha( opacity=80 );";
    if( !this.kin ) this.Title.style.border = "1 solid #C3CACD";

    return;
}

function TitleHighlightHandler( entry, t )
{
    if( t ) {
	if( this.kin )
	    SList[entry].Title.children(0).cells(0).style.background = SList[entry].env.BGColor;
	else 
	    SList[entry].Title.children(0).cells(0).style.background = SList[entry].env.BGColor_M;
    } else {
	SList[entry].Title.children(0).cells(0).style.background = SList[entry].env.BGColor;
    }

    return;
}

function ListMouseDownHandler( f )
{
    var tObj = this.Title.children(0);
    var length = this.Items.length;

    for( i = 0; i < length; i++ ) {
	this.Items.options[i].selected = false;
	if ( i == f.idx ) {
	    this.Items.options[i].selected = true;
	    this.ChangeTitle();
	}
    }
    if( this.Items.onchange ) this.Items.onchange();
    if ( this.kin && ( length - 1 ) == f.idx )
	location.href = this.Items.options[f.idx].value;

    this.List.style.display = "none";

    SL_Focused = this.entry;
    SL_FocusedIDX = this.entry;

    return;
}

function ListMouseOverHandler( f )
{
    if( this.kin ) f.style.color = "#FFFFFF";
    f.style.background = this.env.BGColor_M;
    return;
}

function ListMouseOutHandler( f )
{
    f.style.color = this.env.FontColor;
    f.style.background = this.env.BGColor;
    return;
}

function CancelEventHandler( e )
{
    e.cancelBubble = true;
    e.returnValue = false;

    return;
}

function ModifyDivHandler() {
    var width = parseInt( this.Title.style.width );

    this.Items.style.width = null;
    document.all.NSDiv.innerHTML = ""
	+"<table style='top:2px;'><tr><td height=1>"+this.Items.outerHTML+"</td></tr></table>";
    var scrollWidth = parseInt( document.all.NSDiv.scrollWidth );

    if( scrollWidth > width ) {
	this.Title.style.width = scrollWidth;
	this.List.style.width = scrollWidth;
    }

    return;
}

function ChangeTitleHandler() {
    var newTitle = this.Items.options[this.Items.options.selectedIndex].innerHTML ;
    this.Title.children(0).cells(0).innerHTML = "<nobr>"+newTitle+"</nobr>";

    return;
}

function ChangeListHandler() {
    var length = this.Items.length;
    var item = "";

    var listHeight = parseInt( this.env.Height ) * Math.min( SL_SBLen, length ) + 2;
    var overflowY = ( length > SL_SBLen ) ? "scroll" : "hidden";

    this.List.innerHTML = "";
    for( i = 0; i < this.Items.options.length; i++ ) {
	item = ""
	    +"<DIV idx="+i+" style='height:"+this.env.Height+";"+SL_Text+"'"
	    +"  onMouseDown='SList["+this.entry+"].ListMouseDown( this );'"
	    +"  onMouseOver='SList["+this.entry+"].ListMouseOver( this );'"
	    +"  onMouseOut='SList["+this.entry+"].ListMouseOut( this );'>"
	    +"    <nobr>"+this.Items.options[i].innerText+"</nobr>"
	    +"</DIV>";
	oItem = createObject( item );
	this.List.appendChild( oItem );
    }

    this.List.style.height = listHeight;
    this.List.style.overflowY = overflowY;

    return;
}

function AddOptionHandler( sText, sValue, iIndex ) {
    var oOption = document.createElement("OPTION");
    this.Items.options.add(oOption, iIndex);

    oOption.innerText = sText;
    oOption.value = sValue;

    return;
}

function setNSelect( pSrc, pKIN, pSE )
{
    this.entry = SList.length;
    this.lower = null;
    this.src = pSrc;
    this.env = pSE;
    this.kin = pKIN;

    // NSelect Object
    this.Items;
    this.Title;
    this.List;
    this.Table;

    // Create NSelect Element
    this.ItemObj = createObject;
    this.ListObj  = createList;
    this.TitleObj = createTitle;
    this.TableObj = createSList;

    // NSelect EventHandler
    this.TitleClick = TitleClickHandler;
    this.TitleMouseOver = TitleMouseOverHandler;
    this.TitleMouseOut = TitleMouseOutHandler;
    this.ListMouseDown = ListMouseDownHandler;
    this.ListMouseOver = ListMouseOverHandler;
    this.ListMouseOut = ListMouseOutHandler;
    this.CancelEvent = CancelEventHandler;

    // NSelect Function
    this.ModifyDiv = ModifyDivHandler;
    this.ChangeTitle = ChangeTitleHandler;
    this.ChangeList = ChangeListHandler;
    this.AddOption = AddOptionHandler;

    this.append = appendSList; 
    this.Table = this.TableObj();

    SList[this.entry] = this;

    return;
}

function createObject( pSrc )
{       
    oObj = new Object();
    oObj.Div = document.createElement("DIV");
    oObj.Div.insertAdjacentHTML("afterBegin", pSrc);

    return oObj.Div.children(0);
}

function createTitle()
{
    var length = this.Items.length;

    for ( i = 0; i < length; i++ ) {
	if (this.Items.options[i].selected) {
	    SIName = this.Items.options[i].innerText;
	    SIValue = this.Items.options[i].value;
	}
    }

    this.Title = createObject(""
	+"<DIV id=title style='width:"+this.env.Width+";overflow-X:hidden;position:relative;left:0px;top:0px;"
	+"border:"+this.env.Border+";cursor:default;background:"+this.env.BGColor+";'"
	+"	onClick='SList["+this.entry+"].TitleClick( window.event );'"
	+"	onMouseOver='SList["+this.entry+"].TitleMouseOver( window.event );'"
	+"	onMouseOut='SList["+this.entry+"].TitleMouseOut( window.event );'"
	+">"
        +"<table height="+this.env.Height+" "+SL_Table+" style='table-layout:fixed;text-overflow:hidden;'>"
	+"<tr>"
        +"    <td style='width:100%;font-size:"+this.env.FontSize+";color:"+this.env.FontColor+";"+SL_Text+"'><nobr>"+SIName+"</nobr></td>"
        +"    <td style='display:none;'></td>"
        +"    <td align=center valign=center width="+SL_SBWidth+"><img src='"+SL_IPrefix+this.env.AImage+"' border=0 style='Filter:Alpha( Opacity=80 )'></td>"
	+"</tr>"
	+"</table>"
	+"</DIV>");

    oTitle_Sub = createObject(""
	+"<img style='position:absolute;top:1px;left:0;width:"+this.env.Width+";height:"+this.env.Height+";'"
	+"    ondragstart='SList["+this.entry+"].CancelEvent( window.event );'"
	+" src='"+SL_IPrefix+SL_BImage+"'>");

    this.Title.childNodes(0).cells(1).appendChild( this.Items );
    this.Title.childNodes(0).cells(2).appendChild( oTitle_Sub );

    return;
}

function createList()
{
    var ListDiv = ""
	+"<DIV id=list style='position:absolute;z-index:2;display:none;background:"+this.env.BGColor+";"
	+"border:"+this.env.Border+";font-size:"+this.env.FontSize+";color:"+this.env.FontColor+";cursor:default;"
	+"width:"+this.env.Width+";overflow-X:hidden;"+SL_ScrollBar+"'></DIV>";

    this.List = createObject( ListDiv );
    this.ChangeList();

    return;
}

function createSList()
{
    this.Items = this.ItemObj( this.src );

    this.TitleObj();
    this.ListObj();

    var table = createObject(""
        +"<table cellspacing=0 cellpadding=1 border=0>"
        +"<tr><td></td></tr>"
        +"</table>");

    table.cells(0).appendChild( this.Title );
    table.cells(0).appendChild( this.List );

    return table;
}

function changeSubNS( t, oSub ) {
    var s_idx = t.options.selectedIndex;
    oSub.Items.options.length = 0;

    for( i = 0; i < section_list[s_idx].length; i++ ) {
	content = section_list[s_idx][i].split(",");
	oSub.AddOption( content[0], content[1], 0 );
    }
    oSub.ChangeTitle();
    oSub.ChangeList();

    return;
}

function showSelectGuide_ALT(t, f, e)
{
    if ( UserAgent.indexOf("MSIE") < 0 || AppVersion < 5 ) return;
    else 
    {
	var s_idx = 0;
	var realWidth = document.body.clientWidth - 148;
	var meanWidth = realWidth / 2;
	var divWidth = document.all.NSDiv.scrollWidth;

	if( f.u ) {
	    if( f.u.options ) {
		s_idx = f.u.options.selectedIndex;
		sub_name = f.u.options[s_idx].innerText; 
		sub_url = f.u.options[s_idx].value; 
	    } else {
		sub_url = f.u.value; 
	    }
	}

	if ( f.desc ) {
	    sub_url = f.desc.options[s_idx].innerText;
	}

	if ( sub_url.length >= 70 ) { 
	    sub_url = sub_url.substring(0, 60); 
	    sub_url = sub_url + "...";
	}

	if( sub_url.length ) {
	    pDoc = true;
	    content = ""
	    	+"<table height=20 bgcolor=#FEFFCB cellspacing=0 cellpadding=0"
		+" style='filter:alpha(opacity=100); border:1 solid #AFB086'>"
		+"<tr><td style='text-indent:2px;cursor:hand;font-size:9pt;height:16px;padding-top:2px;'>"
	    	+"<font color=black style='font-size:9pt'>"+sub_url+"</font>"
	    	+"</td><td width=10 nowrap></td></tr></table>";

	    document.all.NSDiv.innerHTML = content;
	    document.all.NSDiv.style.display = "block";

	    if ( e.x < realWidth / 2 )
	        document.all.NSDiv.style.left = e.x+document.body.scrollLeft + 5;
	    else
	        document.all.NSDiv.style.left = e.x+document.body.scrollLeft - divWidth -5;
	
	    document.all.NSDiv.style.top = e.y + document.body.scrollTop + 5;
	} else {
	    pDoc = false;
	    document.all.NSDiv.style.display= "none";
	}
    }

    return;
}
/* 
 * 	File Name : NSelect.js 
 *	 
 *	by franksop
 */

<!--Info Layer-->
/* 
 * 	From Source : ZBoard Layer Info Script
 *	 
 */
	var select_obj;
	function Info_layerAction(name,status) { 
		var obj=document.all[name];
		var _tmpx,_tmpy, marginx, marginy;
		_tmpx = event.clientX + parseInt(obj.offsetWidth);
		_tmpy = event.clientY + parseInt(obj.offsetHeight);
		_marginx = document.body.clientWidth - _tmpx;
		_marginy = document.body.clientHeight - _tmpy ;
		if(_marginx < 0)
			_tmpx = event.clientX + document.body.scrollLeft + _marginx ;
		else
			_tmpx = event.clientX + document.body.scrollLeft ;
		if(_marginy < 0)
			_tmpy = event.clientY + document.body.scrollTop + _marginy +20;
		else
			_tmpy = event.clientY + document.body.scrollTop ;
		obj.style.posLeft=_tmpx-50;
		obj.style.posTop=_tmpy-45;
		if(status=='visible') {
			if(select_obj) {
				select_obj.style.visibility='hidden';
				select_obj=null;
			}
			select_obj=obj;
		}else{
			select_obj=null;
		}
		obj.style.visibility=status; 
	}


	function print_Infolayer(name, memo, homepage,a1,a2,a3,nick) {
		var printHeight = 0;
		var printMain="";
		var printHeader = "<div id='"+name+"' style='position:absolute; left:10px; top:25px; width:127; height: "+printHeight+"; z-index:1; visibility: hidden' onMousedown=Info_layerAction('"+name+"','hidden')><table border=0><tr><td colspan=3 onMouseover=Info_layerAction('"+name+"','hidden') height=3></td></tr><tr><td width=5 onMouseover=Info_layerAction('"+name+"','hidden') rowspan=2>&nbsp;</td><td height=5></td></tr><tr><td><table style=cursor:hand border='0' cellspacing='1' cellpadding='0' bgcolor='black' width=100% height=100%><tr><td valign=top><table border=0 cellspacing=0 cellpadding=3 width=100% height=100%>";
		if(homepage) {
			printMain = "<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=window.open('"+homepage+"');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_homepage.gif border=0 align=absmiddle>&nbsp;&nbsp;È¨ÆäÀÌÁö&nbsp;&nbsp;</td></tr>";
			printHeight = printHeight + 16;
			printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
			printHeight = printHeight + 1;
		}
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=showModelessDialog('member_info.cfm?nick="+nick+"','SendMessage','dialogwidth:380px;dialogheight:510px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_info.gif border=0 align=absmiddle>&nbsp;&nbsp;È¸¿ø Á¤º¸ º¸±â&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		if(memo) {
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=showModelessDialog('member_info.cfm?r=sendmsg&nick="+nick+"','SendMessage','dialogwidth:380px;dialogheight:510px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_memo.gif border=0 align=absmiddle>&nbsp;&nbsp;ÂÊÁö º¸³»±â&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		}
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=location.href='rank_srch.cfm?search_nick="+nick+"'><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_search.gif border=0 align=absmiddle>&nbsp;&nbsp;È¸¿ø ·©Å· °Ë»ö&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=location.href='members_search.cfm?nick="+nick+"'><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_search.gif border=0 align=absmiddle>&nbsp;&nbsp;ÀÏ¹Ý °Ô½Ã¹° °Ë»ö&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=location.href='members_search.cfm?nick="+nick+"&isdata=1'><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_search.gif border=0 align=absmiddle>&nbsp;&nbsp;ÀÚ·á °Ô½Ã¹° °Ë»ö&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		
		if(a1) {
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=window.open('member/state.cfm?nick="+nick+"','','width=1,height=1,toolbar=no,scrollbars=no')><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;ºí·¢ ¸®½ºÆ®·Î ÁöÁ¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=1','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;¿î¿µÀÚ·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=2','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;¿î¿µÁøA·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=3','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;¿î¿µÀÚB·Î  ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=4','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;Æ¯±ÞÈ¸¿øÀ¸·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=5','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;ÀÏ¹ÝÈ¸¿øÀ¸·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		}		
		
		if(a2) {
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=window.open('member/state.cfm?nick="+nick+"','','width=1,height=1,toolbar=no,scrollbars=no')><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;ºí·¢ ¸®½ºÆ®·Î ÁöÁ¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=3','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;¿î¿µÀÚB·Î  ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=4','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;Æ¯±ÞÈ¸¿øÀ¸·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=5','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;ÀÏ¹ÝÈ¸¿øÀ¸·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		
		}
		
		if(a3) {
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=window.open('member/state.cfm?nick="+nick+"','','width=1,height=1,toolbar=no,scrollbars=no')><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;ºí·¢ ¸®½ºÆ®·Î ÁöÁ¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=4','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;Æ¯±ÞÈ¸¿øÀ¸·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		printMain = printMain +	"<tr bgcolor='ivory'><td height=1 background='img/line3.gif'></td></tr>";
		printHeight = printHeight + 1;
		printMain = printMain +	"<tr bgcolor='ivory' onMouseOver=this.style.backgroundColor='#FFFFCC' onMouseOut=this.style.backgroundColor='ivory' onMousedown=onMousedown=showModelessDialog('lvup.cfm?nick="+nick+"&up=5','SendMessage','dialogwidth:404px;dialogheight:500px;center:1;scroll:0;help:0;status:0');><td style=font-family:±¼¸²;font-size:9pt height=18 nowrap>&nbsp;<img src=img/n_lvup.gif border=0 align=absmiddle>&nbsp;&nbsp;ÀÏ¹ÝÈ¸¿øÀ¸·Î ¼³Á¤&nbsp;&nbsp;</td></tr>";
		printHeight = printHeight + 16;
		}		
					
		var printFooter = "</table></td></tr></table></td><td width=5 rowspan=2 onMouseover=Info_layerAction('"+name+"','hidden')>&nbsp;</td></tr><tr><td colspan=3 height=10 onMouseover=Info_layerAction('"+name+"','hidden')></td></tr></table></div>";
	
		document.writeln(printHeader+printMain+printFooter);
	}
<!--Info Layer-->

<!--Screen Shot-->
n4 = (document.layers) ? 1 : 0
e4 = (document.all) ? 1 : 0
function popUp(L, e, it_file2) {
    if(n4) {
       	var barron = document.layers[L]
		barron.left = e.pageX 
		barron.top = e.pageY + 5
		it_file = it_file2
		barron.value=it_file
		barron.visibility = 'visible'
		//location.href="chicken.html?it_file="+it_file;
		clearTimeout(0);
    }else if(e4) {
       	var barron = document.all[L]
        barron.style.pixelLeft = event.clientX + document.body.scrollLeft - 320
        barron.style.pixelTop = event.clientY + document.body.scrollTop - 414
        barron.style.visibility = 'visible'
    }
	
}

function popDown(L) {
        if(n4) document.layers[L].visibility = 'hidden'
        else if(e4) document.all[L].style.visibility = 'hidden'
}
<!--Screen Shot-->


function MM_preloadimg() { //v3.0
  var d=document; if(d.img){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadimg.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



<!--Jump Menu-->
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
<!--Jump Menu-->

<!--Link to Clipboard -->
function copyit() {
	document.execCommand("Copy")
	copiedtext=window.clipboardData.getData("Text");
	document.all.sound.src="http://www.jjangworld.com/chimes.wav";
}
function msgposit(){
message.style.posLeft = event.x + 4 + document.body.scrollLeft // ¼ýÀÚ 20Àº Ä¿¼­¿Í Ç³¼±µµ¿ò¸»ÀÇ °¡·Î °£°Ý
message.style.posTop = event.y + 11 + document.body.scrollTop// ¼ýÀÚ -20Àº Ä¿¼­¿Í Ç³¼±µµ¿ò¸»ÀÇ ¼¼·Î °£°Ý
}

function msgset(str,str2){
var text
text ='<table cellpadding=0 cellspacing=0 border=0 width=160 align=center><tr height=1><td rowspan=3 width=1></td><td width=1></td><td width=1></td><td bgcolor=#000000></td><td width=1></td><td width=1></td><td rowspan=3 width=1></td></tr><tr height=1><td colspan=2 bgcolor=#000000></td><td bgcolor=#FFFFCC></td><td colspan=2 bgcolor=#000000></td></tr><tr height=1><td bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFCC></td><td bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 bgcolor=#FFFFCC width=160 align=center><tr><td width=1 bgcolor=#000000></td><td valign=top> <table width=100% border=0 cellspacing=4 cellpadding=4><tr><td>'
text +='<font color=black style=font-size:12px>' + str2
text += '</td></tr></table></td><td width=1 bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 width=160 align=center><tr height=1> <td rowspan=3 width=1></td><td rowspan=2 width=1 bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFCC></td><td rowspan=2 width=1 bgcolor=#000000></td><td rowspan=3 width=1></td></tr><tr height=1> <td width=1 bgcolor=#000000></td><td bgcolor=#FFFFCC></td><td width=1 bgcolor=#000000></td></tr><tr height=1> <td colspan=2></td><td bgcolor=#000000></td><td colspan=2></td></tr></table>'
message.innerHTML=text
}

function msghide(){
message.innerHTML=''
}

function msgposit2(){
message.style.posLeft = event.x - 157 + document.body.scrollLeft // ¼ýÀÚ 20Àº Ä¿¼­¿Í Ç³¼±µµ¿ò¸»ÀÇ °¡·Î °£°Ý
message.style.posTop = event.y + 11 + document.body.scrollTop// ¼ýÀÚ -20Àº Ä¿¼­¿Í Ç³¼±µµ¿ò¸»ÀÇ ¼¼·Î °£°Ý
}

function msgset2(str,str2){
var text
text ='<table cellpadding=0 cellspacing=0 border=0 width=160 align=center><tr height=1><td rowspan=3 width=1></td><td width=1></td><td width=1></td><td bgcolor=#000000></td><td width=1></td><td width=1></td><td rowspan=3 width=1></td></tr><tr height=1><td colspan=2 bgcolor=#000000></td><td bgcolor=#FFFFFF></td><td colspan=2 bgcolor=#000000></td></tr><tr height=1><td bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFFF></td><td bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 bgcolor=#FFFFFF width=160 align=center><tr><td width=1 bgcolor=#000000></td><td valign=top> <table width=100% border=0 cellspacing=4 cellpadding=4><tr><td>'
text +='<font color=black style=font-size:12px>' + str2
text += '</td></tr></table></td><td width=1 bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 width=160 align=center><tr height=1> <td rowspan=3 width=1></td><td rowspan=2 width=1 bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFFF></td><td rowspan=2 width=1 bgcolor=#000000></td><td rowspan=3 width=1></td></tr><tr height=1> <td width=1 bgcolor=#000000></td><td bgcolor=#FFFFFF></td><td width=1 bgcolor=#000000></td></tr><tr height=1> <td colspan=2></td><td bgcolor=#000000></td><td colspan=2></td></tr></table>'
message.innerHTML=text
}

function msgset3(str,str2){
var text
text ='<table cellpadding=0 cellspacing=0 border=0 width=100 align=center><tr height=1><td rowspan=3 width=1></td><td width=1></td><td width=1></td><td bgcolor=#000000></td><td width=1></td><td width=1></td><td rowspan=3 width=1></td></tr><tr height=1><td colspan=2 bgcolor=#000000></td><td bgcolor=#FFFFFF></td><td colspan=2 bgcolor=#000000></td></tr><tr height=1><td bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFFF></td><td bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 bgcolor=#FFFFFF width=100 align=center><tr><td width=1 bgcolor=#000000></td><td valign=top> <table width=100% border=0 cellspacing=4 cellpadding=4><tr><td>'
text +='<font color=black style=font-size:12px>' + str2
text += '</td></tr></table></td><td width=1 bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 width=100 align=center><tr height=1> <td rowspan=3 width=1></td><td rowspan=2 width=1 bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFFF></td><td rowspan=2 width=1 bgcolor=#000000></td><td rowspan=3 width=1></td></tr><tr height=1> <td width=1 bgcolor=#000000></td><td bgcolor=#FFFFFF></td><td width=1 bgcolor=#000000></td></tr><tr height=1> <td colspan=2></td><td bgcolor=#000000></td><td colspan=2></td></tr></table>'
message.innerHTML=text
}




function msgset_wid(str,str2,wid){
var text
text ='<table cellpadding=0 cellspacing=0 border=0 width=' + wid + ' align=center><tr height=1><td rowspan=3 width=1></td><td width=1></td><td width=1></td><td bgcolor=#000000></td><td width=1></td><td width=1></td><td rowspan=3 width=1></td></tr><tr height=1><td colspan=2 bgcolor=#000000></td><td bgcolor=#FFFFCC></td><td colspan=2 bgcolor=#000000></td></tr><tr height=1><td bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFCC></td><td bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 bgcolor=#FFFFCC width=' + wid + ' align=center><tr><td width=1 bgcolor=#000000></td><td valign=top> <table width=100% border=0 cellspacing=4 cellpadding=4><tr><td>'
text +='<font color=black style=font-size:12px>' + str2
text += '</td></tr></table></td><td width=1 bgcolor=#000000></td></tr></table><table cellpadding=0 cellspacing=0 border=0 width=' + wid + ' align=center><tr height=1> <td rowspan=3 width=1></td><td rowspan=2 width=1 bgcolor=#000000></td><td colspan=3 bgcolor=#FFFFCC></td><td rowspan=2 width=1 bgcolor=#000000></td><td rowspan=3 width=1></td></tr><tr height=1> <td width=1 bgcolor=#000000></td><td bgcolor=#FFFFCC></td><td width=1 bgcolor=#000000></td></tr><tr height=1> <td colspan=2></td><td bgcolor=#000000></td><td colspan=2></td></tr></table>'
message.innerHTML=text
}




function msghide2(){
message.innerHTML=''
}
<!--Link to Clipboard -->

<!--Loading-->
function loadingx()
{
	document.all.previewx.style.display = "none";
	document.all.showx.style.display = "";
}
<!--Loading-->


<!--Loading-->
function unloadingx()
{
	document.all.previewxx.style.display = "none";
	document.all.showxx.style.display = "";
}
<!--Loading-->