bio_off = new Image();      
bio_off.src = "/images/bio_off.gif";

bio_on = new Image();      
bio_on.src = "/images/bio_on.gif";


thebook_off = new Image();      
thebook_off.src = "/images/thebook_off.gif";

thebook_on = new Image();      
thebook_on.src = "/images/thebook_on.gif";


blog_off = new Image();      
blog_off.src = "/images/blog_off.gif";

blog_on = new Image();      
blog_on.src = "/images/blog_on.gif";


press_off = new Image();      
press_off.src = "/images/press_off.gif";

press_on = new Image();      
press_on.src = "/images/press_on.gif";

news_off = new Image();      
news_off.src = "/images/news_off.gif";

news_on = new Image();      
news_on.src = "/images/news_on.gif";

contact_off = new Image();      
contact_off.src = "/images/contact_off.gif";

contact_on = new Image();      
contact_on.src = "/images/contact_on.gif";

buybook_off = new Image();      
buybook_off.src = "/images/buybook_off.gif";

buybook_on = new Image();      
buybook_on.src = "/images/buybook_on.gif";

submit_off = new Image();      
submit_off.src = "/images/submit_off.gif";

submit_on = new Image();      
submit_on.src = "/images/submit_on.gif";



function rollOn(imgName) {
		
	document[imgName].src = eval(imgName + "_on.src");	

}

function rollOff(imgName) {
		
	document[imgName].src = eval(imgName + "_off.src");
	
}


function checkForm() {
	theForm = document.forms.ccoptin;
	var emailFilter=/^.+@.+\..{2,3}$/;
	
	
	if (!(emailFilter.test(theForm.ea.value))) { 
      	   alert("Please enter valid email address!")
           return false;
	} else {
        
        
 		document.forms[0].submit();       	
        }

    }
