function changeThumb(num){
	document.getElementById("thumb1").style.display = (num==1)? 'block': 'none';
	document.getElementById("thumb2").style.display = (num==2)? 'block': 'none';
	document.getElementById("thumb3").style.display = (num==3)? 'block': 'none';
}
//»ç¾÷Àå ¹× °ü°è»ç ÅÇ
var previd = null;
	function displaySub(subID)
	{
		if (previd != null)
	{
		if (previd != subID)
	{
		previd.style.display = "none";
	}
}
	if (subID.style.display == "none")
	{
	subID.style.display = "block";
	}
	else
	{
	subID.style.display = "none";
}
	previd = subID;
	//titleID.style.bold = true;
}
//FAQ Åä±Û
function changeThumb2(num){
	document.getElementById("thumb1").style.display = (num==1)? 'block': 'none';
	document.getElementById("thumb2").style.display = (num==2)? 'block': 'none';
	document.getElementById("thumb3").style.display = (num==3)? 'block': 'none';
	document.getElementById("thumb4").style.display = (num==4)? 'block': 'none';
	document.getElementById("thumb5").style.display = (num==5)? 'block': 'none';
	document.getElementById("thumb6").style.display = (num==6)? 'block': 'none';
}
//¾÷·ÎµåÆÄÀÏ±¸ºÐ
function fileCheck(path, type){
	var kind = path.substring(path.indexOf(".")+1, path.length);	
	if(kind.toLowerCase() == "exe" || kind.toLowerCase() == "html" || kind.toLowerCase() == "asp" || kind.toLowerCase() == "jsp" || kind.toLowerCase() == "php" || kind.toLowerCase() == "xml" ){
	alert("¼±ÅÃÇÏ½Å ÆÄÀÏÀº ¾÷·Îµå ÇÒ¼ö ¾ø½À´Ï´Ù.");
		return false;
	}
	
	if(type == "img"){
		if(kind == "jpg" || kind == "JPG" || kind == "gif" || kind == "GIF"){
			return true;
		}else{
		alert("¼±ÅÃÇÏ½Å ÆÄÀÏÀº ¾÷·Îµå ÇÒ¼ö ¾ø½À´Ï´Ù.");	
			return false;
		}
	}else if(type == "mov"){
		if(kind == "avi" || kind == "wmv" || kind == "mpeg" || kind == "mpg" || kind == "mov" || kind == "asf" || kind == "AVI" || kind == "WMV" || kind == "MPEG" || kind == "MPG" || kind == "MOV" || kind == "ASF" || kind == "MP3" || kind == "mp3"){
			return true;
		}else{
		alert("¼±ÅÃÇÏ½Å ÆÄÀÏÀº ¾÷·Îµå ÇÒ¼ö ¾ø½À´Ï´Ù.");	
			return false;
		}
	}else{
		return true;
	}
}

