
function stathome() {
window.status='Ecole Pierre Elliott Trudeau School - Notices for Parents, Teachers and Students'; 
return true; }

var link;
function newWindow(link)  {
var popupWin= window.open(link, 'popWin', 'width=400,height=400,left=20,top=20,screenX=20,screenY=20,resizable,scrollbars,toolbar')}

function today() { 
var today = new Date(); 
var dayname = new Array("Sun","Mon","Tues","Wed","Thurs","Fri","Sat"); 
var monthname = new Array("Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec.");  
var yearname = today.getYear(); 
if (yearname > 99 && yearname < 200) { 
	yearname += 1900	} 
else { if (yearname < 100) { 
yearname = 2000 + yearname }
}  
return ("<b><font face='verdana' size='-2' color='#333333'>"+dayname[today.getDay()]+", "+monthname[today.getMonth()]+" "+today.getDate()+", "+yearname+"</font></b>"); }

function mailpage() { 
mail_str = "mailto:?subject= Ecole Pierre Elliott Trudeau School Notices for Parents"; 
mail_str += "&body= Thought you might be interested! "; 
mail_str += " " + location.href; 
location.href = mail_str; }

var url="http://lucarinfo.com/trudeau/"
var title="Ecole Pierre Elliott Trudeau School Notices for Parents" 

function addbookmark() { 
if (window.sidebar) { 
  window.sidebar.addPanel(title,url,""); 
  } else if( document.all ) { 
      window.external.AddFavorite(url,title); 
  } else if( window.opera && window.print ) { 
      return true; 
  } 
} 

onerror = null;
function errorHandler(msg, url, line) {
return true; }       
window.onerror=errorHandler; 