
if (document.images) {
	
	// kitchen
	var photokitchen001 = new Image(327,355); 
	photokitchen001.src="images/photokitchen001.jpg";
	var photokitchen002 = new Image(327,355); 
	photokitchen002.src="images/photokitchen002.jpg";
	var photokitchen003 = new Image(327,355); 
	photokitchen003.src="images/photokitchen003.jpg";
	var photokitchen004 = new Image(327,355); 
	photokitchen004.src="images/photokitchen004.jpg";
	var photokitchen005 = new Image(327,355); 
	photokitchen005.src="images/photokitchen005.jpg";
	
	var samplekitchen001 = new Image(230,87); 
	samplekitchen001.src="images/samplekitchen001.png";
	var samplekitchen002 = new Image(230,87); 
	samplekitchen002.src="images/samplekitchen002.png";
	var samplekitchen003 = new Image(230,87); 
	samplekitchen003.src="images/samplekitchen003.png";
	var samplekitchen004 = new Image(230,87); 
	samplekitchen004.src="images/samplekitchen004.png";
	var samplekitchen005 = new Image(230,87); 
	samplekitchen005.src="images/samplekitchen005.png";
	
	
	// baths
	var photobaths001 = new Image(327,355); 
	photobaths001.src="images/photobaths001.jpg";
	var photobaths002 = new Image(327,355); 
	photobaths002.src="images/photobaths002.jpg";
	var photobaths003 = new Image(327,355); 
	photobaths003.src="images/photobaths003.jpg";
	var photobaths004 = new Image(327,355); 
	photobaths004.src="images/photobaths004.jpg";
	var photobaths005 = new Image(327,355); 
	photobaths005.src="images/photobaths005.html";
	
	var samplebaths001 = new Image(230,87); 
	samplebaths001.src="images/samplebaths001.png";
	var samplebaths002 = new Image(230,87); 
	samplebaths002.src="images/samplebaths002.png";
	var samplebaths003 = new Image(230,87); 
	samplebaths003.src="images/samplebaths003.png";
	var samplebaths004 = new Image(230,87); 
	samplebaths004.src="images/samplebaths004.png";
	var samplebaths005 = new Image(230,87); 
	samplebaths005.src="images/samplebaths005.html";

	// fireplace
	var photofireplace001 = new Image(327,355); 
	photofireplace001.src="images/photofireplace001.jpg";
	var photofireplace002 = new Image(327,355); 
	photofireplace002.src="images/photofireplace002.jpg";
	var photofireplace003 = new Image(327,355); 
	photofireplace003.src="images/photofireplace003.jpg";
	var photofireplace004 = new Image(327,355); 
	photofireplace004.src="images/photofireplace004.jpg";
	var photofireplace005 = new Image(327,355); 
	photofireplace005.src="images/photofireplace005.jpg";
	
	var samplefireplace001 = new Image(230,87); 
	samplefireplace001.src="images/samplefireplace001.png";
	var samplefireplace002 = new Image(230,87); 
	samplefireplace002.src="images/samplefireplace002.png";
	var samplefireplace003 = new Image(230,87); 
	samplefireplace003.src="images/samplefireplace003.png";
	var samplefireplace004 = new Image(230,87); 
	samplefireplace004.src="images/samplefireplace004.png";
	var samplefireplace005 = new Image(230,87); 
	samplefireplace005.src="images/samplefireplace005.png";

	// other
	var photoother001 = new Image(327,355); 
	photoother001.src="images/photoother001.jpg";
	var photoother002 = new Image(327,355); 
	photoother002.src="images/photoother002.jpg";
	var photoother003 = new Image(327,355); 
	photoother003.src="images/photoother003.jpg";
	var photoother004 = new Image(327,355); 
	photoother004.src="images/photoother004.jpg";
	var photoother005 = new Image(327,355); 
	photoother005.src="images/photoother005.jpg";
	
	var sampleother001 = new Image(230,87); 
	sampleother001.src="images/sampleother001.png";
	var sampleother002 = new Image(230,87); 
	sampleother002.src="images/sampleother002.png";
	var sampleother003 = new Image(230,87); 
	sampleother003.src="images/sampleother003.png";
	var sampleother004 = new Image(230,87); 
	sampleother004.src="images/sampleother004.png";
	var sampleother005 = new Image(230,87); 
	sampleother005.src="images/sampleother005.png";

}

function showPic (whichpicmain,whichpicsecondary) {
	if (document.getElementById) {
		document.getElementById('placeholdermain').src = whichpicmain.src;
		document.getElementById('placeholdersecondary').src = whichpicsecondary.src;
		return false;
	} else {
		return true;
	}
}
