<!--

// Creation de la page d'erreur ---------------------------------------------------------
function ErrorMessage(strError,strCountError) { 

 	w = 320;
	h = 160;
	pw = parseInt((screen.width-w)/2);
	ph = parseInt((screen.height-h)/2);
	strPluriel = "";
	
if (strCountError > 1){
	strPluriel = "s";
}	
	
  	storywin = window.open('','','width=320,height=200,scrollbars=no,resizable=no,screenX='+ pw +',screenY='+ ph +',left='+ pw +',top='+ ph +''); 
  	with (storywin.document)
  { 
      writeln('<html><head>')
      writeln('<title>ERROR</title>')
	  writeln('<link rel="stylesheet" href="http://verticalsystem.net/style.css" type="text/css">')
      writeln('</head>')
      writeln('<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">')  
      writeln('<table width="300" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">')
	  writeln('<br>')
      writeln('  <tr>')
      writeln('    <td width="10"><img src="http://verticalsystem.net/images/spacer.gif" width="10" height="1"></td>')
      writeln('    <td width="290" height="20"><font color="#FF0000">'+ strCountError +' error'+ strPluriel +'.</font></td>')
      writeln('  </tr>')
      writeln('  <tr>')
      writeln('    <td>&nbsp;</td>')
      writeln('    <td><br>'+ strError +'<br>')
      writeln('      <br>')

      writeln('    </td>')
      writeln('  </tr>')
      writeln('  <tr>')
      writeln('    <td>&nbsp;</td>')
      writeln('    <td><a href="javascript:window.close();">Close the window</a></td>')
      writeln('  </tr>')
      writeln('</table>') 	  
      writeln('</body></html>')
  }
 	if (eval('storywin.focus()')) {
	win.moveTo(pw, ph);
	} 
 
} 

// --> 