// JavaScript Document
//·Ñ¿À¹ö
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&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<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function openNewWindow(window) { 
open (window,"NewWindow","left=100, top=60, toolbar=no, location=no, directories=no, status=no, fullscreen=no, menubar=no, scrollbars=yes, resizable=no, width=625, height=550"); 
} 

//-->

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
//¿ÂÆ÷Ä¿½º ÀüÃ¼Àû¿ë
<!-- 
  function bluring(){ 
    if(event.srcElement.tagName=="A"
      ||event.srcElement.tagName=="IMG")
        document.body.focus(); 
  } 
  document.onfocusin=bluring; 
// --> 



//¸µÅ©½Ã Å×µÎ¸® ¾ø¾Ö±â
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring; 


// IE Embed patch
if(typeof(__embed_target_id)=='undefined'){
	var __embed_target_id = null;
}

/**
* embed ¨¡¨¢A¢®¢¬| Au¢¯eCO AA¡¾¡¿¢¬| ¨ù©øA¢´CO¢¥I¢¥U
* ¡¾a¨¬¡í¡Æ¨£A¨¬ object,eembed,appelt AA¡¾¡¿AO¢¥I¢¥U
* false ¡Æ¨£AI¡Æ©¡¢¯i ¨¡¨¢A¢®¢¯¢®¨ù¡© A|¢¯U¥ìE¢¥I¢¥U
*/
if(typeof(__embed_tags)=='undefined'){
	var __embed_tags = {object:true,embed:true,applet:false}
}

/**
* CA¡¤¢®¨ö¡þ¨¡AAIA©¬ flashvars ¢¬| ¡íc¢¯eCO¡Æ©¡¢¯i C¨ª¢¥c CA¡¤¢®¨ö¡þAC ¢¯A¨¬eA¡×¨¡¢ç¨ú¨¡AI¥ì©£:true ¡Æ¨£A¢¬¡¤I object¢¬| ¥ìi¡¤IC¨ª AO¨ù¨ù¢¯a
*/
var __flash_force_objs = {};

if(document.attachEvent){
	document.write('<style type="text/css">');
	document.write('object,embed{display:none;}');
	document.write('</style>');
	document.attachEvent('onreadystatechange',
		function (){
			
			if(__embed_target_id===null){
				var __target = document;
			}else{
				var __target = document.getElementById(__embed_target_id);
			}
			if (document.readyState == "complete"){
				function _replace(obj){
					var obj_re = document.createElement(obj.outerHTML);					
					obj_re.style.display='inline';
					obj.parentNode.replaceChild(obj_re,obj);
				}
				function _inner(obj){
					obj.style.display='inline';					
					var html = obj.outerHTML;
					var classid = obj.classid.toLowerCase();
					if(classid=='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' && typeof(__flash_force_objs[obj.id])=='undefined'){//flash AI¡Æ©¡¢¯i
						obj.insertAdjacentHTML('beforeBegin',html);
						obj.parentNode.removeChild(obj);
					}else{						
						//¨¬?¡Æ©¡CI¡ÆiAUCI¢¥A ActiveX classid ¢¬| A©¬¡Æ¢®CI¨öA¡¾a ©öU¢Ò©ª¢¥I¢¥U
						if(classid=='clsid:6bf52a52-394a-11d3-b153-00c04f79faa6' || //media 7
						classid=='clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95' || //6.4
						classid=='clsid:6bf52a52-394a-11d3-b153-00c04f79faa6' ||
						classid=='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'	
						){//media player 10
							embed_pos = html.indexOf('embed');
							if(embed_pos!=-1){//embed ¡Æ¢® A¢¬AcCI¢¥A¡Æ©¡¢¯i
								var embed = '<'+html.substr(embed_pos);
								embed = embed.substr(0,embed.length-9);
								obj.insertAdjacentHTML('beforeBegin',embed);
								obj.parentNode.removeChild(obj);
							}else{
								//object¡¤I¢¬¢¬ ¥ìC¨úi AO¢¥A¡Æ©¡¢¯i ¥ì¢¯¢¯¥ì¡ío ¨¬I¨¬¨¢¢¬¢¬ ¨¡¨¢A¢®CN¢¥U
								var embed = document.createElement('embed');
								var total = obj.childNodes.length;
								embed.setAttribute('autostart',0);
								if(obj.width){
									embed.setAttribute('width',obj.width);
								}
								if(obj.height){
									embed.setAttribute('height',obj.height);
								}
								for(var k=0;k<total;k++){
									n = obj.childNodes.item(k).getAttribute("name");
									v = obj.childNodes.item(k).getAttribute("value");
									if(n=='URL' || n=='url' || n=='FileName'){
										n = 'src';
									}
									embed.setAttribute(n,v);
								}
								if(embed.getAttribute('src')){
									embed.style.display = 'inline';
									obj.parentNode.replaceChild(embed,obj);
								}else{
									//¨¡AAI¢¯¡Ë¨ù¨ù¨ö¨¬ object¡Æ¢® ¨ú¨¡¢¥N¡Æ©¡¢¯i¢¥A A?AoCN¢¥U								
								}
							}
						}
					}
				}

				if(__embed_tags.object===true){
					var objs = __target.getElementsByTagName('object');
					var i = objs.length;
					while(i-->0){
						_inner(objs[i]);
					}
				}
				if(__embed_tags.embed===true){
					var objs = __target.getElementsByTagName('embed');
					var i = objs.length;
					while(i-->0){
						_replace(objs[i])
					}
				}

				if(__embed_tags.applet===true){
					var objs = __target.getElementsByTagName('applet');
					var i = objs.length;
					while(i-->0){
						_replace(objs[i])
					}
				}
			}
		}
	);
}

//¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ° ¸·±â
var clickmessage="±×¸²_¸¶¿ì½º ¿À¸¥ÂÊ ´ÜÃß¸¦ »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù." 
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
} 
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()



      

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

