<!--
function pagelink(url){
	document.myform.action = url;
	document.myform.submit();
}

// ÀÚ¸®¼ö Ã¼Å© //
function check_len(getText,getVal,s_num,e_num){
	
	if(e_num == ""){
		if(getVal.length != s_num){
			alert(getText + "ÀÇ ÀÚ¸®¼ö´Â " + s_num + "ÀÚ¸® ÀÔ´Ï´Ù.")
			
			return false;
		}
		else{
			return true;
		}
	}
	else{
		if((getVal.length < s_num) || (getVal.length > e_num)){
			alert(getText + "ÀÇ ÀÚ¸®¼ö´Â " + s_num + " ~ " + e_num + " ±îÁö ÀÔ´Ï´Ù.")
			
			return false;
		}
		else{
			return true;
		}
	}	
}

// ¿µ¹®°ú ¼ýÀÚÀÇ Á¶ÇÕÀÎÁöÃ¼Å©(Æ¯¼ö¹®ÀÚ,ÇÑ±Û ¸·±â) //
function check_character(getText,getVal){
	
	if (getVal.match(/[a-zA-Z0-9_@.-]+/g) != getVal){
		alert(getText + "Àº(´Â) ¿µ¹®°ú ¼ýÀÚÀÇ Á¶ÇÕ¸¸ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.");

		return false;
	}

	return true;
}

// ¼ýÀÚÀÎÁö Ã¼Å© //
function check_number(getText,getVal){
	if(isNaN(getVal) == true){
		alert(getText + "Àº(´Â) ¼ýÀÚ¸¸ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.")
			
		return false;
	}

	return true;
}

//°ø¹é¹®ÀÚ Ã¼Å©
function check_space(str){	
	if (str.search(/\S/)<0){
		return false;
	}
	
	var temp=str.replace(' ','');
	if (temp.length == 0){
		return false;
	}
	return true;
}

//field ÀÚµ¿ÀÌµ¿
function moveFocus(num,fromform,toform){
	var str = fromform.value.length;
	
	if(str == num)
	   toform.focus();
}

// ÆË¾÷Ã¢ //
function popup(pPage,winName,Opt) {
	new_win = window.open(pPage,winName,Opt);
	new_win.focus();
	return;
}

function changeImg(getRoot,getVal,getImg,getWidth,getHeight){
	document.myform.indexphoto.width	= getWidth;
	document.myform.indexphoto.height	= getHeight;
	document.indexphoto.src				= "/" + getRoot + "/" + getVal + "/" + getImg;
}


//ÄíÅ° ¹Þ¾Æ¿À±â
function getCookie(strName){
	var strArg = new String(strName + "=");	
	var nArgLen, nCookieLen, nEnd;
	var i = 0, j;

	nArgLen    = strArg.length;
	nCookieLen = document.cookie.length;
	
	if(nCookieLen > 0) {
	
		while(i < nCookieLen) {
		
			j = i + nArgLen;
			
			if(document.cookie.substring(i, j) == strArg) {
			
				nEnd = document.cookie.indexOf (";", j);
				
				if(nEnd == -1) nEnd = document.cookie.length;
				
				return unescape(document.cookie.substring(j, nEnd));
			 
			}
			
			i = document.cookie.indexOf(" ", i) + 1;
			if (i == 0) break;
		}
	}
	
	return("");
}

// ¸¶¿ì½º Å¬¸¯ ¹æÁö //

function Right(e) {

	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
        	return false;
	}
    	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
        	alert("¿À¸¥ÂÊ ¸¶¿ì½º´Â »ç¿ëÇÏ½Ç¼ö ¾ø½À´Ï´Ù.\n\nÁñ°Å¿î ¼îÇÎ µÇ½Ê½Ã¿À.");
        	return false;
    	}
    	return true;
}

if (document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown=Right;
}

//document.onmousedown=Right;
-->
