// 
function submit(form) {
		if (form_minilog.membership_id.value == "") {alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");form_minilog.membership_id.focus();return;}
		if (form_minilog.membership_password.value == "") {alert("¾ÏÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.");form_minilog.membership_password.focus();return;}
		{ form_minilog.submit();}		

		}

function focusmove() {
  document.form_minilog.membership_id.focus();
  return;
}

// 
function setPNG24(obj) { 
	obj.width=obj.height=1; 
	obj.className=obj.className.replace(/\bPNG24\b/i,''); 
	obj.style.filter = 
	"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
	obj.src=''; 
	return ''; 
} 

// 
function bt(id,ewgcc) 
{ 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+ewgcc+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
}  


//
function bluring(){ 

		if (document.body)	{
			if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
		}
} 
 

//<script type="text/javascript">flashObj("http://image.campushomepage.com/users/cerc/swf/sub_tt.swf", 947, 172, "main");</script>
function flashObj(src,w,h,id){ 
html = '';
html += '<object type="application/x-shockwave-flash"  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  codebase=http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0  id="'+id+'" width="'+w+'" align="center" height="'+h+'">';  
html += '<param name="movie" value="'+src+'" />'; 
html += '<param name="quality" value="high" />'; 
html += '<param name="bgcolor" value="#ffffff" />';
html += '<param name="wmode" value="transparent" />';		
html += '<param name="menu" value="false" />';  
html += '<param name="allowScriptAccess" value="always" />';  
html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'"  height="'+h+'" swliveconnect="true" id="'+id+'" name="param" align="center" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"> <\/embed>'; 
html += '<\/object>'; 
document.write(html);
}

//
function resizeFrame(iframeObj){
        var innerBody = iframeObj.contentWindow.document.body;
        oldEvent = innerBody.onclick;
        innerBody.onclick = function(){ resizeFrame(iframeObj, 1);oldEvent; };
        var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);
        iframeObj.style.height = innerHeight;
        var innerWidth = innerBody.scrollWidth + (innerBody.offsetWidth - innerBody.clientWidth);
        iframeObj.style.width = innerWidth;     
        if( !arguments[1] )     
        this.scrollTo(1,1);
}

//
function view(what) { 
var imgwin = window.open("",'WIN','scrollbars=no,status=no,toolbar=no,resizable=1,location=no,menu=no,width=10,height=10'); 
imgwin.focus(); 
imgwin.document.open(); 
imgwin.document.write("<html>\n"); 
imgwin.document.write("<head>\n"); 
imgwin.document.write("<title>**</title>\n"); 
imgwin.document.write("<sc"+"ript>\n"); 
imgwin.document.write("function resize() {\n"); 
imgwin.document.write("pic = document.il;\n"); 
//imgwin.document.write("alert(eval(pic).height);\n"); 
imgwin.document.write("if (eval(pic).height) { var name = navigator.appName\n"); 
imgwin.document.write("  if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 30; myWidth = eval(pic).width + 12;\n"); 
imgwin.document.write("  } else { myHeight = eval(pic).height + 0; myWidth = eval(pic).width; }\n"); 
imgwin.document.write("  clearTimeout();\n"); 
imgwin.document.write("  var height = screen.height;\n"); 
imgwin.document.write("  var width = screen.width;\n"); 
imgwin.document.write("  var leftpos = width / 2 - myWidth / 2;\n"); 
imgwin.document.write("  var toppos = height / 2 - myHeight / 2; \n"); 
imgwin.document.write("  self.moveTo(leftpos, toppos);\n"); 
imgwin.document.write("  self.resizeTo(myWidth, myHeight);\n"); 
imgwin.document.write("}else setTimeOut(resize(), 100);}\n"); 
imgwin.document.write("</sc"+"ript>\n"); 
imgwin.document.write("</head>\n"); 
imgwin.document.write('<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" bgcolor="#FFFFFF" onClick="self.close()">\n'); 
imgwin.document.write("<img border=0 src="+what+" xwidth=100 xheight=0 name=il onload='resize();'>\n"); 
imgwin.document.write("</body>\n"); 
imgwin.document.close(); 

} 

// 
function winOpen(url,name,scr,sta,width,height) {
  window.open(url,name,'scrollbars='+scr+',status='+sta+',width='+width+',height='+height+'')
}
 
//
function printit()  
{
    window.print() ;  
}
