<!--
/*
manx leathers jQuerAddons.js

*/
// xxxxxxxxxxxxxxxxxxxxxx TOP NAV INDICATE ON PAGE xxxxxxxxxxxxxxxxxxxxxxxxx
/* this is to get the page id declared in header and change color of menu item and stop color change on hover*/
 $(document).ready(function() {
  //$('#nav li ul').hide(100);
 
  //li and pageID have same name
  //$("#" + pageID).addClass("onPage");
  
 
  
  
  	$('#nav li').hover(
		function () {
			//show its submenu
			$('ul', this).slideDown(100);

		}, 
		function () {
			//hide its submenu
			$('ul', this).slideUp(100);
		}
	); // end nav hover
	
		// icon rollover
$('.rollImage').hover(function()
{
	thisSrc = $(this).attr("src");
	$(this).attr("src",thisSrc.replace("N", "H"));
	},
	function()
	{
	$(this).attr("src",thisSrc.replace("H", "N"));
	}
	);


	
 }); // end document ready
function submitForm(fm)
{
 document.forms[fm].submit();
}

	function obfus()
	{
	document.write("<a href=\"mailto:Sales@ManxLeathers.com\">Sales@ManxLeathers.com</a>");
	}

// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX MALSUP SHOP SLIDE SHOWS XXXXXXXXXXXXXXXXXXXXXXXX

// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SHOP SHOW MORE XXXXXXXXXXXXXXXXXXXXXXXXXXX

 $(document).ready(function(){
   $("#showMore1").click(function(){
   $(".closeMore").hide();
     $("#more1").show("slow");
   });
 });
 
  $(document).ready(function(){
   $("#showMore2").click(function(){
   $(".closeMore").hide();
     $("#more2").show("slow");
   });
 });
 
   $(document).ready(function(){
   $("#showMore3").click(function(){
   $(".closeMore").hide();
     $("#more3").show("slow");
   });
 });

   $(document).ready(function(){
   $("#showMore4").click(function(){
   $(".closeMore").hide();
     $("#more4").show("slow");
   });
 });
 
    $(document).ready(function(){
   $("#showMore5").click(function(){
   $(".closeMore").hide();
     $("#more5").show("slow");
   });
 });
	
	   $(document).ready(function(){
   $("#showMore6").click(function(){
   $(".closeMore").hide();
     $("#more6").show("slow");
   });
 });
 
 
 
 
 
  $(document).ready(function(){
   $(".closeMoreText").click(function(event){
     $(".closeMore").hide("slow");
   });
 });


// -->
	

	

