// ------- Global Variables ---------

// Show options under the main products? (i.e. Digipic Options)
var showOptions = false;

// Where to go when "ORDER NOW" is clicked
var orderPageURL = '../../smartbox/smartbox_routing.aspx';	
var orderPageURLplg = '../../smartbox/smartbox_routing_plg.aspx';

// -------- CABLE ---------------
var cablePackCodes = new Array();
cablePackCodes[0] = 'digital';  // digital code
cablePackCodes[1] = 'cpst';		// cpst code
cablePackCodes[2] = 'bst';      // BST code
cablePackCodes[3] = 'digitalaccess'; // Digital Access code

// -------- HSO ---------------
var hsdPackCodes = new Array();
hsdPackCodes[0] = 'rr';		
hsdPackCodes[1] = 'rrturbo';		
hsdPackCodes[2] = 'rrbasic';		
hsdPackCodes[3] = 'rrlite';		

// -------- Phone ---------------
var dpPackCodes = new Array();
dpPackCodes[0] = 'national';		// national
dpPackCodes[1] = 'carolinas';		// carolinas
dpPackCodes[2] = 'local';		// carolinas

// -------- Wireless -----------
var wirePackCodes = new Array();
wirePackCodes[0] = 'natelite';
wirePackCodes[1] = '4gelite';
wirePackCodes[2] = '4gchoice';

// South Carolina overbuild areas.  These are checked so that the proper HSD pricing is displayed.
var SCoverbuilds = new Array();
SCoverbuilds[0] = '50:15:425'; // Dorchester County
SCoverbuilds[1] = '50:15:428'; // Charleston County
SCoverbuilds[2] = '50:15:430'; // Summerville
SCoverbuilds[3] = '50:15:435'; // Berkerly County
SCoverbuilds[4] = '50:15:440'; // Lincolnville
SCoverbuilds[5] = '50:15:445'; // North Charleston
SCoverbuilds[6] = '50:15:450'; // Ridgeville
SCoverbuilds[7] = '89:66:645'; // Beaufort County/Sun City
SCoverbuilds[8] = '89:66:650'; // Jasper County/Sun City

// East Carolina overbuild areas.  These are checked so proper HSD speeds are displayed.
ECoverbuild = '58:89:012';

// Main Smartbox services, descriptions and prices
// DIGITAL CABLE
var digitalCableName = "Digital Cable";
var digitalCableDescription = "Access to over 300 channels, Digital Programming Tier, on-screen program guide and On Demand programming. Upgrade to HD at no additional cost.";
var digitalCableDisclaimer = "* Premium services, additional programming tiers and additional outlets are not included. Pricing does not include franchise fees or taxes.";
var digitalCablePrice = 49.95;                  // For 12 months
var digitalCablePriceTriple = 39.95;            // Part of $39.95 x 3 triple play
var digitalUpgPrice = 9.95;                     // Upgrade to Digital for $9.95/mo
var digitalUpgDisclaimer = "* In addition to your Basic Cable rate.  Regular Digital Cable rates apply after the 12-month period.";

// DIGITAL ACCESS
var digitalAccessName = "Digital Access";
var digitalAccessDescription = "Access to over 180 channels, on-screen program guide and On Demand programming. Upgrade to HD at no additional cost.";
var digitalAccessDisclaimer = "* Digital Programming Tier, Premium services and additional outlets are not included. Pricing does not include franchise fees or taxes.";
var digitalAccessBundlePrice = 29.95;
var digitalAccessSalePrice = 39.95;

// DVR
var DVRName = "Digital Video Recorder (DVR) Service";
var DVRDescription = "Record and store your favorite programs, plus pause and rewind live TV.  Upgrade to an HD DVR at no additional cost.";
var DVRDisclaimer = "* In addition to your Digital Cable rate.";
var DVRPrice = 9.95;
var DVRPriceEastCar = 10.95;
var DVRPriceWilson = 7.95;

// BASIC CABLE (CPST)
var CPSTName = "Basic Cable";
var CPSTDescription = "Up to 75 of your favorite TV channels including local channels.";
var CPSTDisclaimer = "* Estimated amount based on zip code but can vary by specific street address and is subject to change. Pricing does not include franchise fees or taxes.";
var CPSTPriceTriple = 29.95;                    // Part of $29.95 x 3 triple play
var CPSTPriceSale = 29.95;                      // Standalone offer price

// BROADCAST CABLE (BST)
var BSTName = "Broadcast Cable";
var BSTDescription = "Your popular local, network, community and public affairs channels.";
var BSTDisclaimer = "* Estimated amount based on zip code but can vary by specific street address and is subject to change. Pricing does not include franchise fees or taxes.";
var BSTOfferPrice = 7.95;                       // Special BST Offer rate (DTV)

// ROAD RUNNER STANDARD
var HSDDisclaimer = "** Pricing does not include franchise fees or taxes.";
var HSDSaleDisclaimer = "** Pricing does not include franchise fees or taxes.  Sale price available for new Road Runner customers only.  Regular rate applies after the 6-month discount period.";

var rrStdName = "Road Runner Standard";
var rrStdDescription = "Up to 7 Mbps download speed and 384 Kbps upload speed.";
var rrStdDescriptionOB = "Up to 10 Mbps download speed and 768 Kbps upload speed.";
//var rrStdPriceAlone = 49.95;                    
var rrStdPriceAlone = 54.95;                    // Standalone
var rrStdPriceAloneWilson = 46.95;              // Standalone, Wilson overbuild
var rrStdPriceCPST = 47.95;                     // With BST/CPST or Phone
var rrStdPriceCPSTWilsonChar = 44.95;           // With BST/CPST or Phone (Wilson and Charlotte)
var rrStdPriceDC = 42.95;                       // With Digital Cable
var rrStdPriceDCSC = 44.95;                     // With Digital Cable (SC - non overbuild)
var rrStdPriceDCWilson = 39.95;                 // With Digital Cable (Wilson)
var rrStdPriceSummer = 42.95;                   // Summerville overbuild price
var rrStdSale = 29.95;                          // Sale price

// ROAD RUNNER TURBO
var rrTurboName = "Road Runner Turbo";
var rrTurboDescription = "Up to 10 Mbps download speed and 512 Kbps upload speed. Includes PowerBoost&trade;, which gives an extra burst of speed to download big files.";
var rrTurboDescriptionOB = "Up to 15 Mbps download speed and 2 Mbps upload speed. Includes PowerBoost&trade;, which gives an extra burst of speed to download big files.";
var rrTurboDisclaimer = " In addition to your Road Runner Standard rate.";
var rrTurboAddPrice = 9.95;                     // Additional 9.95 to Standard
var rrTurboPriceAlone = rrStdPriceAlone + rrTurboAddPrice; // Standalone
var rrTurboPriceAloneWilson = rrStdPriceAloneWilson + rrTurboAddPrice;
var rrTurboPriceCPST = rrStdPriceCPST + rrTurboAddPrice;   // With BST/CPST or Phone
var rrTurboPriceCPSTWilsonChar = rrStdPriceCPSTWilsonChar + rrTurboAddPrice;
var rrTurboPriceDC = rrStdPriceDC + rrTurboAddPrice;       // With Digital Cable
var rrTurboPriceDCSC = rrStdPriceDCSC + rrTurboAddPrice;   // With Digital Cable (SC)
var rrTurboPriceDCWilson = rrStdPriceDCWilson + rrTurboAddPrice;
var rrTurboPriceSummer = rrStdPriceSummer + rrTurboAddPrice;
var rrTurboSale = rrStdSale + rrTurboAddPrice;

// ROAD RUNNER BASIC
var rrBasicName = "Road Runner Basic";
var rrBasicDescription = "Up to 1.5 Mbps download speed and 256 Kbps upload speed.";
var rrBasicDescriptionOB = "Up to 3 Mbps download speed and 384 Kbps upload speed.";
// var rrBasicPriceAlone = 34.95;                   
var rrBasicPriceAlone = 37.95;                   // Standalone
var rrBasicPriceAloneWilson = 29.95;             // Standalone, Wilson overbuild
var rrBasicPriceAloneSummer = 32.95;             // Standalone, Summerville overbuild
var rrBasicPriceBundle = 32.95;                  // With anything
var rrBasicPricePwrBundle = 29.95;               // Power Bundle (29.95 x 3 for new)

// ROAD RUNNER LITE
var rrLiteName = "Road Runner Lite";
var rrLiteDescription = "Up to 768 Kbps download speed and 128 Kbps upload speed.";
var rrLitePriceAlone = 27.95;                    // Standalone
var rrLitePrice = 19.95;                         // Regular price (alone or bundle)

// HOME NETWORKING
var homeNetworkName = "Home Networking";
var homeNetworkDescription = "Wirelessly connect up to four computers to the Internet over one blazing-fast connection.";
var homeNetworkDisclaimer = " Installation fees up to $19.95 may apply.";
var homeNetworkPriceGBOCLT = 9.95;
var homeNetworkPriceGBODigital = 3.95;
var homeNetworkPrice = 11.95;

// DIGITAL PHONE UNLIMITED NATIONWIDE
var dpDisclaimer = "*** Pricing for Digital Phone varies by service level.";

var dpNatName = "Digital Phone Unlimited Nationwide";
var dpNatDescription = "Unlimited calling within the United States, Canada and Puerto Rico.";
var dpNatPriceAlone = 49.95;                    // Standalone
var dpNatPriceSale = 19.95;                     // SALE PRICE through 10/31/09
var dpSaleDisclaimer = "*** Sale price available for a limited time for new Digital Phone customers only.  Regular rate applies after the 12-month discount period.";
var dpNatPriceDouble = 44.95;                   // As double play
var dpNatPriceTriple = 39.95;                   // As triple play

// DIGITAL PHONE UNLIMITED CAROLINAS
var dpCarName = "Digital Phone Unlimited Carolinas";
var dpCarDescription = "Unlimited calling within North and South Carolina.";
var dpCarPriceAlone = 39.95;                    // Standalone
var dpCarPriceDouble = 34.95;                   // As double play
var dpCarPriceTriple = 29.95;                   // As triple play

// DIGITAL PHONE LOCAL
var dpLocalName = "Digital Phone Local";
var dpLocalDescription = "Unlimited calling within your local calling area.";
var dpLocalDisclaimer = "*** Pricing for Digital Phone varies by service level. Offer only valid for residential customers in serviceable areas who also subscribe to Cable service and High Speed Online service.";
var dpLocalPrice = 19.95;                       // For 12 months (as bundle)
var dpLocalDouble = 29.95;                      // As double play
var dpLocalTriple = 24.95;                      // As triple play

// VOICE MAIL
var VoiceMailName = "Voice Mail";
var VoiceMailDescription = "Record messages while you're away, or take a message while you're on another call.";
var VoiceMailPrice = 3.95;

// ADDITIONAL DIGITAL PHONE LINE
var AddLineName = "Additional Digital Phone Line";
var AddLineNatName = AddLineName + " (Nationwide)";
var AddLineCarName = AddLineName + " (Carolinas)";
var AddLineLocalName = AddLineName + " (Local)";
var AddLineDescription = "An additional distinct phone line with all the same features as your primary Digital Phone line.";
var AddLineDisclaimer = " Additional Digital Phone Line rate based on primary line rate.";
var AddLineNatPrice = 29.95;
var AddLineCarPrice = 24.95;
var AddLineLocalPrice = 19.95;

// INTERNATIONAL ONEPRICE
var IOPName = "International OnePrice";
var IOPDescription = "Get 1,000 minutes a month to call friends and family in over 100 countries.";
var IOPPrice = 19.95;

// WIRELESS
var wireDisclaimer = ' Monthly rate does not include one-time charges for your wireless device. As qualified, additional devices and rate plans may be added. Road Runner Mobile service not compatible with Macintosh computers.<br><a href="javascript:void(window.open(';
wireDisclaimer += "'../mobile/contractcomparison.cfm?emp=N','_blank','width=800,height=350,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,location=no,status=no').focus())";
wireDisclaimer += '"><b>Click here</b></a> to compare rates for a 2-year contract vs. no contract.';
var wireNatEliteName = "Road Runner Mobile 4G National Elite";
var wireNatEliteDescription = "Unlimited nationwide mobile data on the 4G Mobile and 3G National networks.";
var wireNatElitePriceMSRP = 74.95;
var wireNatElitePriceVidPhone = 64.95;
var wireNatElitePriceRR = 59.95;

var wire4GEliteName = "Road Runner Mobile 4G Elite";
var wire4GEliteDescription = "Unlimited mobile data on the 4G Mobile network.";
var wire4GElitePriceMSRP = 54.95;
var wire4GElitePriceVidPhone = 44.95;
var wire4GElitePriceRR = 39.95;


var wire4GChoiceName = "Road Runner Mobile 4G Choice";
var wire4GChoiceDescription = "Up to 2GB mobile data on the 4G Mobile network.";
var wire4GChoicePriceMSRP = 39.95;
var wire4GChoicePriceVidPhone = 34.95;
var wire4GChoicePriceRR = 29.95;

// Cards
var wireCardDual = '<a href="javascript:void(window.open(';
wireCardDual += "'http://www.yourtwc.com/mobile/franklincmu300.cfm?emp=N&popup=Y','_blank','width=626,height=550,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,location=no,status=no').focus())"; 
wireCardDual += '">Dual-mode USB card</a>';
var wireCardDualPrice = "$199.00";
var wireCardDualPriceContract = "$99.00";
var wireCardDualPriceContractNoRR = "$99.00";
var wireCardDualPriceContractRR = "FREE";
var wireCardDualFreeDisclaimer = "# Limit one free card per customer.";

var wireCardSingle = '<a href="javascript:void(window.open(';
wireCardSingle += "'http://www.yourtwc.com/mobile/motorolausb100.cfm?emp=N&popup=Y','_blank','width=626,height=550,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,location=no,status=no').focus())"; 
wireCardSingle += '">Single-mode USB card</a>';

var wireCardSinglePrice = "$99.00";
var wireCardSinglePriceContract = "FREE";