if (document.images){
hom_on = new Image();	hom_on.src = view_path + "images/roll/home_on.gif";
hom_off = new Image();	hom_off.src = view_path + "images/roll/home_off.gif";
abo_on = new Image();	abo_on.src = view_path + "images/roll/about_on.gif";
abo_off = new Image();	abo_off.src = view_path + "images/roll/about_off.gif";
att_on = new Image();	att_on.src = view_path + "images/roll/attys_on.gif";
att_off = new Image();	att_off.src = view_path + "images/roll/attys_off.gif";
pra_on = new Image();	pra_on.src = view_path + "images/roll/practice_on.gif";
pra_off = new Image();	pra_off.src = view_path + "images/roll/practice_off.gif";
con_on = new Image();	con_on.src = view_path + "images/roll/contact_on.gif";
con_off = new Image();	con_off.src = view_path + "images/roll/contact_off.gif";
}

function roll(sname,rname){
    sname.src = rname.src;
}
function id2elem(id) {
	if (typeof(id) != 'string') {
		return id;
	}
	if (document.getElementById) {
		id = document.getElementById(id);
	} else if (document.all) {
		id=document.all[id];
	} else {
		id = null;
	}
	return id;
}
function popup(url,width,height){
    nw = window.open(url,"newwindow","width="+width+",height="+height+",status=0,toolbar=0,menubar=0,scrollbars=1,resizable=1,location=0");
    nw.focus();
}

function checkForm(){
if (document.subscribeForm.elements['Email Address'].value.length > 0){
 return true;
 }
else{
 alert('Please enter your email address.');
 document.subscribeForm.elements['Email Address'].focus();
 return false;
 }
}