// JavaScript Document

	//this function assumes your rollover images are named -off and -on

	 $(
		function() {
			// set up rollover
			$("img.rollover").hover(
				function() {
					this.src = this.src.replace("-off","-on");
				},
				function() {
					this.src = this.src.replace("-on","-off");
				}
			);
			
			// set up rollover
			$(".campaign-link").hover(
				function() {
					$("img.campaign-rollover").src.replace("-off","-on");
				},
				function() {
					$("img.campaign-rollover").src.replace("-off","-on");
				}
			);
			
			$(".line-navigation").next('div').hide();
			
		
			//any divs inside showsubmenu-fancy will slide in and out
			$(".line-navigation").click(function () {
				$(".line-navigation").not(this).next('div').hide("10");
				$(this).next('div').slideToggle("10");  
			});
			
			//galleries
			
			$('.image-gallery').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow img',
			prev:	'.back-arrow img', 
			});
			
			//1
			$('.image-gallery1').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow1 img',
			prev:	'.back-arrow1 img', 
			});
			
			//2
			$('.image-gallery2').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow2 img',
			prev:	'.back-arrow2 img', 
			});
			
			//3
			$('.image-gallery3').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow3 img',
			prev:	'.back-arrow3 img', 
			});
			
			//4
			$('.image-gallery4').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow4 img',
			prev:	'.back-arrow4 img', 
			});
			
			//5
			$('.image-gallery1').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow5 img',
			prev:	'.back-arrow5 img', 
			});
			
			//6
			$('.image-gallery6').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow6 img',
			prev:	'.back-arrow6 img', 
			});
			
			//7
			$('.image-gallery7').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow7 img',
			prev:	'.back-arrow7 img', 
			});
			
			//8
			$('.image-gallery8').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow8 img',
			prev:	'.back-arrow8 img', 
			});
			
			//9
			$('.image-gallery9').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow9 img',
			prev:	'.back-arrow9 img', 
			});
			
			//10
			$('.image-gallery10').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow10 img',
			prev:	'.back-arrow10 img', 
			});
			
			//11
			$('.image-gallery11').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 0, 
			next:   '.next-arrow11 img',
			prev:	'.back-arrow11 img', 
			});
		
		}
	)
	 