<!--
function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}

function detectFlash()
{
	if (navigator.plugins) //does navigator.plugins exist?
	{
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) //flash 2 or 3+ installed?
		{
			//set convenient references to flash 2 and the plugin description %>
			var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;

			// a flash plugin-description looks like this: Shockwave Flash 4.0 r5
			// so we can get the major version by grabbing the character before the period
			// note that we don't bother with minor version detection. do that in your movie with $version
			var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));

			//we know the version, now set appropriate version flags
			flash2Installed = (flashVersion == 2);
			flash3Installed = (flashVersion == 3);
			flash4Installed = (flashVersion == 4);
			flash5Installed = (flashVersion == 5);
			actualVersion = flashVersion;
		}
	}

	if(navigator.userAgent.indexOf("WebTV") != -1)
		actualVersion = 2;

	if (actualVersion >= requiredVersion)		// user has a new enough version
		hasRightVersion = true;			// flag: it's okay to write out the object/embed tags later
}

// function that displays on images by calling on(position number)//
function on(imgIndex) {
	document.images[imgIndex].src = imgOn[imgIndex].src;
}
//Function that displays off images by calling off(position number)//
function off(imgIndex) {
	document.images[imgIndex].src = imgoff[imgIndex].src;
}
// -->