			var isIE = false;
			if (BrowserDetect.browser == "Explorer")
				isIE = true;

			var minFlashVersion = "9.0.48";
			var mediaKey = gup('mediaKey');
			var image = gup('image');
			var autoplay = gup('autoplay');
			var expressInstall = "http://pdl.warnerbros.com/momlogic/us/video/player/expressInstall.swf";

			// Dyamically embed the inline player so that deep linking works

			// Embed the playlist
			var flashVars = {
				playlistId: 6
				};
			var params = { allowScriptAccess: "always",
				allowFullScreen: "false",
				quality: "high",
				bgcolor: "#ffffff"};
			var attributes = {name: "rrplaylist"};

			var swf = "http://pdl.warnerbros.com/momlogic/us/video/player/rightrail/rrplaylist.swf";
			//swf = "http://pdl.warnerbros.com/essence/us/video/player/videopage/playlist.swf";
			if (mediaKey && mediaKey != "") {
				flashVars.mediaKey = mediaKey;
				if (isIE)
					swf += '?rid=' + new Date().getTime();
			} else if (isIE) {
				swf += '?rid=' + new Date().getTime();
			}


			swfobject.embedSWF(swf, "rrplaylist", "298", "339", minFlashVersion, expressInstall, flashVars, params, attributes);
			
			flashVars = {
				videoPage: true,
				lcLevel: "Mom_Logic:General",
				lcIncludeContent: true};

			params = { allowScriptAccess: "always",
				allowFullScreen: "true",
				quality: "high",
				bgcolor: "#ffffff"};
			attributes = {name: "rightrail"};

			swf = "http://pdl.warnerbros.com/momlogic/us/video/player/rightrail/rightrail.swf";
			if (mediaKey && mediaKey != "")
				flashVars.mediaKey = mediaKey;
			if (image && image != "")
				flashVars.image = image;
			if (autoplay && autoplay != "")
				flashVars.autoplay = autoplay;

			if (isIE)
				swf += '?rid=' + new Date().getTime();


			swfobject.embedSWF(swf, "rightrail", "298", "360", minFlashVersion, expressInstall, flashVars, params, attributes);