	//IframeÀ¸·Î ¾µ¶§ ³»¿ëÀÇ ±æÀÌ¸¦ ³Ð°ÔÇÏ´Â °÷..
	window.onload = function(){
		try{
			var mainFrm = top.frames['mainFrm'];
			if( mainFrm ){
				mainFrm.document.all.board.style.pixelHeight = document.body.scrollHeight;
			}else{
				if( top.document.all.board.style ){
					top.document.all.board.style.pixelHeight = document.body.scrollHeight;
				}
			}
		}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 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 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');
	}

