$(document).ready(function() {	


	$('#store-button').hover(function() {
          
        $( "#storeDropDown" ).toggle();
    }, function() {
    	 $( "#storeDropDown" ).toggle();
    
    });

    $('#store-button').click(function() {
        
    	 location.href = '/brands-and-retailers';
    	 
    })
    
    $('#storeDropDown').hover(function() {
    	    //$( "#storeDropDown" ).addClass("hide");
    	    $( "#storeDropDown" ).show();
    	  },function() {
    		  $( "#storeDropDown" ).hide();
      

    })

    $('#myAccount').hover(function() {
       
        $( "#myAccountDropDown" ).toggle();
    }, function() {
       $( "#myAccountDropDown" ).toggle();
    
    });
    

    $('#myAccountDropDown').hover(function() {
          //$( "#storeDropDown" ).addClass("hide");
          $( "#myAccountDropDown" ).show();
        },function() {
          $( "#myAccountDropDown" ).hide();
    })
    
    $('#thefix-button-area').hover(function() {
       
       $( "#thefixDropDown" ).toggle();
        
    }, function() {
        
       $( "#thefixDropDown" ).toggle();
    
    });
    

    $('#thefixDropDown').hover(function() {
          //$( "#storeDropDown" ).addClass("hide");
          $( "#thefixDropDown" ).show();
        },function() {
          $( "#thefixDropDown" ).hide();
    })
    
    $('#thefix-button-area').click(function() {

    	   location.href = '/thefix';
    	 
    });
    
    $( "#loginLink" ).toggle(
                
      function() { 
        	
           $( "#loginArrow" ).removeClass("loginArrowUp").addClass("loginArrowDown");
           $( "#loginDropDown" ).show();
        	 
      },function() {

           $( "#loginArrow" ).removeClass("loginArrowDown").addClass("loginArrowUp");
           $( "#loginDropDown" ).hide();
        	 
    });
 
});

