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

QuickAndSimpleLayout.prototype = new CoachesLayout();

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

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

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

QuickAndSimpleLayout.prototype.getLoginInfoNote = function() {
   return '<p>Note: If you have a screen name and password to <a href="http://www.quickandsimple.com">www.quickandsimple.com</a>, you can use it here.</p>';
}

QuickAndSimpleLayout.prototype.getAdditionalHeaderNav2Links = function() {
    return "<li><a href=\"/index.aspx?template=faq.ascx\">Help</a></li><li class=\"last\"><a href=\"http://www.quickandsimple.com\">Go to the Quick And Simple Home Page</a></li>";
}

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

QuickAndSimpleLayout.prototype.getPopularSearchesString = function() {
    // to update
    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?popular=true">Anniversary gift</a> ideas</li>' + 
    '<li><a href="/index.aspx/answers/Best-friends.html?popular=true">Best friends</a></li>' +
    '<li><a href="/index.aspx/answers/Weight-loss-program.html?popular=true">Best weight loss program?</a></li>' +
    '<li><a href="/index.aspx/answers/Birth-control.html?popular=true">Birth control</a> / <a href="/index.aspx/answers/Birth-control-pills.html?popular=true">birth control pills</a></li>' +
    '<li><a href="/index.aspx/answers/Break-up.html?popular=true">Break up</a> stories</li>' +
    '</ul>' +
    '</td>'+
    '<td width="30%">' +
    '<ul>' +
    '<li><a href="/index.aspx/answers/Breast-cancer.html?popular=true">Breast cancer</a></li>' +
    '<li><a href="/index.aspx/answers/Buying-a-new-car.html?popular=true">Buying a new car</a></li>' +
    '<li><a href="/index.aspx/answers/Career-advice.html?popular=true">Career-advice</a> / <a href="/index.aspx/answers/career-change.html?popular=true">career change</a></li>' +
    '<li><a href="/index.aspx/answers/Child-support.html?popular=true">Child support</a></li>' +
    '<li><a href="/index.aspx/answers/Christmas-gift.html?popular=true">Christmas gift</a> ideas</li>' +
    '</ul>' +
    '</td>' +
    '<td width="36%">' +
    '<ul>' +
    '<li><a href="/index.aspx/answers/Dating-advice.html?popular=true">Dating advice</a></li>' +
    '<li>Dealing with <a class="second" href="/index.aspx/answers/car-insurance.html?popular=true">car insurance</a></li>' +
    '<li><a href="/index.aspx/answers/Diet-plan.html?popular=true">Diet plan</a> / <a href="/index.aspx/answers/weight-loss-program.html?popular=true">weight loss program</a></li>' +
    '<li><a href="/index.aspx/answers/Dress-up.html?popular=true">Dress up</a> questions</li>' +
    '<li><a href="/index.aspx?template=search_questions.ascx"><strong>See more popular searches</strong></a></li>' +
    '</ul>' +
    '</td>' +
    '</tr></table>' +
    '</div>';
}

QuickAndSimpleLayout.prototype.getPopularSearchesFooterString = function() {
    // quick and simple
    return '<div id="footer-home">' + 
    '<a href="http://www.quickandsimple.com/" >' +
    '<img class="pic" src="/cobrands/quickandsimple/images/footer-logo.png" alt="quick and simple" />'+ 
    '</a>' +
    '<div class="links">' + 
    '<ul>' + 
    '<li><a href="http://www.quickandsimple.com/saving-money/coupons/">Free Coupons</a></li>' + 
    '<li><a href="http://www.quickandsimple.com/best-recipes/">Recipes</a></li>' + 
    '<li><a href="http://games.quickandsimple.com/">Games</a></li>' + 
    '</ul>  ' +
    '<ul>' + 
    '<li><a href="http://www.quickandsimple.com/fun/horoscopes/">Horoscopes</a></li>' + 
    '<li><a href="http://www.quickandsimple.com/fun/pet-pictures/">Cute Pet Photos</a></li>' + 
    '<li><a href="http://www.quickandsimple.com/sweepstakes-contests/">Win Stuff</a></li>' + 
    '</ul>  ' + 
    '<ul>' + 
    '<li><a href="http://www.quickandsimple.com/fun/inspirational-quotes/">Inspirational Mottos</a></li>' + 
    '<li><a href="http://www.quickandsimple.com/archives/diet-weight-loss/success-stories/10;1">Weight-Loss Success Stories</a></li>' + 
    '<li><a href="http://www.quickandsimple.com/natural-living-guide?natural_remedies">Natural Remedies</a></li>' + 
    '</ul>  ' + 
    '</div>' + 
    '</div>';
}

QuickAndSimpleLayout.prototype.getSAccount = function() {
    return "hmagglobal,hmagquickandsimple";
}

QuickAndSimpleLayout.prototype.getOmniturePageName = function(pageName) {
    // QAD
    return "Answerology: Quick & Simple" + pageName.replace(/Answerology/, '');
}

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

QuickAndSimpleLayout.prototype.getOmnitureServer = function() {
    return "QAS";
}
QuickAndSimpleLayout.prototype.getOmnitureLinkInternalFilters = function() {
    return "javascript:,answerology.com,quickandsimple.com";
}
