
var WidgetFlashCode = '<div class="WidgetHolder" style="display:none">';
WidgetFlashCode    += '<object type="application/x-shockwave-flash" data="http://widgets.clearspring.com/o/4922d7f9fff3f083/4922d86d272d5bad/4922d7f9fff3f083/f46a3eb" id="W4922d7f9fff3f0834922d86d272d5bad" width="304" height="606">';
WidgetFlashCode    += '<param name="movie" value="http://widgets.clearspring.com/o/4922d7f9fff3f083/4922d86d272d5bad/4922d7f9fff3f083/f46a3eb" />';
WidgetFlashCode    += '<param name="wmode" value="transparent" />';
WidgetFlashCode    += '<param name="allowNetworking" value="all" />';
WidgetFlashCode    += '<param name="allowScriptAccess" value="always" />';
WidgetFlashCode    += '</object>';
WidgetFlashCode    += '</div>';


var DownloadWidget = function() {
	Overlay.AddChildren("widget-download", WidgetFlashCode);
	Overlay.ShowChildren("widget-download", function() {
	
		jQuery("#OverlayBoxChildren-widget-download")
		.css({ border: "10px solid #fff", left: "50%", position: "absolute" })
		.css({ marginLeft: -152, top: (jQuery(window).scrollTop() + 50) });
	
		jQuery("#OverlayBoxChildren-widget-download").find(".WidgetHolder")
		.css({ display: 'block' });
	
	}, function() {});
};
