<!--
/***************************************
* ÇÃ·¡½Ã
***************************************/
function SwfView(URL,SizeX,SizeY,LnkId,Frm,Flag)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
    document.write('	width="'+SizeX+'" height="'+SizeY+'"  id="'+LnkId+'" align="middle">');
    document.write('	<param name="movie"     value="'+URL+'" />');
    document.write('	<param name="quality"   value="high" />');
    if ( Flag == null || Flag != 'N' )
    {
        document.write('	<param name="wmode" value="transparent"/>');
    }
	document.write('	<param name="allowScriptAccess" value="always"/> ');
	document.write('	<param name="base" value="." />');
    document.write('	<embed base="." src="'+URL+'" quality="high" width="'+SizeX+'" height="'+SizeY+'" align="middle" ');
	 if ( Flag == null || Flag != 'N' )
    {
        document.write(' wmode="transparent" ');
    }
    document.write('	type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" swLiveConnect=true name="'+LnkId+'"  />'   );
    document.write('</embed></object>');
	
	if ( Frm == 'Y' ) {
		eval("window." + LnkId + " = document.forms[0]."+ LnkId +"; ");
	}
}
/***************************************
* ½ºÅ©·Ñ Å¾ ¹öÆ°
***************************************/
 function gotop(){
  document.body.scrollTop=0;
 }

/***************************************
* ÆäÀÌÁö focus blur
***************************************/
function bluring(){
  if (event.srcElement!=null) {
    if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
  }
}
document.onfocusin=bluring;

/***************************************
* ÀÌ¹ÌÁö ·Ñ¿À¹ö ex) <img src="url" onmouseover="menuOn(this,'gif');" onmouseout="menuOut(this,'gif');" border="0">
***************************************/
function menuOn(imgEl,file)
{
  imgEl.src = imgEl.src.replace("."+ file +"", "_on."+ file +"");
}

function menuOut(imgEl,file)
{
  imgEl.src = imgEl.src.replace("_on."+ file +"", "."+ file +"");
}

/***************************************
* OPENER url ¹Ù²Ù±â
***************************************/
function opener_url(url)
{
  opener.location=url;
}

/***************************************
* ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â - Win_pop(); Win_pop2();
***************************************/
function Win_pop(newwin,w,h) { //½ºÅ©·Ñ ¾øÀ½
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=no,toolbars=no,status=no,menu=no';
win = window.open(newwin, "new1", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Win_pop2(newwin,w,h) { //½ºÅ©·Ñ ÀÖÀ½
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=yes,toolbars=no,status=no,menu=no';
win = window.open(newwin, "new2", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

/***************************************
* TOOGLE ÇÔ¼ö
***************************************/
function toggle(e) { // TYPE A
  if (e.style.display == "none") {
     e.style.display = "";
  } else {
     e.style.display = "none";
  }
}

function faq(idx) { // TYPE B
  var ar = document.getElementById('faq').getElementsByTagName('div');
  for(i=1; i<=(ar.length); i++)
    if(i != idx) {
      document.getElementById('AN'+i).style.display="none";
    }
    else {
      if(document.getElementById('AN'+i).style.display=='block'){
        document.getElementById('AN'+i).style.display="none";
      }
      else{
        document.getElementById('AN'+i).style.display="block";
      }
    }
}

/***************************************
* ¾ÆÀÌÇÁ·¹ÀÓ ½ºÅ©·Ñ¹Ù »ö º¯°æ
***************************************/
function setScrollColor(objFrame)
{
  try
  {
    self[objFrame.name].document.body.style.scrollbarFaceColor = "#eeeeee";
    self[objFrame.name].document.body.style.scrollbarHighlightColor = "#ffffff";
    self[objFrame.name].document.body.style.scrollbarShadowColor = "#FFFFFF";
    self[objFrame.name].document.body.style.scrollbar3dLightColor = "#b6b6b6";
    self[objFrame.name].document.body.style.scrollbarArrowColor = "#333333";
    self[objFrame.name].document.body.style.scrollbarTrackColor = "";
    self[objFrame.name].document.body.style.scrollbarDarkshadowColor = "";
  }
  catch(oException)
  {
    // Á¢±Ùº¸¾ÈÀÏ¶§ ¾Æ¹«·± ÀÏµµ ÇÏÁö ¾Ê´Â´Ù.
  }

}

/***************************************
* ¾ÆÀÌÇÁ·¹ÀÓ RESIZE
***************************************/
var IE = false ;
if (window.navigator.appName.indexOf("Explorer") !=-1)
{
  IE = true;
}
function reSize()
{
      var ParentFrame      =  null;
      if(IE){
        ParentFrame = comment.document.body;
      }else{
        ParentFrame = comment.contentDocument.body;
      }
      var ContentFrame  =  document.all["comment"];
      ContentFrame.style.height = ParentFrame.scrollHeight + (ParentFrame.offsetHeight - ParentFrame.clientHeight);
      //ContentFrame.style.width = ParentFrame.scrollWidth + (ParentFrame.offsetWidth - ParentFrame.clientWidth);
}

/***************************************
* CONTENT TAB MENU
***************************************/
// TAB TYPE 1
function mOver()
{
  this.src = this.src.replace(".gif", "_on.gif");
}
function mOut()
{
  this.src = this.src.replace("_on.gif", ".gif");
}

function initTabMenu(menuContainerID, menuTabName) {
  var tabMenu = document.getElementsByName(menuTabName);
  var i = 0;

  for(i=0; i<tabMenu.length; i++) {
    thismenu = tabMenu.item(i);
    thismenu.menuContainer = document.getElementById(menuContainerID);
    thismenu.targetEl = document.getElementById(tabMenu.item(i).href.split("#")[1]);
    thismenu.targetEl.style.display = "none";
    if (thismenu.getElementsByTagName("img").item(0)) {
      thismenu.getElementsByTagName("img").item(0).onmouseover = mOver;
      thismenu.getElementsByTagName("img").item(0).onmouseout = mOut;
    }
    thismenu.onclick = tabMenuClick;
  }

  initmenu = tabMenu.item(0);
  initmenu.targetEl.style.display = "block";
  if (initmenu.getElementsByTagName("img").item(0)) {
    initmenu.getElementsByTagName("img").item(0).onmouseover();
    initmenu.getElementsByTagName("img").item(0).onmouseover = null;
    initmenu.getElementsByTagName("img").item(0).onmouseout = null;
  }
  initmenu.menuContainer.current = initmenu;
}
function tabMenuClick() {
  currentmenu = this.menuContainer.current;
  if (currentmenu != this) {
    currentmenu.targetEl.style.display = "none";
    if (currentmenu.getElementsByTagName("img").item(0)) {
      currentmenu.getElementsByTagName("img").item(0).onmouseover = mOver;
      currentmenu.getElementsByTagName("img").item(0).onmouseout = mOut;
      currentmenu.getElementsByTagName("img").item(0).onmouseout();
    }

    this.targetEl.style.display = "block";
    if (this.getElementsByTagName("img").item(0)) {
      this.getElementsByTagName("img").item(0).onmouseover = null;
      this.getElementsByTagName("img").item(0).onmouseout = null;
    }
    this.menuContainer.current = this;
  }
  return false;
}

// TAB TYPE 2
function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}


function MM_showHideLayers() { //v3.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 MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function goMenu(Val,Sel)
{
  Sel.value = '';
  if (Val) location=Val;

}

/***************************************
* ÀÌ¹ÌÁö·Î ¹Ù·Î ÆË¾÷¶ç¿ì±â
**************************************
function view(what) {
var imgwin = window.open("",'WIN','scrollbars=no,status=no,toolbar=no,resizable=0,location=no,menu=no,width=10,height=10');
imgwin.focus();
imgwin.document.open();
imgwin.document.write("<html>\n");
imgwin.document.write("<head>\n");
imgwin.document.write("<title>IMAGE VIEW</title>\n");

imgwin.document.write("<sc"+"ript>\n");
imgwin.document.write("function resize() {\n");
imgwin.document.write("pic = document.il;\n");
//imgwin.document.write("alert(eval(pic).width);\n");

imgwin.document.write(" var imgw = eval(pic).width; ");
imgwin.document.write("  if (eval(pic).width > 800){ eval(pic).width = 800\n "); //800pxº¸´ÙÅ©¸é 800À¸·Î
imgwin.document.write(" } else if(eval(pic).width < 800){ eval(pic).width = eval(pic).width\n} "); //800pxº¸´ÙÀÛÀ¸¸é ¿ø·¡Å©±â·Î

imgwin.document.write(" if (eval(pic).height) { var name = navigator.appName\n");
imgwin.document.write("  if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 40; myWidth = eval(pic).width + 10;\n");
imgwin.document.write("  } else { myHeight = eval(pic).height + 9; myWidth = eval(pic).width; }\n");
imgwin.document.write("  clearTimeout();\n");
imgwin.document.write("  var height = screen.height;\n");
imgwin.document.write("  var width = screen.width;\n");
imgwin.document.write("  var leftpos = width / 2 - myWidth / 2;\n");
imgwin.document.write("  var toppos = height / 2 - myHeight / 2; \n");
imgwin.document.write("  self.moveTo(leftpos, toppos);\n");
imgwin.document.write("  if (myWidth > width) { myWidth = width; }\n");
imgwin.document.write("  self.resizeTo(myWidth, myHeight+10);\n");
imgwin.document.write("}else setTimeOut(resize(), 100);}\n");
imgwin.document.write("</sc"+"ript>\n");

imgwin.document.write("</head>\n");
imgwin.document.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">\n');

imgwin.document.write("<img border=\"0\" src=\""+what+"\" name=il onload='resize();' style='cursor:pointer' onclick='window.close();'>\n");

imgwin.document.write("</body>\n");
imgwin.document.close();
}*/

/***************************************
* MOVIE  ÄÁÆ®·Ñ °ü·Ã
***************************************/

function mplay(){ //PLAY
  document.getElementById('mdefault').style.display='block';
  document.getElementById('mplayer').play();
}
function mpause(){ //PAUSE
  document.getElementById('mplayer').pause();
}
function mstop(){ //STOP
  document.getElementById('mplayer').stop();
}

//º¼·ý¹Ù
var nVolLeftPosition = 0;         // º¼·ý ¹Ù ¹è°æ ½ÃÀÛÁ¡
var nVolStartPosition = 19;       // º¼·ý ¹Ù ½ÃÀÛ Á¡
var nVolEndPosition = 63;         // º¼·ý ¹Ù ³¡ Á¡
var nVolume = 63;                 // º¼·ý ÃÊ±â °ª
var nPrevVol;                     // º¼·ýÀÌ º¯°æµÇ±â ÀüÀÇ °ª
var bIsVolumeSet    = false;      // º¼·ý¹Ù µå·¡±× ¿©ºÎ
var nZoomed      = 0;             // ±âº»°ª 1 : ÁÜµÊ,   0 : Ãà¼ÒµÊ

function killErr(){return true;}

function setVolumeBar(){
  nPrevVol = event.clientX;
  nVolLeftPosition = sound.style.pixelLeft;

  bIsVolumeSet = true;
  document.onmousemove=drag_dropie;
  if (document.all){document.onmouseup=endVolume;}
}

function drag_dropie(){
  if (bIsVolumeSet==true){
    var mov = nVolLeftPosition+event.clientX-nPrevVol;
    if ((mov >= nVolStartPosition)  && (mov < nVolEndPosition)){
      cutpoint=nVolEndPosition-sound.style.pixelLeft;
      document.all.soundbg.style.pixelWidth=63-cutpoint;
      //document.all.sbg.width = 58-cutpoint;
      sound.style.pixelLeft=nVolLeftPosition+event.clientX-nPrevVol;
      mplayer.Volume = -2500*(cutpoint/63);
      nVolume=sound.style.pixelLeft
      nVolume1=document.all.sbg.width;
      mplayer.Mute=false;
    }
    return false;
  }
}

function endVolume(){
  bIsVolumeSet=false;
}

function ris(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '') return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  }
}

function cis(name, nsdoc, rpath, preload)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')  return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  }
}

function mutecheck(){
  if(document.all.mplayer.mute==0) document.all.mplayer.mute=1;
  else document.all.mplayer.mute=0;
}

function mresize(no)
{
  url=document.getElementById('mplayer').FileName;
  url='/pr/pop_mediafull.asp?url='+url;
  document.getElementById('mplayer').stop();
  window.open(url,'fwin','status=no,scrollbars=yes,menubar=no,resizable=no,fullscreen=yes');
}

function mzoom(){
  url=document.getElementById('mplayer').FileName;
  url='/pr/pop_media.asp?url='+url;
  document.getElementById('mplayer').stop();
  Win_pop(url,484,362);
}

/***************************************
* OBJECT ÆÄÀÏ ÆÐÄ¡ - IE PATCH(ÀÌ¿Ã¶ó½º ÆÐÄ¡)
***************************************/
var paramInfo = new Array;

function initParam()
{
  var oldSize = paramInfo.length;

  for (var i=0; i<oldSize; i++) {
    paramInfo.length--;
  }
}

function setParam(paramName, paramValue)
{
  var idx = paramInfo.length;

  paramInfo[idx] = [];
  paramInfo[idx][0] = paramName;
  paramInfo[idx][1]= paramValue;
}

//FLASH
function playFlash(objID, objSource, objWidth, objHeight, objStyle, cabVersion, embedAttr)
{
  document.write('<OBJECT id="' + objID + '" name="' + objID + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');

  if (cabVersion != '') {
    document.write('codebase="' + self.window.document.protocol + '"://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + cabVersion + '" ');
  }
  document.write('WIDTH="' + objWidth + '" HEIGHT="' + objHeight + '" ' + objStyle + '>');

  for (var i=0; i<paramInfo.length; i++) {
    document.write('<PARAM NAME="' + paramInfo[i][0] + '" VALUE="'+ paramInfo[i][1] +'">');
  }

  document.write('<embed src="' + objSource + '" width="' + objWidth + '" height="' + objHeight + '" ' + embedAttr + '>');
  document.write('</OBJECT>');
}
//MOVIE
function playMedia(objID, objSource, objWidth, objHeight, objStyle)
{
  document.write('<OBJECT id="' + objID + '" name="' + objID + '" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ');
  document.write('WIDTH="' + objWidth + '" HEIGHT="' + objHeight + '" ' + objStyle + '>');

  for (var i=0; i<paramInfo.length; i++) {
    document.write('<PARAM NAME="' + paramInfo[i][0] + '" VALUE="'+ paramInfo[i][1] +'">');
  }

  document.write('</OBJECT>');
}

/*********************************************************************************************************************
* ÇÁ·ÎÁ§Æ® Ãß°¡ SCRIPT
*********************************************************************************************************************/
function project(){
  // Go go gO~!!
}

//gallery menu ¼³¸í tab
 function sview(idx) {
  var ar = document.getElementById('smenuall').getElementsByTagName('div');
  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('sview'+i).style.display="none";
    }
    else {
      document.getElementById('sview'+i).style.display="";
      document.getElementById('tab0'+i).src="/images/social/mg0"+idx+"_on.gif";

    }
  }

//faqlist toggle
 function sfaq(idx) {
  var ar = document.getElementById('faqlist').getElementsByTagName('div');
  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('ans_'+i).style.display="none";
    }
    else {
      document.getElementById('ans_'+i).style.display="";
    }
  }

//qna div
 function chqimg(idx) {
  var ar = document.getElementById('qnaall').getElementsByTagName('div');
  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('q'+i).style.display="none";
    }
    else {
      document.getElementById('q'+i).style.display="";
    }
  }

  function ExtCheck(fileName,acExt)
  {
    strFileName = fileName.substr(fileName.lastIndexOf("\\")+1);
    strExtName  = strFileName.substr(strFileName.lastIndexOf(".")+1).toLowerCase();

    if(acExt.indexOf(strExtName)<0)
    {
      return false;
    }
    return true;
  }

//history div
 function hisdiv(idx) {
  var ar = document.getElementById('allhis').getElementsByTagName('span');
  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('his'+i).style.display="none";
    }
    else {
      document.getElementById('his'+i).style.display="";
    }
  }

//history div
 function his2003(idx) {
  var ar = document.getElementById('his2003').getElementsByTagName('p');
  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('2003_'+i).style.display="none";
    }
    else {
      document.getElementById('2003_'+i).style.display="";
    }
  }

//history div
 function his2000(idx) {
  var ar = document.getElementById('his2000').getElementsByTagName('h1');
  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('2000_'+i).style.display="none";
    }
    else {
      document.getElementById('2000_'+i).style.display="";
    }
  }

//ÀÌ¹ÌÁö ¸®»çÀÌÂ¡
function adjustImageWidth(target_img, maxWidth)
{
  var newHeight, newWidth;
  var newImg;

  newImg = new Image();
  newImg.src = target_img.src;
  imgw = newImg.width;
  imgh = newImg.height;

  if (imgw > maxWidth)
  {
    newWidth = maxWidth;
    newHeight = imgh;

    newWidth = Math.min(newWidth, Math.round((imgw*newHeight)/imgh));
    newHeight = Math.min(Math.round((imgh*newWidth)/imgw), newHeight);
  }
  else
  {
    newWidth = imgw;
    newHeight = imgh;
  }

  target_img.onload = null;
  target_img.src = newImg.src;
  target_img.width = newWidth;
  target_img.height = newHeight;
}

/******************************************************************
* Àü½ÃÈ¸ ÀÌ¹ÌÁö Å©°Ôº¸±â
*******************************************************************/
function popdisplay(what,txt_dis) {
var imgwin = window.open("",'WIN','scrollbars=no,status=no,toolbar=no,resizable=0,location=no,menu=no,width=1,height=1');
imgwin.focus();
imgwin.document.open();
imgwin.document.write("<!-- #include virtual=/common/inc/tit.asp -->\n");

imgwin.document.write("<sc"+"ript>\n");
imgwin.document.write("function resize2() {\n");
imgwin.document.write("pic = document.il;\n");
//imgwin.document.write("alert(eval(pic).width);\n");

imgwin.document.write(" var imgw = eval(pic).width; ");
imgwin.document.write("  if (eval(pic).width > 800){ eval(pic).width = 800\n "); //800pxº¸´ÙÅ©¸é 800À¸·Î
imgwin.document.write(" } else if(eval(pic).width < 800){ eval(pic).width = eval(pic).width\n} "); //800pxº¸´ÙÀÛÀ¸¸é ¿ø·¡Å©±â·Î

imgwin.document.write(" if (eval(pic).height) { var name = navigator.appName\n");
imgwin.document.write("  if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 40; myWidth = eval(pic).width + 10;\n");
imgwin.document.write("  } else { myHeight = eval(pic).height + 9; myWidth = eval(pic).width; }\n");
imgwin.document.write("  clearTimeout();\n");
imgwin.document.write("  var height = screen.height;\n");
imgwin.document.write("  var width = screen.width;\n");
imgwin.document.write("  var leftpos = width / 2 - myWidth / 2;\n");
imgwin.document.write("  var toppos = height / 2 - myHeight / 2; \n");
imgwin.document.write("  self.moveTo(leftpos, toppos);\n");
imgwin.document.write("  if (myWidth > width) { myWidth = width; }\n");
imgwin.document.write("  self.resizeTo(myWidth+100, myHeight+130);\n");
imgwin.document.write("}else setTimeOut(resize2(), 100);}\n");
imgwin.document.write("</sc"+"ript>\n");

imgwin.document.write("</head>\n");

imgwin.document.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">\n<table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td width=72><img src=/images/pr/pop_title.gif></td><td background=/images/pr/pop_bg.gif>&nbsp;</td><td width=60><a href=javascript:window.close();><img src=/images/pr/pop_close.gif border=0></a></td></tr></table><table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td height=33></td></tr><tr><td align=center>');
imgwin.document.write("<img border=\"0\" src=\""+what+"\" name=il onload='resize2();' style='cursor:pointer' onclick='window.close();imgwin = null;'>\n");
imgwin.document.write("</td></tr><tr><td height=12></td></tr><tr><td align=center><img src=/images/pr/bl_01.gif><strong style=font-size:12px;font-family:dotum>"+txt_dis+"</strong></td></tr></table></body>\n");

imgwin.document.close();
}

/******************************************************************
* ±¤°í ÀÌ¹ÌÁö Å©°Ôº¸±â
*******************************************************************/
function popad(what,txt_dis) {
var imgwin = window.open("",'WIN','scrollbars=no,status=no,toolbar=no,resizable=0,location=no,menu=no,width=1,height=1');
imgwin.focus();
imgwin.document.open();
imgwin.document.write("<!-- #include virtual=/common/inc/tit.asp -->\n");

imgwin.document.write("<sc"+"ript>\n");
imgwin.document.write("function resize3() {\n");
imgwin.document.write("pic = document.il;\n");
//imgwin.document.write("alert(eval(pic).width);\n");

imgwin.document.write(" var imgw = eval(pic).width; ");
imgwin.document.write("  if (eval(pic).width > 800){ eval(pic).width = 800\n "); //800pxº¸´ÙÅ©¸é 800À¸·Î
imgwin.document.write(" } else if(eval(pic).width < 800){ eval(pic).width = eval(pic).width\n} "); //800pxº¸´ÙÀÛÀ¸¸é ¿ø·¡Å©±â·Î

imgwin.document.write(" if (eval(pic).height) { var name = navigator.appName\n");
imgwin.document.write("  if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 40; myWidth = eval(pic).width + 10;\n");
imgwin.document.write("  } else { myHeight = eval(pic).height + 9; myWidth = eval(pic).width; }\n");
imgwin.document.write("  clearTimeout();\n");
imgwin.document.write("  var height = screen.height;\n");
imgwin.document.write("  var width = screen.width;\n");
imgwin.document.write("  var leftpos = width / 2 - myWidth / 2;\n");
imgwin.document.write("  var toppos = height / 2 - myHeight / 2; \n");
imgwin.document.write("  self.moveTo(leftpos, toppos);\n");
imgwin.document.write("  if (myWidth > width) { myWidth = width; }\n");
imgwin.document.write("  self.resizeTo(myWidth+100, myHeight+110);\n");
imgwin.document.write("}else setTimeOut(resize3(), 100);}\n");
imgwin.document.write("</sc"+"ript>\n");

imgwin.document.write("</head>\n");

imgwin.document.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">\n<table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td width=72><img src=/images/pr/pop_title.gif></td><td background=/images/pr/pop_bg.gif>&nbsp;</td><td width=60><a href=javascript:window.close();><img src=/images/pr/pop_close.gif border=0></a></td></tr></table><table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td height=33></td></tr><tr><td colspan=2 align=center>');
imgwin.document.write("<img border=\"0\" src=\""+what+"\" name=il onload='resize3();' style='cursor:pointer' onclick='window.close();'>\n");
imgwin.document.write("</td></tr><tr><td height=12></td></tr><tr><td style=padding-left:36px><img src=/images/pr/bl_01.gif><strong style=font-size:12px;font-family:dotum>"+txt_dis+"</strong></td><td align=right style=padding-right:50px><a href=javascript:window.print();><img src=/images/common/btn/btn_print.gif border=0></a></td></tr></table></body>\n");

imgwin.document.close();
}


/******************************************************************
* ÀÎµ¦½º ¹è°æ »ö º¯°æ
*******************************************************************/
function BG_black(){
  document.getElementById('body0').className='body0';
}
function BG_white(){
  document.getElementById('body0').className='';
}


/******************************************************************
* À¥Áø ¸µÅ© ÇÔ¼ö
*******************************************************************/
function go_webzine(){
  Win_pop2('/webzine/index.asp',1025,689);
}

/******************************************************************
* À¥Áø »õÃ¢¶ç¿ì±â ¸µÅ© ÇÔ¼ö
*******************************************************************/
function blank_webzine(){
  open('http://www.samsungscp.co.kr/webzine/1002/00.index/index.asp', "_blank"); 
}


/******************************************************************
* ceo ¿µ»óÆíÁö ¸µÅ© ÇÔ¼ö
*******************************************************************/
function chwmv(url,num){
  document.getElementById('mplayer').filename=url;

  document.getElementById('ceowmv1').style.display="none";
  document.getElementById('ceowmv2').style.display="none";
  document.getElementById('ceowmv3').style.display="none";
  document.getElementById('ceowmv4').style.display="none";

  if(num==1) {
    document.getElementById('ceowmv'+num).style.display="block";
  }
  if(num==2) {
    document.getElementById('ceowmv'+num).style.display="block";
  }
  if(num==3) {
    document.getElementById('ceowmv'+num).style.display="block";
  }
   if(num==4) {
    document.getElementById('ceowmv'+num).style.display="block";
  }
  document.getElementById('mdefault').style.display='block';
  document.getElementById('mplayer').AutoStart='1';
}


/******************************************************************
* ³ì»ö°æ¿µ
*******************************************************************/
//history div
 function chgree(idx) {
  var ar = document.getElementById('allgree').getElementsByTagName('span');

  for(i=1; i<=(ar.length); i++)

    if(i != idx) {
      document.getElementById('gree'+i).style.display="none";
    }
    else {
      document.getElementById('gree'+i).style.display="";
    }
  }
/******************************************************************
* Àü½ÃÈ¸ Âü°¡ ¸µÅ©
*******************************************************************/
function go_display(){
  document.location.replace("/pr/display_kes.asp?sub_cate=7");
}

function view(imgpath)
{
  page = "/common/file/Show_b_img.asp?imgpath=" + imgpath;
  window.open(page,'','width=800,height=600,scrollbars=auto');
}


// ¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ° ±ÝÁö ½ºÅ©¸³Æ®

message = "¿À¸¥ÂÊ ¸¶¿ì½º ¹öÆ°Àº »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù. !";

function NoRightClick(b) {
   if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
   ||((navigator.appName=="Netscape")&&(b.which > 1))){
   alert(message);
   return false;
   }
}
document.onmousedown = NoRightClick;

//-->

