// Changer de langue //
function changelangue(l1,l2) {
	top.location = new String(top.location).replace(l1,l2);
}
/*------------------------------------------------------------
This script is written by Eric (Webcrawl@usa.net)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of Use, 
visit dynamicdrive.com
--------------------------------------------------------------*/
function imprimer(){  
	if (window.print) {
		window.print() ;  
	} else {
		var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
		document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
		WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
	}
}
/* -------------------------------
Check Email form
----------------------------------*/
var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
function checkmailen(theform, champs){
	var returnval=emailfilter.test(champs.value)
	if (returnval==false){
		alert("Please enter a valid email address.")
		champs.select()
	} else {
		TB_remove();
		return true
	}
	return false
}

function ConfirmQuit() {
	return confirm("Thank you for visiting rotavirus.ca.\n\nMerck Frosst does not review or control the content at the site to which this hyperlink connects; therefore, this hyperlink does not constitute an endorsement by Merck Frosst of the content of any non-Merck Frosst site.\n\nDo you wish to continue?");
}
