// This JavaScript is Copyright 1996-99 Outsource Labs
// http://www.olabs.com/
// Permission to use and modify this script is given as long as this
// notice remains and you agree to do so at your own risk.
// @author Cameron Gregory

// Check for browser support.
 ver = navigator.appVersion.substring(0, 1);
 flip=0;
 if ( (navigator.appName == "Netscape") && ( ver >= 3 ) ) flip=1;
 if ( (navigator.appName == "Microsoft Internet Explorer") && (ver >= 4) ) flip=1;

function escQuotes(str) {
	// Escape embedded single quotes in text strings
    var tmpString = str.toString().replace(/'/g,"\\'"); 		//replace single quote (')
  	tmpString = tmpString.toString().replace(/"/g,"\\\"");	//replace double quote (")
return tmpString;
}

function change(a,im)
{
//document.ff.flag.src=im; // yawn .. doesn't work in 3.0 on unix
x = eval("document."+a);
if (flip ==1)
  x.src=im;
}

var fred=1;

function MouseOver(image1, image2, imgwidth, imgheight, imgalign, altname, imghref, imgtarget, imgmousover, imgmouseout)
{
image1 = escQuotes (image1);
image2 = escQuotes (image2);
altname = escQuotes (altname);

var x = "a"+fred;
  document.writeln("<a target=\""+imgtarget+"\" onMouseOver='change(\""+x+"\",\""+image2+"\")' onMouseOut='change(\""+x+"\",\""+image1+"\")' href=\""+imghref+"\"><IMG alt=\""+altname+"\" name=\""+x+"\" SRC=\""+image1+"\" width=\""+imgwidth+"\" height=\""+imgheight+"\" border=\"0\" align=\""+imgalign+"\"></a>");
  fred=fred+1;
}


