function esIE(){
var browserType=navigator.userAgent;
if (browserType.indexOf("MSIE")==-1) {
	return false;}
else{
	return true;}
}
if(typeof Flash=='undefined'){
	var Flash=new Object();
}
if(typeof Flash.url=='undefined'){
	var url='';
}
if(typeof Flash.id=='undefined'){
	var id='';
}
if(typeof Flash.width=='undefined'){
	var width='';
}
if(typeof Flash.height=='undefined'){
	var height='';
}
if(typeof Flash.bgcolor=='undefined'){
	var bgcolor='';
}
if(typeof Flash.wmode=='undefined'){
	var wmode='';
}

{

	Flash.FlashObject=function(_url, _id, _width, _height, _bgcolor, _wmode,_variable){
		if(!document.createElement||!document.getElementById){
			return;
		}
		this.url = _url;
		this.id = _id;
		this.width = _width;
		this.height = _height;
		this.bgcolor = _bgcolor;
		this.wmode = _wmode;
		this.variable = _variable;
	};

	Flash.FlashObject.prototype={
		Mostrar:function(){
			document.write('<object id='+this.id+' classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width='+this.width+' height='+this.height+'>\n');
			document.write('<param name=movie value='+this.url+'>\n');
			document.write('<param name=quality value=high>\n');
			if (esIE()) {
				if (this.wmode != '') {
					document.write('<param name=wmode value=transparent>\n');
					document.write('<param name=menu value=false>\n');
				}
				if (this.variable != '') {
					document.write('<PARAM NAME=FlashVars VALUE='+this.variable+'>');
				}
			}
			if (this.variable != '') {
				document.write('<PARAM NAME=FlashVars VALUE='+this.variable+'>');
			}
			if (this.bgcolor != '') {
				document.write('<param name=bgcolor VALUE='+this.bgcolor+'>');
			}
			document.write('<embed wmode=transparent src='+this.url+' quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width='+this.width+' height='+this.height+' FlashVars='+this.variable+'></embed>\n');
			document.write('</object>\n');
		}
	};

}
var FlashObject=Flash.FlashObject;

