		//<![CDATA[
			function openDir( form ) { 
			   var newIndex = form.fieldname.selectedIndex; 
			   if ( newIndex == 0 ) { 
			       alert( "Please select a location!" ); 
			  	 } else { 
			       cururl = form.fieldname.options[ newIndex ].value; 
			       window.location.assign( cururl ); 
				   } 
				} 
				
			var imgArray = new makeArray('images/main_page_image1.png','images/main_page_image2.png','images/main_page_image3.png','images/main_page_image4.png','images/main_page_image5.png');
			function makeArray(){
				this.length = makeArray.arguments.length
				for (var i = 0; i < this.length; i++)
				this[i + 1] = makeArray.arguments[i]
				}

			function randNum (num) {
				var now = new Date();
				var rand = Math.round(num * Math.cos(now.getTime()));
				if (rand < 0) rand = - rand; if (rand == 0) rand++;
				return rand;
				}		
			//]]>