// JavaScript Document

function RunFooMain()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="960" height="623" id="onlineCatalogGateway_1" align="middle">\n');
   document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
   document.write('<param name="wmode" value="transparent">\n');
	document.write('<param name="movie" value="onlineCatalogGateway_1.swf" />\n');
	document.write('<param name="FlashVars" value="webPage=main" />\n');
   document.write('<param name="quality" value="high" />\n');
   /* document.write('<param name="bgcolor" value="#ffffff" />\n'); */
   document.write('<embed src="onlineCatalogGateway_1.swf" quality="high" width="960" height="512" name="onlineCatalogGateway_1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" />\n');//bgcolor="#bbbbbb"
   document.write('</object>\n');
}

function RunFooSWFObj()
{
	var flashvars = {};
		var params = {};
		params.loop = "false";
		params.quality = "high";
		params.scale = "noscale";
		/* params.bgcolor = "#ffffff"; */
		params.wmode = "transparent";
		params.allowfullscreen = "false";
		params.allowscriptaccess = "sameDomain";
		var attributes = {};
		attributes.id = "myAlternativeContent";
		attributes.name = "fsvideo";
		attributes.align = "middle";
		
		swfobject.embedSWF("onlineCatalogGateway_1.swf", "myAlternativeContent", "960", "512", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
		
		document.getElementById("ad_contentWrapper").style.backgroundImage = "url(http://www.staplesadvantage.com/catalogs/images/carousel_bg.png)";
		document.getElementById("ad_contentWrapper").style.backgroundRepeat = "no-repeat";
		document.getElementById("ad_contentWrapper").style.marginLeft = "-25px";
		document.getElementById("flash_wrapper").style.marginLeft = "25px";
		document.getElementById("flash_wrapper").style.marginTop = "-1px";
}

