// ***** Btn Rollover *****
function roll(imgName,imgState) {
	document.images[imgName].src = imgState
}
// ***********************************************************************

// ***** Preload Rollover Images ***************************************
if (document.images) {
	image1 = new Image(); image1.src = "/images/nav/home_ON.gif";
	image2 = new Image(); image2.src = "/images/nav/faqs_ON.gif";
	image3 = new Image(); image3.src = "/images/nav/get_a_quote_ON.gif";
	image4 = new Image(); image4.src = "/images/nav/video_inspections_ON.gif";
	image5 = new Image(); image5.src = "/images/nav/realtor_tools_ON.gif";
	
	image10 = new Image(); image10.src = "/images/btn/tab_about_ON.gif";
	image11 = new Image(); image11.src = "/images/btn/tab_contact_ON.gif";
	
	image20 = new Image(); image20.src = "/images/photo/main_home_01.jpg";
	image21 = new Image(); image21.src = "/images/photo/main_home_02.jpg";
	image22 = new Image(); image22.src = "/images/photo/main_home_03.jpg";
	
	image100 = new Image(); image100.src = "/images/spacer.gif";
}
// *********************************************************************

// *********************************************************************
// Function to create pop-up windows at a custom size.
// w = width
// h = height
// d = directories
// l = location
// m = menubar
// r = resizeable
// sc = scrollbars
// st = status
// t = toolbar
// EXAMPLE CALL: <a href="/javascript:popUp('[URL]','[WINDOW NAME]',400,300,1,1,0,0,0,0,0);">LINK</a>
// *********************************************************************
function popUp(URL,name,w,h,d,l,m,r,sc,st,t) {
	var featureStr = "";
	featureStr = "width=" + w + ",height=" + h + ",directories=" + d + ",location=" + l + ",menubar=" + m + ",resizable=" + r + ",scrollbars=" + sc + ",status=" + st + ",toolbar=" + t;
	window.open(URL,name,featureStr);
}
// **********************************************************************

