




//Á¡¼± ¾È»ý±â°ÔÇÏ´Â ½ºÅ©¸³Æ®
//function bluring(){ 
//if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
//} 
//document.onfocusin=bluring; 


// family site open

function siteopen(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
   if (targetstr == 'blank') {
     window.open(sel.options[index].value, 'win1');
   } else {
     var frameobj;
     if (targetstr == '') targetstr = 'self';
     if ((frameobj = eval(targetstr)) != null)
     frameobj.location = sel.options[index].value;
  }
  }
}






// openBrWindow
function openbrWin(b_url,bw,bh) {
noticeWindow = window.open(b_url,"","width="+bw+", height="+bh+", top=20,left=10");
noticeWindow.opener = self;
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// MouseOver

function imgover(imgname,imgurl){
  document.images[imgname].src="../images/"+imgurl+".gif"	
}

// MouseOver_index

function imgover2(imgname,imgurl){
  document.images[imgname].src="images/"+imgurl+".gif"	
}

function imgover_jpg(imgname,imgurl){
  document.images[imgname].src="images/"+imgurl+".jpg"	
}






// ¾ÆÀÌÇÁ·¹ÀÓ ³ôÀÌ º¯µ¿

function resizeFrame(iframeObj){
/* ¾ÆÀÌÇÁ·¹ÀÓ¿¡¼­ ÀÐ¾îµéÀÎ ÆäÀÌÁöÀÇ body */
var innerBody = iframeObj.contentWindow.document.body;

/* ³ôÀÌ ´Ù½Ã¼³Á¤ */
var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);
iframeObj.style.height = innerHeight;

/*---------- ³ÐÀÌµµ ÇÔ²² ÀÚµ¿Á¶Á¤µÇ¾ß ÇÑ´Ù¸é ÁÖ¼®À» Ç®¾îÁÖ¼¼¿ä~--------------------------------
// ³ÐÀÌ ´Ù½Ã¼³Á¤ 
var innerWidth = innerBody.scrollWidth + (innerBody.offsetWidth - innerBody.clientWidth);
iframeObj.style.width = innerWidth;     
---------------------------------------------------------------------------------------------------*/

this.scrollTo(1,1); 
}

function resizeFrame2()
{
 //document.all.id="prod_link".width = parseInt(x.value);
// document.all.id="prod_link".height = parseInt(y.value);
document.all.getElementById("prod_link").width = parseInt(x.value);
document.all.getElementById("prod_link").height = parseInt(y.value);

}


function s_layer(lname){
 document.layers.lname.visibility=visible;
}







// SHOW-HIDE Layer

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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 selectlink(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
   if (targetstr == 'blank') {
     window.open(sel.options[index].value, 'win1');
   } else {
     var frameobj;
     if (targetstr == '') targetstr = 'self';
     if ((frameobj = eval(targetstr)) != null)
     frameobj.location = sel.options[index].value;
   }
  }
}

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];}}
}

// hddrepair ÀÚ°¡Áø´Ü¿¡ µé¾î°¡´Â ÀÚ¹Ù½ºÅ©¸³Æ®

function clickHandler()
{
  srcElement=window.event.srcElement;
  if(srcElement.className=="Outline"){
    targetld=srcElement.id+"1";
    targetElement=document.all(targetld);
    if(targetElement.style.display == "none"){
      targetElement.style.display="";
      img_url=srcElement.id;
      srcElement.src="../images/hddrepair/"+img_url+"_click.gif";
    }
    else{
        targetElement.style.display="none";
        img_url=srcElement.id;
        srcElement.src="../images/hddrepair/"+img_url+".gif";
    }
  }
}
document.onclick=clickHandler;



