// Random Image

	var theImages = new Array() 
	
	theImages[0] = 'images/newsalerts/car.jpg'
	theImages[1] = 'images/newsalerts/guard.jpg'
	theImages[2] = 'images/newsalerts/handcuff1.jpg'
	theImages[3] = 'images/newsalerts/handcuff2.jpg'
	theImages[4] = 'images/newsalerts/jail.jpg'
	theImages[5] = 'images/newsalerts/jail2.jpg'
	theImages[6] = 'images/newsalerts/jail3.jpg'
	theImages[7] = 'images/newsalerts/medical.jpg'
	theImages[8] = 'images/newsalerts/police1.jpg'
	theImages[9] = 'images/newsalerts/police2.jpg'
	theImages[10] = 'images/newsalerts/police3.jpg'
	theImages[11] = 'images/newsalerts/tape.jpg'
	theImages[12] = 'images/newsalerts/wire.jpg'
	theImages[13] = 'images/newsalerts/wire2.jpg'
	theImages[14] = 'images/newsalerts/wire3.jpg'
	theImages[14] = 'images/newsalerts/police4.jpg'
	theImages[14] = 'images/newsalerts/police5.jpg'
	theImages[14] = 'images/newsalerts/computer.jpg'
	
	var shuffled = [];
	
	while (theImages.length) {
		shuffled.push(theImages.splice(Math.random() * theImages.length, 1));
	}	
	
//Activate Immediately
$(document).ready(function(){
    
    //Runs Script each time there is an <li>
    $("#news li").each(function(index){    
        
        //Puts Image in front of everything in <li>
        $(this).prepend('<img src="'+shuffled[index]+'">');
        
    });
    
});
