// JavaScript Document
<!--	
	


	function getObject(objectId) {
		// cross-browser function to get an object's style object given its
		if(document.getElementById && document.getElementById(objectId)) {
		// W3C DOM
		return document.getElementById(objectId);
		} else if (document.all && document.all(objectId)) {
		// MSIE 4 DOM
		return document.all(objectId);
		} else if (document.layers && document.layers[objectId]) {
		// NN 4 DOM.. note: this won't find nested layers
		return document.layers[objectId];
		} else {
		return false;
		}
	} // getObject
	
	
	function getStyleObject(objectId) {
		// cross-browser function to get an object's style object given its
		if(document.getElementById && document.getElementById(objectId)) {
		// W3C DOM
		return document.getElementById(objectId).style;
		} else if (document.all && document.all(objectId)) {
		// MSIE 4 DOM
		return document.all(objectId).style;
		} else if (document.layers && document.layers[objectId]) {
		// NN 4 DOM.. note: this won't find nested layers
		return document.layers[objectId];
		} else {
		return false;
		}
	} // getStyleObject
	
	
	function setPng24(obj) { 
		if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent)) return '';
		obj.width=1;
		obj.height=1;
		obj.className=obj.className.replace(/\bpng24\b/i,'');
		obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');";
		obj.src='';
		return '';
	} 
		
	function SetNum(obj){
		val=obj.value;
		re=/[^0-9]/gi;
		obj.value=val.replace(re,"");
	}
	
	function checkSSN(prenum, postnum){
	 sonum = prenum + postnum;
	 
	 if (prenum == "" || postnum == "") return false;
	 
	 if (prenum.length < 6 || postnum.length < 7) return false;
	 
	 for (var i = 0; i < sonum.length; i++) {
	  ch = sonum.charAt(i);
	  if (!(ch >= '0' || ch <= '9')) return false;
	 }
	 
	 if (parseInt(prenum) != NaN && parseInt(postnum) != NaN) {
	  lid = parseFloat(postnum.substring(6,7));
	  n01 = parseFloat(prenum.substring(0,1)) * 2;
	  n02 = parseFloat(prenum.substring(1,2)) * 3;
	  n03 = parseFloat(prenum.substring(2,3)) * 4;
	  n04 = parseFloat(prenum.substring(3,4)) * 5;
	  n05 = parseFloat(prenum.substring(4,5)) * 6;
	  n06 = parseFloat(prenum.substring(5,6)) * 7;
	  n07 = parseFloat(postnum.substring(0,1)) * 8;
	  n08 = parseFloat(postnum.substring(1,2)) * 9;
	  n09 = parseFloat(postnum.substring(2,3)) * 2;
	  n10 = parseFloat(postnum.substring(3,4)) * 3;
	  n11 = parseFloat(postnum.substring(4,5)) * 4;
	  n12 = parseFloat(postnum.substring(5,6)) * 5;
	  nSum = n01 + n02 + n03 + n04 + n05 + n06 + n07 + n08 + n09 + n10 + n11 + n12;
	  
	  lmod = nSum % 11;
	  lminus = 11 - lmod;
	  llast = lminus % 10;
	  
			 if (llast != lid) return false;
		 }
		else {
			  return false;
		}
	} 
	
	function checkID(str) { 
        if (/^[a-zA-Z0-9]{6,15}$/.test(str)) { 
            if (!/[a-zA-Z]/.test(str)) { 
                alert("¾ÆÀÌµð¿¡ ¿µ¹®ÀÚ°¡ ¹Ýµå½Ã ÇÑÀÚ ÀÌ»ó Æ÷ÇÔµÇ¾î¾ß ÇÕ´Ï´Ù."); 
                return false; 
            } 
            return true; 
        } 
        if (str.length < 6 || str.length > 15) 
            alert("¾ÆÀÌµð´Â 6ÀÚ ¿¡¼­ 15ÀÚ ±îÁö¸¸ Çã¿ëÇÕ´Ï´Ù."); 
        else 
            alert("¾ÆÀÌµð¿¡ ¼ýÀÚ³ª ¿µ¹®ÀÚ°¡ ¾Æ´Ñ ¹®ÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖ½À´Ï´Ù."); 
        return false; 
    } 

	function checkPWD(str) { 
	
        if (/^[a-zA-Z0-9]{6,15}$/.test(str)) { 
            if (!/[a-zA-Z]/.test(str)) { 
                alert("ºñ¹Ð¹øÈ£¿¡ ¿µ¹®ÀÚ°¡ ¹Ýµå½Ã ÇÑÀÚ ÀÌ»ó Æ÷ÇÔµÇ¾î¾ß ÇÕ´Ï´Ù."); 
                return false; 
            }  
			return true;           
        } 
        if (str.length < 6 || str.length > 15)  
            alert("ºñ¹Ð¹øÈ£´Â 6ÀÚÀÌ»ó 15ÀÚ ÀÌÇÏ·Î ÀÛ¼ºÇØ ÁÖ¼¼¿ä."); 
		else  
            alert("ºñ¹Ð¹øÈ£¿¡ ¼ýÀÚ³ª ¿µ¹®ÀÚ°¡ ¾Æ´Ñ ¹®ÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖ½À´Ï´Ù."); 
       	return false;
		
    } 
	










//-->