var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

function phChange1(){
document.ph.src="swf/nws_2007_result_noplugin1.jpg";
}
function phChange2(){
document.ph.src="swf/nws_2007_result_noplugin2.jpg";
}
function phChange3(){
document.ph.src="swf/nws_2007_result_noplugin3.jpg";
}
function phChange4(){
document.ph.src="swf/nws_2007_result_noplugin4.jpg";
}
function phChange5(){
document.ph.src="swf/nws_2007_result_noplugin5.jpg";
}

if (hasReqestedVersion) {  // if we've detected an acceptable version

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="470" height="390">');
document.write('<param name="movie" value="swf/nws_2007_result_ph.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<embed src="swf/nws_2007_result_ph.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="470" height="390"></embed>');
document.write('</object>');

} else {  // flash is too old or we can't detect the plugin

document.write('<img src="swf/nws_2007_result_noplugin1.jpg" alt="Winners for this year&#8217;s competition and photos from excellence award selection committee meeting" width="470" height="390" border="0" name="ph" usemap="#Map" />');
document.write('<map name="Map" id="Map">');
document.write('<area shape="rect" coords="10,360,72,379" href="JavaScript:phChange1();" />');
document.write('<area shape="rect" coords="85,360,147,379" href="JavaScript:phChange2();" />');
document.write('<area shape="rect" coords="159,360,221,379" href="JavaScript:phChange3();" />');
document.write('<area shape="rect" coords="234,360,297,379" href="JavaScript:phChange4();" />');
document.write('<area shape="rect" coords="309,360,371,379" href="JavaScript:phChange5();" />');
document.write('</map>');

}

