// JavaScript Document

//popup code

function popUp(theProperty, theImage, theImagePosition) {
	
theImage =  "../images/properties/"+ theProperty + "/" + theImage ;

theImagePosition *= 250;
theImagePosition += 50;
theImagePosition += "px";



//Turn it on
document.getElementById("popUpLayer").style.display="block";


//Move it around
document.getElementById("popUpLayer").style.top=theImagePosition;

//set the picture
document.getElementById("popUpImage").src=theImage;



	
	
}


function popDown() {
	
	
	document.getElementById("popUpLayer").style.display="none";
}


//this one for the portraits

function popUpPortrait(theImage) {
	
	
//Turn it on
document.getElementById("pictureLayer").style.display="block";



//set the picture (popup picture???)
document.getElementById("popUpPicture").src="../images/about/"+theImage;


	
	
}


function popDownPicture() {
	
	
	document.getElementById("pictureLayer").style.display="none";
}
