function CosmogirlLayout( adsFree, securedTemplates, headerAdFreeTemplates, template) {
    CoachesLayout.call(this, adsFree, securedTemplates, headerAdFreeTemplates, template);
    this.name = "cosmogirl";
}

CosmogirlLayout.prototype = new CoachesLayout();

CosmogirlLayout.prototype.getGoogleAnalytics = function(referrer, userType, requestMethod) {
    this.prepareGoogleAnalytics("cosmogirl_" + referrer, userType, requestMethod);
}

CosmogirlLayout.prototype.getCobrandMainLink = function() {
    return "http://www.cosmogirl.com";
}

CosmogirlLayout.prototype.getStyle = function() {
    return "<link rel=\"stylesheet\" type=\"text/css\" href=\"/index.aspx?template=cobrand_style.ascx\" />";
}

CosmogirlLayout.prototype.getLoginInfoNote = function() {
    return "<p>Note: If you have a login to <a href=\"http://www.cosmogirl.com\">www.cosmogirl.com</a>, you can use it here.</p>";
}

CosmogirlLayout.prototype.getAffiliateInclude= function () {
    return "cobrand_affiliate_include.ascx&style=cosmogirl";
}

CosmogirlLayout.prototype.getPopularSearchesString = function() {
    // TO UNCOMMENT WHEN WE HAVE  SOME CONTENT
    return '';
    return '<div id="home-popular_searches">' +
    '<h2>Popular Searches at Answerology</h2>'+
    '<table><tr>' +
    '<td width="33%">' +
    '<ul>' +
    '<li><a href="/index.aspx/answers/Anniversary-gift.html">Anniversary gift ideas</a></li>' + 
    '<li><a href="/index.aspx/answers/Best-friends.html">Best friends</a></li>' +
    '<li><a href="/index.aspx/answers/Weight-loss-program.html">Best weight loss program?</a></li>' +
    '<li><a href="/index.aspx/answers/Birth-control.html">Birth control</a> <a>/</a> <a href="/index.aspx/answers/Birth-control-pills.html">birth control pills</a></li>' +
    '<li><a href="/index.aspx/answers/Break-up.html">Break up stories</a></li>' +
    '</ul>' +
    '</td>'+
    '<td width="30%">' +
    '<ul>' +
    '<li><a href="/index.aspx/answers/Breast-cancer.html">Breast cancer</a></li>' +
    '<li><a href="/index.aspx/answers/Buying-a-new-car.html">Buying a new car</a></li>' +
    '<li><a href="/index.aspx/answers/Career-advice.html">Career-advice</a> <a>/</a> <a href="/index.aspx/answers/career-change.html">career change</a></li>' +
    '<li><a href="/index.aspx/answers/Child-support.html">Child support</a></li>' +
    '<li><a href="/index.aspx/answers/Christmas-gift.html">Christmas gift ideas</a></li>' +
    '</ul>' +
    '</td>' +
    '<td width="36%">' +
    '<ul>' +
    '<li><a href="/index.aspx/answers/Dating-advice.html">Dating advice</a></li>' +
    '<li><a class="second" href="/index.aspx/answers/car-insurance.html">Dealing with car insurance</a></li>' +
    '<li><a href="/index.aspx/answers/Diet-plan.html">Diet plan</a> <a>/</a> <a href="/index.aspx/answers/weight-loss-program.html">weight loss program</a></li>' +
    '<li><a href="/index.aspx/answers/Dress-up.html">Dress up questions</a></li>' +
    '<li><a href="/index.aspx?template=search_questions.ascx"><strong>See more popular searches</strong></a></li>' +
    '</ul>' +
    '</td>' +
    '</tr></table>' +
    '</div>';
}

CosmogirlLayout.prototype.getPopularSearchesFooterString = function() {
    // TO FINISH UPDATE - IMAGES ETC
    return '<div id="footer-home" style="border:1px solid #ccc;width:748px;background:url(/cobrands/cosmogirl/images/footer_bg.png) repeat-y">' + 
    '<a href="http://www.cosmogirl.com/" style="display:block;height:29px;position:relative" >' + 
    '<img class="pic" src="/cobrands/cosmogirl/images/footer-logo.png" alt="cosmogirl" style="position:aboslute;top:0;left:0" />' +
    '</a>' +
    '<div class="links">' + 
    '<ul>' + 
    '<li><a href="http://games.cosmogirl.com/">Games</a></li>' +
    '<li><a href="http://www.cosmogirl.com/horoscopes/">Horoscopes</a></li>' +
    '<li><a href="http://www.cosmogirl.com/funandgames/virtual-model">Virtual Fashion Model</a></li>' +
    '<li><a href="http://www.cosmogirl.com/fashion/style-wars/">Style Wars</a></li>' +
    '<li><a href="http://www.cosmogirl.com/freestuff/">Free Stuff</a></li>' +
    '<li><a href="http://www.cosmogirl.com/lifeadvice/sex-questions/">Sex Questions</a></li>' +
    '</ul>' +
    '<ul>' +
    '<li><a href="http://www.cosmogirl.com/funandgames/virtual-model">Virtual Model</a></li>' +
    '<li><a href="http://www.cosmogirl.com/entertainment/">Entertainment</a></li>' +
    '<li><a href="http://www.cosmogirl.com/fashion/diy/">Do-It-Yourself Fashion</a></li>' +
    '<li><a href="http://www.cosmogirl.com/beauty/get-the-look/">Get the Look</a></li>' +
    '<li><a href="http://www.cosmogirl.com/guys/love-stories/">Love Stories</a></li>' +
    '<li><a href="http://www.cosmogirl.com/beauty/">Beauty</a></li>' +
    '</ul>' +
    '<ul>' +
    '<li><a href="http://www.cosmogirl.com/lifeadvice/">Life Advice</a></li>' +
    '<li><a href="http://www.cosmogirl.com/lifeadvice/cg-wants-to-know/embarrassing-stories-call-out?click=main_sr">Embarrasssing Stories</a></li>' +
    '<li><a href="http://www.cosmogirl.com/guys/guide-to-guys/">Guide to Guys</a></li>' +
    '<li><a href="http://www.cosmogirl.com/fashion/">Fashion</a></li>' +
    '<li><a href="http://www.cosmogirl.com/entertainment/backstory/">Celebrities</a></li>' +
    '<li><a href="http://www.cosmogirl.com/quizzes-url-redirect?click=main_sr">Quizzes</a></li>' +
    '</ul>' +
    '</div>' +
    '</div>';
}

CosmogirlLayout.prototype.getSAccount = function() {
    return "hmagglobal,hmagcosmogirl";
}

CosmogirlLayout.prototype.getOmnitureChannel = function(pageName) {
    return "Answerology";
}

CosmogirlLayout.prototype.getOmniturePageName = function(pageName) {
    return "CosmoGIRL: " + pageName;
}

CosmogirlLayout.prototype.getOmnitureServer = function() {
    return "COG";
}

CosmogirlLayout.prototype.getOmnitureLinkInternalFilters = function() {
    return "javascript:,answerology.com, cosmogirl.com"
}
