/* °¡»çº¸±â ·¹ÀÌ¾î View & Hide */
function hideLayer(layerId) {
  document.getElementById(layerId).style.display = "none";
}
function showLayer(layerId) {
  /*
  * À§Ä¡ÁöÁ¤ ÇÊ¿ä
  */

  // document.getElementById(layerId).style.display = "inline";
}

// image roll
function menuOver() {
	this.src = this.src.replace(".gif", "_on.gif");
}
function menuOut() {
	this.src = this.src.replace("_on.gif", ".gif");
}

function imageOver(imgEl) {
	imgEl.src = imgEl.src.replace(".gif", "_on.gif");
}
function imageOut(imgEl) {
	imgEl.src = imgEl.src.replace("_on.gif", ".gif");
}

//¸ñ·Ï»óÀÚ ¸µÅ©
function selectGo(dropdownName){
	var page = document.all[dropdownName].value;
	if(page !="") window.open(page);
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.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];}}
}

function BdoverColor(td){
td.style.backgroundColor="#FAFBFB";//¸¶¿ì½º°¡ ¿Ã¶ó°¬À»¶§ÀÇ »ö»ó ¼³Á¤
}

function BdoutColor(td){
td.style.backgroundColor="#ffffff";//¸¶¿ì½º°¡ ³»·Á¿ÔÀ»¶§ÀÇ »ö»ó ¼³Á¤
}
function onChangeUrl(obj)
{
var destURL = obj.options[obj.selectedIndex].value;
document.location.href = destURL;
}

function styleThumb(status,name)
{
	imgName=eval("thumb_"+name);
	imgName.className="product_style_"+status;
}

function styleThumb01(status,name)
{
	imgName=eval("thumb_"+name);
	imgName.className="product01_style_"+status;
}


// ÆË¾÷
function open_popup(url, wid, hei, scroll, winName)
{
	var url = url;
	var posi = "width="+ wid +",height="+hei+",toolbar=no,location=no,status=no,menubar=no,top=10,left=50,scrollbars=" + scroll +",resizable=no" ;
	if (winName == "")
	{
		winName = popup;
	}
	window.open(url,winName,posi);
}
function winClose()
{
	window.close();
}

function goTop(orix,oriy,desx,desy) {
	var Timer;
	var winHeight = document.body.scrollTop;
	if(Timer) clearTimeout(Timer);
	startx = 0;
	starty = winHeight;
	if(!orix || orix < 0) orix = 0;
	if(!oriy || oriy < 0) oriy = 0;
	var speed = 7;
	if(!desx) desx = 0 + startx;
	if(!desy) desy = 0 + starty;
	desx += (orix - startx) / speed;
	if (desx < 0) desx = 0;
	desy += (oriy - starty) / speed;
	if (desy < 0) desy = 0;
	var posX = Math.ceil(desx);
	var posY = Math.ceil(desy);
	window.scrollTo(posX, posY);
	if((Math.floor(Math.abs(startx - orix)) < 1) && (Math.floor(Math.abs(starty - oriy)) < 1)){
		clearTimeout(Timer);
		window.scroll(orix,oriy);
	}else if(posX != orix || posY != oriy){
		Timer = setTimeout("goTop("+orix+","+oriy+","+desx+","+desy+")",15);
	}else{
		clearTimeout(Timer);
	}
}
//°¶·¯¸® ÆË¾÷·¹ÀÌ¾î
function LayerOpen(id) {

var layerId = document.getElementById(""+id+"").style;
layerId.display='block';

}
function LayerOut(id) {

var layerId = document.getElementById(""+id+"").style;
layerId.display='none';

}

//µ¿¿µ»ó js
function movie(val,w,h,t)
{
 document.writeln("<object classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\" width=\""+w+"\" height=\""+h+"\" id=\"MediaPlayer1\" title=\""+t+"\" type=\"application/x-oleobject\">");
 document.writeln("<param name=\"AutoSize\" value=\"0\" />");
 document.writeln("<param name=\"DisplayMode\" value=\"4\" />");
 document.writeln("<param name=\"Enabled\" value=\"true\" />");
 document.writeln("<param name=\"FileName\" value=\""+val+"\" />");
 document.writeln("<param name=\"AutoStart\" value=\"1\" />");
 document.writeln("<param name=\"ShowControls\" value=\"1\" />");
 document.writeln("<param name=\"showpositioncontrols\" value=\"0\" />");
 document.writeln("<param name=\"ShowStatusBar\" value=\"0\" />");
 document.writeln("<param name=\"EnableTracker\" value=\"0\" />");
 document.writeln("<param name=\"ShowTracker\" value=\"0\" />");
 document.writeln("<param name=\"ShowAudioControls\" value=\"1\" />");
 document.writeln("<param name=\"ShowDisplay\" value=\"0\" />");
}

//ÇÃ·¡½Ã js
function flashMovie(p,w,h){
	flashMovie_2(p, w, h, '')
}

function flashMovie_2(p,w,h, code){
	var s_index="";
	var m_flash_movie="";
 	s_index="/Lib/swf/"+p;
 	flash_vars = "page_code=01"+code+"&xml_path=/Lib/swf/";

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}


function flashMovie_3(p,w,h, code){
var s_index="";
	var m_flash_movie="";
 	s_index="../lib/swf/"+p;
 	flash_vars = "theme="+code;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function flashMovie_4(p,w,h, code){
var s_index="";
	var m_flash_movie="";
 	s_index="../lib/swf/"+p;
 	flash_vars = "seq="+code;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function topNavi(p,w,h, code , login){
	var s_index="";
	var m_flash_movie="";
 	s_index="../lib/swf/"+p+"?basic_path=../lib/swf/&logincheck="+login+"";
 	flash_vars = "page_code="+code;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" allowScriptAccess=\"always\" showLiveConnect=\"true\"  value=\""+s_index+"\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function topnavi_new(p,w,h, code , login){
	var s_index="";
	var m_flash_movie="";
 	s_index="../lib/swf/"+p+"?basic_path=../lib/swf/&logincheck="+login+"";
 	flash_vars = "page_code="+code;

	m_flash_movie+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='submenu_flash' name='submenu_flash'>";
	m_flash_movie+="<param name='movie' value="+s_index+">";
	m_flash_movie+="<param name='FlashVars' value='"+flash_vars+"'>";
	m_flash_movie+="<param name='allowScriptAccess' value='always'>";
	m_flash_movie+="<param name='quality' value='high'>";
	m_flash_movie+="<param name='wmode' value='transparent' />";
	m_flash_movie+="<embed src="+s_index+" wmode='transparent'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' allowScriptAccess='always' swLiveConnect=true id='submenu_flash' name='submenu_flash'></embed></object>";

	document.write(m_flash_movie);
}

function leftNavi(p,w,h, code){
	var s_index="";
	var m_flash_movie="";
 	s_index="/lib/swf/"+p+"?basic_path=/lib/swf/";
 	flash_vars = "page_code="+code;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function leftnavi_new(p,w,h, code){
	var s_index="";
	var m_flash_movie="";
 	s_index="/lib/swf/"+p+"?basic_path=/lib/swf/";
 	flash_vars = "page_code="+code;

	m_flash_movie+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='submenu_flash' name='submenu_flash'>";
	m_flash_movie+="<param name='movie' value="+s_index+">";
	m_flash_movie+="<param name='FlashVars' value='"+flash_vars+"'>";
	m_flash_movie+="<param name='allowScriptAccess' value='always'>";
	m_flash_movie+="<param name='quality' value='high'>";
	m_flash_movie+="<param name='wmode' value='transparent' />";
	m_flash_movie+="<embed src="+s_index+" wmode='transparent'  quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' allowScriptAccess='always' swLiveConnect=true id='submenu_flash' name='submenu_flash'></embed></object>";

	document.write(m_flash_movie);
}

function quickNavi(p,w,h, code){
	var s_index="";
	var m_flash_movie="";
 	s_index="/lib/swf/"+p+"?xml_path=/lib/swf/";
	//alert(code);
 	flash_vars = "page_code="+code;

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<param name=\'FlashVars\' value=\""+flash_vars+"\">");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}

function mainBanner(p,w,h){
	var s_index="";
 	s_index="/Lib/swf/"+p+"?basic_path=/Lib/swf/main_banner.xml";
	//alert(code);

	document.writeln("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\"flash_movie\" align=\"middle\">")	;
	document.writeln("<param name=\"movie\" value=\""+s_index+"\" />");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<!--[if !IE]> <-->");
	document.writeln("<object type=\"application/x-shockwave-flash\" data=\""+s_index+"\" width=\""+w+"\" height=\""+h+"\">");
	document.writeln("<param name=\"wmode\" value=\"transparent\" />");
	document.writeln("<object data=\"images/common/guideMainV.gif\" type=\"images/gif\">");
	document.writeln("<p><img src=\"images/common/guideMainV.gif\" alt=\"\" /></p>");
	document.writeln("</object>");
	document.writeln("</object>");
	document.writeln("<!--> <![endif]-->");
	document.writeln("</object>");
}
function findPos(obj) {
	var left =0, top = 0;
	if (obj.offsetParent) {
		left = obj.offsetLeft
		top = obj.offsetTop
		while (obj = obj.offsetParent) {
			left += obj.offsetLeft
			top += obj.offsetTop
		}
	}
	return {left:left, top:top};
}


function showTooltip(chk, show){//¾ÖÃ¢°î½ºÅ©·¦
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/scrapImg.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip2(chk, show){ //¹Ì¸®µè±â
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/hearImg.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip3(chk, show){ //ºÎ¸£±â
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/singImg.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip4(chk, show){  //ÇÊÅëÄ£±¸³ìÀ½°î
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/recordImg.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip5(chk, show){ //µè±â
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/HearImg_02.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip6(chk, show) {//ÆíÁöÀ½¾Çº¸³»±â
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/mailImg.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip7(chk, show) {//³ìÀ½º©
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/recordImg_02.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip8(chk, show) {//Ä£±¸°î ½ºÅ©·¦
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/scrapImg_02.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}
function showTooltip9(chk, show){ //³ë·¡ºÐ¼®
	var tooltip = document.getElementById('msgDiv');
	var p = findPos(chk);		//ÄÁÆ®·ÑÀÇ x, yÀ§Ä¡ÀÇ Àý´ë°ª °è»ê
	var offsetTop = p.top+chk.offsetHeight
	/**if (document.body.currentStyle && document.body.currentStyle['marginTop']) {
		offsetTop += parseInt(document.body.currentStyle['marginTop']);
	}**/
	tooltip.innerHTML = "<img src='../images/common/AnalysisImg.gif' border='0' alt='' />";
	tooltip.style.left = p.left-30+'px';
	tooltip.style.top = offsetTop-35+'px';
	tooltip.style.display = show?"inline":"none";
}


function c_Top(){
	window.scroll(0,0);
}

function c_Login() {
	window.open('/member/popup_login.asp?return_url='+escape(document.location.href),'popup_login','menubar=no, scrollbars=no,resizable=no, width=400, height=240');
}

function c_Search() {
	open_popup('/member/popup_searchId.asp', '400', '250', 'no', 'search_pop');
}


function c_listenLayer(chk) {
	 document.writeln("<object id='MPlay1' codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,5,0803 classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 width=300 height=65 type=application/x-oleobject standby='Loading Windows Media Player components...'>");
//	 document.writeln("<param name='FileName' value='"+chk+"'>");
	 document.writeln("<param name='transparentAtStart' value='True'><param name='transparentAtStop' value='False'><param name='AnimationAtStart' value='False'><param name='AutoStart' value='1'><param name='AutoRewind' value='true'><param name='ShowStatusBar' value='1'><param name='ShowControls' value='1'><param name='ShowTracker' value='1'><param name='Enabled' value='1'><param name='ShowPositionControls' value='0'><param name='SendKeyboardEvents' value='1'><param name='Rate' value='1'><param name='CursorType' value='1'>");
	 document.writeln("</object>");

}
