
var out = "";
if (navigator.userAgent.match('Mobile') && navigator.userAgent.match('Safari')) { 
	out += '<object width="480" height="360" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">';
	out += '<param name="src" value="http://trailersfromhell.com/images/trailers/131_still.jpg" />';
	out += '<param name="href" value="/images/trailers/131.mp4" />';
	out += '<param name="target" value="myself" />';
	out += '<embed width="480" height="360" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" src="http://trailersfromhell.com/images/trailers/131_still.jpg" href="/images/trailers/131.mp4" target="myself"></embed>';
	out += '</object>';
} else {
	out += '<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="360" width="480" data="http://trailersfromhell.com/flv/player.swf">';
	out += '  <param name="allowScriptAccess" value="never" />';
	out += '  <param name="allowNetworking" value="internal" />';
	out += '  <param name="movie" value="http://trailersfromhell.com/flv/player.swf" />';
	out += '  <param NAME=FlashVars VALUE="image=http://trailersfromhell.com/images/trailers/131_still.jpg&file=http://trailersfromhell.com/images/trailers/131.flv&link=http://trailersfromhell.com/trailers/131">';
	out += '  <EMBED src="http://trailersfromhell.com/flv/player.swf" height="360" width="480" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" flashvars="image=http://trailersfromhell.com/images/trailers/131_still.jpg&file=http://trailersfromhell.com/images/trailers/131.flv&link=http://trailersfromhell.com"></EMBED>';
	out += '</object>';
}
document.writeln(out);

