/* Á¡¼±¸µÅ© */

function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

function go_logout()
{ 
    top.window.location = 'http://www.kukinews.com/login/logout.asp?reUrl='+ window.location.href;
} 

function go_login()
{ 
    top.window.location = 'http://www.kukinews.com/login/commonLogin.asp?reUrl='+ window.location.href;
}
function getMCookie(name)
{
	var prefix = name + "=";
		
	var cookieStartIndex = document.cookie.indexOf(prefix);
	if (cookieStartIndex == -1) return null;
		
	var cookieEndIndex = document.cookie.indexOf("&", cookieStartIndex + prefix.length);
	if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length;
	
	return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/* */

document.write('<script language=javascript src=http://www.kukinews.com/js/hide.asp></script>');
document.write('<iframe src=http://www.kukinews.com/js/user.asp style="display:none;"></iframe>');
document.write('<script language=javascript src=http://www.kukinews.com/js/ems.js></script>');