pic1= new Image(301,33); 
pic1.src="/images/homepage/homeSignButtonO.png"; 

var myInterval;

function mouseOver(){
	document.body.style.cursor = 'pointer';
}

function mouseOut(){
	document.body.style.cursor = 'default';
}

function homepageButtonMOver(El){
	 	mouseOver();
		El.style.backgroundImage = 'url(\'/images/homepage/homeSignButtonO.png\')';
	} 

function homepageButtonMOut(El){
	 mouseOut();
	 El.style.backgroundImage = 'url(\'/images/homepage/homeSignButton.png\')';
}

function homepageButtonMClick(El){
	if(El.id == "news"){
	window.location = '/adrian-news-and-events';
	}
	
	if(El.id == "sights"){
	window.location = '/attractions';
	}
	
	if(El.id == "shopping"){
	window.location = '/business-directory';
	}
}

function showContent(El){

	document.getElementById('defaultTxt').style.display = 'none';
	document.getElementById('newsContent').style.display = 'none';
	document.getElementById('sightsContent').style.display = 'none';
	document.getElementById('shoppingContent').style.display = 'none';
	document.getElementById('shoppingDiningTxt').style.display = 'none';
	document.getElementById('featuredAttractionTxt').style.display = 'none';
	document.getElementById('galleryTease').style.display = 'none';
	
	var showContentID = El.id+'Content'; 
	
	document.getElementById(showContentID).style.display = 'block';
	
	if(showContentID == 'shoppingContent'){
		document.getElementById('shoppingDiningTxt').style.display = 'block';
	}
	
	if(showContentID == 'sightsContent'){
		document.getElementById('featuredAttractionTxt').style.display = 'block';
	}

}

function attractionMOver(attEl){
	mouseOver();
	attEl.style.backgroundColor = '#000';
}

function attractionMOut(attEl){
	mouseOut();
	attEl.style.backgroundColor = '#fff';
}

function getAttraction(thisid){
	window.location = '/attractions/'+thisid;
}

