// ¿ø¼Ò½º ·Î±×Àζ§ÇÊ¿ä ½ÃÀÛ
function bluring() {
try{
if(event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') {
document.body.focus();
}
}catch( e ) { }
}
try{
document.onfocusin=bluring;
}catch( e ) { }
var rurl = location.href;
var purl = getUrl(rurl);
function getUrl(url_str)
{
var real_url;
if (url_str.indexOf('/') > 0)
{
real_url = url_str.split('/');
real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/';
}
return real_url;
}
function goLocate(go_url)
{
document.location = purl + go_url;
}
if(!document.__define_CObjectLoader__)
{
document.__define_CObjectLoader__ = true
CObjectLoader();
function CObjectLoader()
{
CObjectLoader.load = function(loadStr)
{
document.write(loadStr);
}
}
}
// ¿ø¼Ò½º ·Î±×Àζ§ÇÊ¿ä ³¡
function allblur() {
for (i = 0; i < document.links.length; i++)
document.links[i].onfocus = document.links[i].blur;
}
document.onfocusin = allblur;
document.onfocusin = function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
// Popup Windows C //
function popWinC(url,name,WinWidth,WinHeight,option)
{
var x = screen.width / 2 - WinWidth / 2;
var y = screen.height / 2 - WinHeight / 2;
option = option + ',width=' + WinWidth + ',height=' + WinHeight + ',left=' + x + ',top=' + y;
newwindow = window.open(url,name,option);
newwindow.focus();
}
function popWinC2(url,name,WinWidth,WinHeight,option,template)
{
var x = screen.width / 2 - WinWidth / 2;
var y = screen.height / 2 - WinHeight / 2;
option = option + ',width=' + WinWidth + ',height=' + WinHeight + ',left=' + x + ',top=' + y;
window.close();
opener.location.href="/" + template + "/etc/login.php";
//newwindow.focus();
}
function resize_win(url,name,WinWidth,WinHeight,option)
{
var intwidth;
var intheight;
//intwidth=prompt('¸®»çÀÌÁîÇÒ ³Êºñ¸¦ ÀÔ·ÂÇϼ¼¿ä','800');
//intheight=prompt('¸®»çÀÌÁîÇÒ ³ôÀ̸¦ÀÔ·ÂÇϼ¼¿ä.','600');
intwidth=WinWidth;
intheight=WinHeight;
intwidth=parseInt(intwidth);
intheight=parseInt(intheight);
if(intwidth>0&&intheight>0)
{
window.resizeTo(intwidth,intheight);
window.location.href=url;
}
}
// Ç÷¡½¬ ÆÐÄ¡ ¹× À̹ÌÁö ·Ñ¿À¹ö
function FlashMainbody(Ftrans,wid,hei) {
mainbody = "";
document.write(mainbody);
return;
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i0&&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&&i0&&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= 112 && event.keyCode <= 123)) {
event.keyCode = 0;
event.cancelBubble = true;
event.returnValue = false;
}
}
document.onkeydown = processKey;
window.status = '**** www.if-studio.co.kr ****';