function generate_randimage()
	{
		num = Math.floor(Math.random()*8);
		
			if ( num == 0 )
			{
				generate_randimage();
			}
			
		html = '';
		html += '<img src="grfx/anti-spam/image' + num + '.jpg" alt="Anti-Spam Code" width="150" height="35" />';
		html += "\n";
		html += '<input type="hidden" name="pwAntiCode" value="' + num + '" />';
		return html;
	}