if(sweepsOn != true){
	var contents = new Array("spas","golf","other","shopping","dining","areaatt","water");	
	var cLinks = new Array("/ltourism/attractions/spas.jsp","/ltourism/attractions/golf.jsp","/ltourism/attractions/other-activities.jsp","/ltourism/attractions/shopping.jsp","/ltourism/dining-entertainment/search-dining.jsp","/ltourism/attractions/area-attractions.jsp","/ltourism/attractions/water-attractions.jsp");
	
	function replacerSetup(){
		var loc = window.location.toString();		
		var wF = Math.round(Math.random()*(contents.length-1));			
	
		if(loc.indexOf(cLinks[wF]) == -1){
			replacer(wF);			
		}else{
			replacerSetup();
		}	
	}

	function replacer(wF){
		if($('feature-right')) {
			var feature = $('feature-right').getFirst();		
			var rightFeatureLnk = new Element('a', { 'href': cLinks[wF] });			
			var rightFeaturePic = new Element('img', { 'src': '/images/feature-right-' + contents[wF] + '.jpg' });			
			var rightFeatureCnt = rightFeaturePic.inject(rightFeatureLnk);
			rightFeatureLnk.inject(feature);
		}
	}
}
