//pop up for terms and privacy
function popupWin(URL) {
	window.open(URL,"","height=380,width=550,toolbar=0,menubar=0,location=0,menu=0,scrollbars=1,resizable=1");
}
// sub navigation for the services pages
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("mainNav");
	for (i=0; i<navRoot.childNodes.length; i++) {
		node = navRoot.childNodes[i];
	if (node.nodeName=="LI") {
		node.onmouseover=function() {
		this.className+=" over";
  			}
  		node.onmouseout=function() {
 	 this.className=this.className.replace(" over", "");
   	}
   }
  }
 }
}
window.onload=startList;

/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

var win = null;
function NewWindow(mypage,Portfolio,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,Portfolio,settings)
}

function dirWin(URL) {
	window.open(URL,"","height=470,width=500,toolbar=0,menubar=0,location=0,menu=0,scrollbars=0,resizable=1");
}