
		bName = navigator.appName;
		bVer = parseInt(navigator.appVersion);
	        if ((bName == "Netscape" && bVer >= 3) ||
	                (bName == "Microsoft Internet Explorer" &&
	                bVer >= 4)) br = "n3";
	        else br = "n2";
	
	        if (br== "n3") {
	        abouton = new Image();
			abouton.src = "images/about-on.gif";
			portfolioon = new Image();
			portfolioon.src = "images/portfolio-on.gif";
			clientson = new Image();
			clientson.src = "images/clients-on.gif";
			contacton = new Image();
	        contacton.src="images/contact-on.gif";
			
	        aboutoff = new Image();
			aboutoff.src = "images/about.gif";
			portfoliooff = new Image();
			portfoliooff.src = "images/portfolio.gif";
			clientsoff = new Image();
			clientsoff.src = "images/clients.gif";
			contactoff = new Image();
	        contactoff.src="images/contact.gif";
	        }
	        
	        function imgAct(imgName) {
	                if (br== "n3") {
	                document[imgName].src = eval(imgName + "on.src");
	                
	                }
	        }
	
	        function imgInact(imgName) {
	                if (br== "n3"){
	                document[imgName].src = eval(imgName + "off.src");
	
	                }
	     
		    }

			

			// this is for opening pop-up windows
			function Portfolio_openPopup( url, name, widgets, openerUrl )
			{
				var host = location.hostname;
				var popupWin = window.open( url, name, widgets );
				
				if ( openerUrl )
				{
					popupWin.opener.location = openerUrl;
				}
			
			}

	<!-- begin email address validation script

	function validEmail(email) {
		invalidChars = " /:,;"
	
		if (email == "") {
			return false
		}
		for (i=0; i<invalidChars.length; i++) {
			badChar = invalidChars.charAt(i)
			if (email.indexOf(badChar,0) > -1) {
			 return false
			}
		}
	
		atPos = email.indexOf("@",1)
		if (atPos == -1) {
			return false
		}
		if (email.indexOf("@",atPos+1) > -1) {
			return false
		}
	
		periodPos = email.indexOf(".",atPos)
		if (periodPos == -1) {
			return false
		}
		if (periodPos+3 > email.length) {
			return false
		}	
		return true
	}
	

// end email validation script

// call on the email validation script
	function submitIt(content)  {

		if (content.name.value == "") {
	
			alert("Please enter your name.")
			content.name.focus()
			content.name.select()
			return false;
		}
		
		if (content.email.value == "") {
	
			alert("Please enter your email address.")
			content.email.focus()
			content.email.select()
			return false;
		}

		if (!validEmail(content.email.value)) {
			alert("Please enter a valid email address.")
			content.email.focus()
			content.email.select()
			return false;
		}
		
		if (content.request.value == "") {
	
			alert("Please enter a request.")
			content.request.focus()
			content.request.select()
			return false;
		}
						

	}
			