//  © 2000 Canadian Heritage Information Network/R&eacute;seau canadien
//  d'information sur le patrimoine
//  All rights reserved./Tous droits r&eacute;serv&eacute;s.

/*
/// Writing Power outage message.....


document.write('<span style="display:block;background-color:#5890A8;width:100%; padding: 5px; font-family: Arial; font-size: 10px; font-weight: bold;">L\'accès au site sera interrompu pour fin d\'entretien de samedi le 18 novembre à 8h00, à dimanche le 19 novembre à 20h00 (HNE)</span>');

*/
<!-- Hide script from old browsers
	
function openbcin(keyprefix)
	{
	var myurl ='http://www.bcin.ca/Interface/openbcin.cgi?Language=Français&submit=submit&Chinkey='+keyprefix+''
	var vmcwindow=window.open(myurl,'BCIN','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=600,height=400');
	vmcwindow.focus();
	}

var checkflag = "false";
function check(field) 
	{
	if (checkflag == "false") 
		{
		for (i = 0; i < field.length; i++) 
			{
			field[i].checked = true;}
			checkflag = "true";
			return "Dessélectionner tout"; 
			}
	else 
		{
		for (i = 0; i < field.length; i++) 
			{
			field[i].checked = false; 
			}
	checkflag = "false";
	return "Choisir toutes"; }
	}

function history2() 
	{
	history.go(-1);
	}
	
function VMCAux(URL) 
	{
	var the_string = /map/;
	var map = URL.match(the_string);
	
	if (map == null)
		{
	        // make window for others....
	        var serv=window.open(URL,'VMCAux','toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=690,height=320');
	        }
	        else 
		{
		// make window for maps....
		var serv=window.open(URL,'VMCAux','toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=643,height=530');
	        }
	}
	
	
	
	
function VMCAux2(URL) {
		
	 	var serv=window.open(URL,'VMCAux2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=500,height=330');
	}
	
	function VMCAux3(URL) {
		
	 	var serv=window.open(URL,'VMCAux3','toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width=600,height=400');
	}

	// End Script from old browser -->


