// JavaScript Document

// GENERAL:

function ShowHide(id, display) { 
	obj = document.getElementsByTagName("div"); 
	obj[id].style.display = display; 
}

// FAQ:

function ShowAnswer(answer) {

	document.getElementById(answer).style.display = "block"
	if(openanswer!='none') {document.getElementById(openanswer).style.display = "none"}

	if(openanswer==answer) {openanswer='none'} else {openanswer=answer};
}


// LOCATION:

function ShowMap() {
		
	ShowHide('maplink','none');
	
	document.getElementById("embeddedmap").innerHTML = "<a href='javascript:HideMap();'>Hide Map</a><br /><br /><iframe width='545' height='350' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='http://maps.google.com/maps?q=57+10th+Street,+Suite+1A,+Steamboat+Springs,+CO+80487&amp;oe=UTF-8&amp;ie=UTF8&amp;split=0&amp;gl=us&amp;ei=A5jWSffmA4Sstgff95zhDw&amp;ll=40.490239,-106.835046&amp;spn=0.011423,0.023603&amp;z=15&amp;iwloc=addr&amp;output=embed' id='map'></iframe><br /><small><a href='http://maps.google.com/maps?q=57+10th+Street,+Suite+1A,+Steamboat+Springs,+CO+80487&amp;oe=UTF-8&amp;ie=UTF8&amp;split=0&amp;gl=us&amp;ei=A5jWSffmA4Sstgff95zhDw&amp;ll=40.490239,-106.835046&amp;spn=0.011423,0.023603&amp;z=15&amp;iwloc=addr&amp;source=embed' style='color:#0000FF;text-align:left'>View Larger Map</a></small>"
	
}
function HideMap() {
	
	ShowHide('maplink','inline');

	document.getElementById("embeddedmap").innerHTML = ""

}
