/*
// Rotator image
//<![CDATA[ 
var showtime = 3000;
var transitiontime = 2000;
$(document).ready(function() { 
var images = ['/source/1.jpg', '/source/2.jpg', '/source/3.jpg', '/source/4.jpg'];
$('.tween1').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/2.jpg', '/source/3.jpg', '/source/4.jpg', '/source/5.jpg'];
$('.tween2').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/3.jpg', '/source/4.jpg', '/source/5.jpg', '/source/6.jpg'];
$('.tween3').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/4.jpg', '/source/5.jpg', '/source/6.jpg', '/source/7.jpg'];
$('.tween4').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/5.jpg', '/source/6.jpg', '/source/7.jpg', '/source/8.jpg'];
$('.tween5').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/6.jpg', '/source/7.jpg', '/source/8.jpg', '/source/1.jpg'];
$('.tween6').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/7.jpg', '/source/8.jpg', '/source/1.jpg', '/source/2.jpg'];
$('.tween7').bgImageTween(images, showtime, transitiontime );
});  
 $(document).ready(function() { 
var images = ['/source/8.jpg', '/source/1.jpg', '/source/2.jpg', '/source/3.jpg'];
$('.tween8').bgImageTween(images, showtime, transitiontime );
});  
//]]> 
// Menu mouse hover
 $(document).ready(function(){ 
  $nav_li=$("#navbar li"); 
  $nav_li_a=$("#navbar li a"); 
  var animSpeed=450; //fade speed 
  var hoverTextColor="#F00"; //text color on mouse over 
  var hoverBackgroundColor="#ffc"; //background color on mouse over 
  var textColor=$nav_li_a.css("color"); 
  var backgroundColor="#fff"; 
  //text color animation 
  $nav_li_a.hover(function() { 
  var $this=$(this); 
  $this.stop().animate({ color: hoverTextColor }, animSpeed); 
  },function() { 
  var $this=$(this); 
  $this.stop().animate({ color: textColor }, animSpeed); 
  }); 
  //background color animation 
  $nav_li.hover(function() { 
  var $this=$(this); 
  $this.stop().animate({ backgroundColor: hoverBackgroundColor }, animSpeed); 
  },function() { 
  var $this=$(this); 
  $this.stop().animate({ backgroundColor: backgroundColor }, animSpeed); 
  }); 
 }); 
 */
