function fnBookmark() 
{
		window.external.AddFavorite('http://www.drcrezio.co.kr', '¿Â °¡Á· °Ç°­ ÁÖÄ¡ÀÇ ´ÚÅÍÅ©·¹Áö¿À');
}

function goURL( url ) 
{
	top.location.href = url;  
}


function pupty(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name , 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

function checkopen(key2)
{
	window.open('/check/check.php?keySeq='+key2+'&seq=1','°Ç°­Ã¼Å©','left=0,top=0,width=386,height=386,toolbar=0,menubar=0,status=0,scrollbars=1,resizable=0');
}


// scroll.js
// BOF
 window.onerror = null

 var x = 0;
 var nScrollEnd = 0;
 var nStop = 0;

 function Scroll(dist) 
 { 
  nStop =0;
     nScrollEnd = dist;  

     if(x<dist) scroll_Right();
  if(x>dist) scroll_Left();
 }
 
  function scroll_Left() 
 {
     if(nStop == 0) 
     {
         if (x > nScrollEnd) 
         {         
             this.frames.scroll_menu.scroll(x,0);
             x = x - 10;
             setTimeout('scroll_Left()', 1);
         }
         else 
         {
             x = nScrollEnd;
             this.frames.scroll_menu.scroll(x,0);
         }
     }
 }

 
       ans = new Array(10);
        
        function openBrWindow(theURL,winName,features) 
       { 
        window.open(theURL,winName,features);
       }                  
    
        function checkanswer(){
               var num=0;
               for(i=1; i<=10 ; i++)
                   {
                     if(ans[i] == 1){
                                          num++;
                                         }

                   }
                         if(num <= 2)
                           {                            
                            openBrWindow('answer/pop.html', 'notice', 'scrollbars=no,resizable=no,width=400,height=300') ;
                            }
                         else if(num >= 3 & num <= 5)
                           {                            
                            openBrWindow('answer/pop_2.html', 'notice', 'scrollbars=no,resizable=no,width=400,height=300') ;
                            }
                         else if(num >= 6 & num <= 7 )
                           {                            
                            openBrWindow('answer/pop_3.html', 'notice', 'scrollbars=no,resizable=no,width=400,height=300') ;
                            }

 
        }      


 function scroll_Right() 
 {
     if(nStop == 0)
     {
         if (x < nScrollEnd) 
         {
             this.frames.scroll_menu.scroll(x,0);
             x = x + 10;
             setTimeout('scroll_Right()', 10);
         }

         else 
         {
             x = nScrollEnd;
       this.frames.scroll_menu.scroll(x,0);
         }
     }
 }
//-->
// EOF
