if(!((parseInt(navigator.appVersion)<4) && (navigator.appName.toLowerCase().indexOf("microsoft")>-1))) {
	if (parseInt(navigator.appVersion)<3)
		J11=false;
	else
		J11=true;
	}
	else
		J11=false;

var imHeads;
var swapIm = new Array();
var old = "";
var oldSrc = "";

var Im = new Array(
// World Map
	"../images/maps/middleeast_f.gif",		// 00 - Middle East
	"../images/maps/europe_f.gif",			// 01 - Europe
	"../images/maps/australia_f.gif",		// 02 - Australia
	"../images/maps/canada_f.gif",			// 03 - Canada
	"../images/maps/usa_f.gif",				// 04 - USA
	"../images/maps/south_america_f.gif",	// 05 - South America
// Canada!
	"../images/maps/c_atlantic_f.gif",		// 06 - Atlantic
	"../images/maps/c_quebec_f.gif",		// 07 - Quebec
	"../images/maps/c_ontario_f.gif",		// 08 - Ontario
	"../images/maps/c_manitoba_f.gif",		// 09 - Manitoba
	"../images/maps/c_saskatchewan_f.gif",	// 10 - Saskatchewan
	"../images/maps/c_alberta_f.gif",		// 11 - Alberta
	"../images/maps/c_bc_f.gif",			// 12 - BC
// World Map (Late Additions)
	"../images/maps/asia_f.gif",			// 13 - Asia
	"../images/maps/africa_f.gif",			// 14 - Africa
	"../images/maps/europe2_f.gif");		// 15 - Europe2 (Greenland)
	
if(J11) {
	for(i in Im) {
		swapIm[i] = new Image();
		swapIm[i].src = Im[i];
		}
	}

function swap(n,index) {
	if(J11) {
		n = arguments[0].toString();
		index = parseInt(arguments[1]);
		eval("oldSrc = document." + n + ".src");
		old = n;

		eval("document." + n + " .src=swapIm[" + index + "].src");
		}
	}

function back() {
	if(J11) {
		eval("document." + old + ".src=oldSrc");
	}
}

function swap2(n,index) {
   if(J11) {
     n = arguments[0].toString();
         index = parseInt(arguments[1]);
         eval("oldSrc2 = document." + n + ".src");
         old2 = n;
 
         eval("document." + n + " .src=swapIm[" + index + "].src");
         }
   }
   
   function back2() {
    if(J11) {
     eval("document." + old2 + ".src=oldSrc2");
    }
   }
