// JavaScript Document
// JavaScript Document
// scrollUp/Down/Left/Right
// slideX/slideY
// shuffle
// turnUp/Down/Left/Right
// zoom
// fadeZoom
// blindX
// blindY
// blindZ
// growX
// growY
// curtainX THIS ONE
// curtainY
// cover
// uncover 
// toss
// wipe

//brainware - add this to avoid conflict with moo
jQuery.noConflict();
    //jquery stuff
    (function($) {

	$(function() {
		
		$('#slideshowHome').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow1').cycle({
			fx:    'curtainX',
			speed:  3000,
			timeout:  7000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow_US').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow_Mexico').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow_tooling').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow_engineering').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow_quality1').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {
		
		$('#slideshow_quality2').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_decoration').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_secondary').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_products').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_products2').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  5500,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_products3').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  6000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_products4').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  6500,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

	$(function() {

	$('#slideshow_quote').cycle({
			fx:    'fade',
			speed:  3000,
			timeout:  6000,
			next:   '#next', 
	    	prev:   '#prev',
			pause:  1 
	 	});
	    
	    function onBefore() {
	        $('#title').html(this.alt);
	    }
	});

//brainware - add this to avoid conflict with moo
})(jQuery);
