home = new Image(161,36);					home.src = "imgs/nav_home.gif";
home_on = new Image(161,36);				home_on.src = "imgs/nav_home_on.gif";
services = new Image(161,36);				services.src = "imgs/nav_services.gif";
services_on = new Image(161,36);			services_on.src = "imgs/nav_services_on.gif";
samples = new Image(161,36);				samples.src = "imgs/nav_samples.gif";
samples_on = new Image(161,36);			samples_on.src = "imgs/nav_samples_on.gif";
figures = new Image(161,36);					figures.src = "imgs/nav_figures.gif";
figures_on = new Image(161,36);			figures_on.src = "imgs/nav_figures_on.gif";
contact = new Image(161,36);					contact.src = "imgs/nav_contact.gif";
contact_on = new Image(161,36);			contact_on.src = "imgs/nav_contact_on.gif";

function omAct(obj) {
	bit = ( /alt/.test(obj.className) ? obj.className.substring(0, obj.className.indexOf('_alt')) : obj.className );
	obj.className = ( /alt/.test(obj.className) ? bit : bit+'_alt' ); }

function flipImg(imgName, state) {
	// document.eval(imgName).src = eval(imgName + state).src;
	thing = eval('document.'+imgName);
	thing.src = eval(imgName + state).src; }

function popit(page, num) {
	bit = "pop.php?page="+page+"&num="+num;
	newWindow = window.open(bit,"SDPopImage","resizable=0,width=404,height=693,status=0,location=0,scrollbars=no");
	newWindow.focus(); }

