
var MM_contentVersion = 6;
var MM_FlashCanPlay = false;
var MM_flashLocation = 'http://i.cnn.net/money/.element/img/1.0/sections/pf/features/holiday05/snowman_rollovers.swf';

var plugin = ( navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : null;

if ( plugin ) {
	var MM_PluginVersion = 0;
	var words = navigator.plugins["Shockwave Flash"].description.split( " " );
	for ( var i = 0; i < words.length; ++i ) {
		if ( isNaN( parseInt( words[i] ) ) )
			continue;
		MM_PluginVersion = words[i];
	}
	MM_FlashCanPlay = ( MM_PluginVersion >= MM_contentVersion );
} else if ( navigator.userAgent && ( navigator.userAgent.indexOf("MSIE") != -1 ) && ( navigator.appVersion.indexOf("Win") != -1 ) ) {
	document.writeln( '<script language="VBscript">' );
	document.writeln( 'on error resume next');
	document.writeln( '\'do a one-time test for a version of VBScript that can handle this code' );
	document.writeln( 'If ScriptEngineMajorVersion >= 2 then' );
	document.writeln( '  MM_FlashCanPlay = IsObject( CreateObject( "ShockwaveFlash.ShockwaveFlash." & MM_contentVersion ) )' );
	document.writeln( 'End If' );
	document.writeln( '<\/scr' + 'ipt>' );
}

if ( MM_FlashCanPlay && ( (navigator.appVersion.indexOf('Win') > 0) || (navigator.appVersion.indexOf('Mac') > 0) ) ) {
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0" WIDTH="336" HEIGHT="210" id="snowman_rollovers"><param name="wmode" value="transparent"><PARAM NAME="movie" VALUE="'+MM_flashLocation+'"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><EMBED src="'+MM_flashLocation+'" quality="high" wmode="transparent" bgcolor="#FFFFFF" WIDTH="336" HEIGHT="210" NAME="snowman_rollovers" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
} else {
	document.write('<a href="javascript:openWindow(\'/popups/2005/specials/holiday_gifts/frameset.1.exclude.html\',\'728x477\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=728,height=477\')"><img src="http://i.cnn.net/money/.element/img/1.0/sections/pf/features/holiday05/snowman_rollovers.jpg" width="336" height="210" border="0" alt="Holiday galleries" hspace="0" vspace="0"></a>');
}
