// JavaScript Document
// check version of flash under "flash tab" in the publish settings of the fla
// change the value of the flashversion variable if necessary
if ( flashversion >= 7 ) {
document.write('<!--[if !IE]><--> ');
// change the data="", width="", and height="" values
document.write('<object type="application/x-shockwave-flash" data="../flash/Trine_HP_Text_Full.swf" width="786" height="180">');
document.write('<param name="base" value="." />');
document.write('<param name="wmode" value="transparent" />');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
// change value=""
document.write('<param name="movie" value="../flash/Trine_HP_Text_Full.swf" />');
// if using a different image for "no-flash" change the path to the image, as well as height and width
document.write('<a href="#" id="noFlashImage" title="Please download flash for an even better experience"><img src="images/noFlash.jpg" alt="Please download flash for an even better experience" height="180" width="786" /></a>');
document.write('</object>');
document.write('<!--><![endif]--> ');
document.write('<!--[if IE]> ');
// only change width="" and height="" values
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" wmode="transparent" width="786" height="180" id="HomeFlash">');
document.write('<param name="base" value="." />');
document.write('<param name="wmode" value="transparent" />');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
// change value=""
document.write('<param name="movie" value="../flash/Trine_HP_Text_Full.swf" />');
// if using a different image for "no-flash" change the path to the image, as well as height and width
document.write('<a href="#" id="noFlashImage" title="Please download flash for an even better experience"><img src="images/noFlash.jpg" alt="Please download flash for an even better experience" height="180" width="786" /></a>');
document.write('</object>');
document.write('<![endif]--> ');
} else {
// if using a different image for "no-flash" change the path to the image, as well as height and width
document.write('<a href="#" id="noFlashImage" title="Please download flash for an even better experience"><img src="images/noFlash.jpg" alt="Please download flash for an even better experience" height="180" width="786" /></a>');
}
