// JavaScript Document
$(window).load(function (){pp();})

function pp()
{
	
var wh=$('#wbg').innerHeight();	
var nh=$('#nbg').innerHeight();		
//alert('wh:'+wh);
//alert('nh:'+nh);
if(wh>nh)
{
$('#nbg').css({height:wh})	
	
}
else
{
	
$('#wbg').css({height:nh})	
	
	
}
	
}

$(document).ready(function()
						   {
							   //alert("hi");
							slides=($('#slider ul >li').length) 
							    if(slides>1)
								sl();
							   
						   })

function sl()
{

			$("#slider").easySlider({
				auto: true, 
				continuous: true,
pause:4000,
speed:1500,
controlsShow:false,
				numeric: false
			});
	
}
$(function() {
	$(".newsticker-jcarousellite").jCarouselLite({
		vertical: true,
		hoverPause:true,
		visible: 1,
		auto:4000,
		
		speed:1000
	});
});
