// Array for banner images
	bannerImages = new Array("../images/banner1.jpg")
	thisAd = 0										//Counter
	imgCt = bannerImages.length					//Variable to hold the number of images in the array
	
	// Function to do the rotation job
	function rotate(){							//Check if the browses can recognize image objects
		if(document.images){
		
		/*if(thisAd==imgCt){						//Reset counter
				thisAd = 0
			}*/	
			
		thisAd=Math.floor((Math.random()*imgCt)); // Random number generating
		
		document.banner.src = bannerImages[thisAd];
		
		setTimeout("rotate()", 5*1000);       //Function is call every 5"
		}
	}
	// End hiding script from old browsers-->


  
	function findSearch()
	{
 		searchText = this.document.searchForm.search_text.value;
 		words = searchText.split(" ");
 		searchText = words.join("+");
 		if(this.document.searchForm.site[0].checked == true) 
 		{ thisUrl = "" + searchText; }
 		else 
 		{ thisUrl =" " + searchText; }
 		this.window.location = thisUrl;
	}
		
