<!--- ¸µÅ©Á¡¼±¾ø¾Ö±â -->
function bluring(){ 
  if(event.srcElement.tagName == "A" || event.srcElement.tagName == "IMG")
    document.body.focus(); 
} 
document.onfocusin=bluring;
<!--- ¸µÅ©Á¡¼±¾ø¾Ö±â³¡ -->   
   
<!--Áñ°ÜÃ£±â ½ºÅ©¸³Æ®--> 
function bookmark(){
window.external.AddFavorite('http://www.youngrak.net', '¢Ó ÁÁÀº°ÍÀ» ³ª´©´Â ´ëÀü¿µ¶ô±³È¸ ¢Ó')
}
//½ºÅ©¸³Æ® ³¡-->

<!--ÅÜ¸Þ´º ½ºÅ©¸³Æ®--> 
function premier(n) {
    for(var i = 1; i < 4; i++) {
        obj = document.getElementById('premier'+i);
        img = document.getElementById('premier_button'+i);
        if ( n == i ) {
            obj.style.display = "block";
                        img.height = 24;
            img.src = "/images/tepon"+i+".gif";    
        } else {
            obj.style.display = "none";
                        img.height = 24;
            img.src = "/images/tepoff"+i+".gif";
        }
    }
}
function apremier(n) {
    for(var i = 1; i < 4; i++) {
        obj = document.getElementById('apremier'+i);
        img = document.getElementById('apremier_button'+i);
        if ( n == i ) {
            obj.style.display = "block";
                        img.height = 24;
            img.src = "/images/tapon"+i+".gif";    
        } else {
            obj.style.display = "none";
                        img.height = 24;
            img.src = "/images/tapoff"+i+".gif";
        }
    }
}
 <!--ÅÜ¸Þ´º ½ºÅ©¸³Æ®³¡--> 
  
<!-- ¾ÆÀÌº¸µå ¼Ò½º -->
		// ÀÏ¹Ý ÆË¾÷Ã¢
		function OpenWin_smart(Url,Target,Xsize,Ysize,left_is,top_is,Scroll,Resize){
			if(Resize != 'no' && Resize != 0 ) Resize=1;
			var winwhitch=(left_is >0 || top_is>0)? ',left='+left_is+',top='+top_is+',' : '';
			smart_Browser=window.open(Url,Target,'width='+Xsize+',height='+Ysize + winwhitch + ',scrollbars='+Scroll+',resizable='+Resize+',status=0');
			smart_Browser.focus();
		 }
		// ÀÌ¹ÌÁö »çÀÌÁî ¿¡ ¸ÂÃá ÆË¾÷Ã¢(flash Æ÷ÇÔ)
		function imgSize_iOPEN(imgurl,Wi,Hi,urllink,recnt){
			if(!imgurl) return;
			if(!Wi || !Hi){
				if(imgurl.match(/\.swf$/i)){Wi=400; Hi=250; var usescroll=',resizable=1';}// it_flash
				else{
					if(!recnt){ tmpimg= new Image(); tmpimg.src=(imgurl);}
					if((tmpimg.width!=0)&&(tmpimg.height!=0)){Wi=tmpimg.width; Hi=tmpimg.height;}
					else {recountID=setTimeout("imgSize_iOPEN('"+imgurl+"','','','"+urllink+"',1)",50); return;}
			}	}
			var limit_w=screen.width - 30; // ÃÖ´ë»çÀÌÁî w
			var limit_h=screen.height - 50; // ÃÖ´ë»çÀÌÁî h
			if(limit_w<Wi || limit_h<Hi){Wi=limit_w; Hi=limit_h; var usescroll=',scrollbars=1,resizable=1';}
			popup_win=window.open('','','width='+Wi+',height='+Hi+usescroll);
			if(popup_win){
				popup_win.document.write("<html><head><title>Image Viewer</title></head>");
				popup_win.document.write("<body topmargin=0 rightmargin=0 leftmargin=0 style='border-width:0' onclick=\"");
				if(urllink) 	popup_win.document.write("location.href='"+urllink+"'");
				else popup_win.document.write("self.close()");
				popup_win.document.write("\"><table border=0 cellpadding=0 cellspacing=0 width=100% height=100%><tr><td align=center>");
				if(imgurl.match(/\.swf$/i)) popup_win.document.write("<embed src="+imgurl+" width='98%' height='98%'>");
				else popup_win.document.write("<img src="+imgurl+" style='cursor:pointer' border=0>");
				popup_win.document.write("</td></tr></table></body></html>");
				popup_win.document.close();
			}
		}
		// ·¹ÀÌ¾î on/off(event,·¹ÀÌ¾îid,[Àý´ëÀ§Ä¡left,Àý´ëÀ§Ä¡top,»ó´ëÀ§Ä¡left,»ó´ëÀ§Ä¡top])
		function instantLayer(evt,layer_id,abs_left,abs_top,each_left,each_top){
			thislayer=document.getElementById(layer_id);
			if(evt=='close'){thislayer.style.visibility = 'hidden'; return;}
			abs_left=parseInt(abs_left); abs_top=parseInt(abs_top);
			each_left=parseInt(each_left); each_top=parseInt(each_top);
			if(abs_left==0 && abs_top==0){
				abs_left=(navigator.userAgent.indexOf('MSIE')==-1)? evt.pageX+each_left : event.clientX+document.body.scrollLeft+each_left;
				abs_top=(navigator.userAgent.indexOf('MSIE')==-1)? evt.pageY-each_top : event.clientY+document.body.scrollTop-each_top;
			}
			thislayer.style.left = abs_left;
			thislayer.style.top =abs_top;
			var all_left_ck=TnT_get_objLeft(thislayer);
			var all_top_ck=TnT_get_objTop(thislayer);
			if(abs_left!=all_left_ck || abs_top!=all_top_ck){
				var p_left_ck=TnT_get_objLeft(thislayer.offsetParent);
				var p_top_ck=TnT_get_objTop(thislayer.offsetParent);
				thislayer.style.left=all_left_ck-p_left_ck*2;
				thislayer.style.top=all_top_ck-p_top_ck*2;
			}thislayer.style.visibility = 'visible';
		}
		function TnT_get_objTop(thisobj){
			if (thisobj.offsetParent==document.body) return thisobj.offsetTop;
			else return thisobj.offsetTop + TnT_get_objTop(thisobj.offsetParent);
		}
		function TnT_get_objLeft(thisobj){
			if (thisobj.offsetParent==document.body) return thisobj.offsetLeft;
			else return thisobj.offsetLeft + TnT_get_objLeft(thisobj.offsetParent);
		}
		// ±Û¸ñ·Ï ¼¶³×ÀÏ »ý¼º img_w= ,  img_h= ¸¦ ÁöÁ¤ÇÏ¸é ÁöÁ¤ÇÑ Å©±â·Î »ý¼ºµÊ
		function ibd_thumbnail(thisimg,imgpath,img_w,img_h){
			if(thisimg.style.xrest=='rest') return;
			thisimg.style.xrest='rest';
			thisimg.src='<?=$CONFIG[board_php]?>?command=openfull&exe=img_nail&img_w='+img_w+'&img_h='+img_h+'&img='+imgpath;
		}


<!-- 
function reSize(){ 
    try { 
        var objBody = ibody.document.body; 
        var objFrame = document.all["ibody"]; 
        ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight); 
        //alert(objBody.offsetHeight) 
        if (ifrmHeight > 130) { 
            objFrame.style.height = ifrmHeight 
        }else{ 
            objFrame.style.height = 130; 
        } 
            objFrame.style.width = '100%' 
        } catch(e) { 
        // Do nothing 
    } 
} 
function init_iframe(){ 
    reSize(); 
    setTimeout('init_iframe()',200) 
} 
init_iframe(); 
//--> 

