// JavaScript Document for scripts on navigation hover states

////////////////////////////////////////////   
// 
//

      function homeSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/home_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/home.jpg"; //So change it back to the down picture
              }
        }
		
      function horsesSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/horses_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/horses.jpg"; //So change it back to the original picture
              }
        }	
		
	  function dogsSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/dogs_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/dogs.jpg"; //So change it back to the original picture
              }
        }	
		
		  function saleBarnSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/sale_barn_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/sale_barn.jpg"; //So change it back to the original picture
              }
        }	

	  function mapSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/map_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/map.jpg"; //So change it back to the original picture
              }
        }	

	  function linksSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/links_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/links.jpg"; //So change it back to the original picture
              }
        }	

	  function contactSwap(evt) {
        var eventTarget = evt.target; //Get the element
        var eventType = evt.type; //Get the type of event
           if (eventType == "mouseover" ){ //The mouse rolled over the image
        eventTarget.src = "images/webpage/nav/contact_ov.jpg"; //So change the images src property
              }
      	   if (eventType == "mouseout") { //The mouse moved out
        eventTarget.src = "images/webpage/nav/contact.jpg"; //So change it back to the original picture
              }
        }	


