// JavaScript Document

var studentName = new Array();

studentName[6] = "Fred, 7Q";
studentName[7] = "Lucy Simmons, 7K";
studentName[8] = "Kizzy Yuill, 7E";
studentName[9] = "Katie Ellen Bowness, 7E";
studentName[10] = "Colette Townsend, 7W";
studentName[11] = "Ruby Sherrington, 7W";
studentName[12] = "Charlotte Owen, 7Q";
studentName[13] = "No Name Given!, 7K";
studentName[14] = "Lois Stephenson, 7K";
studentName[15] = "Alexander Moore, 7L";
studentName[16] = "Eleanor Benson, 7Q";
studentName[17] = "Katy Gladwinfield, 7K";
studentName[18] = "Didi Davies, 7E";
studentName[19] = "Kerry Street, 7E";
studentName[20] = ", 7K";
studentName[21] = ", 7K";
studentName[22] = ", 7K";
studentName[23] = ", 7K";
studentName[24] = ", 7K";
studentName[25] = ", 7K";


	function displayPuds() 
	{ 
		var d=new Date()
		var daynumber=d.getDate();
		
		//alert(daynumber);
		
		document.write('<div align="center">');
	
		var temp = '<a href="javascript:void(0);" onmouseout="return nd();" onmouseover="return overlib(\'<img src=home/special/0809/puds/large/' + daynumber + '.gif style=margin-top: 5px; margin-bottom: 5px; margin-left: 5px; margin-right: 5px><p style=height:40px;text-align:center;font-size:140%;color:#ffffff;font-weight:bolder;background-color:#ff0000; margin-bottom:0px>This is just one of the festive creations produced by our Year 7 students as part of an Art project to make wrappers for the Xmas Puds sold by the QES Association.<br>We will display a new wrapper each day in the run-up to Christmas.<br>Congratulations to all Y7 for their festive efforts!</p></div>\', CAPTION, \'Art Work today is by ' + studentName[daynumber] + '\', CAPCOLOR, \'#FFFFFF\', FGCOLOR, \'#ffffff\', BGCOLOR, \'#ff0000\', WIDTH, 620, OFFSETX, -690, OFFSETY, -300, BELOW, BORDER, 4, CAPTIONFONT, \'Arial\', CAPTIONSIZE, 3)"><img src="home/special/0809/puds/' + daynumber + 'small.gif" width="157" border=0 style="margin-top: 2px; margin-bottom: 0px" alt="Thanks to Mr Gabrysch for photographing this work."></a>';
		document.write(temp);

		document.write('</div>');

	} 

