function checkBrowser(){
	this.dom= (document.getElementById)
	this.op=  (navigator.userAgent.indexOf('Opera')>-1)
	this.ie4= (document.all && !this.dom && !this.op)
	this.ie5= ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
	this.ie55 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.5")!=-1)) ? true : false;
	this.ie6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
	this.ns4= (document.layers && !this.dom)
	this.ns5= (!document.all && this.dom && !this.op)
	this.ns6= (this.ns5)
	this.bw=  (this.ie4 || this.ie5 || this.ns4 || this.ns6 || this.op)
	return this
}
bw= new checkBrowser()
function ArtifactWindow(URL) {
	window.open(URL,'Artifact','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=632,height=468,left=10,top=10');
}
function ArtifactWindow2(URL) {
	window.open(URL,'Artifact','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=622,height=468,left=10,top=10');
}
function copy(URL) {
	window.open(URL,'Copyright','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=220,left=10,top=10');
}
function contact(URL) {
	window.open(URL,'Copyright','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=220,left=10,top=10');
}
function rollOn(img){    
    if (document.images) {
        document[img].src=eval(img + "on.src");		
    }
}

function rollOff(img){   
    if (document.images) {
		document[img].src=eval(img + "off.src");	
	}
}
function doubleOn(imageName,imageName2) { 

{
 if (document.images) {
		document[imageName].src=eval(imageName + "on.src");	
	} if (document.images) {
		document[imageName2].src=eval(imageName2 + "on.src");	
	}
}

}
function doubleOff(imageName,imageName2) { 

{
 if (document.images) {
		document[imageName].src=eval(imageName + "off.src");	
	} if (document.images) {
		document[imageName2].src=eval(imageName2 + "off.src");	
	}
}

}

//Language Switch
function goFrench()
	{
	var URL= window.location.href
	var language=URL.lastIndexOf('english')	
	var newURL=URL.substring(0,language) + 'french' + URL.substring((language)+ 7,URL.length)
	window.location.href= newURL
	}
	
function goEnglish()
	{
	var URL= window.location.href
	var language=URL.lastIndexOf('french')	
	var newURL=URL.substring(0,language) + 'english' + URL.substring((language)+ 6,URL.length)
	window.location.href= newURL
	}
	
	function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
} 





