// JavaScript Document

function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

var theImages = new Array() // do not change this
theImages[0] = 'random/01_title_card.jpg'
theImages[1] = 'random/02_list1.jpg'     
theImages[2] = 'random/05_troopers_read.jpg'     
theImages[3] = 'random/06_list2.jpg'                    
theImages[4] = 'random/07_lucas_arms.jpg'               
theImages[5] = 'random/09_troopers1.jpg'                
theImages[6] = 'random/11_keyboard.jpg'                 
theImages[7] = 'random/12_harry_palms.jpg'              
theImages[8] = 'random/13_doorbell1.jpg'                
theImages[9] = 'random/14_harry_hears.jpg'                 
theImages[10] = 'random/15_harry_answers.jpg'               
theImages[11] = 'random/16_pizza_troopers.jpg'        
theImages[12] = 'random/17_huh.jpg'                       
theImages[13] = 'random/18_pizza_whack.jpg'              
theImages[14] = 'random/19_harry_truck.jpg'              
theImages[15] = 'random/21_peter_gripper.jpg'            
theImages[16] = 'random/22_peter_gripper_mail.jpg'       
theImages[17] = 'random/23_spy_report.jpg'               
theImages[18] = 'random/24_doorbell2.jpg'                
theImages[19] = 'random/25_ed_mcmahon.jpg'               
theImages[20] = 'random/26_peter_huh.jpg'                
theImages[21] = 'random/28_check_whack.jpg'              
theImages[22] = 'random/29_peter_truck.jpg'              
theImages[23] = 'random/31_scamp_chimpwood.jpg'          
theImages[24] = 'random/32_scamp_calls_plumbers.jpg'     
theImages[25] = 'random/34_plumbers1.jpg'                
theImages[26] = 'random/35_plumbers2.jpg'                
theImages[27] = 'random/36_doorbell3.jpg'                
theImages[28] = 'random/37_plumber_troopers.jpg'         
theImages[29] = 'random/38_troopers_enter_bathroom.jpg'  
theImages[30] = 'random/39_the_look.jpg'                 
theImages[31] = 'random/40_grab_scamp.jpg'               
theImages[32] = 'random/41_dunk_scamp1.jpg'              
theImages[33] = 'random/42_dunk_scamp2.jpg'              
theImages[34] = 'random/43_dunk_scamp3.jpg'              
theImages[35] = 'random/44_dunk_scamp4.jpg'              
theImages[36] = 'random/45_scamp_truck.jpg'              
theImages[37] = 'random/46_drive_away.jpg'               
theImages[38] = 'random/48_troopers_steps.jpg'           
theImages[39] = 'random/49_wake_up.jpg'                  
theImages[40] = 'random/51_tied_up.jpg'                  
theImages[41] = 'random/52_lights_out.jpg'               
theImages[42] = 'random/53_harry_reaction1.jpg'          
theImages[43] = 'random/54_peter_reaction1.jpg'          
theImages[44] = 'random/55_scamp_reaction1.jpg'          
theImages[45] = 'random/57_harry_reaction2.jpg'          
theImages[46] = 'random/58_peter_reaction2.jpg'          
theImages[47] = 'random/59_scamp_reaction2.jpg'          
theImages[48] = 'random/63_list3.jpg'                    
theImages[49] = 'random/64_troopers_read_again.jpg'      
theImages[50] = 'random/65_list4.jpg'                    
theImages[51] = 'random/66_final_look.jpg'

// do not edit anything below this line
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" border=1>');
}
//  End -->


