this.randomspotlight = function(){
	var length = $("#gspotlight li").length;
	var ran = Math.floor(Math.random()*length) + 1;
        var max= 0;
	for(var i=0; i<3; i++)
	{
		
	    

		var ar = (ran + i) % length ;
		if (max < ar)
                 {   
                    max = ar;
                 }
                
		$("#gspotlight li:eq(" + ar + ")").css({"display": "block", "border-bottom":"1px solid #e5e5e5"});
               

	


	}
            $("#gspotlight li:eq(" + max + ")").css({"border-bottom":"5px solid #c0c0c0"});  
};

$(document).ready(function(){	
	randomspotlight();
});
