<!--

function update_star_message() {
  //if( '<ww:user_username>' == 'testaccounta' || '<ww:user_username>' == 'testaccountb' ){ // uncomment this line to go into testing mode (no output from this function)
   var this_year_star_message  = '<p style=\"font-family: Monotype Corsiva, Arial; font-size: 18pt; font-weight: bold;\">Welcome back, STAR  Rewards Member!<br>Remember to type STAR in the comments box to receive your FREE Shipping.';
   var next_year_star_message  = '<p style=\"font-family: Monotype Corsiva, Arial; font-size: 18pt; font-weight: bold;\">Welcome back, STAR  Rewards Member! Remember to type STAR in the comments box to receive your FREE Shipping.';


var not_star_member_message = '<p style=\"font-family: Monotype Corsiva, Arial; font-size: 18pt; font-weight: bold;\">Welcome to Beachboutique.com!<br>If you experience any difficulties, please call 843-837-7439 to place your order</p>';

   var new_message = '';
   // If you want to clear the message after the first logged in page
   // wecs_message.innerHTML = '';

   if( true ){//'<ww:message>'.indexOf('Welcome back') != -1 ){
     var this_year = new Date().getFullYear();
     this_year_string = this_year.toString();
     this_year_string = this_year_string.substring(2,4);
     var next_year = this_year + 1;
     next_year_string = next_year.toString();
     next_year_string = next_year_string.substring(2,4);
     var wecs_message = document.getElementById('wecs_message');

     if( '<ww:user_extension2>' == 'SR'+this_year_string ){
       new_message = this_year_star_message;
     }else if( '<ww:user_extension2>' == 'SR'+next_year_string ){
       new_message =  next_year_star_message;
     }else{
       new_message =  not_star_member_message;
     }
     wecs_message.innerHTML = new_message;
   }
  //}
}


window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
    for (var i = 1; i<=10; i++) {
        if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
    }
if (d) {d.style.display='block';}
}
function WWS_button() {
//document.verify.test
//var cvv_val = parseInt(document.verify.cvv.value);
//if( cvv_val <= 0 || isNaN(cvv_val) ) {
//var cvv_val = document.verify.cvv.value;
//if( cvv_val == '' ) {
//  alert("For your security, we require that you enter your CVV code (usually found on the back of your credit card) when providing your payment information.");
//  return false;
//}

if (document.verify.test.checked==false) {
        alert("Please read the policies/procedures on our customer Service page");
            return false;
            }
            //-document.example.test.checked=true
            }

// begin color translation code

var color_names = new Array();

// setup the associative array here
// abbreviated name is the key and the full name is the string value

color_names['aqua']     = "Aqua";
color_names['aquagz']   = "Aquamarine Gauze";
color_names['aqual']    = "Aqua Lightweight";
color_names['avacado']  = "Avocado";
color_names['avocado']  = "Avocado";
color_names['avocadst'] = "Avocado Stripe";
color_names['bark']     = "Bark";
color_names['barkgz']   = "Bark Gauze";
color_names['biscuit']  = "Biscuit";
color_names['biscutgz'] = "Biscuit Gauze";
color_names['blackh']   = "Black Handkerchief";
color_names['black']    = "Black";
color_names['bcurrant'] = "Black Currant";
color_names['bcurromb'] = "Black Currant Ombre";
color_names['blackgz']  = "Black Gauze";
color_names['blk h']    = "Black Handkerchief";
color_names['black h']  = "Black Handkerchief";	
color_names['blue']     = "Blue";
color_names['blquartz'] = "Blue Quartz"	
color_names['blush']    = "Blush";
color_names['britepld'] = "Bright Plaid";
color_names['britestp'] = "Bright Stripe";
color_names['khaki']    = "British Khaki";
color_names['buff']     = "Buff";
color_names['butter']   = "Butter";
color_names['butterst'] = "Butter Stripe";
color_names['burgundy'] = "Burgundy";
color_names['brgndygz'] = "Burgundy Gauze";
color_names['canteen']  = "Canteen";
color_names['cornelia'] = "Carnelian Gauze";
color_names['capachin'] = "Cappachino";
color_names['charcoal'] = "Charcoal";
color_names['cherry']   = "Cherry";
color_names['cherrywv'] = "Cherry Cross-Weave";
color_names['cherryst'] = "Cherry Stripe";
color_names['citron']   = "Citron";
color_names['citrongz'] = "Citron Gauze";
color_names['clay']     = "Clay";
color_names['claypebb'] = "Clay Pebble";
color_names['clayqlt']  = "Clay Quilt";
color_names['cloud']    = "Cloud";	
color_names['cloudgze'] = "Cloud Gauze";
color_names['coffeebn'] = "Coffee Bean";
color_names['cornsilk'] = "Cornsilk";
color_names['coralrf']  = "Coral Reef";
color_names['cornflbl'] = "Cornflower Blue";
color_names['cotton']   = "Cotton";
color_names['cranberh'] = "Cranberry Handkerchief";	
color_names['cream']    = "Cream";
color_names['creamstr'] = "Cream Stripe";
color_names['creamh']   = "Cream Handkerchief (Milk)";
color_names['dandlin']  = "Dandelion";	
color_names['dandlinl'] = "Dandelion Lightweight";
color_names['denim']    = "Denim";
color_names['dobby']    = "Dobby";
color_names['eldrband'] = "Elderberry Bandana";
color_names['elderber'] = "Elderberry";
color_names['estripe']  = "Endless Stripe";
color_names['espresso'] = "Espresso";
color_names['evergrn']  = "Evergreen";
color_names['fossil']   = "Fossil";
color_names['fig']      = "Fig";
color_names['figchev']  = "Fig Chevron";
color_names['floral']   = "Floral";
color_names['fuchsia']  = "Fuchsia";
color_names['fuschia']  = "Fuschia";
color_names['fuschial'] = "Fuschia Lightweight";
color_names['fuchpebb'] = "Fuchsia Pebble";
color_names['fuchqlt']  = "Fuchsia Quilt";
color_names['funkypld'] = "Funky Plaid";
color_names['granite']  = "Granite";
color_names['granchev'] = "Granite Chevron";
color_names['grape']    = "Grape";
color_names['grapewv']  = "Grape Cross-Weave";
color_names['grapecw']  = "Grape Cross-Weave";
color_names['grapestr'] = "Grape Stripe";
color_names['grass']    = "Grass";
color_names['greygz']   = "Grey Gauze";
color_names['greyl']    = "Grey Lightweight";
color_names['grnburck'] = "Green Burgandy Check";
color_names['guacamol'] = "Guacamole";
color_names['heather']  = "Heather";
color_names['honeydew'] = "Honeydew";	
color_names['ink']      = "Ink";
color_names['iris']     = "Iris";	
color_names['irisgze']  = "Iris Gauze";	
color_names['jeanne']   = "Jeanne (Caucasian Doll w/ Red Hair)";	
color_names['jolita']   = "Jolita (Latino Doll w/ Black Hair)";	
color_names['lakeblue'] = "Lake Blue";
color_names['lkblupeb'] = "Lake Blue Pebble";
color_names['lkbluqlt'] = "Lake Blue Quilt";
color_names['lkblublt'] = "Lake Blue Quilt";
color_names['latte']    = "Latte";
color_names['lettuce']  = "Lettuce";
color_names['lettucel'] = "Lettuce Lightweight";
color_names['licoricl'] = "Licorice Lightweight";
color_names['lilac']    = "Lilac";
color_names['lilacgz']  = "Lilac Gauze";
color_names['lime']     = "Lime";
color_names['limegz']   = "Lime Gauze";
color_names['linberry'] = "Lingonberry";
color_names['linbercv'] = "Lingonberry Chevron";
color_names['kiwi']     = "Kiwi";
color_names['kiwiband'] = "Kiwi Bandana";
color_names['kumquat']  = "Kumquat";
color_names['kumqband'] = "Kumquat Bandana";
color_names['peackock'] = "Peacock";
color_names['maize']    = "Maize";
color_names['mango']    = "Mango";
color_names['mangocw']  = "Mango Cross-Weave";
color_names['mangowv']  = "Mango Cross-Weave";
color_names['mangostr'] = "Mango Stripe";
color_names['marble']   = "Marble";
color_names['marbleom'] = "Marble Ombre";
color_names['mediter']  = "Mediterranean";
color_names['mediterh'] = "Mediterranean Lightweight";
color_names['mellopld'] = "Mellow Plaid";
color_names['mellostp'] = "Mellow Stripe";
color_names['merlot']   = "Merlot Slinky";
color_names['midnight'] = "Midnight";
color_names['multipld'] = "Multi Plaid";
color_names['midniteh'] = "Midnight Lightweight";
color_names['milk']     = "Milk Handkerchief";
color_names['mustardh'] = "Mustard Handkerchief";
color_names['natural']  = "Natural";	
color_names['naturalh'] = "Natural Handkerchief";
color_names['natlck']   = "Natural Check";
color_names['natrlpld'] = "Natural Plaid";
color_names['npalamp']  = "Natural Palampore";
color_names['natrlstp'] = "Natural Stripe";
color_names['newleaf']  = "New Leaf";	
color_names['newleafh'] = "New Leaf Lightweight";
color_names['nia']      = "Nia (African American Doll w/ Black Hair)";
color_names['nineiron'] = "Nine Iron";
color_names['opal']     = "Opal";
color_names['pbanana']  = "Pale Banana";
color_names['patchwrk'] = "Patchwork";
color_names['peacock']  = "Peacock";
color_names['peacband'] = "Peacock Bandana";
color_names['pear']     = "Pear";
color_names['pearwv']   = "Pear Cross-Weave";
color_names['pearcw']   = "Pear Cross-Weave";
color_names['pearstr']  = "Pear Stripe";
color_names['peony']    = "Peony";	
color_names['peonyh']   = "Peony Lightweight";
color_names['pepper']   = "Pepper";
color_names['peppergz'] = "Pepper Gauze";	
color_names['persimmn'] = "Persimmon";
color_names['perschev'] = "Persimmon Chevron";
color_names['petrol']   = "Petrol";
color_names['petpink']  = "Petunia Pink";
color_names['pine']     = "Pine";
color_names['peristrp'] = "Periwinkle Stripe";
color_names['pinapple'] = "Pineapple";
color_names['pinawv']   = "Pineapple Cross-Weave";
color_names['pinacw']   = "Pineapple Cross-Weave";
color_names['pinastr']  = "Pineapple Stripe";
color_names['pinklil']  = "Pink Lilac";
color_names['plaid']    = "Plaid";	
color_names['plum']     = "Plum";	
color_names['plumgz']   = "Plum Gauze";
color_names['pure wht'] = "Pure White";
color_names['pur wht']  = "Pure White";
color_names['pur whtl'] = "Pure White Lightweight";
color_names['raspbery'] = "Raspberry";
color_names['raspery']  = "Raspberry";
color_names['raspbgz']  = "Raspberry Gauze";
color_names['red']      = "Red";
color_names['redcurrt'] = "Red Currant";
color_names['redcurom'] = "Red Currant Ombre";
color_names['redh']     = "Red Lightweight";
color_names['relishh']  = "Relish Handkerchief";
color_names['roseqrtz'] = "Rose Quartz Gauze";
color_names['ruby']     = "Ruby";
color_names['salt']     = "Salt";
color_names['saltgz']   = "Salt Gauze";
color_names['strawbry'] = "Strawberry";	
color_names['strawgze'] = "Strawberry Gauze";
color_names['sunflowr'] = "Sunflower";	
color_names['sunfwgze'] = "Sunflower Gauze";
color_names['seafmpld'] = "Seafoam Plaid";
color_names['seafmstp'] = "Seafoam Stripe";
color_names['zucchini'] = "Zucchini";	
color_names['sagegrn']  = "Sage Green";
color_names['sea']      = "Sea";
color_names['sheer']    = "Sheer";
color_names['silver']   = "Silver";
color_names['silverdt'] = "Silver Dots";
color_names['silvergz'] = "Silver Gauze";
color_names['slate']    = "Slate";
color_names['smoke']    = "Smoke";
color_names['snappea']  = "Snap Pea";
color_names['suiting']  = "Suiting";
color_names['sunset']   = "Sunset";
color_names['tangrngz'] = "Tangerine Gauze";
color_names['tomato']   = "Tomato";
color_names['topazgz']  = "Topaz Gauze";
color_names['turq']     = "Turquoise";
color_names['turqgz']   = "Turquoise Gauze";
color_names['violet']   = "Violet";
color_names['velvetgr'] = "Velvet Green";
color_names['water']    = "Water";	
color_names['watergz']  = "Water Gauze";	
color_names['wpalamp']  = "White Palampore";
color_names['willow']   = "Willow";
color_names['wisteria'] = "Wisteria";
color_names['white']    = "White";	
color_names['whiteh']   = "White Lightweight";
color_names['white']    = "White";
color_names['whitegz']  = "White Gauze";
color_names['white s']  = "White Smocking";
color_names['vita']     = "Vita (European Doll w/ Blonde Hair)";	
color_names['ying']     = "Ying (Oriental Doll w/ Black Hair)";	
color_names['zucchgze'] = "Zucchini Gauze";
color_names['cafe']     = "Cafe";
color_names['cork']     = "Cork";
color_names['blkbanda'] = "Black Bandana";
color_names['celtic']   = "Celtic";
color_names['denimbur'] = "Denim Burst";
color_names['easyride'] = "Easy Rider";
color_names['frshfish'] = "Fresh Fish";
color_names['icicles']  = "Golden Icicles";
color_names['mistturq'] = "Mistic Turquoise";
color_names['mochaspa'] = "Mocha Sparkles";
color_names['morrocan'] = "Morrocan Blue";
color_names['palmshoe'] = "Palm Shoe";
color_names['peacock']  = "Peacock";
color_names['pinkpass'] = "Pink Passion";
color_names['redbanda'] = "Red Bandana";
color_names['regalgem'] = "Regal Gem";
color_names['rubyburs'] = "Ruby Burst";
color_names['springbl'] = "Spring Bloom";
color_names['starfish'] = "Starfish";
color_names['turqcirc'] = "Turq Circ";
color_names['beige']    = "Beige";
color_names['chocolat'] = "Chocolate";
color_names['elecblue'] = "Electric Blue";
color_names['fuchsia']  = "Fuchsia";
color_names['purple']   = "Purple";
color_names['red']      = "Red";
color_names['js01']     = "Jill Stasium - 1";
color_names['js02']     = "Jill Stasium - 2";
color_names['js03']     = "Jill Stasium - 3";
color_names['js04']     = "Jill Stasium - 4";
color_names['license']  = "License to Thrill";
color_names['whtblk']   = "White Sprinkles on Black";
color_names['flamingo'] = "Flamingos on Black";
color_names['palmblk']  = "Palms on Black";
color_names['greystar'] = "Light Grey Starfish";
color_names['palmbeig'] = "Palm Beige";
color_names['cdt601']   = "Custom Design 601";
color_names['cdt664']   = "Custom Design 664";
color_names['cdt665']   = "Custom Design 665";
color_names['cdt674']   = "Custom Design 674";
color_names['cdt681']   = "Custom Design 681";
color_names['ss192']    = "Screen Print 192";
color_names['ss193']    = "Screen Print 193";
color_names['ss301']    = "Screen Print 301";
color_names['ss362']    = "Screen Print 362";
color_names['ss363']    = "Screen Print 363";
color_names['ss371']    = "Screen Print 371";
color_names['ss373']    = "Screen Print 373";
color_names['ss376']    = "Screen Print 376";
color_names['ss377']    = "Screen Print 377";
color_names['ss379']    = "Screen Print 379";
color_names['ss382']    = "Screen Print 382";
color_names['ss384']    = "Screen Print 384";
color_names['ss387']    = "Screen Print 387";
color_names['ss390']    = "Screen Print 390";
color_names['ss392']    = "Screen Print 392";
color_names['m']        = "M(Shoe Size 6,7)";
color_names['l']        = "L(Shoe Size 9,10,11)";
color_names['ss390']    = "Screen Print 390";
color_names['ss392']    = "Screen Print 392";
color_names['geranm']   = "Geranium";	
color_names['geranmh']  = "Geranium Lightweight";
color_names['grn']      = "Green";	
color_names['grnh']     = "Green Lightweight";
color_names['mnite']    = "Midnight";	
color_names['mniteh']   = "Midnight Lightweight";	
color_names['peri']     = "Periwinkle";
color_names['perih']    = "Periwinkle Lightweight";
color_names['wht']      = "White";
color_names['whth']     = "White Lightweight";
color_names['mnite+8']  = "Midnight Print (Add $8)";
color_names['wave+8']   = "Wave (Add $8)";
color_names['mnite+10'] = "Midnight Print (Add $10)";
color_names['wave+10']  = "Wave (Add $10)";
color_names['curry']    = "Curry";	
color_names['curryh']   = "Curry Handkerchief";
color_names['vanilla']  = "Vanilla";	
color_names['vanillah'] = "Vanilla Handkerchief";
color_names['army']     = "Army";	
color_names['armyh']    = "Army Handkerchief";	
color_names['lstp+4']   = "Light Stripe (Add $4)";
color_names['lstp+6']   = "Light Stripe (Add $6)";
color_names['lstp+10']  = "Light Stripe (Add $10)";
color_names['lstp+12']  = "Light Stripe (Add $12)";
color_names['dstp+4']   = "Dark Stripe (Add $4)";
color_names['dstp+6']   = "Dark Stripe (Add $6)";
color_names['dstp+10']  = "Dark Stripe (Add $10)";
color_names['dstp+12']  = "Dark Stripe (Add $12)";
color_names['cookwv']   = "Cookies and Cream Weave";
color_names['cookck']   = "Cookies and Cream Check";
color_names['cookstp']  = "Cookies and Cream Stripe";
color_names['pistwv']   = "Pistachio Weave";
color_names['pistck']   = "Pistachio Check";
color_names['piststp']  = "Pistachio Stripe";
color_names['ricewv']   = "Rice Pudding Weave";
color_names['riceck']   = "Rice Pudding Check";
color_names['ricestp']  = "Rice Pudding Stripe";
color_names['strawwv']  = "Strawberry Shortcake Weave";
color_names['strawck']  = "Strawberry Shortcake Check";
color_names['strawstp'] = "Strawberry Shortcake Stripe";
color_names['vanilwv']  = "Vanilla Custard Weave";
color_names['vanilck']  = "Vanilla Custard Check";
color_names['vanilstp'] = "Vanilla Custard Stripe";
// end color translation code
//-->
