//var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
//if ( plugin ) {
//	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 7;
//}
//else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && navigator.userAgent.indexOf("Windows")>=0) {
//	document.write('<script type="text/vbscript"> \n');
//	document.write('  on error resume next \n');
//	document.write('  plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
//	document.write('</script\> \n');
//}
//if ( plugin ) {
	document.writeln('<object type="application/x-shockwave-flash" data="flash/gallery.swf" width="491" height="500" id="gallery">');
	document.writeln('  <param name="wmode" value="opaque" />');
	document.writeln('  <param name="movie" value="flash/gallery.swf">');
	document.writeln('  <param name="quality" value="high">');
	document.writeln('  <param name="menu" value="false">');
	document.writeln('  <param name="loop" value="0">');
	document.writeln('  <param name="FlashVars" value="imagesXml='+imagesXml+'">');
	document.writeln('  <embed src="flash/gallery.swf" width="491" height="500" loop="0" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" wmode="opaque" name="gallery"></embed>');
	document.writeln('</object>');
//} else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
//	document.write('<img src="flash/slideshow_1.jpg" width="491" height="500" border="0" alt="">');
//}