// JavaScript Document
function changeFP(img, title, data, sf) {

	var path = 'images/floorplans/';
	
	document.getElementById('floorplan').src = path+img;
	document.getElementById('floorplanName').innerHTML = title;
	document.getElementById('floorplanData').innerHTML = data;
	document.getElementById('sqft').innerHTML = sf;
}
function changePhoto(img,caption) {
	document.getElementById('photo').src = img;
	document.getElementById('caption').innerHTML = caption;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function mouseOverDot(id) {
	document.getElementById(id).style.backgroundImage='url(images/redDot.png)';	
}
function mouseOutDot(id) {
	document.getElementById(id).style.backgroundImage='url(images/greenDot.png)';	
}
function mouseOverText(id) {  
	document.getElementById(id).style.color="#652202";	
	document.getElementById(id).style.textDecoration="underline";
}
function mouseOutText(id) {
	document.getElementById(id).style.color="#484940";
	document.getElementById(id).style.textDecoration="none";
}
function showTooltip(tip) {
	document.getElementById(tip).style.display='block';	
}
function hideTooltip(tip) {
	document.getElementById(tip).style.display='none';	
}
function factoriaLocations(option1,option2) {
	document.getElementById('coldStone').style.color=option1;
	document.getElementById('coldStone').style.textDecoration=option2;
	document.getElementById('goldbergs').style.color=option1;
	document.getElementById('goldbergs').style.textDecoration=option2;
	document.getElementById('grazie').style.color=option1;
	document.getElementById('grazie').style.textDecoration=option2;
	document.getElementById('gyroWorld').style.color=option1;
	document.getElementById('gyroWorld').style.textDecoration=option2;
	document.getElementById('jambaJuice').style.color=option1;
	document.getElementById('jambaJuice').style.textDecoration=option2;
	document.getElementById('OEShe').style.color=option1;
	document.getElementById('OEShe').style.textDecoration=option2;
	document.getElementById('redRobin').style.color=option1;
	document.getElementById('redRobin').style.textDecoration=option2;
	document.getElementById('seattlesBest').style.color=option1;
	document.getElementById('seattlesBest').style.textDecoration=option2;
	document.getElementById('toreros').style.color=option1;
	document.getElementById('toreros').style.textDecoration=option2;
	document.getElementById('bathbodyworks').style.color=option1;
	document.getElementById('bathbodyworks').style.textDecoration=option2;
	document.getElementById('big5').style.color=option1;
	document.getElementById('big5').style.textDecoration=option2;
	document.getElementById('dsw').style.color=option1;
	document.getElementById('dsw').style.textDecoration=option2;
	document.getElementById('nordstromRack').style.color=option1;
	document.getElementById('nordstromRack').style.textDecoration=option2;
	document.getElementById('petco').style.color=option1;
	document.getElementById('petco').style.textDecoration=option2;
	document.getElementById('riteAid').style.color=option1;
	document.getElementById('riteAid').style.textDecoration=option2;
	document.getElementById('safeway').style.color=option1;
	document.getElementById('safeway').style.textDecoration=option2;
	document.getElementById('target').style.color=option1;
	document.getElementById('target').style.textDecoration=option2;
	document.getElementById('tjMaxx').style.color=option1;
	document.getElementById('tjMaxx').style.textDecoration=option2;
	document.getElementById('kidsQuest').style.color=option1;
	document.getElementById('kidsQuest').style.textDecoration=option2;
	document.getElementById('bofA').style.color=option1;
	document.getElementById('bofA').style.textDecoration=option2;
	document.getElementById('shoeRepair').style.color=option1;
	document.getElementById('shoeRepair').style.textDecoration=option2;
	document.getElementById('gnc').style.color=option1;
	document.getElementById('gnc').style.textDecoration=option2;
	document.getElementById('inSpa').style.color=option1;
	document.getElementById('inSpa').style.textDecoration=option2;
	document.getElementById('intlNails').style.color=option1;
	document.getElementById('intlNails').style.textDecoration=option2;
	document.getElementById('pearleVision').style.color=option1;
	document.getElementById('pearleVision').style.textDecoration=option2;
	document.getElementById('regis').style.color=option1;
	document.getElementById('regis').style.textDecoration=option2;
	document.getElementById('postOffice').style.color=option1;
	document.getElementById('postOffice').style.textDecoration=option2;
	document.getElementById('wamu').style.color=option1;
	document.getElementById('wamu').style.textDecoration=option2;
}
function showFactoria() {
	var option1 = '#652202';
	var option2 = 'underline';
	factoriaLocations(option1,option2);
}
function hideFactoria() {
	var option1 = '#484940';
	var option2 = 'none';
	factoriaLocations(option1,option2);
}