var imglist = ["iron_transport.jpg", 
		"L3-ss.jpg", 
		"VR1-scheme.jpg", 
		"cTAP1-ribbons.jpg",
		"ed-paper1-plus6crop.jpg", 
		"peptide-loading-complex.jpg", 
		"TAP1_crystals.jpg",
		"TAP1dimer.jpg",
		"ToC_Mini_v2.jpg",
		"Fig_s3_density.jpg",
		"Alternating_access_400.jpg",
		"ATP_Color_400.png",
		"crystals-UCHL3-Ub.jpg",
		"TRPV1-ATP_400.jpg",
		"TRPV1-ATP-paprika_400.jpg"
		
		]
		
var desclist = ["Know your iron pathways!", 
		"Pretty ribbons", 
		"Activating TRPV1: Oh so hot!", 
		"TAP1 nucleotide-binding domain bound to ADP",
		"Ubiquitin hydrolase and suicide substrate", 
		"MHC loading complex", 
		"Crystals of cTAP1",
		"Crystal structure of the TAP1 cytosolic domain with ATP",
		"Conserved Regions of TRPV Ankyrin Repeat",
		"Electron Density of TRPV6 ARD",
		"Alternating access in metal transport",
		"ATP bound to the TRPV1 ankyrin repeats",
		"Crystals!",
		"TRPV1 ankyrin repeats resting on red pepper flakes",
		"TRPV1 ankyrin repeats resting on paprika"
		]

rndnum = Math.round(Math.random()*14);

function writeRndImg() {
	document.write("<img src='fp-images/" + imglist[rndnum] + "'>")
}

function writeRndText() {
	document.write(desclist[rndnum])
}