showHead=function(src,id,bgcolor){
	if(bgcolor==null)
	{
		bgcolor="#ffffff";
	}
	this.src=src.replace(/\.swf$/i,"");
	this.id=id;
	this.bgcolor=bgcolor;
	this.xmlData=null;
}
showHead.prototype={
	show:function(){
		if (AC_FL_RunContent == 0){
			alert("ดหาณะ่าช AC_RunActiveContent.js");
		}else{
			AC_FL_RunContent(
				"codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0",
				"pluginspage","http://www.macromedia.com/go/getflashplayer","align","middle","play","true","loop",
				"true","scale","showall","wmode","window","devicefont","false","menu","false","allowFullScreen",
				"false","allowScriptAccess","sameDomain","salign","","quality","high","width","1000","height","35",
				"bgcolor",this.bgcolor,
				"id",this.id,
				"name",this.id,
				"movie",this.src,
				"src",this.src,
				"flashvars",this.xmlData
			);
		}
	},
	setDataXML:function(xmlstring){
		this.xmlData="xmlType=xml&xmlData="+xmlstring.replace(/\"/ig,"'");
	},
	setFileXML:function(filename){
		this.xmlData="xmlType=file&xmlData="+filename;
	}
}
