// JavaScript Document

<!--

var MM_contentVersion = 5;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
	var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}


// -->


function flash_bottom()
{

if ( MM_FlashCanPlay ) {

    var obTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="234" height="59"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
+ '<param name="movie" value="/fileadmin/images/home/hp_awards.swf" \/>'
+ '<param name="quality" value="high" \/>'
+ '<param name="wmode" value="transparent" \/>'
+ '<param name="bgcolor" value="#ffffff" \/>'

    + '<embed src="/fileadmin/images/home/hp_awards.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="234" height="59" align="middle">'
    + '<\/embed>'
    + '<\/object>';
    document.write(obTags);

} 
else{
document.write('<a href="http://www.infoworld.com/article/06/01/02/73433_01FEtoyawards_2.html"><IMG SRC="/fileadmin/images/home/award_static.gif" border=0></a>');
}

}

// write flash obj with query string
function writeFlash() {
	// appearance vars, these can be customized to your liking
	var width = '475'
	var height = '650'
	var src = 'video_pg.swf'
	// queries -- type in the variables you want to send to flash here
	var queries = '?vid='+QueryString('vid');

	// assemble flash obj
	var l1 = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'">';
	var l2 = '<param name="movie" value="/uk/overview/'+src+queries+'" />';
	var l3 = '<param name="quality" value="high" />' + '<param name="wmode" value="transparent" \/>';
	var l4 = '<embed src="/uk/overview/'+src+queries+'" quality="high" vmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed>';
	var l5 = '</object>';

	// write all lines
	document.write(l1+l2+l3+l4+l5)
}



