// JavaScript Document

$(function(){
	$('#suckerfishnav a')
		.css( {backgroundPosition: "-20px 30px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-20px 0px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(40px 35px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "-20px 30px"})
			}})
		})
		
		$('#menu_arrow_on_retail a')
		.css( {backgroundPosition: "-9999px 0"} )
		.css( {'background-repeat':'no-repeat'} )
		.mouseover(function(){
			$(this).css({background:"url(/menu/jQuery%20Background%20Test_files/bg2.jpg) repeat 0 0"})
			$(this).css({backgroundPosition: "-200px 0"})
			$(this).css( {'background-repeat':'repeat'} )
			$(this).stop().animate({backgroundPosition:"(-95px 0)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).css( {'background-repeat':'no-repeat'} )
			$(this).css( {'background-image':'none'} )
			$(this).css({backgroundPosition: "-9999px 0"})
		})
		
		$('#menu_arrow_on_corporate a')
		.css( {backgroundPosition: "-9999px 0"} )
		.css( {'background-repeat':'no-repeat'} )
		.mouseover(function(){
			$(this).css({background:"url(/menu/jQuery%20Background%20Test_files/bg2.jpg) repeat 0 0"})
			$(this).css({backgroundPosition: "-200px 0"})
			$(this).css( {'background-repeat':'repeat'} )
			$(this).stop().animate({backgroundPosition:"(-75px 0)"}, {duration:500})
		})
		
		$('#menu_arrow_on_wholesale a')
		.css( {backgroundPosition: "-9999px 0"} )
		.css( {'background-repeat':'no-repeat'} )
		.mouseover(function(){
			$(this).css({background:"url(/menu/jQuery%20Background%20Test_files/bg2.jpg) repeat 0 0"})
			$(this).css({backgroundPosition: "-200px 0"})
			$(this).css( {'background-repeat':'repeat'} )
			$(this).stop().animate({backgroundPosition:"(-75px 0)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).css( {'background-repeat':'no-repeat'} )
			$(this).css( {'background-image':'none'} )
			$(this).css({backgroundPosition: "-9999px 0"})
		})
		
		$('#menu_arrow_on_about a')
		.css( {backgroundPosition: "-9999px 0"} )
		.css( {'background-repeat':'no-repeat'} )
		.mouseover(function(){
			$(this).css({background:"url(/menu/jQuery%20Background%20Test_files/bg2.jpg) repeat 0 0"})
			$(this).css({backgroundPosition: "-200px 0"})
			$(this).css( {'background-repeat':'repeat'} )
			$(this).stop().animate({backgroundPosition:"(-95px 0)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).css( {'background-repeat':'no-repeat'} )
			$(this).css( {'background-image':'none'} )
			$(this).css({backgroundPosition: "-9999px 0"})
		})
		
		$('#menu_arrow_on_contact a')
		.css( {backgroundPosition: "-9999px 0"} )
		.css( {'background-repeat':'no-repeat'} )
		.mouseover(function(){
			$(this).css({background:"url(/menu/jQuery%20Background%20Test_files/bg2.jpg) repeat 0 0"})
			$(this).css({backgroundPosition: "-200px 0"})
			$(this).css( {'background-repeat':'repeat'} )
			$(this).stop().animate({backgroundPosition:"(-95px 0)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).css( {'background-repeat':'no-repeat'} )
			$(this).css( {'background-image':'none'} )
			$(this).css({backgroundPosition: "-9999px 0"})
		})
		
		$('#menu_arrow_on_news a')
		.css( {backgroundPosition: "-9999px 0"} )
		.css( {'background-repeat':'no-repeat'} )
		.mouseover(function(){
			$(this).css({background:"url(/menu/jQuery%20Background%20Test_files/bg2.jpg) repeat 0 0"})
			$(this).css({backgroundPosition: "-200px 0"})
			$(this).css( {'background-repeat':'repeat'} )
			$(this).stop().animate({backgroundPosition:"(-95px 0)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).css( {'background-repeat':'no-repeat'} )
			$(this).css( {'background-image':'none'} )
			$(this).css({backgroundPosition: "-9999px 0"})
		})
});

function ClearText(){
	 window.document.frmsearch.txtsearch.value='';
}

$(document).ready(function(){ 
	$(document).pngFix(); 

});
