    /*-------------------------------------------------------------------------
        Select Option ¼±ÅÃ °ª
	  -------------------------------------------------------------------------*/
	function f_GetSelValue(theForm,ElementName) {
		var strSelValue='';
		var idxSelect;
		var bSelected=false;
		var Element = theForm.elements[ElementName]
		var ElementLen = Element.length;
		if(typeof(ElementLen)=='undefined') {
			if(Element.checked) {
				strSelValue = Element.value;
				bSelected = true;
			}
		} else {
			for(var idxLoop=0;idxLoop<ElementLen;idxLoop++) {
				if(Element[idxLoop].checked) {
					idxSelect = idxLoop;
					strSelValue = Element[idxSelect].value;
					bSelected = true;
				}
			}
		}
		var arrReturnValue = new Array(3)
		arrReturnValue[0] = bSelected;
		arrReturnValue[1] = strSelValue;
		arrReturnValue[2] = idxSelect;
		return arrReturnValue;
	}


    /*-------------------------------------------------------------------------
        Select Option Ç×¸ñ Ãß°¡
	  -------------------------------------------------------------------------*/
	function f_setSelect(Element,Val) {
		var nEleLen = Element.length;
		for( var idxLoop = 0; idxLoop < nEleLen; idxLoop++) {
			if(Element[idxLoop].value == Val) {
				Element[idxLoop].selected = true;
			}
		}
	}


    /*-------------------------------------------------------------------------
        Select Option Ç×¸ñ Ã¼Å©¿©ºÎ
	  -------------------------------------------------------------------------*/
	function f_setChkVal(strVal,objEle) {
		var nEleLen = objEle.length;
		for(var i=0; i<nEleLen; i++) {
			if (objEle[i].value.toString() == strVal.toString()) {
				objEle[i].checked = true;
			}
		}
	}
	
    /*-------------------------------------------------------------------------
        Select Ç×¸ñ ÀÚµ¿ ¼±ÅÃ  (ÆÄ¶ó¸ÞÅÍ hidden °ª ¼³Á¤¿ä±¸)
	  -------------------------------------------------------------------------*/
	function getSelectValue(p1,p2) {
	 for (i=0; i<p1.options.length; i++ ) { 
	 if( p1.options[i].value == p2 ) 
	 p1.options[i].selected = true;
	 }
	}


    /*-------------------------------------------------------------------------
        Ã¼Å©¹Ú½º °¹¼ö 
	  -------------------------------------------------------------------------*/
	function check_cnt(form,strName) {
		var checkcnt = 0;

		for (var i = 0;i<form.length;i++) {
				if(form.elements[i].name==strName && form.elements[i].checked){

				checkcnt++;
				}
  		}
  		return checkcnt;
	}

    /*-------------------------------------------------------------------------
        Ã¼Å©¹Ú½º ¸ðµÎ ¼±ÅÃ
	  -------------------------------------------------------------------------*/
	function f_chk_all(theForm,bChked,strName) {
		var strSet='';
		if(bChked) {
			strSet = true;
		} else {
			strSet = false;
		}
		for( var i=0; i<theForm.elements.length; i++) {
			var objElm = theForm.elements[i];
			if(objElm.name == strName)
				objElm.checked = strSet;
		}
		return;
	}
	

    /*-------------------------------------------------------------------------
        Ã¼Å©¹Ú½º ¹ÝÀü ¼±ÅÃ
	  -------------------------------------------------------------------------*/
	function revcheck(theForm,strName) {
		for( var i=0; i<theForm.elements.length; i++) {
			var select = theForm.elements[i];
			if(select.name == strName)
				select.checked = !select.checked;
		}
		return;
	}
	

    /*-------------------------------------------------------------------------
        ÀÌ¹ÌÁö °ü·Ã ÇÔ¼ö
	  -------------------------------------------------------------------------*/

	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}

	function MM_findObj(n, d) { //v4.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);
	  if(!x && document.getElementById) x=document.getElementById(n); return x;
	}

	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}	

    /*-------------------------------------------------------------------------
        À©µµ¿ì ÆË¾÷ ±âº»Çü
	  -------------------------------------------------------------------------*/
	function openWin(url, w, h) {
		var PopWin = window.open(url, '_blank', "toolbar=0, channelmode=0, location=0, directories=0, resizable=0, menubar=0, scrollbars=0"
																						+", width=" + w + ", height=" + h
																						+", top="+(screen.height-h)/2+", left="+(screen.width-w)/2);
		if(PopWin == null){
			alert('ÆË¾÷ÀÌ Â÷´ÜµÇ¾î ÀÖ½À´Ï´Ù.\n\nÈ­¸é »ó´ÜÀÇ Â÷´Ü¸Þ¼¼Áö¸¦ Å¬¸¯ÇÏ¿© ÆË¾÷À» Çã¿ëÇØÁÖ¼¼¿ä.');
			return;
		}
		PopWin.focus();
	}

    /*-------------------------------------------------------------------------
        À©µµ¿ì ÆË¾÷ (scroll : y)
	  -------------------------------------------------------------------------*/
	function openWinY(url, w, h) {
		var nSW = screen.width;
		var nSH = screen.height;
		var nPointW = 0, nPointH = 0;
		if(w < nSW) {
			nPointW = (nSW - w) / 2;
		}
		if(h < nSH) {
			nPointH = (nSH - h) / 2;
		}
		var PopWin = window.open(url, '_blank', "toolbar=0, channelmode=0, location=0, directories=0, resizable=1, menubar=0, scrollbars=0"
																						+", width=" + w + ", height=" + h
																						+", top="+nPointH+", left="+nPointW);
		if(PopWin == null){
			alert('ÆË¾÷ÀÌ Â÷´ÜµÇ¾î ÀÖ½À´Ï´Ù.\n\nÈ­¸é »ó´ÜÀÇ Â÷´Ü¸Þ¼¼Áö¸¦ Å¬¸¯ÇÏ¿© ÆË¾÷À» Çã¿ëÇØÁÖ¼¼¿ä.');
			return;
		}
		PopWin.focus();
	}


    /*-------------------------------------------------------------------------
        À©µµ¿ì ÆË¾÷
	  -------------------------------------------------------------------------*/
	function openWinN(url,wName, w, h, bScroll) {
		var sOption = "";
		var strScroll;
		var nSW = screen.width;
		var nSH = screen.height;
		var nPointW = 0, nPointH = 0;
		if(w < nSW) {
			nPointW = (nSW - w) / 2;
		}
		if(h < nSH) {
			nPointH = (nSH - h) / 2;
		}
		if (bScroll == 0) {
			strScroll = " scrollbars=no";
		} else {
			strScroll = " scrollbars=yes";
		}
		sOption = sOption + "toolbar=no, channelmode=no, location=no, directories=no, resizable=no, menubar=no," + strScroll;
		sOption = sOption + ", width=" + w + ", height=" + h + ", top=" + nPointH + ", left=" + nPointW;
		var PopWin = window.open(url, wName, sOption);
		if(PopWin == null){
			alert('ÆË¾÷ÀÌ Â÷´ÜµÇ¾î ÀÖ½À´Ï´Ù.\n\nÈ­¸é »ó´ÜÀÇ Â÷´Ü¸Þ¼¼Áö¸¦ Å¬¸¯ÇÏ¿© ÆË¾÷À» Çã¿ëÇØÁÖ¼¼¿ä.');
			return;
		}
		PopWin.focus();
	}


    /*-------------------------------------------------------------------------
        ÆÄ¾÷Ã¢ TOP : 0
	  -------------------------------------------------------------------------*/
	function NewWindowTop(mypage,myname,w,h,scroll){ 
	  var winl = 0;
	  var wint = 0;
	  var settings  ='height='+h+',';
		  settings +='width='+w+',';
		  settings +='top='+wint+',';
		  settings +='left='+winl+',';
		  settings +='scrollbars='+scroll+',';
		  settings +='resizable=no';
		  settings +='directories=no';
		  settings +='titlebar=no';
		  settings +='toolbar=no';
		  settings +='location=no';
		  settings +='menubar=no';
	  win=window.open(mypage,myname,settings);
	  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
	}

    /*-------------------------------------------------------------------------
        Opener ÀÌµ¿ÈÄ ÆË¾÷Ã¢ Á¾·á 
	  -------------------------------------------------------------------------*/
	function CloseNgoURL(URL) {
		opener.location = URL;
		self.close();
	}

    /*-------------------------------------------------------------------------
        Opener ÀÌµ¿ÈÄ ÆË¾÷Ã¢ Á¾·á 
	  -------------------------------------------------------------------------*/
	function CloseNgoURL2(URL) {
		var targ_Win = self.opener
		if ( typeof(targ_Win) == "object" ) {
			targ_Win = ( typeof(targ_Win.top.main) == "object" ? targ_Win.top.main : targ_Win.top );
			targ_Win.location.href = URL;
		}
		self.close();
	}

    /*-------------------------------------------------------------------------
        ÆË¾÷Ã¢ ÅØ½ºÆ®¸¸ Ãâ·Â
	  -------------------------------------------------------------------------*/
	function f_MakeWin(strBody,nW,nH,bS) {
		var popWIn=window.open('about:blank','','toolbar=0, channelmode=0, location=0, directories=0, resizable=1, menubar=0, scrollbars='+bS+',width='+nW+',height='+nH);
		if(PopWin == null){
			alert('ÆË¾÷ÀÌ Â÷´ÜµÇ¾î ÀÖ½À´Ï´Ù.\n\nÈ­¸é »ó´ÜÀÇ Â÷´Ü¸Þ¼¼Áö¸¦ Å¬¸¯ÇÏ¿© ÆË¾÷À» Çã¿ëÇØÁÖ¼¼¿ä.');
			return;
		}
		popWIn.document.write(strBody);
	}


    /*-------------------------------------------------------------------------
       ÄíÅ° °¡Á®¿À±â
	  -------------------------------------------------------------------------*/
	function getCookie( name ){
		var nameOfCookie = name + "=";
		var x = 0;
		while ( x <= document.cookie.length )
		{
			var y = (x+nameOfCookie.length);
			if ( document.cookie.substring( x, y ) == nameOfCookie ) {
				if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
				endOfCookie = document.cookie.length;
				return unescape( document.cookie.substring( y, endOfCookie ) );
			}
				
			x = document.cookie.indexOf( " ", x ) + 1;
				
			if ( x == 0 ) break;
		}
				return "";
	}


    /*-------------------------------------------------------------------------
       ÄíÅ° »ý¼º
	  -------------------------------------------------------------------------*/
	function setCookie( name, value, expiredays ) { 
	        var todayDate = new Date(); 
	        todayDate.setDate( todayDate.getDate() + expiredays ); 
	        document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
	} 

    /*-------------------------------------------------------------------------
       ÄíÅ° »èÁ¦
	  -------------------------------------------------------------------------*/
	function delCookie (name) {  
			var exp = new Date();  
			exp.setTime (exp.getTime() - 1);  
			var cval = getCookie (name);  
			document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
	}
    /*-------------------------------------------------------------------------
       ¾ËÆÄºªÀÌ³ª ¼ýÀÚ°¡ ¾Æ´Ñ ¹®ÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖÀ¸¸é false ¸®ÅÏ
	  -------------------------------------------------------------------------*/
	function AlpaNumber(string) {

		valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
		for (var i=0; i< string.length; i++) {
			if (valid.indexOf(string.charAt(i)) == -1) {
			return false;
			}
		}
		return true;
	}


    /*-------------------------------------------------------------------------
       ¼ýÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖÀ¸¸é false ¸®ÅÏ ¸Þ¼¼Áö Ãâ·Â
	  -------------------------------------------------------------------------*/
	function NoNumber(string) {
		if (!f_chkNoNum(string)) {
			alert("¼ýÀÚ´Â Æ÷ÇÔµÉ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		}
		return true;
	}


    /*-------------------------------------------------------------------------
       ¼ýÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖÀ¸¸é false ¸®ÅÏ
	  -------------------------------------------------------------------------*/
	function f_chkNoNum(string) {

		valid = "0123456789";
		for (var i=0; i< string.length; i++) {
			if (valid.indexOf(string.charAt(i)) != -1) {
				return false;
			return false;
			}
		}
		return true;
	}


    /*-------------------------------------------------------------------------
       ¼ýÀÚ ¿ÜÀÇ ¹®ÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖÀ¸¸é ¸Þ¼¼Áö Ãâ·Â
	  -------------------------------------------------------------------------*/
	function OnlyNumber(string) {
		if (!f_chkOnlyNum(string)) {
			alert("¼ýÀÚ¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä");
			return false;
		}
		return true;
	}


    /*-------------------------------------------------------------------------
       ¼ýÀÚ ¿ÜÀÇ ¹®ÀÚ°¡ Æ÷ÇÔµÇ¾î ÀÖÀ¸¸é false ¸®ÅÏ
	  -------------------------------------------------------------------------*/
	function f_chkOnlyNum(string) {

		valid = "0123456789";
		for (var i=0; i< string.length; i++) {
			if (valid.indexOf(string.charAt(i)) == -1) {
				return false;
			}
		}
		return true;
	}


    /*-------------------------------------------------------------------------
       ¹®ÀÚ °ø¹éÀ» Á¦°ÅÇÏ°í ÀÔ·Â ¿©ºÎ Ã¼Å©
	  -------------------------------------------------------------------------*/
	function check_space(str) {

		if (str.search(/\S/)<0) {
			return false;
		}
		var temp=str.replace(' ','');
		if (temp.length == 0) {
			return false;
		}
		return true;
	}


    /*-------------------------------------------------------------------------
       °ø¹é¿©ºÎ Ã¼Å©
	  -------------------------------------------------------------------------*/
    function isEmpty( data ){
     for ( var i = 0 ; i < data.length ; i++ ){
        if ( data.substring( i, i+1 ) != " " )
            return false;
     }
     return true;
    }
  
    /*-------------------------------------------------------------------------
       ¹ÙÀÌÆ® ¼ö °è»ê °è»êÇÒ ½ºÆ®¸µ
	  -------------------------------------------------------------------------*/
	function calbyte(aquery) {

		var tmpStr;
		var temp=0;
		var onechar;
		var tcount;
		tcount = 0;
			 
		tmpStr = new String(aquery);
		temp = tmpStr.length;

		for (k=0;k<temp;k++) {
			onechar = tmpStr.charAt(k);
			onechar_1 = escape(onechar);
			if ( onechar_1.charAt(0) == "%" ) {
				onechar_1 = onechar_1.substring(1,2);
				switch ( onechar_1 ) {
				case "0":
				case "1":
				case "2":
				case "3":
				case "4":
				case "5":
				case "6":
				case "7":
					tcount++;
					break;
				default:
					tcount += 2;
					break;
				}
			}
			else if (onechar!='\r') {
				tcount++;
			}
		}
		return tcount;
	}


    /*-------------------------------------------------------------------------
       ÁÂÃø °ø¹éÁ¦°Å
	  -------------------------------------------------------------------------*/
	function ltrim(str) 
	{ 
	        var s = new String(str); 

	        if (s.substr(0,1) == " ") 
	                return ltrim(s.substr(1)); 
	        else 
	                return s; 
	} 

    /*-------------------------------------------------------------------------
       ¿ìÃø °ø¹éÁ¦°Å
	  -------------------------------------------------------------------------*/
	function rtrim(str) 
	{ 
	        var s = new String(str); 
	        if(s.substr(s.length-1,1) == " ") 
	                return rtrim(s.substring(0, s.length-1)) 
	        else 
	                return s; 
	} 


    /*-------------------------------------------------------------------------
       ÁÂ¿ìÃø °ø¹éÁ¦°Å 
	  -------------------------------------------------------------------------*/
	function trim(str) 
	{ 
	        return ltrim(rtrim(str)); 
	}

	function ISObject(objA) {
		return ( typeof(objA) == "object" ) 
	}

	function getOpenerWin(orgWin) {
		var retWin;
		if ( !ISObject(orgWin) || !ISObject(orgWin = orgWin.top) );
		else if ( ISObject(retWin = orgWin.dialogArguments) );
		else if ( ISObject(retWin = orgWin.opener) );
		return retWin;
	}


    /*-------------------------------------------------------------------------
       URL ÀÎÄÚµù
	  -------------------------------------------------------------------------*/
	function encode_url_para(org_para) {
		var i, ret = "", tmp_char, tmp_one_char;
		for(i=0;i<org_para.length;i++) {
			tmp_one_char = org_para.charAt(i);
			tmp_char = escape(tmp_one_char);
			if ( tmp_char.length == 3 && tmp_char.charAt(0) == "%" && !isNaN(tmp_char.charAt(1)) && tmp_char.charAt(1) < 8 )
				ret += tmp_char;
			else
				ret += tmp_one_char;	
		}
		return ret;
	}
	

    /*-------------------------------------------------------------------------
       ¹®ÀÚ¿­ ºñ±³ ÇÔ¼ö
	  -------------------------------------------------------------------------*/
	function strcmp(strA, strB) {
		return ( strA > strB ? 1 : ( strA == strB ? 0 : -1));
	}
	function streql(strA, strB) {
		return ( strcmp(strA, strB) == 0 );
	}
	function stricmp(strA, strB) {
		if ( typeof(strA) == "string" && typeof(strB) == "string" )
			return strcmp(strA.toUpperCase(),strB.toUpperCase());
		else
			return -1;
	}
	function strieql(strA, strB) {
		return ( stricmp(strA, strB) == 0 );
	}

	
    /*-------------------------------------------------------------------------
       ·¹ÀÌ¾î ³ëÃâ,¼û±è.
	  -------------------------------------------------------------------------*/
	function show_hide(a,s) {
		if ( a == "show" ) {
			field1 = "block";
			field2 = "static";
		} else if (a == "hide") {
			field1 = "none";
			field2 = "absolute";
		}
		for (i=0;i<document.all[s].length;i++) {
			document.all[s][i].style.display = field1;		
			document.all[s][i].style.position = field2;	
		}
	}

    /*-------------------------------------------------------------------------
       ÀÌ¹ÌÁö ¹öÆ°¿¡ ¸¶¿ì½º Over µÇ°í, Out µÉ ¶§ ¾²ÀÌ´Â ÇÔ¼ö..
	  -------------------------------------------------------------------------*/
    function onButtonRollover(obj, action)
    {
        // ÀÌ¹ÌÁö À§Ä¡ °ü·Ã Á¤º¸ È¹µæ ¹× ¼öÁ¤
        var strImageFullPath = new String(obj.src);
        var strImagePath;
        var strImageExt = obj.src.substring(strImageFullPath.length - 4, strImageFullPath.length);

        // ´ë»ó ÀÌ¹ÌÁö º¯°æ
        if (action=='over')
        {
            strImagePath = obj.src.substring(0, strImageFullPath.length - 4);
            obj.src = strImagePath + '_over' + strImageExt;
        }
        else
        {
            strImagePath = obj.src.substring(0, strImageFullPath.length - 9);
            obj.src = strImagePath + strImageExt;
         }
    }


    /*-------------------------------------------------------------------------
       ¸®½ºÆ®¿¡ ¸¶¿ì½º Over µÇ°í, Out µÉ ¶§ ¾²ÀÌ´Â ÇÔ¼ö
	  -------------------------------------------------------------------------*/
	function goListRollover(obj, color)
	{
		var strColor = color;

		obj.style.background = strColor;			
	}


    /*-------------------------------------------------------------------------
       Ã¼Å©¹Ú½º ¸ðµÎ Ã¼Å©,ÇØÁ¦
	  -------------------------------------------------------------------------*/
	var AllCheckFlag = 0 
	function selectAll(form) 
	{
					var f = form; //document.form
		
		for ( var i = 0; i < f.elements.length; i++) {
			var element = f.elements[i];
			
			if ( AllCheckFlag == 1 ) {
				element.checked = 0;
			} 
									else {
				element.checked = 1;
			}
		}

		if ( AllCheckFlag == 1 ) {
			AllCheckFlag = 0;
		} else {
			AllCheckFlag = 1;
		}
	}
	

    /*-------------------------------------------------------------------------
       Ã¼Å©¹Ú½º 1°³ÀÌ»ó À¯¹« Ã¼Å©
	  -------------------------------------------------------------------------*/
 	function chkBox(chkValue){
		var count;
		var chkValue;

		count = 0;

		for (i = 0; i < chkValue.length; i++)
		{
		if (chkValue[i].checked)
		count++;
		}
		if(count < 1){
		alert("1°³ ÀÌ»óÀ» ¼±ÅÃÇÏ¼¼¿ä.");
		return false;
		}
	}


    /*-------------------------------------------------------------------------
       À©µµ¿ì Ç×»ó À§
	  -------------------------------------------------------------------------*/
   function NewWindowTop(mypage,myname,w,h,scroll){ 
	  var winl = (screen.width-w)/2;
	  var wint = 0;
	  var settings  ='height='+h+',';
		  settings +='width='+w+',';
		  settings +='top='+wint+',';
		  settings +='left='+winl+',';
		  settings +='scrollbars='+scroll+',';
		  settings +='resizable=no';
		  settings +='directories=no';
		  settings +='titlebar=no';
		  settings +='toolbar=no';
		  settings +='location=no';
		  settings +='menubar=no';
	  win=window.open(mypage,myname,settings);
	  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
	}

    /*-------------------------------------------------------------------------
       ÆÒÇÈ°Ô½ÃÆÇ
	  -------------------------------------------------------------------------*/
	function fanficPoP()
	{

	var p;

	p = NewWindowTop("http://tvfxq.ilikepop.com/fanfic/index.asp","fanfic",616,600,1);
	}


    /*-------------------------------------------------------------------------
       ÆÒÇÈ°Ô½ÃÆÇ2
	  -------------------------------------------------------------------------*/
	function fanficPoP2()
	{

	var p;

	p = NewWindowTop("http://tvfxq.ilikepop.com/fanfic/index2.asp","fanfic",616,600,1);
	}

	/**********************************************************************************
	 Flash ÆÄÀÏ Ãß°¡ ½ºÅ©¸³Æ® 
    ***********************************************************************************/
	function loadFlash(filename,width,height,oMenu,oWmode)
	{	
		
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+ width +'" height="'+ height +'">'); 
		document.write('<param name="movie" value="'+ filename +'"><param name="quality" value="high">');

		if(oMenu)
			document.write('<param name="menu" value="false">');
		if(oWmode)
		{
			document.write('<PARAM NAME=wmode VALUE=transparent>'); 
			document.write('<embed src="'+ filename +'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+ height +'"></embed></object>');
		}
	}


	function mpOpen(conID)
	{
		window.open("http://player.smtown.com/Player/mediaPlay.asp?id=" + conID + "","prgMP","width=350, height=390");
		return ;
	}