	function getRand(onPage)
	{
	numArray = null;
	
		if(onPage == 'front')
		{
			numArray = new Array('<a href="/products/w_products_flats.asp" onmouseout="hilite(document.front1,8)" onmouseover="hilite(document.front1,8)"><img src="/images/w_front_01.gif" width="145" height="92" border="0" name="front1" alt="click to view"></a>','<a href="/products/w_products_soil_elevators.asp" onmouseout="hilite(document.front6,13)" onmouseover="hilite(document.front6,13)"><img src="/images/w_front_06.gif" width="145" height="92" border="0" name="front6" alt="click to view">');
		}
		else if(onPage == 'front2')
		{
			numArray = new Array('<a href="/products/w_products_transplanters.asp" onmouseout="hilite(document.front2,9)" onmouseover="hilite(document.front2,9)"><img src="/images/w_front_02.gif" width="145" height="92" border="0" name="front2" alt="click to view"></a>','<a href="/products/w_products_transplanters.asp" onmouseout="hilite(document.front7,14)" onmouseover="hilite(document.front7,14)"><img src="/images/w_front_07.gif" width="145" height="92" border="0" name="front7" alt="click to view"></a>');
		}
		else if(onPage == 'front3')
		{
			numArray = new Array('<a href="/products/w_products_seeders.asp" onmouseout="hilite(document.front3,10)" onmouseover="hilite(document.front3,10)"><img src="/images/w_front_03.gif" width="145" height="92" border="0" name="front3" alt="click to view"></a>','<a href="/products/w_products_seeding_lines.asp" onmouseout="hilite(document.front4,11)" onmouseover="hilite(document.front4,11)"><img src="/images/w_front_04.gif" width="145" height="92" border="0" name="front4" alt="click to view"></a>','<a href="/products/w_products_seeding_lines.asp" onmouseout="hilite(document.front5,12)" onmouseover="hilite(document.front5,12)"><img src="/images/w_front_05.gif" width="145" height="92" border="0" name="front5" alt="click to view">');
		}		
		else if(onPage == 'testimonial')
		{
			numArray = new Array('1','2','3','4');
		}		
				
		//randomly load an image, using the var randNum
		//maxNum is the highest numbered image within the images directory
		
		
			var maxNum = numArray.length;
			var randNum = (Math.floor(Math.random() * maxNum));
			
			randNum = numArray[randNum];
			
		return randNum;
	}


	function getfocus(){
		window.focus();
	}	
