// JavaScript Document


jQuery(document).ready(function() {
				if ($j('#Slides').length > 0) {
					$j('#Slides').cycle({ 
						fx: 'scrollHorz,scrollHorz,scrollHorz,scrollHorz,scrollHorz,scrollHorz,scrollHorz,scrollHorz',						
						speed: 750,
						timeout:  10000, 
						randomizeEffects: false, 
						easing: 'easeOutCubic',
						next:   '.slideNext', 
						prev:   '.slidePrev',
						pager:  '#slidePager',
						cleartypeNoBg: true,
						before: function() {
							// reset the overlay for the next slide
							$j('#SlideRepeat').css('cursor','default').unbind('click'); },
						after: function() {
							// get the link and apply it to the overlay
							var theLink = $j(this).children('a');
							var linkURL = (theLink) ? theLink.attr('href') : false;
							if (linkURL) {
								$j('#SlideRepeat').css('cursor','pointer').click( function() {
									document.location.href = linkURL;
								});
							}
						}
					});
				}
			});
		
	
    $(document).ready(function() {
      $("#slider").SexySlider({
        width     : 560,
        height    : 200,
        delay     : 3000,
        strips    : 15,
        autopause : true,
        navigation: '#navigation',
        control   : '#control',
        effect    : 'cascade'
      });
    });


		
	