<!--


// ¸¶¿ì½º ¿À¸¥ÂÊ¹öÆ° ¸Þ´º

var isIE = 0;
if(window.navigator.appName == 'Microsoft Internet Explorer' && window.navigator.appVersion.substring(window.navigator.appVersion.indexOf('MSIE') + 5,window.navigator.appVersion.indexOf('MSIE') + 8) >= 5.5) {
	isIE = 1;
} else {
	isIE = 0;
}
if(isIE) {
	var HTML = "<table width=100% bgcolor=white border=0 cellpadding=0 cellspacing=0 style='font-family:±¼¸²;font-size:9pt;color:#323232;border:1 #323232 solid;cursor:default' ";
	HTML += "onContextMenu='return false' onDragStart='return false' onSelectStart='return false' onMouseUp='parent.nContext.show(0,0,document.body)'>\n";
	HTML += "<tr><td height=23 align=center bgcolor=#969696 onMouseUp=\"alert('http://www.shs1004.com/')\"><img src='./mouse_context/cc_title.gif' width=113 height=15 align=middle border=0 alt='ÄÁÅØ½ºÆ® ¸Þ´ºÀÔ´Ï´Ù. ^-^;'></td></tr>\n";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='ÀÌÀü ÆäÀÌÁö·Î ÀÌµ¿'>\n";
	HTML += "<td onMouseUp='parent.history.go(-1)'><img src='./mouse_context/cc_back.gif' width=9 height=9 align=middle border=0 hspace=7>µÚ·Î</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='¾Õ ÆäÀÌÁö·Î ÀÌµ¿'>\n";
	HTML += "<td onMouseUp='parent.history.go(1)'><img src='./mouse_context/cc_fwd.gif' width=9 height=9 align=middle border=0 hspace=7>¾ÕÀ¸·Î</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='Çª¸¥³ª·¡ È¨ÆäÀÌÁö¸¦ Áñ°ÜÃ£±â¿¡ Ãß°¡'>\n";
	HTML += "<td onMouseUp=\"window.external.AddFavorite('http://www.shs1004.com/','Çª¸¥³ª·¡');\"><img src='./mouse_context/cc_fav.gif' width=9 height=9 align=middle border=0 hspace=7>Áñ°ÜÃ£±â¿¡ Ãß°¡</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='ÇöÀç ÆäÀÌÁö¸¦ ÀÎ¼âÇÕ´Ï´Ù.'>\n";
	HTML += "<td onMouseUp='parent.print()'><img src='./mouse_context/cc_print.gif' width=9 height=9 align=middle border=0 hspace=7>ÀÎ¼â</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='ÇöÀç ÆäÀÌÁö¸¦ »õ·Î °íÄ¨´Ï´Ù.'>\n";
	HTML += "<td onMouseUp='parent.location.reload()'><img src='./mouse_context/cc_reld.gif' width=9 height=9 align=middle border=0 hspace=7>»õ·Î °íÄ§</td></tr>\n";
	HTML += "<tr height=1><td bgcolor=#646464></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='ÇöÀç ÆäÀÌÁö ³»¿ëÀ» ¸ðµÎ ¼±ÅÃÇÕ´Ï´Ù.'>\n";
	HTML += "<td onMouseUp='parent.selectAll()'><img src='./mouse_context/cc_sele.gif' width=9 height=9 align=middle border=0 hspace=7>¸ðµÎ ¼±ÅÃ</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='¼±ÅÃÇÑ ¿µ¿ªÀ» º¹»çÇÕ´Ï´Ù.'>\n";
	HTML += "<td onMouseUp='parent.copyText()'><img src='./mouse_context/cc_copy.gif' width=9 height=9 align=middle border=0 hspace=7>º¹»ç</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='Å¬¸³º¸µå ³»¿ëÀ» ºÙ¿©³Ö½À´Ï´Ù.'>\n";
	HTML += "<td onMouseUp='parent.pasteText()'><img src='./mouse_context/cc_paste.gif' width=9 height=9 align=middle border=0 hspace=7>ºÙ¿©³Ö±â</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='¼±ÅÃÇÑ ÅØ½ºÆ®¸¦ °­Á¶ÇÕ´Ï´Ù.'>\n";
	HTML += "<td onMouseUp='parent.highlightText()'><img src='./mouse_context/cc_hlight.gif' width=9 height=9 align=middle border=0 hspace=7>°­Á¶</td></tr>\n";
	HTML += "<tr height=1><td background='./mouse_context/cdot_b.gif'></td></tr>";
	HTML += "<tr height=23 style='padding-top:3' onMouseOver=\"this.style.backgroundColor='#cccccc'\" onMouseOut=\"this.style.backgroundColor=''\" title='¼±ÅÃÇÑ ÅØ½ºÆ®¸¦ °Ë»öÇÕ´Ï´Ù. (³×ÀÌ¹ö)'>\n";
	HTML += "<td onMouseUp='parent.searchText()'><img src='./mouse_context/cc_srch.gif' width=9 height=9 align=middle border=0 hspace=7>´Ü¾î °Ë»ö</td></tr>\n";
	// HTML +='<TR><TD STYLE="border:0pt solid #FFFFFF" ID="i8" ONMOUSEOVER="document.all.i8.style.background=\'#FFFFFF\';document.all.i8.style.border=\'0pt solid #737B92\';" ONMOUSEOUT="document.all.i8.style.background=\'\';document.all.i0.style.border=\'0pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.6; else window.parent.document.body.style.zoom=1.6;"> <img SRC="./mouse_context/cmenuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle"> È®´ëÇØ¼­º¸±â</TD></TR>';
	// HTML +='<TR><TD STYLE="border:0pt solid #FFFFFF" ID="i9" ONMOUSEOVER="document.all.i9.style.background=\'#FFFFFF\';document.all.i9.style.border=\'0pt solid #737B92\';" ONMOUSEOUT="document.all.i9.style.background=\'\';document.all.i0.style.border=\'0pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=0.625; else window.parent.document.body.style.zoom=0.625;"> <img SRC="./mouse_context/cmenuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle"> Ãà¼ÒÇØ¼­º¸±â</TD></TR>';
	HTML += "</table>";
	var nContext = window.createPopup();
}

function dnContext(x,y) {
	if(isIE) {
		var nContextBody = nContext.document.body;
		nContextBody.innerHTML = HTML;
		nContext.show(x,y,140,264,document.body);
	}
}

function showContext(e) {
	if(isIE) {
		if(document.all) {
			if(event.button == 2 || event.button == 3) {
				dnContext(event.x,event.y);
			}
		}
	}
}

if(isIE) {
	document.oncontextmenu = function() {
		dnContext(event.x,event.y);
		return false;
	}
	document.onmouseclick = showContext;
}


// ¸¶¿ì½º ¿À¸¥ÂÊ¹öÆ° ¸Þ´º¿ë º¸Á¶ µµ±¸

function selectAll() {
	document.body.createTextRange().select();
}

function copyText() {
	var sel = document.selection;
	var rng = sel.createRange();
	rng.execCommand('Copy');
}

function pasteText() {
	var sel = document.selection;
	var rng = sel.createRange();
	rng.execCommand('Paste');
	// alert(' ¾ÆÁ÷ ½ºÅ©¸³Æ®°¡ ºÒ¿ÏÀüÇÏ¿© ±¸ÇöµÇÁö ¾Ê½À´Ï´Ù. \n\n    Windows ºÙ¿©³Ö±â ´ÜÃàÅ°´Â [Ctrl + V] ÀÔ´Ï´Ù.');
}

function highlightText() {
	var sel = document.selection;
	var rng = sel.createRange();
	var str = new String(rng.text); 
	if (str == '') {
		alert(' °­Á¶ÇÒ ¿µ¿ªÀÌ ¼±ÅÃµÇÁö ¾Ê¾Ò½À´Ï´Ù. \n\n    °­Á¶ÇÒ ¿µ¿ª(ÅØ½ºÆ®)¸¦ ±ÜÀ¸¼¼¿ä.');
	} else {
		rng.execCommand('BackColor',0,'yellow');
	}
}

function searchText() {
	var sel = document.selection;
	var rng = sel.createRange();
	var str = new String(rng.text); 
	var searchWin = new String('http://search.naver.com/search.naver?where=nexearch&query=' + str);
	if (str == '') {
		alert(' °Ë»öÇÒ ´Ü¾î°¡ ¾ø½À´Ï´Ù. \n\n ¸ÕÀú ÅØ½ºÆ®¸¦ ±ÜÀ¸¼¼¿ä. ');
	} else {
		window.open(searchWin);
	}
}


//-->
