var pid = "pIc0TMcO0Ahs7XanY3wCF7V9igZKprd7"
//----- Comm Manager ---------------------- 

    tpSetCommManagerID("commmanagerwidget");
    tpLoadExternalMediaJS("http://www.exercisetv.tv/pdk/4_2_3/js/tpExternal_WMP.js", "http://www.exercisetv.tv/pdk/4_2_3/js/tpExternal_QVT.js");

//----- Comm Manager ---------------------- 

    tpRegisterID("playerwidget");
    var so = new SWFObject("http://www.exercisetv.tv/pdk/4_2_3/swf/flvPlayer.swf", "playerwidget", "460", "380", "9.0.115.0");
    so.addParam("quality", "high");
    so.addParam("scale", "noscale");
    so.addParam("salign", "tl");
    so.addParam("menu", "false");
    so.addParam("allowScriptAccess", "always");
    so.addVariable("ID", "playerwidget");
    so.addParam("wmode", "transparent");
    so.addParam("allowFullScreen", "true");
    so.addParam("bgcolor", "#ffffff");
    so.addVariable("skinURL", "http://www.exercisetv.tv/pdk/4_2_3/swf/skinGlass.swf");
    so.addVariable("backgroundColor", "0xe5e5e5");
    so.addVariable("controlBackgroundColor", "0xcccccc");
    so.addVariable("controlColor", "0x505050");
    so.addVariable("controlFrameColor", "0xD4D7DB");
    so.addVariable("controlHighlightColor", "0xe41010");
    so.addVariable("controlHoverColor", "0xe41010");
    so.addVariable("controlSelectedColor", "0x484848");
    so.addVariable("frameColor", "0xdfdfdf");
    so.addVariable("loadProgressColor", "0xcccccc");
    so.addVariable("playProgressColor", "0xe41010");
    so.addVariable("textBackgroundColor", "0xcccccc");
    so.addVariable("textColor", "0x505050");
    so.addVariable("scrubberColor", "0x484848");
    so.addVariable("scrubberFrameColor", "0x484848");
    so.addVariable("scrubTrackColor", "0xffffff");
    so.addVariable("height", "380");
    so.addVariable("width", "344");
    so.addVariable('releaseURL', 'http://release.theplatform.com/content.select?pid='+ pid +'&UserName=Unknown&Embedded=False&Portal=exercisetv.tv&player=Crunch2010&Tracking=True');
	so.addVariable("emailServiceURL", "http://player.theplatform.com/ps/mail");
    so.addVariable("allowFullScreen", "true");
    so.addVariable("autoPlay", "true");
    so.addVariable("layoutUrl", "http://www.exercisetv.tv/pdk/4_2_3/data/metaLayout_glass2.xml");
    so.addVariable("showNav", "false");
	if (document.location.toString().indexOf( "http://www.exercisetv.tv/" ) != -1 || document.location.toString().indexOf( "http://www.exercisetv.tv/" ) != -1) {
	//Production Server - Change the condition above to reflect the production location or locations.
    so.addVariable("plugin0",	"type=tracking|URL=http://www.exercisetv.tv/pdk/4_0_3/swf/omnitureMedia_ecity.swf|account=comcastexercisetv|visitorNamespace=comcast.net|dc=112|debug=true|host=serviceo.comcast.net");
         } else {
        //Staging Server
    so.addVariable("plugin0","type=tracking|URL=http://www.exercisetv.tv/pdk/4_0_3/swf/omnitureMedia_ecity.swf|account=comcastexercisetvdev|visitorNamespace=comcast.net|dc=112|debug=true|host=serviceo.comcast.net");
    }
    so.write("playerDiv");
	
//----- Comm Manager ---------------------- 

    tpRegisterID("releaselistwidget");
    var so = new SWFObject("http://www.exercisetv.tv/pdk/4_2_3/swf/releaseList.swf", "releaselistwidget", "1", "1", "9.0.115.0");
    so.addParam("quality", "high");
    so.addParam("scale", "noscale");
    so.addParam("salign", "tl");
    so.addParam("menu", "false");
    so.addParam("allowScriptAccess", "always");
    so.addVariable("ID", "releaselistwidget");
    so.addParam("wmode", "transparent");
    so.addVariable("height", "1");
    so.addVariable("width", "1");
    so.addVariable("allowScrolling", "false");
    so.addVariable("columns", "1");
    so.addVariable("itemsPerPage", "500");
    so.addVariable("autoPlay", "true");
    so.addVariable("playAll", "true");
    so.addVariable("showAirdate", "false");
    so.addVariable("showAuthor", "false");
    so.addVariable("showBitrate", "false");
    so.addVariable("showDescription", "true");
    so.addVariable("showFormat", "false");
    so.addVariable("showLength", "true");
    so.addVariable("showThumbnail", "true");
    so.addVariable("showTitle", "true");
    so.addVariable("skinURL", "http://www.exercisetv.tv/pdk/4_2_3/swf/skinGlass.swf");
    so.addVariable("thumbnailHeight", "60");
    so.addVariable("thumbnailWidth", "80");
    so.addVariable("backgroundColor", "0xebebeb");
    so.addVariable("frameColor", "0xdfdfdf");
    so.addVariable("pageBackgroundColor", "0xffffff");
    so.addVariable("itemBackgroundColor", "0x969696");
    so.addVariable("itemBackgroundHoverColor", "0x969696");
    so.addVariable("itemBackgroundSelectedColor", "0x969696");
    so.addVariable("itemFrameColor", "0xb4b4b4");
    so.addVariable("itemShineHoverColor", "0xffffff");
    so.addVariable("itemShineSelectedColor", "0x484848");
    so.addVariable("textBackgroundColor", "0x969696");
    so.addVariable("textColor", "0xf0a0c8");
    so.addVariable("textFrameColor", "0xb4b4b4");
    so.addVariable("textHighlightHoverColor", "0xffffff");
    so.addVariable("textHighlightSelectedColor", "0x484848");
    so.addVariable("textHoverColor", "0xffffff");
    so.addVariable("textSelectedColor", "0x484848");
    so.addVariable("thumbnailBackgroundColor", "0xebebeb");
    so.addVariable("thumbnailFrameColor", "0xb4b4b4");
    so.addVariable("thumbnailHighlightHoverColor", "0xffffff");
    so.addVariable("thumbnailHighlightSelectedColor", "0x484848");
    so.addVariable("thumbnailPaddingColor", "0xffffff");
    so.write("releaselistDiv");

//----- Comm Manager ---------------------- 
    var so = new SWFObject("http://www.exercisetv.tv/pdk/4_2_3/swf/commManager.swf", "tpGetCommManagerID()", "412", "329", "9.0.115.0");
    so.addParam("allowScriptAccess", "always");
    so.addParam("wmode", "transparent");
    so.write("commmanagerDiv");






     

