//<![CDATA[

// µå·¡±×, ¿ìÅ¬¸¯ ±ÝÁö ½ÃÅ°±â //
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
	function disableselect(e){
		if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
			return false
}

function reEnable(){
	return true
}

if (typeof document.onselectstart!="undefined")
	document.onselectstart=new Function ("return false")
else{
	document.onmousedown=disableselect
	document.onmouseup=reEnable
}

document.oncontextmenu = function() {return false;};
document.onselectstart = function() {return false;};
document.ondragstart = function() {return false;};


function unlock() {
	document.oncontextmenu = null;
	document.onselectstart = null;
	document.ondragstart = null;
}

function lock() {
	document.oncontextmenu = function() {return false;};
	document.onselectstart = function() {return false;};
	document.ondragstart = function() {return false;};
}


// Á¢¾ú´Ù Æñ´Ù ÇÏ±â //
function showhide(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != 'none' ) {
		el.style.display = 'none';
	} else {
		el.style.display = 'inline';
	}
};

//¸µÅ© Å×µÎ¸® Á¡¼± ¾ø¾Ö±â
function hidefocus() { 
	var el = document.getElementsByTagName("a");
	for (i = 0; i < el.length; i++) { 
		el[i].onfocus = function () { this.blur(); } ;
	}		
}


//]]>