$(document).ready(function(){

    var browserWidth = $(window).width();            
    $('#feature-slider').cycle({ 
        fx: 'fade', 
        fit: 1,
        speed: 1500, 
        timeout: 6000, 
        pager: '#nav' ,
        width: browserWidth
    });

    $(window).resize(function() {
        var browserWidth = $(window).width();
        $('#feature-slider').cycle({ 
            fx: 'fade', 
            fit: 1,
            speed: 1000, 
            timeout: 0, 
            width: browserWidth
        });
    });

$("#date-pick").glDatePicker(
{
    cssName: "android",
    showPrevNext: true,
    allowOld: false,
    showAlways: false,
    startDate: new Date()   //,
  //  onChange: function(target, newDate)
   // {
    //    target.val
     //   (
      //      newDate.getDate() + "/" +
       //     (newDate.getMonth() + 1) + "-" +
        //    newDate.getFullYear()
        //);
    //}
});
				
	$('#tableForm').ketchup();

	$(document).ready(function() {
		$(".w2bslikebox").hover(function() {
		$(this).stop().animate({right: "0"}, "medium");}, function() {
		$(this).stop().animate({right: "-250"}, "medium");}, 500);}
	);


});				
			


