if(ph.indexOf('photo1')!=-1)
{
	pctmp=ph.split("&");
	pc=pctmp[0].split("=");
}

sf="/swf/"+sf+".swf";
if(document.all)
{
	if(flashinstalled>=2 && flashversion!=0 && flashversion>=6)
	{
		document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="360" HEIGHT="279" ID="tajmahal1">\n');
		document.write('<PARAM NAME="movie" VALUE="'+sf+'">\n');
		document.write('<PARAM NAME="quality" VALUE="high">\n');
		document.write('<PARAM NAME="bgcolor" VALUE="#FFFFFF">\n');
		document.write('<PARAM NAME="FLASHVARS" VALUE="'+ph+'">\n');
		document.write('<PARAM NAME="WMODE" VALUE="TRANSPARENT">\n');
		document.write('<EMBED SRC="'+sf+'" WIDTH="360" HEIGHT="279" NAME="3" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" FLASHVARS="'+ph+'" WMODE="TRANSPARENT">\n');
		document.write('</OBJECT>');
	}else
	{
	document.write('<img src="'+pc[1]+'" width="360" height="279"></img>');
	}
}else
{
		document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="360" HEIGHT="279" ID="tajmahal1">\n');
		document.write('<PARAM NAME="movie" VALUE="'+sf+'">\n');
		document.write('<PARAM NAME="quality" VALUE="high">\n');
		document.write('<PARAM NAME="bgcolor" VALUE="#FFFFFF">\n');
		document.write('<PARAM NAME="FLASHVARS" VALUE="'+ph+'">\n');
		document.write('<PARAM NAME="WMODE" VALUE="TRANSPARENT">\n');
		document.write('<EMBED SRC="'+sf+'" WIDTH="360" HEIGHT="279" NAME="3" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" FLASHVARS="'+ph+'" WMODE="TRANSPARENT">\n');
		document.write('</OBJECT>');
}
