
function bookdaum(){
window.external.AddFavorite('http://www.daum.net', '´ÙÀ½')
}
function bookempas(){
window.external.AddFavorite('http://www.empas.com', '¿¥ÆÄ½º')
}
function bookhanmir(){
window.external.AddFavorite('http://www.hanmir.com', 'ÇÑ¹Ì¸£')
}
function bookyahoo(){
window.external.AddFavorite('http://kr.yahoo.com', '¾ßÈÄÄÚ¸®¾Æ')
}
function bookchrist(){
window.external.AddFavorite('http://christ.infocop.com', '±âµ¶Á¤º¸Å½Á¤')
}
function booklycos(){
window.external.AddFavorite('http://www.lycos.co.kr', '¶óÀÌÄÚ½º')
}
function bookmsn(){
window.external.AddFavorite('http://www.msn.co.kr', 'msn')
}
function bookdreamwiz(){
window.external.AddFavorite('http://www.dreamwiz.com', 'µå¸²À§Áî')
}
function bookwakano(){
window.external.AddFavorite('http://www.wakano.co.kr', '¿ÍÄ«³ë')
}
function booksimmani(){
window.external.AddFavorite('http://www.simmani.com', '½É¸¶´Ï')
}
function booknenter(){
window.external.AddFavorite('http://www.nenter.com', '¿£¿£ÅÍ')
}
function booknetian(){
window.external.AddFavorite('http://www.netian.com', '³×¶ì¾Ó')
}

function PopupWindow00(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=0'); 
wHnd.focus();
}		

function PopupWindow33(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=193,left=952,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1'); 
wHnd.focus();
}		

function PopupWindow(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1'); 
wHnd.focus();
}		

function PopupWindow1(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=200,left=280,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1'); 
wHnd.focus();
}		

function PopupWindow2(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=200,left=200,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=0,scrollbars=0'); 
wHnd.focus();
}		

function PopupWindow22(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=185,left=948,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=0,scrollbars=0'); 
wHnd.focus();
}		

function PopupWindow3(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=0,scrollbars=0,toolbar=1'); 
wHnd.focus();
}		

function PopupWindow4(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=0,scrollbars=1'); 
wHnd.focus();
}		

function PopupWindow5(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1,toolbar=1,location=1,status=yes,menubar=1'); 
wHnd.focus();
}		

function PopupWindow55(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=80,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1,toolbar=1,location=1,status=yes,menubar=1'); 
wHnd.focus();
}		

function PopupWindow6(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=0,scrollbars=1'); 
wHnd.focus();
}		

function PopupWindow7(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=1,scrollbars=1'); 
wHnd.focus();
}		

function PopupWindow8(strName, strURL, nWidth, nHeight)
{
wHnd = window.open(strURL,strName,'top=0,left=0,width='+nWidth+',height='+nHeight+',marginwidth=0,marginheight=0,resizable=0,scrollbars=1,toolbar=1,location=1,status=yes'); 
wHnd.focus();
}		

function mycom()
{
camwin=window.open("http://miraeline.pe.kr/main/mycom.html","","")
}

function mkwin()
{
camwin=window.open("http://miraeline.pe.kr/life/calc.html","","toolbar=no, width=300, height=350")
}


function stocknews()
{
camwin=window.open("http://miraeline.pe.kr/main/menu/stocknews.html","","toolbar=no, width=928, height=550")
}

function freeboard()
{
camwin=window.open("http://miraeline.pe.kr/wwwb/CrazyWWWBoard.cgi?db=board1","","toolbar=no, width=840, height=550")
}

function stock()
{
camwin=window.open("http://miraeline.pe.kr/main/menu/stock.html","","toolbar=no, width=928, height=550")
}



function netaud()
{
camwin=window.open("http://sever3.miss4u.com/","","toolbar=no, width=1, height=1")
}

function mbns() 
{
	window.open("http://www.mks.tv/multi/mkslive_1.asp", 'onAir', 'left=100,top=50,width=343,height=380,marginwidth=0,marginheight=0,toolbar=no,scrollbars=no,menubar=0,resizable=no'); 
	//window.location.href = "http://www.mks.tv/mbnslive.asx";
}

function itv()
{
camwin=window.open("http://onair.dreamx.net/playlive/play_itv.asp","","toolbar=no, width=490, height=435")
}

function king()
{
camwin=window.open("http://miraeline.pe.kr/main/menu/king.html","","toolbar=no, width=710, height=435")
}

function hong()
{
camwin=window.open("http://miraeline.pe.kr/main/menu/hong.html","","toolbar=no, width=800, height=435")
}

function mnet()
{
		window.open('http://www.mnet27.co.kr/player/mnetplayer.asp?type=catvmnet','mnetplayer','width=340, height=400')
}



function ytn()
{
camwin=window.open("http://www.ytn.co.kr/new_httpd/livenews/live_200.asp","","toolbar=no, width=340, height=445")
}

function sbstv()
{
camwin=window.open("http://www.sbs.co.kr:8080/vodadm/mplay.php3?fname=livetv&type=vid","1","toolbar=no, width=340, height=435")
}

function sbsfm()
{
camwin=window.open("http://www.sbs.co.kr:8080/vodadm/mplay.php3?fname=liveam&type=aud","2","toolbar=no, width=340, height=220")
}

function sbspm()
{
camwin=window.open("http://www.sbs.co.kr:8080/vodadm/mplay.php3?fname=livefm&type=aud","3","toolbar=no, width=340, height=220")
}

function luckytv()
{
camwin=window.open("http://miraeline.pe.kr/main/sub[1]/tv/lucky.html","","toolbar=no, width=352, height=375")
}



function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function mm() { //v3.0
  var i,p,v,obj,args=mm.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
function SetFocus() {
   document.websearch.QR.focus();
   return;
}
 
function    check_webform(){
    if(document.websearch.QR.value.length==0){
        alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ½Ê½Ã¿À");
        return false;
    }
    else {
        document.websearch.submit();
        return true;
    }
}
function    submit_webform(){
    if(document.websearch.QR.value.length==0){
        alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ½Ê½Ã¿À");
    }
    else {                        
   document.websearch.submit();
        return true;
    }
}
 
function help_window(url) {
	email = window.open(url,"thewindow",'toolbar=no,status=no,menubar=no,scrollbars=1,resizable=1,width=430,height=500');
 
}

function    check_telform() {
    if(document.telsearch.QR.value.length==0){
        alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ½Ê½Ã¿À");
        return false;
    }
    else {
        document.telsearch.submit();
        return true;
    }
}

function    submit_telform() {
    if(document.telsearch.QR.value.length==0){
        alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ½Ê½Ã¿À");
    }
    else {
        document.telsearch.submit();
        return true;
    }
}

function ShowHideSubMenu(num){

	var menu = eval("document.all.MenuBlock"+num+".style");

	if (menu.display == "none"){
		menu.display = "block";
	}
	else{
	  menu.display = "none";
	}

}


