if(!document.getElementById("simplyScripts")) document.write("
"); if(included_files == undefined) var included_files = new Array(); function include_dom(script_filename) { var noCacheIE = '&noCacheIE=' + (new Date()).getTime(); var html_doc; var js = document.createElement('script'); //html_doc = document.getElementsByTagName('head').item(0); html_doc = document.getElementById("simplyScripts"); js.setAttribute('language', 'javascript'); js.setAttribute('type', 'text/javascript'); js.setAttribute("charset", "utf-8"); js.setAttribute('src', script_filename); html_doc.appendChild(js); return false; } function include_once(script_filename) { if (!in_array(script_filename, included_files)) { included_files[included_files.length] = script_filename; include_dom(script_filename); } } function in_array(needle, haystack) { for (var i = 0; i < haystack.length; i++) { if (haystack[i] == needle) { return true; } } return false; } include_once('http://www.google-analytics.com/ga.js'); include_once('http://www.simply.tv/simply2/distribution/players/google_analytics.js'); /* FlashReplace is developed by Robert Nyman, http://www.robertnyman.com. License and downloads: http://code.google.com/p/flashreplace/ */ // --- var FlashReplace = { elmToReplace : null, flashIsInstalled : null, defaultFlashVersion : 7, replace : function (elmToReplace, src, id, width, height, version, params){ this.elmToReplace = document.getElementById(elmToReplace); this.flashIsInstalled = this.checkForFlash(version || this.defaultFlashVersion); if(this.elmToReplace && this.flashIsInstalled){ var obj = ''; this.elmToReplace.innerHTML = obj + param + extraParams + embed + embedEnd + objEnd; } }, checkForFlash : function (version){ this.flashIsInstalled = false; var flash; if(window.ActiveXObject){ try{ flash = new ActiveXObject(("ShockwaveFlash.ShockwaveFlash." + version)); this.flashIsInstalled = true; } catch(e){ // Throws an error if the version isn't available } } else if(navigator.plugins && navigator.mimeTypes.length > 0){ flash = navigator.plugins["Shockwave Flash"]; if(flash){ var flashVersion = navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/, "$1"); if(flashVersion >= version){ this.flashIsInstalled = true; } } } return this.flashIsInstalled; } }; // --- var flashVars = new Object(); flashVars["PlayerID"] = "1704111452"; flashVars["PlayerName"] = "iVillage Editorial - Beauty - For Single Title Editorials"; flashVars["publisherID"] = "495713462"; flashVars["flashID"] = "myExperience"; flashVars["ChannelID"] = "6"; flashVars["ChannelName"] = "Beauty Zone"; flashVars["WebDomain"] = "beautyzone.tv"; flashVars["PlayerCategoryID"] = "1"; flashVars["ReportSuite"] = "simply-beauty-channel1"; flashVars["PlayerReportSuite"] = "simply-beauty-site1"; flashVars["SiteLevelTracking"] = "0"; flashVars["bctid"] = "718840579"; flashVars["bclid"] = "718840634"; flashVars["Width"] = "300"; flashVars["Height"] = "300"; flashVars["AutoStart"] = "false"; if(playGAAccounts == undefined) var playGAAccounts = new Array(); playGAAccounts['UA-6345184-1'] = 'UA-6345184-1'; var player_config_base_url = "http://www.simply.tv/simply2/"; var bgUrl = ""; var flashId = "flashObj"; var tags = new Object(); tags["2"] = "se"; tags["3"] = "music,interview,News,AV11Film,amusing,Avenue11"; tags["4"] = "foodzone,cookery and nutrition"; tags["5"] = "baby channel"; tags["6"] = "BeautyZone"; tags["7"] = "bookzone"; tags["8"] = "GTV Growing,GTV Maintenance,GTV Veg,GTV Equipment"; tags["9"] = "healthzone"; tags["10"] = "astrozone"; tags["11"] = "_ch_GolfBug"; tags["12"] = "SSM_Snowzone_Master"; tags["13"] = "SSM_Breaksweat"; function GetSimplyTVTags() { var simplyTVTags = ""; var firstTime = true; for (var key in tags) { if (key == "11" || key == "12" || key == "13") { continue; } if (firstTime) { firstTime = false; } else { simplyTVTags += ","; } simplyTVTags += tags[key]; } return simplyTVTags; } document.write(""); function outputPlayer(divID, config) { var content; if (DetectFlashVer(8, 0, 0)) { //append a random number to the end of the loader url so that latest version of the loader is always retrieved var randomNum = Math.random().toString(); randomNum = randomNum.substr(2, randomNum.length); var loaderUrl = player_config_base_url + "flash/player_loader.swf?rand=" + randomNum; // params from javascript config["FlashId"] = flashId; config["SearchTags"] = (config["ChannelID"] == "1" ? GetSimplyTVTags() : tags[config["ChannelID"]]); config["SearchUIUrlPath"] = player_config_base_url; config["BgUrl"] = bgUrl; config["HostDomain"] = document.domain; config["HostPage"] = document.URL; config["Referrer"] = document.referrer; config["DefaultVideoID"] = GetParameter("bctid", "-1"); config["DefaultLineupID"] = GetParameter("bclid", "-2"); config["lineupView"] = true; var flashVars = GetFlashVarsValue(config); var wMode; if(config["wmode"] != undefined){ wMode = config["wmode"]; } else { wMode = "window"; } //params for flash tags var width = config["Width"]; var height = config["Height"]; var bgHex = (config["BgColor"] == undefined ? "#ffffff" : config["BgColor"]); content = ""; } else { content = GetAlternativeContent(width, height, bgHex); } document.getElementById(divID).innerHTML = content; } function GetAlternativeContent(width, height, bgColor) { var alt = "";
alt = alt + " ";
alt = alt + " |