function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = true; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } var remote = null; window.name = "content"; function openRemote(contentURL,windowName,x,y) { widthHeight = 'height=' + y + ',width=' + x; remote = window.open(contentURL,windowName,widthHeight); remote.focus() } function closeRemote() { if (remote != null) { remote.close(); remote = null; } } var eesc = String.fromCharCode(27); var key = new Array(); key['i'] = "javascript:MM_openBrWindow('/relinter/international/','nouv1','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['p'] = "javascript:window.print()"; key['!']="javascript:MM_openBrWindow('http://www3.ac-nancy-metz.fr/tice/','nouv2','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['c']="javascript:MM_openBrWindow('http://crdp.ac-nancy-metz.fr/','nouv3','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['e']="javascript:MM_goToURL('parent','/disciplines/');" key['é']="javascript:MM_goToURL('parent','/etab/etab.htm');" key['r'] = "javascript:MM_openBrWindow('http://annuaire.ac-nancy-metz.fr','','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['@'] = "javascript:MM_openBrWindow('/courriel/','','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['d'] = "javascript:MM_openBrWindow('http://listes.ac-nancy-metz.fr','','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['s'] = "javascript:MM_openBrWindow('http://messagerie.ac-nancy-metz.fr/','nouv','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['u'] = "javascript:scroll(0,0)"; key['z'] = "javascript:location.reload()"; key['n']="javascript:openRemote('/actu_nouvo/NM_new2.htm','myNewWindow',300,400)"; key['t'] = "javascript:MM_openBrWindow('http://intranet.ac-nancy-metz.fr','','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key[String.fromCharCode(27)]="javascript:window.close()"; key['q']="javascript:MM_openBrWindow('/Quickplace/sites_accueil_qp_acad.htm','nouv3','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1000,height=800')"; key['?']="javascript:MM_goToURL('parent','/annexe/aide.htm');" key['h']="javascript:MM_goToURL('parent','/services/supptech.htm');" key['a'] ="javascript:MM_goToURL('parent','/');" function clavier(keyStroke) { isNetscape=(document.layers); eventChooser = (isNetscape) ? keyStroke.which : event.keyCode; which = String.fromCharCode(eventChooser).toLowerCase(); for (var i in key) if (which == i) window.location = key[i]; } document.onkeypress = clavier;