<!--
// Detect if browser is Netscape 3 + or IE 4 +.
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
    if ((bName == "Netscape" && bVer >= 3) ||
        (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3";
    else br = "n2";

// Create image objects, preload all active and inactive images.
    if (br== "n3") {


// ### BEGIN DISPLAY SCRIPT IMAGES ###
	img0on = new Image();
	img0on.src = "portfolio/p0_on.jpg";
   	img0off = new Image();
   	img0off.src = "portfolio/p0_off.jpg";

	img1on = new Image();
	img1on.src = "portfolio/p1_on.jpg";
   	img1off = new Image();
   	img1off.src = "portfolio/p1_off.jpg";
	
	img2on = new Image();
	img2on.src = "portfolio/p2_on.jpg";
   	img2off = new Image();
   	img2off.src = "portfolio/p2_off.jpg";
	
	img3on = new Image();
	img3on.src = "portfolio/p3_on.jpg";
   	img3off = new Image();
   	img3off.src = "portfolio/p3_off.jpg";

	img4on = new Image();
	img4on.src = "portfolio/p4_on.jpg";
   	img4off = new Image();
   	img4off.src = "portfolio/p4_off.jpg";

	img5on = new Image();
	img5on.src = "portfolio/p5_on.jpg";
   	img5off = new Image();
   	img5off.src = "portfolio/p5_off.jpg";
  	
  	   	
// ### END DISPLAY SCRIPT IMAGES ###
    }

// Function to "activate" images.
function imgAct(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "on.src");
    }
}

// Function to "deactivate" images.
function imgInact(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "off.src");
    }
}
