function ShowHomeTab(x)
              {
              hidediv('tab1');
              hidediv('tab2');
              hidediv('tab3');
              hidediv('tab4');

              document['pic1'].src = 'skins/Skin_1/images/title_feature_products.gif';
              document['pic2'].src = 'skins/Skin_1/images/tile_for_woman.gif';
              document['pic3'].src = 'skins/Skin_1/images/tile_for_men.gif';
              document['pic4'].src = 'skins/Skin_1/images/tile_for_couples.gif';

              if(x == 1)
              {
              showdiv('tab1');
              document['pic1'].src = 'skins/Skin_1/images/title_feature_products_f2.gif';
              }
              if(x == 2)
              {
              showdiv('tab2');
              document['pic2'].src = 'skins/Skin_1/images/tile_for_woman_f2.gif';
              }
              if(x == 3)
              {
              showdiv('tab3');
              document['pic3'].src = 'skins/Skin_1/images/tile_for_men_f2.gif';
              }
              if(x == 4)
              {
              showdiv('tab4');
              document['pic4'].src = 'skins/Skin_1/images/tile_for_couples_f2.gif';
              }
              }

              function hidediv(id) {
              //safe function to hide an element with a specified id
              if (document.getElementById) { // DOM3 = IE5, NS6
              document.getElementById(id).style.display = 'none';
              }
              else {
              if (document.layers) { // Netscape 4
              document.id.display = 'none';
              }
              else { // IE 4
              document.all.id.style.display = 'none';
              }
              }
              }

              function showdiv(id) {
              //safe function to show an element with a specified id

              if (document.getElementById) { // DOM3 = IE5, NS6
              document.getElementById(id).style.display = 'block';
              }
              else {
              if (document.layers) { // Netscape 4
              document.id.display = 'block';
              }
              else { // IE 4
              document.all.id.style.display = 'block';
              }
              }
              }
