function SampleShow(lecture_cd, lecture_name, pro_name, pro_id, youhung_cd, youhung_name,smp)	 {
	if (smp == "0") {
		alert("»ùÇÃ°­ÁÂ ÁØºñÁß ÀÔ´Ï´Ù.");
		return;
	} else {
		strURL = 	"/Comuser/mylec/vodAppsample/lec_Wild/index.asp?" + 
					"lecture_cd="		+ lecture_cd + 
					"&lecture_name="	+ lecture_name + 
					"&pro_name="		+ pro_name + 
					"&pro_id="			+ pro_id + 
					"&youhung_cd="		+ youhung_cd + 
					"&youhung_name="	+ youhung_name;
		window.open(strURL, "Sample", "width=990, height=620, top=0, left=0, toobar=no, menu=no, resizable=no");
	}
}

function Alt_Lec() {
	alert("ÀÌ¹Ì ¼±ÅÃÇÏ½Å °­ÁÂ ÀÔ´Ï´Ù.");
	return;
}
function GoLTime() {
	alert("¼ö°­½ÅÃ» °¡´É ±â°£ÀÌ ¾Æ´Õ´Ï´Ù.");
	return;
}

function Comma(strNum) { 
	if (strNum.length >= 4) {
		re = /^\$|,/g; 
		strNum = strNum.replace(re, ""); 
		fl="" 
		if(isNaN(strNum)) {
			alert("¹®ÀÚ´Â »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return 0;
		} 
		if(strNum==0) {
			return strNum;
		}
		if(strNum<0){ 
			strNum = strNum*(-1);
			fl = "-";
		}else{ 
			strNum = strNum * 1 //Ã³À½ ÀÔ·Â°ªÀÌ 0ºÎÅÍ ½ÃÀÛÇÒ¶§ ÀÌ°ÍÀ» Á¦°ÅÇÑ´Ù. 
		}
		strNum = new String(strNum) 
		temp = "" 
		co=3 
		num_len = strNum.length 
		while (num_len>0){ 
			num_len=num_len-co 
			if(num_len<0){
				co=num_len+co;
				num_len=0;
			} 
			temp="," + strNum.substr(num_len,co) + temp;
		} 
		strNum =  fl+temp.substr(1);
	}
	return strNum;
} 

