function documentwrite(src){
		document.write(src);
}

function show_flash(url,width,height,bgcolor,id)
{
	var _object='';
	_object = _object+'<object ';
	if (id)
	{
		_object = _object+' id="'+id+'"';
	}
	_object = _object+ ' classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"';

	if (width)
	{
		_object = _object+' width="'+width+'" ';
	}

	if (height)
	{
		_object = _object+' height="'+height+'" ';
	}
	_object = _object+'align="absmiddle">';
	_object = _object+'<param name="allowScriptAccess" value="always" />';
	_object = _object+'<param name="movie" value="'+url+'" />';
	_object = _object+'<param name="quality" value="high" />';
	_object = _object+'<param name="wmode" value="transparent" />';
	if (bgcolor)
	{
		_object = _object+'<param name="bgcolor" value="'+bgcolor+'" />';
	}
	_object = _object+'<embed src="'+url+'" quality="high" ' 

	if (bgcolor)
	{
		_object = _object+' bgcolor="'+bgcolor+'" '
	}		

	if (width)
	{
		_object = _object+' width="'+width+'" ';
	}

	if (height)
	{
		_object = _object+' height="'+height+'" ';
	}

	_object = _object+' align="absmiddle" wmode="transparent" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	_object = _object+'</object>';
	document.write(_object);
}

function WriteEmbed(emb_id){ 
    document.write(document.getElementById(emb_id).value);
} 

function flashEmbed(source){
	document.write(source);
}

//<!--  LOG corp Web Analitics & Live Chat  START -->
function logCorpAScript(){
	HTTP_MSN_MEMBER_NAME="";/*member name*/
	var prtc=(document.location.protocol=="https:")?"https://":"http://";
	var hst=prtc+"cnf.http.or.kr";
	var rnd="r"+(new  Date().getTime()*Math.random()*9);
	this.ch=function(){
		if(document.getElementsByTagName("head")[0]){this.dls();}else{window.setTimeout(logCorpAnalysis.ch,30)}
	}
	this.dls=function(){
		var  h=document.getElementsByTagName("head")[0];
		var  s=document.createElement("script");s.type="text/jav"+"ascript";try{s.defer=true;}catch(e){};try{s.async=true;}catch(e){};
		if(h){s.src=hst+"/UsrConfig/etc/Conf_1_grimsam.js?s="+rnd;h.appendChild(s);}
	}
	this.init= function(){
		document.write('<img src="'+hst+'/[sr].gif?d='+rnd+'"  style="width:1px;height:1px;position:absolute;" alt="" onload="logCorpAnalysis.ch()" />');
	}
}
if(typeof logCorpAnalysis=="undefined"){ var logCorpAnalysis=new logCorpAScript();logCorpAnalysis.init(); }
//<!-- LOG corp Web Analitics & Live Chat END  --> 
