function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function openWin(url, w, h)
{
var winprop = "width=" + w + ",height=" + h;
openwin = window.open(url,'',winprop);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function popIt(strType, strURL) {
		intPos = strURL.indexOf('#');
		if ((intPos==-1) || (intPos!=(strURL.length-1))) {

			if (strType=='full') {
				var winWidth 	= (screen.availWidth ? screen.availWidth : 800);
				var winHeight 	= (screen.availHeight ? screen.availHeight : 600);
				var winObj = window.open(strURL,"flsclpop","left=0,top=0,width=" + winWidth + ",height=" + winHeight + ",fullscreen=no");
				if(winObj && winObj.moveTo && winObj.resizeTo) {
					winObj.moveTo(0,0);
					winObj.resizeTo((winWidth), winHeight);
					//document.location = 'response.aspx';
					winObj.focus();
				} else {
					alert('Svp desactiver le blockeur de Popup.');
				}
			} else if (strType=='fullstart') {
				var winWidth 	= (screen.availWidth ? screen.availWidth : 800);
				var winHeight 	= (screen.availHeight ? screen.availHeight : 600);
				var winObj = window.open(strURL,"flsclpop","left=0,top=0,width=" + winWidth + ",height=" + winHeight + ",fullscreen=no");
				if(winObj && winObj.moveTo && winObj.resizeTo) {
					winObj.moveTo(0,0);
					winObj.resizeTo((winWidth), winHeight);
					winObj.focus();
				} else {
					if (!winObj) {
						alert('Svp desactiver le blockeur de Popup.');
					}
				}
			}
		} else {
			alert('Mauvais lien !');
		}
	}