    function setCookie(cookieName, cookieValue, cookiePath, cookieExpires) 
      { 
        cookieValue = escape(cookieValue); 
        if (cookieExpires == "") 
          { 
            var nowDate = new Date(); 
            nowDate.setMonth(nowDate.getMonth() + 6); 
            cookieExpires = nowDate.toGMTString(); 
          }

        if (cookiePath != "") 
          {
            cookiePath = ";Path=" + cookiePath; 
          } 

       document.cookie = cookieName + "=" + cookieValue + ";expires=" + cookieExpires + cookiePath; 
      } 

    function getCookieValue(name) 
      { 
        var cookieString = document.cookie; 
        var index = cookieString.indexOf(name + "="); 

        if (index == -1) return null; 

        index = cookieString.indexOf("=", index) + 1; 
        var endstr = cookieString.indexOf(";", index); 

        if (endstr == -1) endstr = cookieString.length; 

        return unescape(cookieString.substring(index, endstr)); 
      } 

	function OpenWin(URL, winName, width, height, scroll)
		{
			var winLeft = (screen.width - width) / 2;
			var winTop = (screen.height - height) / 2;
					
			winData = 'height='+height+',width='+width+',top='+winTop+',left='+winLeft+',scrollbars='+scroll+',resizable';
			win = window.open(URL, winName, winData);
					
			if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
		}


 
  function doPoll()
    {
      if(pollTd.style.display != 'none')
        {
          pollTd.style.display = 'none';
          pollImg.src = 'images/arrowno.gif';          
        }
      else
        {
          pollTd.style.display = 'inline';
          pollImg.src = 'images/arrowgo.gif';        
        }
    }

  function doBrandsMenu()
    {
      if(brandTd.style.display != 'none')
        {
          brandTd.style.display = 'none';
          brandImg.src = 'images/arrowno.gif';          
        }
      else
        {
          brandTd.style.display = 'inline';
          brandImg.src = 'images/arrowgo.gif';        
        }
    }

  function doCartMenu()
    {
      if(cartTbl.style.display != 'none')
        {
          cartTbl.style.display = 'none';
          cartImg.src = 'images/arrowno.gif';
        }
      else
        {
          cartTbl.style.display = 'inline';
          cartImg.src = 'images/arrowgo.gif';
        }
    }

  function doProdMenu()
    {
      if(prodTd.style.display != 'none')
        {
			  prodTd.style.display = 'none';
          prodImg.src = 'images/arrowno.gif';
        }
      else
        {
          prodTd.style.display = 'inline';
          prodImg.src = 'images/arrowgo.gif';
        }
    }
	
	

     
   function doCustompcTable()
     {
       if(custompcTable.style.display != 'none')
         {
           custompcTable.style.display = 'none';
           pcImg.src = 'images/arrowno.gif';
         }
       else
         {
           custompcTable.style.display = 'inline';
           pcImg.src = 'images/arrowgo.gif';
         }     
     } 
     
   