// Site link path (with trailing slash), reference multiple times within this file.
// Diva Foundation 2006
var link_path  = "/";

var J11= "";
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 swapIm = new Array();
var old = "";
var oldSrc = "";

var Im= new Array
(
	// Splash
	/*0*/	link_path+"images/splash/btn-french_on.gif",
	/*1*/	link_path+"images/splash/btn-english_on.gif"
);

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");
		}
	}
	
// Screen Capture Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function screenPop(url) {
	popupWindow = window.open(url,'screen','width=572,height=436,left=25,top=25,scrollbars=0')
}