/* AUTEUR: Opération Web */
/* DATE DE CREATION: 7/10/2003 */
/*  
*/



//------------------------------------------------>
// version navigateur pour rollover -------------------------------------------------->
function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;
}
//  fin du script -->



//------------------------------------------------>
// pop-ups divers -------------------------------------------------->
function popup(url) {
	w=open(url,'image','width=600,height=500,toolbar=no,scrollbars=yes,resizable=yes');
}

function popup2(url) {
	w=open(url,'image','width=600,height=500,toolbar=no,scrollbars=yes,resizable=yes');
}

function popVideos(url,video) {
	var top = (screen.availHeight/2) - 75;
	var left = (screen.availWidth/2) - 100;
	//popVid=open("http://www.tablo.ca/videos/"+url+"/"+video+".html","popVid","width=200,height=150,resize=no,menubar=no,toolbar=no,status=no,scrollbars=no,top="+top+",left="+left);
	popVid=open("http://www.tfo.org/_media/tablo/videos/"+url+"/"+video+".html","popVid","width=200,height=150,resize=no,menubar=no,toolbar=no,status=no,scrollbars=no,top="+top+",left="+left);
	popVid.focus();
}

function popthumb(url,popw,poph) {
	pop=open(url,"pop","width="+popw+",height="+poph+",resize=no,menubar=no,toolbar=no,status=no,scrollbars=no");
	T = (screen.height-poph)/2;
	L = (screen.width-popw)/2;
	pop.moveTo(L,T);
	pop.focus();
}


function popDLTime() {
	popDLT=open("http://www.tablo.ca/html/DLTime.html","popDLT","width=400,height=200,resize=no,menubar=no,toolbar=no,status=no,scrollbars=no");
	T = (screen.height-150)/2;
	L = (screen.width-300)/2;
	popDLT.moveTo(L,T);
	popDLT.focus();
}

