number = Math.random();
number = number*5
number = Math.floor(number)+1;


function drawImage() {

	if (number == 1 || number == 6) {
	 document.write('<table width=580 border=0 cellpadding=0 cellspacing=0>');
	 document.write('<tr>');
	 document.write('<td colspan=3 width=580 height=210 align="left" valign="top"><img src="images/home_1.jpg" width=580 height=210 alt="Luxottica Titanium" lowsrc="images/spacer.gif"></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=13 background="images/wide_circlebg_a.gif" align="left" valign="top"><img src="images/wide_topleft_corner.gif" width="8" height="13" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=454 height=13 bgcolor="#FFFFFF"><img src="images/spacer.gif" width="20" height="13" border="0" alt=""></td>');
	 document.write('<td width=48 height=13 bgcolor="#FFFFFF"><img src="images/spacer.gif" width="20" height="13" border="0" alt=""></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=80 align="left" valign="top" background="images/wide_circlebg_b.gif"><img src="images/wide_left.gif" width="8" height="80" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width=454 height=80 align="left" valign="top" background="images/wide_circlebg_c.gif"><p class="intro"><img src="images/welcome_title.gif" width="145" height="34" lowsrc="images/spacer.gif" border="0" alt="Welcome"><br>We hope you find the information you need within our pages but if you would like to know more please use the <a href="/contact_us/index.html">Contact us</a> facility. We will be happy to answer your questions.</p></td>');
	 document.write('<td width=48 height=80 bgcolor="#FFFFFF">&nbsp;</td>')
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=9 align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_baseleft_corner.gif" width="78" height="9" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=454 height=9 valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_base.gif" width="454" height="2" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=48 height=9 align="right" valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_baseright_corner.gif" width="48" height="9" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('</tr>');
	 document.write('</table>');
	}

	else if (number == 2) {
	 document.write('<table width=580 border=0 cellpadding=0 cellspacing=0>');
	 document.write('<tr>');
	 document.write('<td colspan=3 width=580 height=210 align="left" valign="top"><img src="images/home_2.jpg" width=580 height=210 lowsrc="images/spacer.gif" alt="Rayban"></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=13 background="images/wide_circlebg_a.gif" align="left" valign="top"><img src="images/wide_topleft_corner.gif" width="8" height="13" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=454 height=13 bgcolor="#FFFFFF"><img src="images/spacer.gif" width="20" height="13" border="0" alt=""></td>');
	 document.write('<td width=48 height=13 bgcolor="#FFFFFF"><img src="images/spacer.gif" width="20" height="13" border="0" alt=""></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=80 align="left" valign="top" background="images/wide_circlebg_b.gif"><img src="images/wide_left.gif" width="8" height="80" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width=454 height=80 align="left" valign="top" background="images/wide_circlebg_c.gif"><p class="intro"><img src="images/welcome_title.gif" width="145" height="34" lowsrc="images/spacer.gif" border="0" alt="Welcome"><br>We hope you find the information you need within our pages but if you would like to know more please use the <a href="/contact_us/index.html">Contact us</a> facility. We will be happy to answer your questions.</p></td>');
	 document.write('<td width=48 height=80 bgcolor="#FFFFFF">&nbsp;</td>')
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=9 align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_baseleft_corner.gif" width="78" height="9" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=454 height=9 valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_base.gif" width="454" height="2" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=48 height=9 align="right" valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_baseright_corner.gif" width="48" height="9" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('</tr>');
	 document.write('</table>');
	}
	
	else if (number == 3) {
	 document.write('<table width="580" border="0" cellpadding="0" cellspacing="0">');
	 document.write('<tr>');
	 document.write('<td width="48" height="74" background="images/home_circlebg_a.gif" align="left" valign="top"><img src="images/home_topleft_corner.gif" width="48" height="74" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width="222" height="74" align="left" valign="top" background="images/home_circlebg_b.gif"><img src="images/home_top_left.gif" width="222" height="7" alt=""></td>');
	 document.write('<td width="55" height="74" bgcolor="#FFFFFF" align="left" valign="top"><img src="images/home_mid_top.gif" width="55" height="7" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td rowspan="3" width="255" height="312"><img src="images/home_3.jpg" width="255" height="312" border="0" alt="Giorgio Armani" lowsrc="images/spacer.gif"></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width="48" height="229" align="left" valign="top" background="images/home_circlebg_c.gif"><img src="images/home_left.gif" width="10" height="229" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width="222" height="229" align="left" valign="top" background="images/home_circlebg_d.gif"><p class="intro"><img src="images/welcome_title.gif" width="145" height="34" lowsrc="images/spacer.gif" border="0" alt="Welcome"><br>We hope you find the information you need within our pages but if you would like to know more please use the <a href="/contact_us/index.html">Contact us</a> facility. We will be happy to answer your questions.</p><p class="intro">Take a closer look at Rawlings and we\'re sure you\'ll see just how many important ways we can help.</p></td>');
	 document.write('<td width="55" height="229" bgcolor="#FFFFFF">&nbsp;</td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width="48" height="9" align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/home_leftbase_corner.gif" width="48" height="9" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width="222" height="9" bgcolor="#FFFFFF" align="left" valign="bottom"><img src="images/home_midleft_base.gif" width="222" height="2" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width="55" height="9" align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/home_mid_base.gif" width="55" height="2" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('</tr>');
	 document.write('</table>');
	}

	else if (number == 4) {
	 document.write('<table width="580" border="0" cellpadding="0" cellspacing="0">');
	 document.write('<tr>');
	 document.write('<td width="48" height="74" background="images/home_circlebg_a.gif" align="left" valign="top"><img src="images/home_topleft_corner.gif" width="48" height="74" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width="222" height="74" align="left" valign="top" background="images/home_circlebg_b.gif"><img src="images/home_top_left.gif" width="222" height="7" alt=""></td>');
	 document.write('<td width="37" height="74" bgcolor="#FFFFFF" align="left" valign="top"><img src="images/home_mid_top.gif" width="37" height="7" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td rowspan="3" width="273" height="312"><img src="images/home_4.jpg" width="273" height="312" border="0" alt="Emporio Armani" lowsrc="images/spacer.gif"></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width="48" height="229" align="left" valign="top" background="images/home_circlebg_c.gif"><img src="images/home_left.gif" width="10" height="229" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width="222" height="229" align="left" valign="top" background="images/home_circlebg_d.gif"><p class="intro"><img src="images/welcome_title.gif" width="145" height="34" lowsrc="images/spacer.gif" border="0" alt="Welcome"><br>We hope you find the information you need within our pages but if you would like to know more please use the <a href="/contact_us/index.html">Contact us</a> facility. We will be happy to answer your questions.</p><p class="intro">Take a closer look at Rawlings and we\'re sure you\'ll see just how many important ways we can help.</p></td>');
	 document.write('<td width="37" height="229" bgcolor="#FFFFFF">&nbsp;</td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width="48" height="9" align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/home_leftbase_corner.gif" width="48" height="9" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width="222" height="9" bgcolor="#FFFFFF" align="left" valign="bottom"><img src="images/home_midleft_base.gif" width="222" height="2" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width="37" height="9" align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/home_mid_base.gif" width="37" height="2" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('</tr>');
	 document.write('</table>');
	}

	else if (number == 5) {
	 document.write('<table width=580 border=0 cellpadding=0 cellspacing=0>');
	 document.write('<tr>');
	 document.write('<td colspan=3 width=580 height=210 align="left" valign="top"><img src="images/home_5.jpg" width=580 height=210 alt="Rawlings are proud to be recognised as an Acuvue Centre of Excellence" lowsrc="images/spacer.gif"></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=13 background="images/wide_circlebg_a.gif" align="left" valign="top"><img src="images/wide_topleft_corner.gif" width="8" height="13" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=454 height=13 bgcolor="#FFFFFF"><img src="images/spacer.gif" width="20" height="13" border="0" alt=""></td>');
	 document.write('<td width=48 height=13 bgcolor="#FFFFFF"><img src="images/spacer.gif" width="20" height="13" border="0" alt=""></td>');
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=80 align="left" valign="top" background="images/wide_circlebg_b.gif"><img src="images/wide_left.gif" width="8" height="80" lowsrc="images/spacer.gif" border="0" alt=""></td>');
	 document.write('<td width=454 height=80 align="left" valign="top" background="images/wide_circlebg_c.gif"><p class="intro"><img src="images/welcome_title.gif" width="145" height="34" lowsrc="images/spacer.gif" border="0" alt="Welcome"><br>We hope you find the information you need within our pages but if you would like to know more please use the <a href="/contact_us/index.html">Contact us</a> facility. We will be happy to answer your questions.</p></td>');
	 document.write('<td width=48 height=80 bgcolor="#FFFFFF">&nbsp;</td>')
	 document.write('</tr>');
	 document.write('<tr>');
	 document.write('<td width=78 height=9 align="left" valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_baseleft_corner.gif" width="78" height="9" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=454 height=9 valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_base.gif" width="454" height="2" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('<td width=48 height=9 align="right" valign="bottom" bgcolor="#FFFFFF"><img src="images/wide_baseright_corner.gif" width="48" height="9" border="0" lowsrc="images/spacer.gif" alt=""></td>');
	 document.write('</tr>');
	 document.write('</table>');
	}

}