function generateFlash2(flash,width,height,xmlpath){
	var str = '';
	str+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="start" align="middle">'
	str+='<param name="movie" value="'+flash+'" />'
	str+='<param name="quality" value="high">'
	str+='<param name="wmode" value="transparent" />'
	if(xmlpath == undefined){
		xmlfile = "images.xml.php";
	}else{
		xmlfile = xmlpath;
	}
	str+='<param name="FlashVars" value="xml='+xmlfile+'">'
	str+='<embed src="'+flash+'" '
	str+='wmode="transparent" '
	str+='quality="high" '
	str+='width="'+width+'" height="'+height+'" name="start" FlashVars="xml='+xmlfile+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	str+='</object>';
	document.write(str);
	//alert(str);
}