var MM_contentVersion = 7;
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 getFlashHtml() { 
   if ( MM_FlashCanPlay ) {
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="625" height="542">');
		document.write('<param name="wmode" value="opaque" bgcolor="#FFFFFF" />');
		document.write('<param name="movie" value="http://news.zdnet.com/av/z/B2BVideo_mashup.swf" />');
		document.write('<param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" />');
	    document.write('<param name="FlashVars" value="' + args + '" />');  
		document.write('<embed src="http://news.zdnet.com/av/z/B2BVideo_mashup.swf" FlashVars="' + args + '" wmode="opaque" quality="high" bgcolor="#FFFFFF" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="625" height="542" />');
		document.write('</object>');     
	} else {
		document.write('<p><table bgcolor="#FFFFFF"><tr><td><b>Welcome to CNET\'s</b> new video experience for broadband users. You\'ll need Macromedia Flash to view our First Look videos. <b>Click the link below to download.</b></p>');
		document.write('<p><table width="300" cellpadding="0" cellspacing="0" border="0">');
		document.write('<tr align="center"><td width="70" rowspan="2"><img src="/i/fd/fl/mm_f.gif" alt="Macromedia Flash" border="0" width="60" height="60"></td><td width="230"><a href="http://www.download.com/3120-20_4-0.html?tg=dl-20&qt=flash%20player" target="_blank"><b class="a3">Macromedia Flash Player</b></a></td></tr>');
		document.write('<tr align="center"><td><a href="http://www.download.com/3120-20_4-0.html?tg=dl-20&qt=flash%20player" target="_blank"><img src="/i/fd/fl/dl_now.gif" alt="Download now!" border="0" width="190" height="40"></a></td></tr>');
		document.write('</table></td></tr></table></p>');
	}                 
}
        
/* stashing this hack for the email link here for now rather than loading the legacy script just for this function */
         

function sendThis() {
	var str = '<a href="mailto:';
	str += '?subject=News Video:' + maceTitle;
	str += "&body=";
	str += self.location;
	str += '   (The entire URL must be placed in the address line of your browser for this video to play)  " class="zd">';
	return (str);
}                  


