// ·Î±×ÀÎ
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 bt(id,after) 
{ 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+after+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
}  


//Ç®´Ù¿î ¸Þ´º·Î Å¸ »çÀÌÆ® ÀÌµ¿ÇÏ±â
function channelChange(url)
{
    if (url != "") {
//        top.location.href = url;
        window.open(url);
    }
}


// Á¦Ç°º° ÆË¾÷Ã¢¶ç¿ì±â
var page,wid,hit,nam;
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")');
  }


//ÁØºñÁß ¾È³»
function msg(){
 alert('ÁË¼ÛÇÕ´Ï´Ù. ÁØºñÁßÀÔ´Ï´Ù. \n Sorry, This Item is under construction.')
 }


//±×¸²Å©±â¿¡ µû¶ó »õÃ¢¶ß±â//<a href="javascript:view('http://image.comcatalog.com/users/topcast/image/tcd501_tast.jpg')">¸µÅ©³»¿ë</a>
function view(what) { 
var imgwin = window.open("",'WIN','scrollbars=no,status=no,toolbar=no,resizable=0,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 + 40; myWidth = eval(pic).width + 12;\n"); 
imgwin.document.write("  } else { myHeight = eval(pic).height+ 9; 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 topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF" onclick="self.close()">\n'); 

imgwin.document.write("<img border=0 src="+what+" xwidth=100 xheight=9 name=il onload='resize();'>\n"); 
imgwin.document.write("</body>\n"); 
imgwin.document.close(); 
}



//¾ÆÀÌÇÁ·¹ÀÓ ³ôÀÌ ÀÚµ¿Á¶Àý
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);
}
