	//IframeÀ¸·Î ¾µ¶§ ³»¿ëÀÇ ±æÀÌ¸¦ ³Ð°ÔÇÏ´Â °÷..
	window.onload = function(){
		try{
			var mainFrm = top.frames['mainFrm'];
			if( mainFrm ){
				if( mainFrm.document.all.board ){
					setTimeout("top.frames['mainFrm'].document.all.board.style.pixelHeight = document.body.scrollHeight+30", 0.1);
				}
			}else{
				if( top.document.all.board.style ){
					setTimeout("top.document.all.board.style.pixelHeight = document.body.scrollHeight + 30", 0.1);					
					//top.document.all.board.style.pixelHeight = heightH + 30;
				}
			}
		}catch(e){
		}
	}

	function link(url){
		location.href = url;
	}

	function downloadFile(filename) {
		document.downloadForm.fname.value = filename;
		document.downloadForm.target = "down";
		document.downloadForm.action = "download.tips";
		document.downloadForm.submit();
	}
	
	function downloadFile2(filename) {
		var fullFileName = "D:/WAS/jboss-3.2.3/server/default/deploy/ROOT.war" + filename;
		document.downloadForm.fname.value = fullFileName;
		document.downloadForm.target = "down";
		document.downloadForm.action = "download.tips";
		document.downloadForm.submit();
	}
	
	function openWindow(imgUrl, title) {
		var img = new Image();
		img.src = imgUrl;
		win = window.open('openWindow.jsp?imgurl=' + imgUrl 
					+ '&title=' + title, 'WIN', 'left=20, top=10, scrollbars=auto, status=no, toolbar=no, resizable=yes, location=no,' 
					+ ' menu=no, width=561, height=643');
	}

	function openWindowResize(imgUrl, title, width, height, flag) {
		var img = new Image();
		img.src = imgUrl;
		if( flag == 'yes' ){
			width = width + 56 + 17 + 20;
		}else{
			width = width + 56;		
		}
		
		height = height + 102 + 1 + 20;
		win = window.open('openWindow.jsp?imgurl=' + imgUrl 
					+ '&title=' + title, 'WIN', 'left=20, top=10, scrollbars=' 
					+ flag + ', status=no, toolbar=no, resizable=yes, location=no,' 
					+ ' menu=no, width=' + width + ', height=' + height);
	}

	function openIssuePopup(sectionId, publishedContentId,w,h) {
		if( getCookie( publishedContentId ) ) return;
		if( !openIssuePopup.prototype.popID ) openIssuePopup.prototype.popID = 0;
		var lf = openIssuePopup.prototype.popID%8 * 64;
		var tp = parseInt(openIssuePopup.prototype.popID/8) * 64;
		var url = "kms.tips?cmd=popupIssueView&sID=" + sectionId + "&pID=" + publishedContentId + "&pop=true";
		var win = window.open(url,'IssuePop'+(++ openIssuePopup.prototype.popID),'scrollbars=yes,status=no,toolbar=no,resizable=yes,location=no,menu=no,left='+lf+',top='+tp+',width='+(w?w:600)+',height='+(h?h:500));	
	}
	
	function openIssueView(sectionId, publishedContentId){
		var url = "kms.tips?cmd=popupIssueView&sID=" + sectionId + "&pID=" + publishedContentId;
		var win = window.open(url,'WIN','scrollbars=yes,status=no,toolbar=no,resizable=yes,location=no,menu=no,width=600,height=500');	
	}
	
	function openIssueList(sectionId){
		var url = "kms.tips?cmd=popupIssueList&sID=" + sectionId;
		var win = window.open(url,'WIN','scrollbars=yes,status=no,toolbar=no,resizable=yes,location=no,menu=no,width=600,height=500');		
	}
	
	function launch(path){
		viewerWindow = window.open(path, '_blank','width=790, height=571, scrollbars=no, resizable = no, menubar = no, top=0, left=0, fullscreen = no');
	}

	function onOverMenu(form, fontColor) {
		form.style.color = fontColor;
	}
	
	function onOutMenu(form, fontColor) {
		form.style.color = fontColor;
	}

	
