

function loadCosmoHeader() {		

	var html = "		{{{AGILITY_SCRIPT}}}					{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}<div class=\"TopSection\">{{{AGILITY_SCRIPT}}}    <div class=\"LeaderboardAd\">{{{AGILITY_SCRIPT}}}        <iframe src='http://www.cosmotv.ca/Pages/LeaderboardScript.aspx' name=\"LeaderboardScript\"{{{AGILITY_SCRIPT}}}            allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\" width=\"728px\" height=\"90px\"></iframe>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    <div class=\"SearchBar\">{{{AGILITY_SCRIPT}}}		{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}<div class=\"SearchBox\">{{{AGILITY_SCRIPT}}}    <div>{{{AGILITY_SCRIPT}}}        <input name=\"ctl02$ctl00$txtSearchFor\" type=\"text\" id=\"ctl02_ctl00_txtSearchFor\" value=\"type your search here\" onclick=\"SearchClick();\" onblur=\"FillSearchBox();\" class=\"Text\" onkeypress=\"return submitOnEnter(event);\" />{{{AGILITY_SCRIPT}}}        <input src=\"http://www.cosmotv.ca/Images/Buttons/Search.gif\" name=\"ctl02$ctl00$btnSearch\" type=\"image\" id=\"ctl02_ctl00_btnSearch\" class=\"Search\" onclick=\"submitSearch(); return false;\" />{{{AGILITY_SCRIPT}}}        <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}</div>{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}<script type=\"text/javascript\">{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    var SearchBoxWatermarkMessage = 'type your search here';{{{AGILITY_SCRIPT}}}    {{{AGILITY_SCRIPT}}}    function submitOnEnter(oEvent) {{{{AGILITY_SCRIPT}}}        if ((oEvent.keyCode && oEvent.keyCode == 13) || (oEvent.which && oEvent.which == 13)) {{{{AGILITY_SCRIPT}}}            $('#ctl02_ctl00_btnSearch').trigger('click');{{{AGILITY_SCRIPT}}}            return false;{{{AGILITY_SCRIPT}}}        }{{{AGILITY_SCRIPT}}}        return true;{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    function submitSearch() {{{{AGILITY_SCRIPT}}}        var txtSearchFor = $('#ctl02_ctl00_txtSearchFor');{{{AGILITY_SCRIPT}}}        if (txtSearchFor.val() != '' && txtSearchFor.val() != SearchBoxWatermarkMessage) {{{{AGILITY_SCRIPT}}}            window.location = 'http://www.cosmotv.ca/Search-Global.aspx?q=' + txtSearchFor.val();{{{AGILITY_SCRIPT}}}        }{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    function SearchClick() {{{{AGILITY_SCRIPT}}}        var txtBox = $('#ctl02_ctl00_txtSearchFor');{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}        if (txtBox.val() == SearchBoxWatermarkMessage) {{{{AGILITY_SCRIPT}}}            txtBox.val(\"\"){{{AGILITY_SCRIPT}}}        }{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    function FillSearchBox() {{{{AGILITY_SCRIPT}}}        var txtBox = $('#ctl02_ctl00_txtSearchFor');{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}        if (txtBox.val() == \"\") {{{{AGILITY_SCRIPT}}}            txtBox.val(SearchBoxWatermarkMessage){{{AGILITY_SCRIPT}}}        }{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}</script>{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    <div class=\"MenuContainer\" style=\"background-image: url(http://www.cosmotv.ca/Images/Theme/Menu-BG.png)\">{{{AGILITY_SCRIPT}}}        <div class=\"LoginContainer\">{{{AGILITY_SCRIPT}}}            <iframe src='http://www.cosmotv.ca/Pages/ExternalLogin.aspx' name=\"ExternalLogin\"{{{AGILITY_SCRIPT}}}				allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\" width=\"226px\" height=\"90px\"></iframe>{{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}        <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}        {{{AGILITY_SCRIPT}}}        <div class=\"NavContainer\">{{{AGILITY_SCRIPT}}}            <div class=\"MainNav\">{{{AGILITY_SCRIPT}}}                <a id=\"ctl02_mhlHome\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/CosmoTV-Logo.png')\" href=\"http://www.cosmotv.ca/Home.aspx\"><img src=\"http://www.cosmotv.ca/Images/CosmoTV-Logo.png\" alt=\"Cosmopolitan TV\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                <a id=\"ctl02_mhlHotGuys\" class=\"HotGuysLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Hot-Guys.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Hot-Guys-On.png')\" href=\"http://www.cosmotv.ca/Hot-Guys.aspx\"><img src=\"http://www.cosmotv.ca/Images/Menu/Hot-Guys.png\" alt=\"Hot Guys\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                <a id=\"ctl02_mhlSexAndDating\" class=\"SexAndDatingLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Sex-And-Dating.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Sex-And-Dating-On.png')\" href=\"http://www.cosmotv.ca/Sex-And-Dating.aspx\"><img src=\"http://www.cosmotv.ca/Images/Menu/Sex-And-Dating.png\" alt=\"Sex &amp; Dating\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                <a id=\"ctl02_mhlFashionAndBeauty\" class=\"FashionAndBeautyLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Fashion-And-Beauty.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Fashion-And-Beauty-On.png')\" href=\"http://www.cosmotv.ca/Fashion-And-Beauty.aspx\"><img src=\"http://www.cosmotv.ca/Images/Menu/Fashion-And-Beauty.png\" alt=\"Fashion &amp; Beauty\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                <a id=\"ctl02_mhlGirlTalk\" class=\"GirlTalkLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Girl-Talk.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Menu/Girl-Talk-On.png')\" href=\"http://www.cosmotv.ca/GirlTalk.aspx\"><img src=\"http://www.cosmotv.ca/Images/Menu/Girl-Talk.png\" alt=\"Girl Talk\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}            </div>{{{AGILITY_SCRIPT}}}            <div class=\"AltNavContainer\">{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                <div class=\"AltNav\">{{{AGILITY_SCRIPT}}}                    <a id=\"ctl02_mhlVideoLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/Video.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/Video-on.png')\" href=\"http://www.cosmotv.ca/Video.aspx\"><img src=\"http://www.cosmotv.ca/Images/Alt-Menu/Video.png\" alt=\"Video\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                    <a id=\"ctl02_mhlContestsLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/Contests.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/Contests-on.png')\" href=\"http://www.cosmotv.ca/Fun-Stuff/Contests.aspx\"><img src=\"http://www.cosmotv.ca/Images/Alt-Menu/Contests.png\" alt=\"Contests\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                    <a id=\"ctl02_mhlFunStuffLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/Fun-Stuff.png')\" onmouseover=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/Fun-Stuff-on.png')\" href=\"http://www.cosmotv.ca/Fun-Stuff.aspx\"><img src=\"http://www.cosmotv.ca/Images/Alt-Menu/Fun-Stuff.png\" alt=\"Fun Stuff\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                    <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}                </div>{{{AGILITY_SCRIPT}}}                <a id=\"ctl02_mhlOnTV\" class=\"OnTVLink\" onmouseout=\"MegaHyperLink_SwapImage(this, 'http://www.cosmotv.ca/Images/Alt-Menu/On-TV.png')\" href=\"http://www.cosmotv.ca/On-TV/All-Shows.aspx\"><img src=\"http://www.cosmotv.ca/Images/Alt-Menu/On-TV.png\" alt=\"On TV\" style=\"border-width:0px;\" /></a>{{{AGILITY_SCRIPT}}}                <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}            </div>{{{AGILITY_SCRIPT}}}            <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}        <div class=\"OnNowContainer\">{{{AGILITY_SCRIPT}}}            <a href=\"http://www.cosmotv.ca/On-TV/Full-Schedule.aspx\" class=\"ScheduleLink\">Full Schedule</a>{{{AGILITY_SCRIPT}}}            <span class=\"Divider\">|</span>{{{AGILITY_SCRIPT}}}            <span id=\"WhatsOnNow\"></span>{{{AGILITY_SCRIPT}}}            <img src=\"http://www.cosmotv.ca/Images/On-Now.gif\" alt=\"On Now\" class=\"OnNowImage\" />{{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}</div>{{{AGILITY_SCRIPT}}}<script type=\"text/javascript\">{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}	function MegaHyperLink_SwapImage(elem, src) {{{{AGILITY_SCRIPT}}}		if (elem.firstChild) {{{{AGILITY_SCRIPT}}}			elem.firstChild.src = src;{{{AGILITY_SCRIPT}}}		}{{{AGILITY_SCRIPT}}}	}{{{AGILITY_SCRIPT}}}	{{{AGILITY_SCRIPT}}}	function MegaImageButton_SwapImage(elem, src) {{{{AGILITY_SCRIPT}}}		elem.src = src;{{{AGILITY_SCRIPT}}}	}{{{AGILITY_SCRIPT}}}	{{{AGILITY_SCRIPT}}}</script>{{{AGILITY_SCRIPT}}}				";
	
	html = html.replace(/{{{AGILITY_SCRIPT}}}/g, "\n");
    html = '<div align="center"><div style="width:946px;" align="left">' + html + "</div></div>";
    document.write(html);
}

function loadCosmoSitemap() {
    var html = "{{{AGILITY_SCRIPT}}}                    {{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}<div class=\"Sitemap\">{{{AGILITY_SCRIPT}}}    <div class=\"Head\">{{{AGILITY_SCRIPT}}}        <div class=\"Text Left\"><img src='http://www.cosmotv.ca/Images/Sitemap.png' /></div>{{{AGILITY_SCRIPT}}}        <a href=\"javascript:void(0);\" onclick=\"ToggleSitemap();\" class=\"Click\"></a>{{{AGILITY_SCRIPT}}}        <a id=\"sitemap_hlContactUs\" class=\"Contact\" href=\"http://www.cosmotv.ca/Contact-Us.aspx\">Contact Us</a>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    <div style=\"padding-top:13px;background-color: #fef7fb; background-image: url(http://cache.cosmotv.ca/Themes/Pink/Pink-SitemapBG.jpg); background-repeat: no-repeat\">{{{AGILITY_SCRIPT}}}    <div class=\"MapTop\"></div>{{{AGILITY_SCRIPT}}}    <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}    <div class=\"Body\">{{{AGILITY_SCRIPT}}}    <div class=\"Map\">{{{AGILITY_SCRIPT}}}        <div class=\"Column1\">{{{AGILITY_SCRIPT}}}            {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/On-TV/All-Shows.aspx\" id=\"sitemap_rptColumn1_ctl00_A1\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        All Shows{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/On-TV/Full-Schedule.aspx\" id=\"sitemap_rptColumn1_ctl01_A1\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Schedule{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/Fun-Stuff/Contests.aspx\" id=\"sitemap_rptColumn1_ctl02_A1\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Contests{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/Be-on-TV.aspx\" id=\"sitemap_rptColumn1_ctl03_A1\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Be on TV{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}        <div class=\"Column2\">{{{AGILITY_SCRIPT}}}            {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/About-Us.aspx\" id=\"sitemap_rptColumn2_ctl00_A2\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        About Us{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/FAQs.aspx\" id=\"sitemap_rptColumn2_ctl01_A2\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        FAQs{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/Contact-Us.aspx\" id=\"sitemap_rptColumn2_ctl02_A2\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Contact Us{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}        <div class=\"Column3\">{{{AGILITY_SCRIPT}}}            {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/Terms-of-Use.aspx\" id=\"sitemap_rptColumn3_ctl00_A3\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Terms of Use{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/Privacy.aspx\" id=\"sitemap_rptColumn3_ctl01_A3\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Privacy Policy{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.corusent.com/home/Default.aspx\" id=\"sitemap_rptColumn3_ctl02_A3\" target=\"_blank\">{{{AGILITY_SCRIPT}}}                        Publicity{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}        <div class=\"Column4\">{{{AGILITY_SCRIPT}}}            {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.corusmedia.com/w/corus_gets_women\" id=\"sitemap_rptColumn4_ctl00_A4\" target=\"_blank\">{{{AGILITY_SCRIPT}}}                        Sales + Marketing{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/On-TV/Cosmo-M-Movies.aspx\" id=\"sitemap_rptColumn4_ctl01_A4\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        Movies{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}                    <a href=\"http://www.cosmotv.ca/How-to-Subscribe.aspx\" id=\"sitemap_rptColumn4_ctl02_A4\" target=\"_self\">{{{AGILITY_SCRIPT}}}                        How to Subscribe{{{AGILITY_SCRIPT}}}                    </a>{{{AGILITY_SCRIPT}}}                {{{AGILITY_SCRIPT}}}        </div>{{{AGILITY_SCRIPT}}}        <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}    <div id=\"sitemap_divSiteMapContainer\" class=\"Map MapBottom\" style=\"margin-top:0\">{{{AGILITY_SCRIPT}}}        <div class='Column1'><ul><li>&nbsp;</li><li><a><b>Shows</b></a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/A-Model-Life.aspx'>A Model Life</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Abbey-and-Janice-Beauty-and-the-Best.aspx'>Abbey and Janice Beauty and the Best</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/All-on-the-Line.aspx'>All on the Line</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/American-Princess.aspx'>American Princess</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Anna-and-Kristinas-Beauty-Call.aspx'>Anna and Kristinas Beauty Call</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Ashley-Paige-Bikini-or-Bust.aspx'>Ashley Paige Bikini or Bust</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Australian-Princess.aspx'>Australian Princess</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Bachelor-Pad.aspx'>Bachelor Pad</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Beach-Girls.aspx'>Beach Girls</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Beautiful-People.aspx'>Beautiful People</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Between-The-Sheets.aspx'>Between The Sheets</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Charlotte-and-Jordan-Runway-to-LA.aspx'>Charlotte and Jordan Runway to LA</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Charmed.aspx'>Charmed</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Coleens-Real-Women.aspx'>Coleens Real Women</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Courting-Alex.aspx'>Courting Alex</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Dawsons-Creek.aspx'>Dawsons Creek</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Dirty-Cows.aspx'>Dirty Cows</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Dirty-Dancing-Living-the-Dream.aspx'>Dirty Dancing Living the Dream</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Dirty-Sexy-Money.aspx'>Dirty Sexy Money</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Double-Exposure.aspx'>Double Exposure</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Extreme-Celebrities.aspx'>Extreme Celebrities</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Falcon-Beach.aspx'>Falcon Beach</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Felicity.aspx'>Felicity</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Fly-Girls.aspx'>Fly Girls</a></li></ul></div><div class='Column2'><ul><li>&nbsp;</li><li><a><b>Shows Cnt.</b></a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Friday-Night-Lights.aspx'>Friday Night Lights</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Friends.aspx'>Friends</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Goks-Fashion-Fix.aspx'>Goks Fashion Fix</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/HighSociety.aspx'>HighSociety</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Holidate.aspx'>Holidate</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Hollywoods-10-Best.aspx'>Hollywoods 10 Best</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/House-of-Glam.aspx'>House of Glam</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Jerseylicious.aspx'>Jerseylicious</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Ladette-to-Lady.aspx'>Ladette to Lady</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Lipstick-Jungle.aspx'>Lipstick Jungle</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Love-Inc.aspx'>Love Inc</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Love-Trap.aspx'>Love Trap</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Making-The-Cut.aspx'>Making The Cut</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Manhattan-Matchmaker.aspx'>Manhattan Matchmaker</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Manhunt.aspx'>Manhunt</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Men-In-Trees.aspx'>Men In Trees</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Miss-Match.aspx'>Miss Match</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Miss-Naked-Beauty.aspx'>Miss Naked Beauty</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Models-NYC.aspx'>Models NYC</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Nail-Files.aspx'>Nail Files</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Oh-So-Cosmo.aspx'>Oh So Cosmo</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Perfect-Bottom.aspx'>Perfect Bottom</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Queer-Eye-For-The-Straight-Girl.aspx'>Queer Eye For The Straight Girl</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Queer-Eye-For-The-Straight-Guy-UK.aspx'>Queer Eye For The Straight Guy UK</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Queer-Eye-For-The-Straight-Guy-US.aspx'>Queer Eye For The Straight Guy US</a></li></ul></div><div class='Column3'><ul><li>&nbsp;</li><li><a><b>Shows Cnt.</b></a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Rags-To-Red-Carpet.aspx'>Rags to Red Carpet</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Running-in-Heels.aspx'>Running in Heels</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Russian-Dolls.aspx'>Russian Dolls</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Sex-And-The-City.aspx'>Sex And The City</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Sex-Tips-For-Girls.aspx'>Sex Tips For Girls</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Side-Order-Of-Life.aspx'>Side Order Of Life</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Single-Girl-Diaries.aspx'>Single Girl Diaries</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Single-In-Atlanta.aspx'>Single In Atlanta</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Single-In-South-Beach.aspx'>Single In South Beach</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Smart-Cookies.aspx'>Smart Cookies</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Step-It-Up-And-Dance.aspx'>Step It Up And Dance</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Style-By-Jury.aspx'>Style By Jury</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Styleography.aspx'>Styleography</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Summerland.aspx'>Summerland</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Supersize-Vs-Superskinny.aspx'>Supersize Vs Superskinny</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Agency.aspx'>The Agency</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Bachelor.aspx'>The Bachelor</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Bachelorette.aspx'>The Bachelorette</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Class.aspx'>The Class</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Clothes-Show.aspx'>The Clothes Show</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Fashion-Show.aspx'>The Fashion Show</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Rachel-Zoe-Project.aspx'>The Rachel Zoe Project</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Smart-Woman-Survival-Guide.aspx'>The Smart Woman Survival Guide</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Starlet.aspx'>The Starlet</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-Truth-About-the-Sexes.aspx'>The Truth About the Sexes</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/The-World-According-to-Paris.aspx'>The World According to Paris</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Vanity-Lair.aspx'>Vanity Lair</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Veronica-Mars.aspx'>Veronica Mars</a></li><li><a href='http://www.cosmotv.ca/On-TV/All-Shows/Who-Are-You-Wearing.aspx'>Who Are You Wearing</a></li><li>&nbsp;</li><li><a><b>Categories</b></a></li><li><a href='http://www.cosmotv.ca/Sex-And-Dating.aspx' target='_self'>Sex & Dating</a></li><li><a href='http://www.cosmotv.ca/Fashion-And-Beauty.aspx' target='_self'>Fashion & Beauty</a></li><li><a href='http://www.cosmotv.ca/GirlTalk.aspx' target='_self'>Girl Talk</a></li></ul></div><div class='Column4'><ul><li>&nbsp;</li><li><a href='http://www.cosmotv.ca/My-Cosmo.aspx'><b>My Cosmo</b></a></li><li><a href='http://www.cosmotv.ca/Fun-Stuff/Contests.aspx' target='_self'>Contests</a></li></ul></div>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}</div>{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}<script type=\"text/javascript\">{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    var divSiteMapContainer = $('#sitemap_divSiteMapContainer');{{{AGILITY_SCRIPT}}}    var expandedText = \"Click to Shrink\";{{{AGILITY_SCRIPT}}}    var shrinkedText = \"Click to Expand\";{{{AGILITY_SCRIPT}}}    var sitemapClosed = true;{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    $(document).ready(function() {{{{AGILITY_SCRIPT}}}        divSiteMapContainer.hide();{{{AGILITY_SCRIPT}}}        $('.Sitemap .Head a:eq(0)').text(shrinkedText);{{{AGILITY_SCRIPT}}}    });{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    function ToggleSitemap() {{{{AGILITY_SCRIPT}}}        if (sitemapClosed) {{{{AGILITY_SCRIPT}}}            ShowSitemap();{{{AGILITY_SCRIPT}}}        }{{{AGILITY_SCRIPT}}}        else {{{{AGILITY_SCRIPT}}}            CloseSitemap();{{{AGILITY_SCRIPT}}}        }{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    function ShowSitemap() {{{{AGILITY_SCRIPT}}}    	$('.Sitemap .Head a:eq(0)').text(expandedText);{{{AGILITY_SCRIPT}}}        $('.Sitemap .Body').addClass('ExpandedBody');{{{AGILITY_SCRIPT}}}        divSiteMapContainer.slideDown();{{{AGILITY_SCRIPT}}}        sitemapClosed = false;{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}    function CloseSitemap() {{{{AGILITY_SCRIPT}}}    	$('.Sitemap .Head a:eq(0)').text(shrinkedText);{{{AGILITY_SCRIPT}}}    	$('.Sitemap .Body').removeClass('ExpandedBody');{{{AGILITY_SCRIPT}}}        divSiteMapContainer.slideUp();{{{AGILITY_SCRIPT}}}        sitemapClosed = true;{{{AGILITY_SCRIPT}}}    }{{{AGILITY_SCRIPT}}}    {{{AGILITY_SCRIPT}}}</script>{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}                ";
    html = html.replace(/{{{AGILITY_SCRIPT}}}/g, "\n");
    html = '<div align="center"><div style="width:946px;" align="left">' + html + "</div></div>";
    document.write(html);
}


function loadCosmoFooter() {		
	var html = "		{{{AGILITY_SCRIPT}}}					{{{AGILITY_SCRIPT}}}{{{AGILITY_SCRIPT}}}<div class=\"Footer\">{{{AGILITY_SCRIPT}}}    <div class=\"Border Left\"></div>{{{AGILITY_SCRIPT}}}    <div class=\"Content Left\">{{{AGILITY_SCRIPT}}}       <div class=\"CorusLogo Left\"><a target=\"_blank\" href=\"http://www.corusent.com\"><img alt=\"\" src=\"http://cache.cosmotv.ca/Corus-Logo.gif\" style=\"border: 0px solid;\" /></a></div>{{{AGILITY_SCRIPT}}}<div class=\"VLine\"></div>{{{AGILITY_SCRIPT}}}<div class=\"CorusWomen Left\"><img alt=\"\" usemap=\"#rade_img_map_1242914801129\" src=\"http://cache.wnetwork.com.s3.amazonaws.com/HomePage/Footer/CorusWomen-CosmoVersion.png\" style=\"border: 0px solid; width: 305px; height: 50px;\" /></div>{{{AGILITY_SCRIPT}}}<div class=\"Disclaimer Left\">{{{AGILITY_SCRIPT}}}<p>Cosmopolitan TV&reg; and COSMO TV&reg; are registered trademarks of Hearst Communications, Inc., used by Cosmopolitan Television Canada Company under licence. </p>{{{AGILITY_SCRIPT}}}<p>&nbsp;</p>{{{AGILITY_SCRIPT}}}<p>&copy;2012 Corus&reg; Entertainment Inc. All rights reserved.</p>{{{AGILITY_SCRIPT}}}<p>&nbsp;</p>{{{AGILITY_SCRIPT}}}<p><strong>More CosmoTV Information:</strong> &nbsp;{{{AGILITY_SCRIPT}}}<a href=\"http://cosmotv.ca/Privacy.aspx\">Privacy Policy</a>&nbsp; |&nbsp; <a href=\"http://cosmotv.ca/Terms-of-Use.aspx\">Terms of Use</a>&nbsp; |&nbsp; <a href=\"http://cosmotv.ca/Contact-Us.aspx\">Contact Us</a></p>{{{AGILITY_SCRIPT}}}<p><a href=\"http://cosmotv.ca/How-to-Subscribe.aspx\">How to Subscribe</a>&nbsp; |&nbsp;<a href=\"http://www.corusmedia.com/cosmo\" target=\"_blank\">Sales + Marketing</a>&nbsp; |&nbsp;<a href=\"http://www.corusent.com/home/Default.aspx\" target=\"_blank\">Publicity</a></p>{{{AGILITY_SCRIPT}}}<p>&nbsp;</p>{{{AGILITY_SCRIPT}}}<p><strong>Other Corus Sites:</strong><br />{{{AGILITY_SCRIPT}}}<strong>Corus kids:</strong> <a target=\"_blank\" href=\"http://ytv.com/\">YTV.com</a>&nbsp; |&nbsp; <a target=\"_blank\" href=\"http://treehousetv.com/\">TreehouseTV.com (kids)</a>&nbsp; |&nbsp; <a target=\"_blank\" href=\"http://www.nickcanada.com/\">NickCanada.com</a><br />{{{AGILITY_SCRIPT}}}<strong>Corus family:</strong> <a target=\"_blank\" href=\"http://treehousetv.com/\">TreehouseTV.com (parents)<br />{{{AGILITY_SCRIPT}}}</a><strong>More sites:</strong> <a target=\"_blank\" href=\"http://cmt.ca/\">CMT.ca</a>&nbsp; |&nbsp; <a target=\"_blank\" href=\"http://duskTV.ca/\" class=\"ApplyClass\">DuskTV.ca</a>&nbsp; |&nbsp; <a target=\"_blank\" href=\"http://moviecentral.ca/\">MovieCentral.ca</a>&nbsp; |&nbsp; <a target=\"_blank\" href=\"http://encoreavenue.ca/\">EncoreAvenue.ca</a>&nbsp; |&nbsp; <a target=\"_blank\" href=\"http://sundancechannel.ca/\" class=\"ApplyClass\">SundanceChannel.ca</a></p>{{{AGILITY_SCRIPT}}}</div>{{{AGILITY_SCRIPT}}}<map name=\"rade_img_map_1242914801129\" id=\"rade_img_map_1242914801129\">{{{AGILITY_SCRIPT}}}<area target=\"_blank\" href=\"http://ownca.oprah.com\" coords=\"70,10,136,41\" shape=\"RECT\" />{{{AGILITY_SCRIPT}}}<area coords=\"0,0,1,1\" shape=\"RECT\" />{{{AGILITY_SCRIPT}}}<area coords=\"0,0,1,1\" shape=\"RECT\" />{{{AGILITY_SCRIPT}}}<area target=\"_self\" href=\"http://cosmotv.ca\" coords=\"0,10,66,39\" shape=\"RECT\" />{{{AGILITY_SCRIPT}}}<area coords=\"0,0,1,1\" shape=\"RECT\" />{{{AGILITY_SCRIPT}}}<area target=\"_blank\" href=\"http://wnetwork.com\" coords=\"119,15,236,48\" shape=\"RECT\" />{{{AGILITY_SCRIPT}}}<area target=\"_blank\" href=\"http://wnetwork.com/Movies/WMovies.aspx\" coords=\"242,8,305,50\" shape=\"RECT\" /></map>{{{AGILITY_SCRIPT}}}    </div>{{{AGILITY_SCRIPT}}}    <div class=\"Border Left\"></div>{{{AGILITY_SCRIPT}}}    <div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}</div>{{{AGILITY_SCRIPT}}}<div class=\"Clear\"></div>{{{AGILITY_SCRIPT}}}				";
	
	html = html.replace(/{{{AGILITY_SCRIPT}}}/g, "\n");
    html = '<div align="center"><div style="width:946px;" align="left">' + html + "</div></div>";
    
	document.write(html);
}
