// General Functions
<!--

function swapBGstyle(objectID) {
	var thisObj = document.getElementById(objectID);
	thisObj.style.backgroundColor = '#f3ede9';
	thisObj.style.color = '#48646b';
	}

function resetBGstyle(objectID) {
	var thisObj = document.getElementById(objectID);
	thisObj.style.backgroundColor = '#48646b';
	thisObj.style.color = '#f3ede9';
	}
var winContactUs

function ContactPop(varURL, varWidth, varHeight) { //v2.0
	winName = "winContact"
	
	// check if window is open. If open, close it
	if (winContactUs && winContactUs.open && !winContactUs.closed) {
 		winContactUs.close()
		winContactUs = null
	}
	
	winContactUs = window.open(varURL,winName,"width=" + varWidth + ",height="+varHeight + ",toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=1");
	
	// find width of screen
	var aw = (screen.availWidth-varWidth)/2;
	var ah = (screen.availHeight-varHeight)/2;
	
	winContactUs.moveTo(aw,ah);
	winContactUs.focus();
}
//-->
