// lazy shortcut

d=document;

// preload/name all the rollover images
function preloadImages(imgSource){
	if (d.images) {
		sections = new Array("home","about","services","info","consult","privacy","news","feedback","members");
		for (x=0;x<=sections.length-1;x++){
		var setup = sections[x]+'on = new Image();'+sections[x]+'on.src = "'+imgSource+'/nav/'+sections[x]+'_on.gif";'+sections[x]+'off = new Image();'+sections[x]+'off.src = "'+imgSource+'/nav/'+sections[x]+'_off.gif";'
		eval(setup)
		}
	}
}
// genric roll functions

function on(which){if (d.images){document[which].src = eval(which + "on.src");}}	 
function off(which){if (d.images){document[which].src = eval(which + "off.src");}}

// generic popper functions - scroll or no scroll, print toolbar

function popwin(url,name,width,height){
var t=(screen.height-height)/2;
var l=(screen.width-width)/2;
window.open(url,name,'width='+width+',height='+height+',top='+t+',left='+l+',location=0,status=0,scrollbars=0,toolbar=0,resizable=no,noresize');
}

function popscroll(url,name,width,height){
var t=(screen.height-height)/2;
var l=(screen.width-width)/2;
window.open(url,name,'width='+width+',height='+height+',top='+t+',left='+l+',location=0,status=0,scrollbars=1,toolbar=0,resizable=no,noresize');
}

function popprint(url,name,width,height){
var t=(screen.height-height)/2;
var l=(screen.width-width)/2;
window.open(url,name,'width='+width+',height='+height+',top='+t+',left='+l+',location=0,status=1,scrollbars=0,toolbar=1,resizable=yes');
}