// MouseOver.js
// code for creating button imgs &
// handling mouseover highlights
// (C) 1997 Jon van Noort (Digital Wizards)

function mkButton(imgname, hiext, loext) {
	if (agent=='Netscape3') {	

		cmdstr=imgname +'hiimg = new Image(); ';
		cmdstr+=imgname +'hiimg.src = \"images/' + imgname + hiext +'\"; ';
		cmdstr+=imgname +'loimg = new Image(); '
		cmdstr+=imgname +'loimg.src = \"images/' + imgname + loext +'\"; ';
		
		eval(cmdstr);
	}
}

function msOver(imgname) {
	if (agent=='Netscape3') {	
		cmdstr='document.'+ imgname +'.src = '+ imgname +'hiimg.src;'
		eval(cmdstr);
	}
}

function msOut(imgname) {
	if (agent=='Netscape3') {	
		cmdstr='document.'+ imgname +'.src = '+ imgname +'loimg.src;'
		eval(cmdstr);
	}
}


