
function popitup(url,name,features)
{
	newwindow=window.open(url, name, features + ",left=10, top=0"); 
	//,resizable=yes scrollbars=yes location=yes toolbar=yes menubar=yes");
	if (window.focus) {newwindow.focus()}
	return false;
}
function popdocs(url,features)
{
	window.open(url, name, features + ",left=10, top=0, resizable=yes scrollbars=yes");
}



if (document.images){


var img1 = new Image();
img1.src = "images/lakeview-fr.jpg";
img1.height = 350;
img1.width = 500;

var img2 = new Image();
img2.src = "images/ad_dineA.jpg";
img2.height = 375;
img2.width = 500;


var img3 = new Image();
img3.src = "images/breakfastFull.jpg";
img3.height = 334;
img3.width = 500;


var img4 = new Image();
img4.src = "images/rslrnew.jpg";
img4.height = 302;
img4.width = 500;


var img5 = new Image();
img5.src = "images/family_from_kitchen.jpg";
img5.height = 334;
img5.width = 500;

var img6 = new Image();
img6.src = "images/familyrm.jpg";
img6.height = 359;
img6.width = 500;


var img7 = new Image();
img7.src = "images/gm_livingroom.jpg";
img7.height = 375;
img7.width = 500;
 
var img8 = new Image();
img8.src = "images/js_family.jpg";
img8.height = 375;
img8.width = 500;

var img9 = new Image();
img9.src = "images/km1b_kitchen.jpg";
img9.height = 375;
img9.width = 500;

var img10 = new Image();
img10.src = "images/samrm1.jpg";
img10.height = 345;
img10.width = 500;


var img11 = new Image();
img11.src = "images/jacksRoom.jpg";
img11.height = 343;
img11.width = 500;


var img12 = new Image();
img12.src = "images/bd_bedroom1a1.jpg";
img12.height = 375;
img12.width = 500;

var img13 = new Image();
img13.src = "images/bd_bedroom2a1.jpg";
img13.height = 375;
img13.width = 500;

var img14 = new Image();
img14.src = "images/pc_bedroom2.jpg";
img14.height = 375;
img14.width = 500;


}
var i=1;
var numOfPhotos=16;

function imgClick(imgName)  {
		if (document.images)  {
				document["holder"].src = eval(imgName + ".src");
				document["holder"].height = eval(imgName + ".height");
				document["holder"].width = eval(imgName + ".width");
				
			}
}
function forwardOne()  {


	
		if (document.images)  {
			if (i<numOfPhotos){
			i++
			
				document["holder"].src = eval("img" + i + ".src");
				document["holder"].height = eval("img" + i + ".height");
				document["holder"].width = eval("img" + i + ".width");
				}
			}
}
function backOne()  {
	
		if (document.images)  {
			if (i>1){
			i--
			
				document["holder"].src = eval("img" + i + ".src");
				document["holder"].height = eval("img" + i + ".height");
				document["holder"].width = eval("img" + i + ".width");
				}
			}
}

function showMenu(){
	document.getElementById('subMenu').style.display = "block";
}
function hideMenu(){
	document.getElementById('subMenu').style.display = "none";
}

