var pick = "0";
function slideSwitch() {
    var $active = $('#headerImages IMG.active');
    if ( $active.length == 0 ) $active = $('#headerImages IMG:last');

	if(pick == "0")
	{var $sibs  = $active.siblings();
     var rndNum = Math.floor(Math.random() * $sibs.length );
     var $next  = $( $sibs[ rndNum ] );
	 pick = "1";}
	else
	{var $next =  $active.next().length ? $active.next()
     : $('#headerImages IMG:first');}

    $active.addClass('last-active');
    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() { /*to manage slide's blur effect please increase/decrease "1000" */
            $active.removeClass('active last-active');
        });
}

/*Slide Timer*/
$(function(){setInterval( "slideSwitch()", 5000 );});
/* 
Increace value to increase time interval 
Example: [ Slow Sliding ]
$(function(){setInterval( "slideSwitch()", 8000 );}); 
high value will increase time interval 

Example: [ Speed Sliding ]
$(function(){setInterval( "slideSwitch()", 2000 );}); 
low value will reduce time interval 
*/

