function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 

var bennerHeight = 0;
var heigthBlank = 350;

var isDOM = (document.getElementById ? true : false);  
var isIE4 = ((document.all && !isDOM) ? true : false); 
var isNS4 = (document.layers ? true : false); 

function getRef(id) { 
if (isDOM) return document.getElementById(id); 
if (isIE4) return document.all[id]; 
if (isNS4) return document.layers[id]; 
}  

var isNS = navigator.appName == "Netscape";  

function moveRightEdge() { 
var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;  

if (isNS4) { 
yMenuFrom   = divMenu.top; 
yMenuTo     = windows.pageYOffset + 140; 
} else if (isDOM) { 
yMenuFrom   = parseInt (divMenu.style.top, 10); 
yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + heigthBlank; 
} 
timeoutNextCheck = 30;  

if (yMenuFrom != yMenuTo) { 
yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20); 
if (yMenuTo < yMenuFrom) 
yOffset = -yOffset; 
if (isNS4) 
divMenu.top += yOffset; 
else if (isDOM) 
divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset; 
timeoutNextCheck = 5; 
} 
setTimeout ("moveRightEdge()", timeoutNextCheck); 
} 

//È­¸é Áß¾Ó¿¡ »õÃ¢ ¶ç¿ì
function newWindow(a_str_windowURL, a_str_windowName, a_int_windowWidth, a_int_windowHeight, a_bool_scrollbars, a_bool_resizable, a_bool_menubar, a_bool_toolbar, a_bool_addressbar, a_bool_statusbar, a_bool_fullscreen) 
{
  var int_windowLeft = (screen.width - a_int_windowWidth) / 2;
  var int_windowTop = (screen.height - a_int_windowHeight) / 2;
  var str_windowProperties = 'height=' + a_int_windowHeight + ',width=' + a_int_windowWidth + ',top=' + int_windowTop + ',left=' + int_windowLeft + ',scrollbars=' + a_bool_scrollbars + ',resizable=' + a_bool_resizable + ',menubar=' + a_bool_menubar + ',toolbar=' + a_bool_toolbar + ',location=' + a_bool_addressbar + ',statusbar=' + a_bool_statusbar + ',fullscreen=' + a_bool_fullscreen + '';
  var obj_window = window.open(a_str_windowURL, a_str_windowName, str_windowProperties)
	if (parseInt(navigator.appVersion) >= 4) {
	  obj_window.window.focus();
	}
}

function bookmark(){
window.external.AddFavorite('http://www.patnb.com/', '¢Æ¢Æ Æ¯Çã¿Í ºñÁî´Ï½º - www.patnb.com ¢Æ¢Æ')
}