var randomimages = new Array()
randomimages[0]=["rand1.png"] 
randomimages[1]=["rand2.png"] 
randomimages[2]=["rand3.png"] 


function randomimage()
{
	var whichquote=Math.floor(Math.random()*(randomimages.length));
	document.write("<img src='/wp-content/themes/yes/newimages/" + randomimages[whichquote][0] + "' />");

}


//Maurice - this is where you will add in the files you have created - the first one is just a blank example.
//Follow on from the example above (which shows the random character images) to add new images
var randomimages2 = new Array()
randomimages2[0]=["top1.jpg"] 
randomimages2[1]=["top2.jpg"] 
randomimages2[2]=["top3.jpg"] 
randomimages2[3]=["top4.jpg"] 
randomimages2[4]=["top5.jpg"] 
randomimages2[5]=["top6.jpg"] 
randomimages2[6]=["top7.jpg"] 


function randomimage2()
{
	var whichquote2=Math.floor(Math.random()*(randomimages2.length));
	document.write("<img src='/wp-content/themes/yes/newimages/" + randomimages2[whichquote2][0] + "' />");

}

$(function(){


	$('.current-menu-item').children('ul').show();
		$('.current-menu-parent').children('ul').show();
	


});
