﻿// JavaScript Document


jQuery(document).ready(function() {

$("#hometabs").fadeIn();
$(".bottomright").fadeIn();						
$("#marquee1").marquee('loop: -1, fxEasingScroll: "linear", scrollSpeed: 12  ');



//this remove the border and the padding from the last LI on the sliding logos to match the container width

//$('.slidelogos ul li:nth-child(6n)').css({border: "0", paddingRight: "0"})


//this slide the logos you can change the speed use slow,fast or enter time in milisecond 
$('#slidelogos').cycle({ 
    fx:     'scrollHorz', 
    speed:  'slow', 
    timeout: 8000

	});


//this fade the testimonials can change the speed use slow,fast or enter time in milisecond 
$('.rotating-testimonials').cycle({ 
    fx:     'fade', 
    speed:  'slow', 
    timeout: 10000,
	 cleartype:  1,
	next:   '.next a', 
    prev:   '.prev a'
	
	});


// the hover effect on the side bar links

$(".moving-links a").hover(
						   
	   function () {
      $(this).animate({paddingLeft: "10px"}, {queue:false, duration:300});
						   },
		function () {
      $(this).animate({paddingLeft: "0px"}, {queue:false, duration:300});
						   }		

            );

$("#movinglist li").hover(
						   
	   function () {
      $(this).animate({paddingLeft: "20px"}, {queue:false, duration:300});
						   },
		function () {
      $(this).animate({paddingLeft: "0px"}, {queue:false, duration:300});
						   }		

            );

$("#hometabs").tabs({
			event: 'mouseover'
			
		}).tabs('rotate', 5000);


 });
