

    function Resize_Frame(name) {
         try {  
           var oBody  = document.frames(name).document.body;
           var oFrame  = document.all(name);
           tempWidth = oBody.offsetWidth-oBody.clientWidth;
           oFrame.style.width = oBody.scrollWidth + tempWidth;

           tempHeight = oBody.offsetHeight - oBody.clientHeight;
           oFrame.style.height = oBody.scrollHeight + tempHeight;
           if (oFrame.style.height == "0px" || oFrame.style.width == "0px") {
                oFrame.style.width = "540px";
                oFrame.style.height = "600px"; 
                window.status = 'iframe resizing fail.';
           } else {
                window.status = '';
           }

          }  catch(e) {
               window.status = 'Error: ' + e.number + '; ' + e.description;
               window.status = 'No-IFrame';
          }
     }

	function flashWrite(url,w,h,id,bg,win){
			// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
			document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle' valign='top'>")
			document.write( "<param name='movie' value='"+url+"' />")
			document.write("<param name='wmode' value='"+win+"' />")
			document.write( "<param name='menu' value='false' />")
			document.write("<param name='quality' value='high' />")
			document.write("<param name='bgcolor' value='"+bg+"' />")
			document.write( "<embed src='"+url+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' valign='top' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'>")
			document.write("</object>");   
	}
	
// Campus Life ÆË¾÷Ã¢	
function popup(dst) {
	pop=window.open(dst,"pop","left=0, top=0, scrollbars=no, resizable=no, width=800, height=600")
        pop.focus();
}
