jQuery(function($) {
		var timer;
		
function number_drop()
{
$(".number1").animate({top:'12px' }, {queue:false, duration:600, easing:'easeOutBounce'});
$(".number2").animate({top:'12px' }, {queue:false, duration:800, easing:'easeOutBounce'});
$(".number3").animate({top:'12px' }, {queue:false, duration:1000, easing:'easeOutBounce'});
$(".number4").animate({top:'12px' }, {queue:false, duration:1200, easing:'easeOutBounce'});
}

function learnmorebtn_click()
{
$("#mwcontent1").animate({left:'-287px' }, {queue:false, duration:400, easing:'jswing'});
$("#mwcontent2").animate({left:'0px' }, {queue:false, duration:400, easing:'jswing'});
return false;
}

function mwback_click()
{
$("#mwcontent1").animate({left:'0px' }, {queue:false, duration:400, easing:'jswing'});
$("#mwcontent2").animate({left:'287px' }, {queue:false, duration:400, easing:'jswing'});
return false;
}

function homeslider01()
{
$("#home_slider_img01").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img02").css("left","782px");
$("#home_slider_img02").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider02"),"5000");
}

function homeslider02()
{
$("#home_slider_img02").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img03").css("left","782px");
$("#home_slider_img03").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider03"),"5000");
}

function homeslider03()
{
$("#home_slider_img03").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img04").css("left","782px");
$("#home_slider_img04").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider04"),"5000");
}

function homeslider04()
{
$("#home_slider_img04").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img05").css("left","782px");
$("#home_slider_img05").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider05"),"5000");
}

function homeslider05()
{
$("#home_slider_img05").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img06").css("left","782px");
$("#home_slider_img06").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider06"),"5000");
}

function homeslider06()
{
$("#home_slider_img06").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img07").css("left","782px");
$("#home_slider_img07").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider07"),"5000");
}

function homeslider07()
{
$("#home_slider_img07").animate({left:'-782px' }, {queue:false, duration:1000, easing:'jswing'});
$("#home_slider_img01").css("left","782px");
$("#home_slider_img01").animate({left:'0px' }, {queue:false, duration:1000, easing:'jswing'});	

clearTimeout(timer);
timer = setTimeout(eval("homeslider01"),"5000");
}


  

function OnLoad(event)
{
clearTimeout(timer);
timer = setTimeout(eval("number_drop"),"300");
timer = setTimeout(eval("homeslider01"),"5000");
}

$('#learnmorebtn').bind('click', learnmorebtn_click);
$('#mwback').bind('click', mwback_click);

$(window).load(function(){
	OnLoad();
});

});
			
