
NS4 = false;
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) {
	NS4 = true;
}

// Portfolio Rollover Thumbnail 

	
	link2off = new Image();
	link2off.src = "images/ceramic/ceramic_thumb02_on.jpg";
	link2on = new Image();
	link2on.src = "images/ceramic/ceramic_thumb02.jpg";

	link4off = new Image();
	link4off.src = "images/ceramic/ceramic_thumb04_on.jpg";
	link4on = new Image();
	link4on.src = "images/ceramic/ceramic_thumb04.jpg";

	link7off = new Image();
	link7off.src = "images/designideas/design_thumb07_on.jpg";
	link7on = new Image();
	link7on.src = "images/designideas/design_thumb07.jpg";
	
	link15off = new Image();
	link15off.src = "images/glass-tiles/portfolio_thumb15_on.jpg";
	link15on = new Image();
	link15on.src = "images/glass-tiles/portfolio_thumb15.jpg";
	



//FUNCTIONS
/* The following two functions control the image swap necessary for the rollover effect. It is not recommended that
	these be changed unless you are familiar with how image rollover scripts work.
*/
function turnon(i, whichLayer) {
	if (NS4 && whichLayer) {
		document.layers[whichLayer].document.images[i].src = eval(i + "on.src");
	} else {
		document.images[i].src = eval(i + "on.src");
	}
}

function turnoff(i, whichLayer) {
	if (NS4 && whichLayer) {
		document.layers[whichLayer].document.images[i].src = eval(i + "off.src");
	} else {
		document.images[i].src = eval(i + "off.src");
	}
}
