<!-- TEMPLATE SCRIPTS/CSS BEGIN  -->
function CSEcssscript (nbCol) {
  var tmp = "";
     tmp = tmp + '<link href="../css/base.css" media="screen, print" rel="stylesheet" type="text/css" />';
     if (nbCol == 3) {
       tmp = tmp + '<link href="../css/3col.css" media="screen, print" rel="stylesheet" type="text/css" />';
     }else{
       tmp = tmp + '<link href="../css/2col.css" media="screen, print" rel="stylesheet" type="text/css" />';
     }
     tmp = tmp +  '<style type="text/css" media="all">@import url(../css/base2.css);</style>';
     tmp = tmp + '<link href="../css/base-institution.css" media="screen, print" rel="stylesheet" type="text/css" />';
     tmp = tmp +  '<link href="../css/institution.css" media="screen, print" rel="stylesheet" type="text/css" />';
     tmp = tmp +  '<link href="../css/pf-if.css" rel="stylesheet" type="text/css" />';
  
  document.write (tmp)
}

<!-- OPEN BODY DIV BEGIN  -->
function CSEbody () {
  var tmp = "";
     tmp = tmp + '<div class="page">';
     tmp = tmp + '<div class="core">';
 
  document.write (tmp)
}

<!-- CLOSE BODY DIV BEGIN  -->
function CSEbodyend () {
  var tmp = "";
     tmp = tmp + '</div>';
     tmp = tmp + '</div>';

     
  document.write (tmp)
}

<!-- COLLAYOUT BEGIN  -->
function CSEcolLayout (leftMenu, rightMenu) {
  var tmp = "";
    document.write ('<div class="colLayout">')
    switch (leftMenu) {
       case "hpLeft":
           leftMenuHp();
           break;
       default:
       
    };
    switch (rightMenu) {
       case "hpRight":
           rightMenuHp();
           break;
       default:
       
    };

    document.write ('<div class="center">');
    document.write ('<div class="blackborder" id="box1">');
    document.write ('<a name="cont" id="cont">');
}



<!-- CLOSE COLLAYOUT  -->
function CSEclosecolLayout () {
  var tmp = "";
     tmp = tmp + '</div>';
     tmp = tmp + '</div>';

     
  document.write (tmp)
}


<!-- FIP HEADER  -->
function CSEfip () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
     tmp = tmp + '<div class="fip">';
     tmp = tmp + '<a name="tphp" id="tphp"><img src="../img/cse-e.jpg" width="372" height="20" alt="image: Communications Security Establishment Canada, Centre de la sécurité des télécommunications Canada" /></a>';
     tmp = tmp +  '</div>';
     tmp = tmp + '<div class="cwm"><img src="../img/wmms.gif" width="83" height="20" alt="image: Canada" />';
     tmp = tmp +  '</div>';
      
  }else{

 tmp = tmp + '<div class="fip">';
     tmp = tmp + '<a name="tphp" id="tphp"><img src="../img/cse-f.jpg" width="372" height="20" alt="image: Centre de la sécurité des télécommunications Canada, Communications Security Establishment Canada" /></a>';
     tmp = tmp +  '</div>';
     tmp = tmp + '<div class="cwm"><img src="../img/wmms.gif" width="83" height="20" alt="image: Canada" />';
     tmp = tmp +  '</div>';
}

  document.write (tmp)
}

<!-- INSTITUTIONAL BANNER  -->
function CSEbanner () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
     tmp = tmp + '<div class="banner">';
     tmp = tmp + '<img src="../img/lffl.gif" class="lf" height="65" width="65" alt="image:red maple leaf" />';
     tmp = tmp +  '<p class="main">Communications Security Establishment Canada</p>';
     tmp = tmp + '<p class="siteuri">www.cse-cst.gc.ca</p>';
     tmp = tmp +  '</div>';
      
  }else{

     tmp = tmp + '<div class="banner">'
     tmp = tmp + '<img src="../img/lffl.gif" class="lf" height="65" width="65" alt="image:feuille d\érable rouge" />';
     tmp = tmp + '<p class="main">Centre de la sécurité des télécommunications Canada</p>';
     tmp = tmp + '<p class="siteuri">www.cse-cst.gc.ca</p>';
     tmp = tmp + '</div>';
}

  document.write (tmp)
}



<!-- NAVIGATION AID  -->
function CSEnavaid () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
     tmp = tmp + '<div class="navaid">';
     tmp = tmp + '<a href="#cont">Skip to content</a> |';
     tmp = tmp + '<a href="#il">Skip to institutional links</a>';
     tmp = tmp + '</div>';
      
  }else{

     tmp = tmp + '<div class="navaid">';
     tmp = tmp + '<a href="#cont">Passer au contenu</a> |';
     tmp = tmp +  '<a href="#il">Passer aux liens institutionnels</a>';
     tmp = tmp +  '</div>';
}

  document.write (tmp)
}

<!-- CONTENT  -->
function CSEcontent () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
     tmp = tmp + '<div class="center">';
     tmp = tmp + '<div class="blackborder" id="box1">';
     tmp = tmp +  '</div>';
     tmp = tmp +  '</div>';
      
  }else{

     tmp = tmp + '<div class="center">';
     tmp = tmp + '<div class="blackborder" id="box1">';
     tmp = tmp +  '</div>';
     tmp = tmp +  '</div>';
}

  document.write (tmp)
}


<!-- COMMON MENU BLACK NAVIGATION BAR TITLE BEGINS | DEBUT DU TITRE DE LA BARRE NOIR DE NAVIGATION DE MENU COMMUNE -->
function blackNavBar () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
     tmp = tmp + '<div class="fp">';
     tmp = tmp + '<h1 class="navaid">Common menu bar links</h1>';
     tmp = tmp + '<ul class="commonbar">';
     tmp = tmp + '<li class="fiptexta"><div><a href="javascript:goLang(fileToGo,lang);" lang="fr" xml:lang="fr" title="Fran&ccedil;ais - Version fran&ccedil;aise de cette page">Fran&ccedil;ais</a></div></li>';
     tmp = tmp + '<li class="fiptext"><div><a href="http://www.cse-cst.gc.ca/index-eng.html" title="CSEC Homepage">Home</a></div></li>';
     tmp = tmp + '<li class="fiptextc"><div><a href="http://www.cse-cst.gc.ca/contact-contactez-eng.html" title="Contact Us - Institutional contact information">Contact Us</a></div></li>';
     tmp = tmp + '<li class="fiptext"><div><a href="http://www.cse-cst.gc.ca/help-aide-eng.html" title="Help - Information about using the institutional Web site">Help</a></div></li>';
     tmp = tmp + '<li class="fiptext"><div><a href="http://www.cse-cst.gc.ca/search-recherche-eng.html" title="Search - Search the institutional Web site">Search</a></div></li>';
     tmp = tmp + '<li class="fiptextb"><div><a href="http://www.canada.gc.ca/main_e.html" title="canada.gc.ca - Government of Canada Web site">canada.gc.ca</a></div></li>';
     tmp = tmp + '</ul>';
     tmp = tmp +  '</div>';
      
  }else{

    tmp = tmp + '<div class="fp">';
     tmp = tmp + '<h1 class="navaid">Liens de la barre de menu commune</h1>';
      tmp = tmp + '<ul class="commonbar">';
      tmp = tmp + '<li class="fiptexta"><div><a href="javascript:goLang(fileToGo,lang);" lang="en" xml:lang="en" title="English - English version of the Web page">English</a></div></li>';
     tmp = tmp + '<li class="fiptext"><div><a href="http://www.cse-cst.gc.ca/index-fra.html" title="Accueil - Page principale du site Web institutionnel">Accueil</a></div></li>';
     tmp = tmp + '<li class="fiptextc"><div><a href="http://www.cse-cst.gc.ca/contact-contactez-fra.html" title="Contactez-nous - Communiquez avec l\'institution">Contactez-nous</a></div></li>';
     tmp = tmp + '<li class="fiptext"><div><a href="http://www.cse-cst.gc.ca/help-aide-fra.html" title="Aide - Renseignements sur la fa&ccedil;on d\'utiliser le site Web institutionnel">Aide</a></div></li>';
     tmp = tmp + '<li class="fiptext"><div><a href="http://www.cse-cst.gc.ca/search-recherche-fra.html" title="Recherche - Recherche dans le site Web institutionnel">Recherche</a></div></li>';
     tmp = tmp + '<li class="fiptextb"><div><a href="http://www.canada.gc.ca/main_f.html" title="canada.gc.ca - Site Web du gouvernement du Canada">canada.gc.ca</a></div></li>';
    tmp = tmp + '</ul>';
    tmp = tmp + '</div>';

  }

  document.write (tmp)
}



<!-- LEFT SIDE MENU CSEC HOMEPAGE | DEBUT DU TITRE DU MENU LATERAL DE GAUCHE POUR LA PAGE D\'ACCUEIL DU CSTC -->
function leftMenuHp () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
    tmp = tmp + '<div class="left">';
    tmp = tmp + '<h1 class="navaid"><a name="il" id="il">Institutional links</a></h1>';
    tmp = tmp + '<ul class="nav">';
	
	tmp = tmp + '<li>';
	tmp = tmp + '<h2 class="nav">CSEC Careers</h2>';
    tmp = tmp + '<ul class="nav">';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/home-accueil/careers-carrieres/index-eng.html" title="Careers Home">Careers Home</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/home-accueil/careers-carrieres/lac-vac-eng.html" title="Life at CSEC">Life at CSEC</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="careers.asp?CategoryCode=11984" title="Current Opportunities">Current Opportunities</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="careers.asp?CategoryCode=11985" title="Coop Opportunities">Coop Opportunities</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/home-accueil/careers-carrieres/faq-eng.html" title="FAQ">FAQ</a></li>';
	tmp = tmp + '<li>';
    tmp = tmp + '<h2 class="nav">&nbsp;</h2>';
    tmp = tmp + '<ul class="nav">';
    tmp = tmp + '<div class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/pd-dp-eng.html" title="Proactive Disclosure">Proactive Disclosure</a></div>';
    tmp = tmp + '</ul>';
    tmp = tmp + '</li>';
    tmp = tmp + '</ul>';
    tmp = tmp + '</div>';
  }else{
    tmp = tmp + '<div class="left">';
    tmp = tmp + '<h1 class="navaid"><a name="il" id="il">Institutional links</a></h1>';
    tmp = tmp + '<ul class="nav">';
	
	tmp = tmp + '<li>';
	tmp = tmp + '<h2 class="nav">Carrières au CSTC</h2>';
    tmp = tmp + '<ul class="nav">';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/home-accueil/careers-carrieres/index-fra.html" title="Accueil - carrières">Accueil - carrières</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/home-accueil/careers-carrieres/lac-vac-fra.html" title="La vie au CSTC">La vie au CSTC</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="careers.asp?CategoryCode=11984" title="Possibilités d\'emploi">Possibilités d\'emploi</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="careers.asp?CategoryCode=11985" title="Étudiants coop">Étudiants coop</a></li>';
    tmp = tmp + '<li class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/home-accueil/careers-carrieres/faq-fra.html" title="FAQ">FAQ</a></li>';

	tmp = tmp + '<li>';
    tmp = tmp + '<h2 class="nav">&nbsp;</h2>';
    tmp = tmp + '<ul class="nav">';
    tmp = tmp + '<div class="menucontent"><a class="menulink" href="http://www.cse-cst.gc.ca/pd-dp-fra.html" title="Divulgation proactive">Divulgation proactive</a></div>';
    tmp = tmp + '</ul>';
    tmp = tmp + '</li>';
    tmp = tmp + '</ul>';
    tmp = tmp + '</div>'
     
  }
  document.write (tmp);
}



function nameMenu (subMenu) {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
    tmp = tmp + '';
    tmp = tmp + '';
    tmp = tmp + '';
    tmp = tmp + '';
    
  }else{  
     tmp = tmp + '';
    tmp = tmp + '';
    tmp = tmp + '';
    tmp = tmp + '';
  }
  return (tmp);
};   

<!-- FOOTER  -->
function CSEfooter () {
  var tmp = "";
  if (lang.toLowerCase() == "e") {
     tmp = tmp + '<div class="footer">';
     tmp = tmp + '<div class="footerline"></div>';
     tmp = tmp +  '<div class="foot1">';
     tmp = tmp + '<td>Last Modified: '+lastUpdate+'</td>';
     tmp = tmp +  '</div>';
     tmp = tmp +  '<div class="foot2"><a href="#tphp" title="Return to Top of Page"><img class="uparrow" src="../img/tphp.gif" width="22" height="15" alt="" /><br />Top of Page</a></div>';
     tmp = tmp +  '<div class="foot3"><a href="http://www.cse-cst.gc.ca/in-ai-eng.html">Important Notices</a></div>';
     tmp = tmp +  '</div>';
     
      
  }else{

     tmp = tmp + '<div class="footer">';
     tmp = tmp + '<div class="footerline"></div>';
     tmp = tmp +  '<div class="foot1">';
     tmp = tmp + '<td>Mise à jour : '+lastUpdate+'</td>';
	 tmp = tmp +  '</div>';
     tmp = tmp +  '<div class="foot2"><a href="#tphp" title="Haut de la page"><img class="fleche vers le haut" src="../img/tphp.gif" width="22" height="15" alt="" /><br />Haut de la page</a></div>';
     tmp = tmp +  '<div class="foot3"><a href="http://www.cse-cst.gc.ca/in-ai-fra.html">Avis importants</a></div>';
     tmp = tmp +  '</div>';
}

  document.write (tmp)
}

function goLang(url,lang){
  var msg = "";
  if (url!="") {
    document.location = url;
  } else {
    if (lang.toUpperCase() == "F") {
       msg += "\n\n" + "La version française de cette page n'est pas encore disponible.\n\n";
       msg += "Si vous avez des questions ou commentaires, veuillez communiquer avec la personne responsable du SOUTIEN TECHNIQUE indiquée au bas de cette page.\n\n";
    } else {
       msg += "\n\n" + "The English version of this page is not yet available.\n\n";
       msg += "If you have any questions or concerns, please contact the TECHNICAL SUPPORT person specified at the bottom of this page.\n\n";
    };
    alert (msg);
  };
}

function displayW3CValidation (withValidation) {
  if (withValidation) {
    var tmp = ""
    tmp = tmp + "<br><br><p>";
    tmp = tmp + '<a href="http://validator.w3.org/check/referer"><img border="0" src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a>';
    tmp = tmp + "</p><br><br>";
    document.writeln (tmp)    
  };
};

var withMenu = true;
var withoutMenu = false;
var withBanner = true;
var withoutBanner = false;
 
function metatags () {
 var tmp = "";
 tmp = tmp + '<meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> ';
 if (htmlTitle != ""){ 
   tmp = tmp + '<title>'+ htmlTitle +'</title>';
  }   
 if (metaTitle != ""){
   tmp = tmp + '<meta name="title" content="'+ metaTitle +'">';
 }
 if (originator != ""){ 
   tmp = tmp + '<meta name="originator" content='+ originator +'>';
 }
 
 var keywords = generalKeywords;
 
 if (keywords != "") {
   if (specificKeywords != "" ) {
     keywords = keywords + "," + specificKeywords
   }
 }else{
   keywords = specificKeywords
 }
 
 if (keywords != ""){  
   tmp = tmp + '<meta name="keywords" content='+ keywords +'>'; 
 }
 if (controlledSubjectTerms != ""){   
   tmp = tmp + '<meta name="controlled_subject_terms" content='+ controlledSubjectTerms +'>'; 
 }
 if (languageOfResource != ""){    
   tmp = tmp + '<meta name="Language_of_resource" content='+ languageOfResource +'>'; 
 }   
 if (dateCreated != ""){     
   tmp = tmp + '<meta name="Date_created" content='+ dateCreated +'>'; 
 }
 if (dateModified != ""){     
   tmp = tmp + '<meta name="Date_Modified" content='+ dateModified +'>'; 
 }
 document.writeln (tmp);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


