<!--
function translate_Text_To_Url(texte)
{	espace = texte.indexOf(" ");
	while ((espace < texte.length - 1) && (espace != -1))
	{	temp_1 = texte.substring(0, espace);
		temp_2 = texte.substring(espace+1,texte.length);
		texte = temp_1 + "+" + temp_2;
		espace = texte.indexOf(" ");
	}
	return texte;
}

function RechercheWindow(nForm) { 
  chaine = nForm.q.value;
  ville = nForm.numv[nForm.numv.selectedIndex].value;
  type = nForm.lieu[nForm.lieu.selectedIndex].value;
  if (type==1) { 		
    URLdeRecherche ="http://www.fleuve.net/Webotheque/?q=" + chaine +"&t=1&p=1&numv="+ville;
    Adresse = translate_Text_To_Url(URLdeRecherche);
    location.href = URLdeRecherche;
    return false;
  }
  if (type==2) { 
    URLdeRecherche = "http://webotheque.net/Recherche/?q=" + chaine;
    Adresse = translate_Text_To_Url(URLdeRecherche);
    location.href = URLdeRecherche;
    return false;
  }
  if (type==3) { 
    URLdeRecherche = "http://www.google.com/search?lr=lang_fr&cr=&q="+ chaine;
    Adresse = translate_Text_To_Url(URLdeRecherche);
    window.open(Adresse,'Google','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
    return false;
  }
  if (type==4) { 
    URLdeRecherche = "http://www.manitou.uqam.ca/manitou.dll?0=&banque=+&0=UQAR%2C%22UQAR-ACQU%22&depot=0&format=html&8=V2N1&C=ti%3D&Z="+ chaine;
    URLdeRecherche += "&A=%5Btous%5D&O=et&C=au%3D&E=&A=%5Btous%5D&O=et&C=su%3D&E=&A=%5Btous%5D&O=FIN&type=&4+=0&support=&4+=0&langue=&4+=0&edition=&-=&9=&tri=&synthese=&6+=chercher_conserver&7chercher_conserver.x=47&7chercher_conserver.y=5";
    Adresse = translate_Text_To_Url(URLdeRecherche);
    window.open(Adresse,'Manitou','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
    return false;
  }
}


img=new Array();
img[0]=new Image(); img[0].src="http://www.fleuve.net/favicon.ico";

function change(x, y) {   
  document.images[x].src=eval(y+'.src');
}
function aller(urlsel) {
  window.open(urlsel);
}

var ie = document.all?1:0
function trR(E,nH){E.className = nH;}
function trO(E,nH){E.className = nH;}

function twNeowin(nUrl,nNom,w,h,nScroll){
  var winl = (screen.width) ? (screen.width-w)/2 : 0;
  var wint = (screen.height) ? (screen.height-h)/2 : 0;
  var options = 'width='+w+',height='+h+',top='+wint+',left='+winl+',scrollbars='+nScroll+',resizable=no';
  var FleuveInfo = window.open(nUrl,nNom,options);
  if(FleuveInfo.window.focus){FleuveInfo.window.focus();}
}

function twTrans(_filtre) {
  window.event.srcElement.style.filter = "alpha(opacity="+_filtre+")";
}

function twTrans2(_filtre) {
  window.event.srcElement.style.filter = "pixelate(MaxSquare="+_filtre+",Duration=1)";
}
// style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=100,Duration=1)
// -->
