// ·Î±×ÀÎ
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;
}

// png24 ÀÌ¹ÌÁö ÆÄÀÏÀ» À¥¿¡¼­ Åõ¸íÇÏ°Ô º¯°æÇÏ´Â ½ºÅ©¸³Æ® 
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 cu(stat){
	if (stat == 1){ 
		document.all.cu1.style.display = "block"; 
		document.all.cu2.style.display = "none";

		} else if (stat == 2){  
		document.all.cu1.style.display = "none"; 
		document.all.cu2.style.display = "block"; 
		} 
}

// ¸Þ´º ¹Ù²î´Â ½ºÅ©¸³Æ®
function bt(id,kacsn) 
{ 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+kacsn+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
}  


//Ç®´Ù¿î ¸Þ´º·Î Å¸ »çÀÌÆ® ÀÌµ¿ÇÏ±â
function channelChange(url)
{
    if (url != "") {
//        top.location.href = url;
        window.open(url);
    }
}


//Á¡¼±¾ø¾Ö±â
function bluring(){ 

		if (document.body)	{
			if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
		}
} 
 

//swf <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=10,0,12,36  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+'" width="'+w+'" height="'+h+'" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" id="'+id+'"></embed>'; 
html += '<\/object>'; 
document.write(html);
}


//»çÀÌÁî¿¡ ¸Â°Ô ÀÌ¹ÌÁö ÆË¾÷À¸·Î//<a href="javascript:view('ÀÌ¹ÌÁö°æ·Î')">¸µÅ©³»¿ë</a>
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 printit()  
{
    window.print() ;  
}

// Á¦Ç°º° ÆË¾÷Ã¢¶ç¿ì±â//<a href="javascript:win('ÆäÀÌÁö°æ·Î','',°¡·Î,¼¼·Î)" >
var page,wid,hit,nam;
//function openwin(page,nam,wid,hit){
function win(page,nam,wid,hit){
	var  windo=eval('window.open("'+page+'","'+nam+'","status=no,toolbar=no,resizable=no,scrollbars=yes, menubar=no,width='+wid+',height='+hit+',top=20,left=20")');
  }
//-->

//TD¿¡ ¸µÅ©°É±â
//<td  onclick="javascript:self.close()" style="cursor:hand;">
//<TD onclick="Url('¸µÅ©ÁÖ¼Ò')" style="cursor:hand;"></TD>
function Url(url) {
document.location.href=url;
}


 // <div>~</div> only print
 var piintwin=null;
function printIt(printThis)  {
    
    piintwin = window.open();
    self.focus();
    piintwin.document.open();
    piintwin.document.write('<'+'html'+'><'+'head'+'><'+'style'+'>');
    piintwin.document.write('body, td { font-family: Verdana; font-size: 10pt;}');
    piintwin.document.write('<'+'/'+'style'+'><'+'/'+'head'+'><'+'body'+'>');
    piintwin.document.write(printThis);
    piintwin.document.write('<'+'/'+'body'+'><'+'/'+'html'+'>');
    piintwin.document.close();
    piintwin.print();
    piintwin.close();
  }
