function swf(src,w,h,f_var){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
    html += '<param name="FlashVars" value="'+f_var+'">';
	html += '<param name="bgcolor" value="#ffffff">';
    html += '<param name="wmode" value="transparent">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" width="'+w+'" height="'+h+'" FlashVars="'+f_var+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" ><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function swf_2(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="left" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="left" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="allowScriptAccess" value="sameDomain">';
	html += '<param name="menu" value="false">';

	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" allowScriptAccess="sameDomain" menu="false" width="'+w+'" height="600" swliveconnect="true"  name="left" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function media_news(src,w,h) {
	html = '';
	html += '<OBJECT classid=CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95 width=265 height=219 id=MediaPlayer1 name=MediaPlayer1 style="LEFT: 300px; TOP: 0px" type=application/x-oleobject standby="Loading Microsoft?Windows?Media Player components...">';
	html += '<param name="AutoStart"            value="1">';
	html += '<param name="AutoSize"             value="1">';
	html += '<param name="AutoResize"           value="1">';
	html += '<param name="AnimationAtStart"     value="1">';
	html += '<param name="TransparentAtStart"   value="1">';
	html += '<param name="AutoRewind"           value="1">';
	html += '<param name="ShowDisplay"          value="0">';
	html += '<param name="ClickToPlay"          value="1">';
	html += '<param name="EnableContextMenu"    value="0">';
	html += '<param name="ShowPositionControls" value="0">';
	html += '<PARAM NAME="Filename" VALUE="'+src+'">';            
	html += '<embed width="'+w+'" height="'+h+'" type=video/asf>';
	html += '<\/embed>';        
	html += '<\/OBJECT>';
	//alert(html);
	document.write(html);
}

function callJava(str){
var aa=document.location.href

	return aa

	}
	
// °ø¹é °Ë»ç	
	function IsEmptyChk(strTmp)
	{
		var len,i;

		len = strTmp.length;
		
		for(i=0; i<len; i++)
		{
			if(strTmp.charAt(i)!=" ") return false;
		}

		return true;
	}

// Á¤¼ö °Ë»ç	
	function IsIntChk(strTmp)
	{
		var len, i, imsi;

		strTmp = "" + strTmp;

		if(IsEmptyChk(strTmp))
			return false;

		len = strTmp.length;
		
		for(i=0; i<len; i++)
		{
			imsi = strTmp.charAt(i);
			
			if(imsi<"0" || imsi>"9")
			{
				return false;
			}
		}

		return true;
	}
