function getStoreIndex(store_index) {
  if (store_index == 'Apparel') { return( 'apparel::1036682') };
  if (store_index == 'Automotive') { return( 'automotive::0') };
  if (store_index == 'Baby') { return( 'baby::166674011') };
  if (store_index == 'Beauty') { return( 'beauty::11055981') };
  if (store_index == 'Books') { return( 'books::1000') };
  if (store_index == 'Wireless') { return( 'cell_phones::301185') };
  if (store_index == 'VideoGames') { return( 'computer_video_games::471306') };
  if (store_index == 'Classical') { return( 'classical::0') };
  if (store_index == 'DVD') { return( 'dvd_and_video_tapes::404276') };
  if (store_index == 'DigitalMusic') { return( 'digital_music::0') };
  if (store_index == 'Electronics') { return( 'electronics::493964') };
  if (store_index == 'GourmetFood') { return( 'gourmet_food::16310211') };
  if (store_index == 'Grocery') { return( 'grocery::16310211') };
  if (store_index == 'HealthPersonalCare') { return( 'health_and_personal_care::3760931') };
  if (store_index == 'HomeGarden') { return( 'home_and_garden::1063498') };
  if (store_index == 'Jewelry') { return( 'jewelry::3880591') };
  if (store_index == 'Kitchen') { return( 'kitchen::0') };
  if (store_index == 'Magazines') { return( 'magazines_and_newspapers::599872') };
  if (store_index == 'Music') { return( 'music::301668') };
  if (store_index == 'MusicTracks') { return( 'music_tracks::0') };
  if (store_index == 'Musical_Instruments') { return( 'musical_instruments::11965861') };
  if (store_index == 'OfficeProducts') { return( 'office_products::1084128') };
  if (store_index == 'OutdoorLiving') { return( 'outdoor_living::0') };
  if (store_index == 'PCHardware') { return( 'pc_hardware::0') };
  if (store_index == 'PetSupplies') { return( 'pet_supplies::0') };
  if (store_index == 'Photo') { return( 'photo::0') };
  if (store_index == 'Restaurants') { return( 'restaurants::0') };
  if (store_index == 'Software') { return( 'software::491286') };
  if (store_index == 'SportingGoods') { return( 'sporting_goods::3375301') };
  if (store_index == 'Tools') { return( 'tools_and_hardware::119541011') };
  if (store_index == 'Toys') { return( 'toys::165795011') };
  if (store_index == 'VHS') { return( 'vhs::0') };
  if (store_index == 'Video') { return( 'video::0') };
  if (store_index == 'VideoGames') { return( 'video_games::0') };
  if (store_index == 'Wireless') { return( 'Wireless::0') };
  if (store_index == 'WirelessAccessories') { return( 'wireless_accessories::0') };
}
function ShoppingCartNotice(url) {
   //alert ("IF YOU HAVE A POPUP BLOCKER, PLEASE PRESS THE 'CTRL' KEY BEFORE PRESSING 'OK'\n\nThis will open up a NEW browser window at Amazon where you can order this product.\nYou will be allowed to place the item into your shopping cart and either proceed to\npurchase or close the window and continue shopping right here. Your shopping cart will be\nretained for 90 days.  You may place as many Shopper's Delight items into your cart as you wish\nbefore purchasing.\n\nWE'VE CHOSEN AMAZON BECAUSE IT IS SAFE, SECURE, AND TRUSTED \n");
   window.open(url);
   

}

function Blend() {
       document.getElementById('MinimumPrice').disabled = true;
       document.getElementById('MaximumPrice').disabled = true;
       document.getElementById('MinimumPrice').style.background='F0EEEE';
       document.getElementById('MaximumPrice').style.background='F0EEEE';
       document.getElementById('storeSubmit').value='Search All Stores';
       document.getElementById('storeSearch').style.display = 'none';
       document.getElementById('searchSort').style.display = 'none';
}
function UnBlend() {
       document.getElementById('MinimumPrice').disabled = false;
       document.getElementById('MaximumPrice').disabled = false;
       document.getElementById('MinimumPrice').style.background='FFFFFF';
       document.getElementById('MaximumPrice').style.background='FFFFFF';
       document.getElementById('storeSubmit').value='Search this Category';
       document.getElementById('storeSearch').style.display = 'block';
       document.getElementById('searchSort').style.display = 'block';
       if (document.getElementById('inputStore').checked)
               document.getElementById('storeSubmit').value='Perform Search';
}
function checkBlend() {
      // if (document.getElementById('inputBlend').checked)
       //       Blend();
      // else
       //       UnBlend();
}
