
<!--------------------------/   artbase_admin_login.php - ·Î±×ÀÎºÎºÐ º¸ÀÌ°Å³ª ¾Èº¸ÀÌ°Ô ÇÒ ¶§   /---------------------------->
function onoff(obj) {
    var obj = document.getElementById(obj);
    if(obj.style.display == "none") obj.style.display = "block";
    else obj.style.display = "none"; 
  }

<!--------------------------/   artbase_admin_artwork.php,artbase_admin_exhibitionView.php - ÀÛÇ°ÀÌ¹ÌÁö »õÃ¢¿¡ Å©°Ô º¸ÀÌ°Ô ÇÒ¶§   /---------------------------->
function imgResize(img){ 
  img1= new Image(); 
  img1.src=(img); 
  imgControll(img); 
} 

function imgControll(img){ 
  if((img1.width!=0)&&(img1.height!=0)){ 
    viewImage(img); 
  } 
  else{ 
    controller="imgControll('"+img+"')"; 
    intervalID=setTimeout(controller,20); 
  } 
} 

function viewImage(img){ 
        W=img1.width; 
        H=img1.height; 
        O="width="+W+",height="+H; 
        imgWin=window.open("","",O); 
        imgWin.document.write("<html><head><title>IMG POPUP</title></head>");
        imgWin.document.write("<body topmargin=0 leftmargin=0>");
        imgWin.document.write("<img src="+img+" onclick='self.close()'>");
        imgWin.document.close();
} 




////////-------------------------------   ÀÌ¹ÌÁö ¸¶¿ì½º ¿Ã¸±¶§ Å×µÎ¸® º¯°æ    -----------------------------------------////////

function borderit(which,color){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
which.style.borderColor=color
}
}












