/* Declare a namespace for the site */
var Site = window.Site || {};

/* Create a closure to maintain scope of the '$'
   and remain compatible with other frameworks.  */
(function($) {
	
	//same as $(document).ready();
	$(function() {
		
		$('#nav_14623 li').each(function(x){
			if( $(this).find('ul').length == 0 ){
				$(this).addClass('no_sub');
			}
		})
		
		$('#banner').cycle({
			fx: 'fade',
			pager: '#pager'
		});
		
		$('#bottom_blurbs li .cont.news ul li').each(function(x){
			if( x+1 == $('#bottom_blurbs li .cont.news ul li').length ){
				$(this).addClass('last');
			}
		});
		
		$('#sub_menu li').each(function(x){
			if( x+1 == $('#sub_menu li').length ){
				$(this).addClass('last');
			}
		});

	});


	$(window).bind("load", function() {
		
		
	
	});
	
})(jQuery);
