// --   set up global variables
var avail = new Array()
var para = new Array()
i = n = 0
// --   Available items
para[0]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_almodovar.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="Pedro Almodovar">'
para[1]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_blair.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="Tony Blair">'
para[2]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_chirac.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="Jaques Chirac">'
para[3]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_erdogan.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="recep tayyip erdogan">'
para[4]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_lepen.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="jean-marie le pen">'
para[5]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_monti.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="mario monti">'
para[6]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_rowling.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="jk rowling">'
para[7]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_schroder.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="gerhard scroder">'
para[8]='<IMG SRC="http://i.timeinc.net/time/europe/forecast2003/images/sm_sharon.gif" WIDTH="53" HEIGHT="57" BORDER="0" ALIGN="left" ALT="ariel sharon">'
// --   generate urls
while ( i < 999 ) {
	// -- pick a number, any number ...
	var a = Math.round(Math.random() * 9)
	// -- Is the item a). available and b). an item at all ...
	if (avail[a] != 'no' && para[a] != null) {
	avail[a] = 'no'
	document.write (
	para[a]
	)
	// -- have we reached the display limit?
	if (n > displayTotal - 2) {
		// -- If yes, this fails out of the loop
		i = 1000
		}
		n++
		}
	i++
}