$(document).ready(function()
{

$("#Wgp2").hide();
$("#Wgp3").hide();

slideWeather();
//$("#Wgp1").click(function()
//{
//    $("#Wgp1").fadeOut("slow",function()
//        {
//            $("#Wgp2").fadeIn("slow");
//            setTimeout(
//            $("#Wgp2").fadeOut("slow",function()
//            {
//                $("#Wgp3").fadeIn("slow");
//            }
//            )
//            ,3000); 
//        }
//    );
//}
//);

//$("#Wgp2").click(function()
//{
//    $("#Wgp2").fadeOut("slow",function()
//        {
//            $("#Wgp3").fadeIn("slow");
//        }
//    );
//}
//);


//$("#Wgp3").click(function()
//{
//    $("#Wgp3").fadeOut("slow",function()
//        {
//            $("#Wgp1").fadeIn("slow");
//        }
//    );
//}
//);

}); 

function slideWeather()
{
    setTimeout(function()
    {
        $("#Wgp1").fadeOut("slow",function()
            {
                $("#Wgp2").fadeIn("slow");
                setTimeout(function()
                { 
                    $("#Wgp2").fadeOut("slow",function()
                    {
                        $("#Wgp3").fadeIn("slow");
                        setTimeout(function()
                        {
                            $("#Wgp3").fadeOut("slow",function()
                            {
                                $("#Wgp1").fadeIn("slow");
                                //setTimeout("slideWeather()",3000); 
                                slideWeather();
                            });
                        },3000);
                    });
                },3000); 
            }
        );
        
    },3000
    );
   
   
}
