
  function POP(Option1,Option2,Option3,Option4) {
  
    window.open(Option1, "POP", "width="+Option2+", height="+Option3+", scrollbars="+Option4);
  
  }
  
  function POP2(Option1,Option2,Option3,Option4) {
  
   window.open("/shop/goods/goods_preview.php?G_code="+Option1+"&G_image_echo="+Option2, "Goods_Preview", "width="+Option3+", height="+Option4+", scrollbars=no");
  
  }
  
  function POP_N(Option1,Option2,Option3,Option4,Option5) {
  
    window.open(Option2, Option1, "width="+Option3+", height="+Option4+", scrollbars="+Option5);
  
  }


  function load1(form) {
  
       var url = form.brand_move.options[form.brand_move.selectedIndex].value;
  
       if (url != '') location.href = url;
  
       return false;
  
  }
  
  function Receipt_view(what,Options) {
    
    if(what == 'CR') {
      window.open("http://www.antzmall.com/data_loading.htm?"+Options,"Receipt_view","width=600, height=480,scrollbars=no");
    } else if(what == 'TR') {
      window.open("http://www.antzmall.com/data_loading.htm?"+Options,"Receipt_view","width=970, height=600,scrollbars=no");
    }  
  }

  
  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_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_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 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 explain(tableMenu)
  {  
    if (tableMenu.style.display == "none")  {
  		 tableMenu.style.display = ""; 
    } else     
       tableMenu.style.display = "none";    
  }
  
  
  
  // ½Å»óÇ°
  
  var downLayerId_NEW;
  var doDirect_NEW;
  var dropDegree_NEW = 30;
  var DirectTerm_NEW = 2500; 
  var curDropIdx_NEW = 0;
  var overtime_NEW = 1;
  
  function mouseOver_NEW () {
  	dropDegree_NEW = 0;	
  	return(UpLayer_NEW);		
  }    

  function mouseOut_NEW ( destobj ) {
  	dropDegree_NEW = 30;
    return(UpLayer_NEW);		
  }
  
  
  function DropUP_NEW(){
  
    clearInterval(doDirect_NEW);
    clearInterval(downLayerId_NEW);
    var tempIdx = 0;
    for(i = 0;i<document.all["NEW"].length;i++) {
      tempIdx = (document.all["NEW"].length + curDropIdx_NEW - i) %document.all["NEW"].length;
      document.all["NEW"][tempIdx].style.posTop = i*document.all["NEW"][tempIdx].style.posHeight;
    } 
    	
    var temp = 'setInterval("UpLayer_NEW()",overtime_NEW)'; 
    downLayerId_NEW = eval(temp);
    direction = "up";
  }
  
  function UpLayer_NEW() {
    var tempIdx = 0;
    if(document.all["NEW"][curDropIdx_NEW].style.posTop < document.all["NEW"][curDropIdx_NEW].style.posHeight && document.all["NEW"][curDropIdx_NEW].style.posTop > document.all["NEW"][curDropIdx_NEW].style.posHeight * (-1)) {
      
      for(j = 0 ;j < document.all["NEW"].length;j++) {
      tempIdx = (document.all["NEW"].length + curDropIdx_NEW - j) %document.all["NEW"].length;
      document.all["NEW"][tempIdx].style.posTop -= dropDegree_NEW;
      }
      
    } else {
     
      clearInterval(downLayerId_NEW);
      for(j = 0;j<document.all["NEW"].length;j++) {
      tempIdx = (document.all["NEW"].length + curDropIdx_NEW - j) % document.all["NEW"].length;
      document.all["NEW"][tempIdx].style.posTop = (j-1)*(document.all["NEW"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_NEW = (curDropIdx_NEW - 1) ;
      curDropIdx_NEW = curDropIdx_NEW < 0 ? document.all["NEW"].length-1:curDropIdx_NEW;
      var temp = 'setInterval("DropUP_NEW()",DirectTerm_NEW)';
      doDirect_NEW = eval(temp);
      
    }
  }
  
  function Dropdown_NEW(){
  
    clearInterval(doDirect_NEW);
    clearInterval(downLayerId_NEW);
    var tempIdx = 0;
    for(i = 0;i<document.all["NEW"].length;i++)  {
      tempIdx = (document.all["NEW"].length + curDropIdx_NEW - i) %document.all["NEW"].length;
      document.all["NEW"][tempIdx].style.posTop = i*document.all["NEW"][tempIdx].style.posHeight*-1;
    } 
    	
    var temp = 'setInterval("DownLayer_NEW()",overtime_NEW)'; 
    downLayerId_NEW = eval(temp);
    direction = "down";
  }
  
  function DownLayer_NEW() {
    var tempIdx = 0;
    if(document.all["NEW"][curDropIdx_NEW].style.posTop < document.all["NEW"][curDropIdx_NEW].style.posHeight && document.all["NEW"][curDropIdx_NEW].style.posTop > document.all["NEW"][curDropIdx_NEW].style.posHeight * (-1)) {
   
      for(j = 0 ;j<document.all["NEW"].length;j++) {
        tempIdx = (document.all["NEW"].length - curDropIdx_NEW + j) %document.all["NEW"].length;
        document.all["NEW"][tempIdx].style.posTop += dropDegree_NEW;
      }
    
    } else {
      
      clearInterval(downLayerId_NEW);
      for(j = 0;j<document.all["NEW"].length;j++) {
        tempIdx = (document.all["NEW"].length + curDropIdx_NEW - j) % document.all["NEW"].length;
        document.all["NEW"][tempIdx].style.posTop = (j-1)*(document.all["NEW"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_NEW = (curDropIdx_NEW - 1) ;
      curDropIdx_NEW = curDropIdx_NEW < 0 ? document.all["NEW"].length-1:curDropIdx_NEW;
      var temp = 'setInterval("Dropdown_NEW()",DirectTerm_NEW)';
      doDirect_NEW = eval(temp);
      
      
    }
  }
  
  
  
  // º£½ºÆ®
  
  var downLayerId_BEST;
  var doDirect_BEST;
  var dropDegree_BEST = 30;
  var DirectTerm_BEST = 2500; 
  var curDropIdx_BEST = 0;
  var overtime_BEST = 1;
  
  function mouseOver_BEST () {
  	dropDegree_BEST = 0;	
  	return(UpLayer_BEST);		
  }    

  function mouseOut_BEST ( destobj ) {
  	dropDegree_BEST = 30;
    return(UpLayer_BEST);		
  }
  
  
  function DropUP_BEST(){
  
    clearInterval(doDirect_BEST);
    clearInterval(downLayerId_BEST);
    var tempIdx = 0;
    for(i = 0;i<document.all["BEST"].length;i++) {
      tempIdx = (document.all["BEST"].length + curDropIdx_BEST - i) %document.all["BEST"].length;
      document.all["BEST"][tempIdx].style.posTop = i*document.all["BEST"][tempIdx].style.posHeight;
    } 
    	
    var temp = 'setInterval("UpLayer_BEST()",overtime_BEST)'; 
    downLayerId_BEST = eval(temp);
    direction = "up";
  }
  
  function UpLayer_BEST() {
    var tempIdx = 0;
    if(document.all["BEST"][curDropIdx_BEST].style.posTop < document.all["BEST"][curDropIdx_BEST].style.posHeight && document.all["BEST"][curDropIdx_BEST].style.posTop > document.all["BEST"][curDropIdx_BEST].style.posHeight * (-1)) {
      
      for(j = 0 ;j < document.all["BEST"].length;j++) {
      tempIdx = (document.all["BEST"].length + curDropIdx_BEST - j) %document.all["BEST"].length;
      document.all["BEST"][tempIdx].style.posTop -= dropDegree_BEST;
      }
      
    } else {
     
      clearInterval(downLayerId_BEST);
      for(j = 0;j<document.all["BEST"].length;j++) {
      tempIdx = (document.all["BEST"].length + curDropIdx_BEST - j) % document.all["BEST"].length;
      document.all["BEST"][tempIdx].style.posTop = (j-1)*(document.all["BEST"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_BEST = (curDropIdx_BEST - 1) ;
      curDropIdx_BEST = curDropIdx_BEST < 0 ? document.all["BEST"].length-1:curDropIdx_BEST;
      var temp = 'setInterval("DropUP_BEST()",DirectTerm_BEST)';
      doDirect_BEST = eval(temp);
      
    }
  }
  
  function Dropdown_BEST(){
  
    clearInterval(doDirect_BEST);
    clearInterval(downLayerId_BEST);
    var tempIdx = 0;
    for(i = 0;i<document.all["BEST"].length;i++)  {
      tempIdx = (document.all["BEST"].length + curDropIdx_BEST - i) %document.all["BEST"].length;
      document.all["BEST"][tempIdx].style.posTop = i*document.all["BEST"][tempIdx].style.posHeight*-1;
    } 
    	
    var temp = 'setInterval("DownLayer_BEST()",overtime_BEST)'; 
    downLayerId_BEST = eval(temp);
    direction = "down";
  }
  
  function DownLayer_BEST() {
    var tempIdx = 0;
    if(document.all["BEST"][curDropIdx_BEST].style.posTop < document.all["BEST"][curDropIdx_BEST].style.posHeight && document.all["BEST"][curDropIdx_BEST].style.posTop > document.all["BEST"][curDropIdx_BEST].style.posHeight * (-1)) {
   
      for(j = 0 ;j<document.all["BEST"].length;j++) {
        tempIdx = (document.all["BEST"].length - curDropIdx_BEST + j) %document.all["BEST"].length;
        document.all["BEST"][tempIdx].style.posTop += dropDegree_BEST;
      }
    
    } else {
      
      clearInterval(downLayerId_BEST);
      for(j = 0;j<document.all["BEST"].length;j++) {
        tempIdx = (document.all["BEST"].length + curDropIdx_BEST - j) % document.all["BEST"].length;
        document.all["BEST"][tempIdx].style.posTop = (j-1)*(document.all["BEST"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_BEST = (curDropIdx_BEST - 1) ;
      curDropIdx_BEST = curDropIdx_BEST < 0 ? document.all["BEST"].length-1:curDropIdx_BEST;
      var temp = 'setInterval("Dropdown_BEST()",DirectTerm_BEST)';
      doDirect_BEST = eval(temp);
      
      
    }
  }
  
  
  // MD ÃßÃµ»óÇ°
  
  var downLayerId_MD;
  var doDirect_MD;
  var dropDegree_MD = 30;
  var DirectTerm_MD = 2500; 
  var curDropIdx_MD = 0;
  var overtime_MD = 1;
  
  function mouseOver_MD () {
  	dropDegree_MD = 0;	
  	return(UpLayer_MD);		
  }    

  function mouseOut_MD ( destobj ) {
  	dropDegree_MD = 30;
    return(UpLayer_MD);		
  }
  
  
  function DropUP_MD(){
  
    clearInterval(doDirect_MD);
    clearInterval(downLayerId_MD);
    var tempIdx = 0;
    for(i = 0;i<document.all["MD"].length;i++) {
      tempIdx = (document.all["MD"].length + curDropIdx_MD - i) %document.all["MD"].length;
      document.all["MD"][tempIdx].style.posTop = i*document.all["MD"][tempIdx].style.posHeight;
    } 
    	
    var temp = 'setInterval("UpLayer_MD()",overtime_MD)'; 
    downLayerId_MD = eval(temp);
    direction = "up";
  }
  
  function UpLayer_MD() {
    var tempIdx = 0;
    if(document.all["MD"][curDropIdx_MD].style.posTop < document.all["MD"][curDropIdx_MD].style.posHeight && document.all["MD"][curDropIdx_MD].style.posTop > document.all["MD"][curDropIdx_MD].style.posHeight * (-1)) {
      
      for(j = 0 ;j < document.all["MD"].length;j++) {
      tempIdx = (document.all["MD"].length + curDropIdx_MD - j) %document.all["MD"].length;
      document.all["MD"][tempIdx].style.posTop -= dropDegree_MD;
      }
      
    } else {
     
      clearInterval(downLayerId_MD);
      for(j = 0;j<document.all["MD"].length;j++) {
      tempIdx = (document.all["MD"].length + curDropIdx_MD - j) % document.all["MD"].length;
      document.all["MD"][tempIdx].style.posTop = (j-1)*(document.all["MD"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_MD = (curDropIdx_MD - 1) ;
      curDropIdx_MD = curDropIdx_MD < 0 ? document.all["MD"].length-1:curDropIdx_MD;
      var temp = 'setInterval("DropUP_MD()",DirectTerm_MD)';
      doDirect_MD = eval(temp);
      
    }
  }
  
  function Dropdown_MD(){
  
    clearInterval(doDirect_MD);
    clearInterval(downLayerId_MD);
    var tempIdx = 0;
    for(i = 0;i<document.all["MD"].length;i++)  {
      tempIdx = (document.all["MD"].length + curDropIdx_MD - i) %document.all["MD"].length;
      document.all["MD"][tempIdx].style.posTop = i*document.all["MD"][tempIdx].style.posHeight*-1;
    } 
    	
    var temp = 'setInterval("DownLayer_MD()",overtime_MD)'; 
    downLayerId_MD = eval(temp);
    direction = "down";
  }
  
  function DownLayer_MD() {
    var tempIdx = 0;
    if(document.all["MD"][curDropIdx_MD].style.posTop < document.all["MD"][curDropIdx_MD].style.posHeight && document.all["MD"][curDropIdx_MD].style.posTop > document.all["MD"][curDropIdx_MD].style.posHeight * (-1)) {
   
      for(j = 0 ;j<document.all["MD"].length;j++) {
        tempIdx = (document.all["MD"].length - curDropIdx_MD + j) %document.all["MD"].length;
        document.all["MD"][tempIdx].style.posTop += dropDegree_MD;
      }
    
    } else {
      
      clearInterval(downLayerId_MD);
      for(j = 0;j<document.all["MD"].length;j++) {
        tempIdx = (document.all["MD"].length + curDropIdx_MD - j) % document.all["MD"].length;
        document.all["MD"][tempIdx].style.posTop = (j-1)*(document.all["MD"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_MD = (curDropIdx_MD - 1) ;
      curDropIdx_MD = curDropIdx_MD < 0 ? document.all["MD"].length-1:curDropIdx_MD;
      var temp = 'setInterval("Dropdown_MD()",DirectTerm_MD)';
      doDirect_MD = eval(temp);
      
      
    }
  }
  
  
  
  // ¼¼ÀÏ»óÇ°
  
  var downLayerId_SALE;
  var doDirect_SALE;
  var dropDegree_SALE = 30;
  var DirectTerm_SALE = 2500; 
  var curDropIdx_SALE = 0;
  var overtime_SALE = 1;
  
  function mouseOver_SALE () {
  	dropDegree_SALE = 0;	
  	return(UpLayer_SALE);		
  }    

  function mouseOut_SALE ( destobj ) {
  	dropDegree_SALE = 30;
    return(UpLayer_SALE);		
  }
  
  
  function DropUP_SALE(){
  
    clearInterval(doDirect_SALE);
    clearInterval(downLayerId_SALE);
    var tempIdx = 0;
    for(i = 0;i<document.all["SALE"].length;i++) {
      tempIdx = (document.all["SALE"].length + curDropIdx_SALE - i) %document.all["SALE"].length;
      document.all["SALE"][tempIdx].style.posTop = i*document.all["SALE"][tempIdx].style.posHeight;
    } 
    	
    var temp = 'setInterval("UpLayer_SALE()",overtime_SALE)'; 
    downLayerId_SALE = eval(temp);
    direction = "up";
  }
  
  function UpLayer_SALE() {
    var tempIdx = 0;
    if(document.all["SALE"][curDropIdx_SALE].style.posTop < document.all["SALE"][curDropIdx_SALE].style.posHeight && document.all["SALE"][curDropIdx_SALE].style.posTop > document.all["SALE"][curDropIdx_SALE].style.posHeight * (-1)) {
      
      for(j = 0 ;j < document.all["SALE"].length;j++) {
      tempIdx = (document.all["SALE"].length + curDropIdx_SALE - j) %document.all["SALE"].length;
      document.all["SALE"][tempIdx].style.posTop -= dropDegree_SALE;
      }
      
    } else {
     
      clearInterval(downLayerId_SALE);
      for(j = 0;j<document.all["SALE"].length;j++) {
      tempIdx = (document.all["SALE"].length + curDropIdx_SALE - j) % document.all["SALE"].length;
      document.all["SALE"][tempIdx].style.posTop = (j-1)*(document.all["SALE"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_SALE = (curDropIdx_SALE - 1) ;
      curDropIdx_SALE = curDropIdx_SALE < 0 ? document.all["SALE"].length-1:curDropIdx_SALE;
      var temp = 'setInterval("DropUP_SALE()",DirectTerm_SALE)';
      doDirect_SALE = eval(temp);
      
    }
  }
  
  function Dropdown_SALE(){
  
    clearInterval(doDirect_SALE);
    clearInterval(downLayerId_SALE);
    var tempIdx = 0;
    for(i = 0;i<document.all["SALE"].length;i++)  {
      tempIdx = (document.all["SALE"].length + curDropIdx_SALE - i) %document.all["SALE"].length;
      document.all["SALE"][tempIdx].style.posTop = i*document.all["SALE"][tempIdx].style.posHeight*-1;
    } 
    	
    var temp = 'setInterval("DownLayer_SALE()",overtime_SALE)'; 
    downLayerId_SALE = eval(temp);
    direction = "down";
  }
  
  function DownLayer_SALE() {
    var tempIdx = 0;
    if(document.all["SALE"][curDropIdx_SALE].style.posTop < document.all["SALE"][curDropIdx_SALE].style.posHeight && document.all["SALE"][curDropIdx_SALE].style.posTop > document.all["SALE"][curDropIdx_SALE].style.posHeight * (-1)) {
   
      for(j = 0 ;j<document.all["SALE"].length;j++) {
        tempIdx = (document.all["SALE"].length - curDropIdx_SALE + j) %document.all["SALE"].length;
        document.all["SALE"][tempIdx].style.posTop += dropDegree_SALE;
      }
    
    } else {
      
      clearInterval(downLayerId_SALE);
      for(j = 0;j<document.all["SALE"].length;j++) {
        tempIdx = (document.all["SALE"].length + curDropIdx_SALE - j) % document.all["SALE"].length;
        document.all["SALE"][tempIdx].style.posTop = (j-1)*(document.all["SALE"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_SALE = (curDropIdx_SALE - 1) ;
      curDropIdx_SALE = curDropIdx_SALE < 0 ? document.all["SALE"].length-1:curDropIdx_SALE;
      var temp = 'setInterval("Dropdown_SALE()",DirectTerm_SALE)';
      doDirect_SALE = eval(temp);
      
      
    }
  }
  
 
  
  // °íÆò¿ì¼ö
  
  var downLayerId_CST;
  var doDirect_CST;
  var dropDegree_CST = 30;
  var DirectTerm_CST = 2500; 
  var curDropIdx_CST = 0;
  var overtime_CST = 1;
  
  function mouseOver_CST () {
  	dropDegree_CST = 0;	
  	return(UpLayer_CST);		
  }    

  function mouseOut_CST ( destobj ) {
  	dropDegree_CST = 30;
    return(UpLayer_CST);		
  }
  
  
  function DropUP_CST(){
  
    clearInterval(doDirect_CST);
    clearInterval(downLayerId_CST);
    var tempIdx = 0;
    for(i = 0;i<document.all["CST"].length;i++) {
      tempIdx = (document.all["CST"].length + curDropIdx_CST - i) %document.all["CST"].length;
      document.all["CST"][tempIdx].style.posTop = i*document.all["CST"][tempIdx].style.posHeight;
    } 
    	
    var temp = 'setInterval("UpLayer_CST()",overtime_CST)'; 
    downLayerId_CST = eval(temp);
    direction = "up";
  }
  
  function UpLayer_CST() {
    var tempIdx = 0;
    if(document.all["CST"][curDropIdx_CST].style.posTop < document.all["CST"][curDropIdx_CST].style.posHeight && document.all["CST"][curDropIdx_CST].style.posTop > document.all["CST"][curDropIdx_CST].style.posHeight * (-1)) {
      
      for(j = 0 ;j < document.all["CST"].length;j++) {
      tempIdx = (document.all["CST"].length + curDropIdx_CST - j) %document.all["CST"].length;
      document.all["CST"][tempIdx].style.posTop -= dropDegree_CST;
      }
      
    } else {
     
      clearInterval(downLayerId_CST);
      for(j = 0;j<document.all["CST"].length;j++) {
      tempIdx = (document.all["CST"].length + curDropIdx_CST - j) % document.all["CST"].length;
      document.all["CST"][tempIdx].style.posTop = (j-1)*(document.all["CST"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_CST = (curDropIdx_CST - 1) ;
      curDropIdx_CST = curDropIdx_CST < 0 ? document.all["CST"].length-1:curDropIdx_CST;
      var temp = 'setInterval("DropUP_CST()",DirectTerm_CST)';
      doDirect_CST = eval(temp);
      
    }
  }
  
  function Dropdown_CST(){
  
    clearInterval(doDirect_CST);
    clearInterval(downLayerId_CST);
    var tempIdx = 0;
    for(i = 0;i<document.all["CST"].length;i++)  {
      tempIdx = (document.all["CST"].length + curDropIdx_CST - i) %document.all["CST"].length;
      document.all["CST"][tempIdx].style.posTop = i*document.all["CST"][tempIdx].style.posHeight*-1;
    } 
    	
    var temp = 'setInterval("DownLayer_CST()",overtime_CST)'; 
    downLayerId_CST = eval(temp);
    direction = "down";
  }
  
  function DownLayer_CST() {
    var tempIdx = 0;
    if(document.all["CST"][curDropIdx_CST].style.posTop < document.all["CST"][curDropIdx_CST].style.posHeight && document.all["CST"][curDropIdx_CST].style.posTop > document.all["CST"][curDropIdx_CST].style.posHeight * (-1)) {
   
      for(j = 0 ;j<document.all["CST"].length;j++) {
        tempIdx = (document.all["CST"].length - curDropIdx_CST + j) %document.all["CST"].length;
        document.all["CST"][tempIdx].style.posTop += dropDegree_CST;
      }
    
    } else {
      
      clearInterval(downLayerId_CST);
      for(j = 0;j<document.all["CST"].length;j++) {
        tempIdx = (document.all["CST"].length + curDropIdx_CST - j) % document.all["CST"].length;
        document.all["CST"][tempIdx].style.posTop = (j-1)*(document.all["CST"][tempIdx].style.posHeight); 
      }
    
      curDropIdx_CST = (curDropIdx_CST - 1) ;
      curDropIdx_CST = curDropIdx_CST < 0 ? document.all["CST"].length-1:curDropIdx_CST;
      var temp = 'setInterval("Dropdown_CST()",DirectTerm_CST)';
      doDirect_CST = eval(temp);
      
      
    }
  }
          
  
  function getFlashObject(flashSrc, objWidth, objHeight, etcParam) {
  	var tag = "";
  	var baseFlashDir="";
  	flashSrc = baseFlashDir + flashSrc;
  
  	if ( etcParam != "" || etcParam != null ) {
  		if ( etcParam.substr(0, 1) == "?" )
  			flashSrc += etcParam;
  		else
  			flashSrc += "?" + etcParam;
  	}
  
  	tag += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" ";
  	tag += "codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" ";
  	tag += "width=\"" + objWidth + "\" height=\"" + objHeight + "\">";
  	tag += "<param name=\"movie\" value=\"" + flashSrc + "\">";
  	tag += "<param name=\"AllowScriptAccess\" VALUE=\"always\">";
    tag += "<param name=\"AllowNetworking\" VALUE=\"all\">";
  	tag += "<param name=\"menu\" value=\"false\">";
  	tag += "<param name=\"quality\" value=\"high\">";
  	tag += "<param name=\"wmode\" value=\"transparent\">";
  	tag += "<embed src=\"" + flashSrc + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" ";
  	tag += "type=\"application/x-shockwave-flash\" width=\"" + objWidth + "\" height=\"" + objHeight + "\" ";
  	tag += "wmode=\"transparent\"></embed>";
  	tag += "</object>";
  
  	document.write(tag);
  }
  
  
  function S_login_load(use_opt) { // È¸¿ø ·Î±×ÀÎ 
      
    if(use_opt == 'top') {
      var form = document.top_member_login; 
    } else if(use_opt == 'out') {
      var form = document.out_member_login; 
    } else if(use_opt == 'main') {
      var form = document.member_login;   
    }
    
    if (typeof(form.S_logn) != "undefined" && form.S_logn.checked == true) {
      
      var target = use_opt;
      S_info.src = '/shop/global/SSL_load.php?target=' + target;
      
    }  
  
  }
