﻿function switchTabs(sender) {

    // firstly get the display style for features, and swap accordingly....and set classes
    try {
        var featureContent = document.getElementById("featureContent");
        var priceContent = document.getElementById("priceContent");

        if (featureContent.style.display == '') {
            // show prices, hide features
            featureContent.style.display = 'none';
            priceContent.style.display = '';
            document.getElementById('liFeatures').setAttribute("class", "prodTabOff");
            document.getElementById('liFeatures').setAttribute("className", "prodTabOff");
            document.getElementById('liPrices').setAttribute("class", "prodTabOn");
            document.getElementById('liPrices').setAttribute("className", "prodTabOn");


        }
        else {
            // show features, hide prices
            featureContent.style.display = '';
            priceContent.style.display = 'none';
            document.getElementById('liFeatures').setAttribute("class", "prodTabOn");
            document.getElementById('liFeatures').setAttribute("className", "prodTabOn");
            document.getElementById('liPrices').setAttribute("class", "prodTabOff");
            document.getElementById('liPrices').setAttribute("className", "prodTabOff");
        }
    }

    catch (Error) { }
}



/* div layers for pricing info */
//#pricingheader li {
//  float:left;
//  background:url("/images/pricingheader/left.gif") no-repeat left top;
//  margin:0;
//  padding:0 0 0 9px;
//  }
//#pricingheader a {
//  float:left;
//  display:block;
//  background:url("/images/pricingheader/right.gif") no-repeat right top;
//  padding:5px 15px 4px 6px;
//  text-decoration:none;
//  font-weight:bold;
//  color:#765;
//  }
//  
