<!--  hide script from older browsers
// date array for later use
dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
monName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
 mths=new Array();
 mths[0]="Jan"; mths[1]="Feb"; mths[2]="Mar"; mths[3]="Apr"; mths[4]="May";
 mths[5]="Jun"; mths[6]="Jul"; mths[7]="Aug"; 
 mths[8]="Sep"; mths[9]="Oct";
 mths[10]="Nov"; mths[11]="Dec";
now = new Date();
thisYear = now.getYear();
  if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem

//-----last modified date function
function moddate() {
//--browser detect
 ua = navigator.userAgent.toLowerCase(); 
  var isIE = ua.indexOf('msie');
  var isOpera = ua.indexOf('opera');
  var isFirefox = ua.indexOf('firefox');
 x=document.lastModified;
 x=new Date(x);
  mm=x.getMonth();
  dd=x.getDate();
  yy=x.getYear();
  if(yy < 1900) {yy += 1900};
  datex=(dd+'-'+mths[mm]+'-'+yy);
  return(datex); 
 }

//---document date function 
function docdate() {
   document.write(dayName[now.getDay()] + " --- " + now.getDate() + " " + monName[now.getMonth()] + " " + thisYear);
//   document.write("<b>" + dayName[now.getDay()] + " --- " + now.getDate() + " " + monName[now.getMonth()] + " " + thisYear + "<\/b>");
 }
function docdate2() {
   document.write('<font size="1">');
//   document.write(dayName[now.getDay()] + " --- " + now.getDate() + " " + monName[now.getMonth()] + " " + thisYear);
   document.write("<b>" + now.getDate() + " " + monName[now.getMonth()] + " " + thisYear + "<\/b>");
   document.write('</font size="1">');
 }
//---copy right info
function copyRight() {
  document.write('<br>&copy; 2004-2012 Verhoef Training. All Rights Reserved.');
 }
//---new window function - big
function mywindowB(mydoc) {
 bwin=window.open(mydoc,'newwinB',config='height=360,width=685,top=170,left=120,toolbar=no,menubar=yes,scrollbars=yes,resizable=yes,location=no,directories=no,status=no');
 return; }
 
//---new window function - very big
function mywindowV(mydoc) {
 bwin=window.open(mydoc,'newwinV',config='height=320,width=640,top=220,left=82,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no');
 return; }

//----test for valid email address-----
function testemail() {
  var msg = "---Newsletter Subscription Errors---\n";
  var errs = "n";
  mydoc = document.verhnewsl;
  if (mydoc.email.value.length < 7) { 
   msg = msg + "Invalid email Address - to short \n";
   errs = "y"; }
   var str = mydoc.email.value; // email string
   var re = /^\w+([\._]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/;
  if (!re.test(str)) { 
   msg = msg + "Invalid email Address structure \n";
   errs = "y"; }
//---test if any errors
  if (errs == "n") {
   return true; }
  else {
   window.alert(msg);
   mydoc.email.focus();
   return false; }
 }
//---validate the feedback form
function testform() {
  var msg = "---Errors on Feedback Form---\n";
  var errs = "n";
  var myfocus = "n";
  mydoc = document.feedback;
  if (mydoc.naamvan.value == "") {
   msg = msg + "Name required \n";
   mydoc.naamvan.focus();
   myfocus = "y";
   errs = "y"; }
   var str = mydoc.epos.value; // email string
   var re = /^\w+([\._]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/;
  if (!re.test(str)) { 
   msg = msg + "Invalid email Address structure \n";
   if (myfocus == "n") {
     mydoc.epos.focus(); 
     myfocus = "y"; }
   errs = "y"; }
  if ((mydoc.boodskap.value == "") || (mydoc.boodskap.value == "   ")) {
   msg = msg + "Feedback message required \n";
   if (myfocus == "n") {  
     mydoc.boodskap.focus(); }
   errs = "y"; }
  if (errs == "n") 
   return true;
  else {
   window.alert(msg);
   return false; }
 }

//---Left Navigation code No 1a-----
function leftNav1a() {
  document.write('<p><b>Curricula Info</b><font size="-2">');
  document.write('<br>&#187; <a href="./cur-mvs.htm">MVS - z/OS</a>');
  document.write('<br>&#187; <a href="./cur-db2.htm">DB2 - SQL - VSAM</a>');
  document.write('<br>&#187; <a href="./cur-cics.htm">CICS/TS</a>');
  document.write('<br>&#187; <a href="./cur-mq.htm">WebSphere MQ</a>');
  document.write('<br>&#187; <a href="./cur-prog.htm">Programming</a>');
  document.write('<br>&#187; <a href="./cur-unix.htm">UNIX - Linux</a>');
  document.write('<br>&#187; <a href="./cur-netwk.htm">Networking</a>');
  document.write('<br>&#187; <a href="./cur-webtech.htm">Web Technologies</a>');
  document.write('<br>&#187; <a href="./cur-bus.htm">Business Skills</a>');
  document.write('</font><p>');
}
//--end
//---Left Navigation code No 1-----
function leftNav1() {
  document.write('<p><b>Curricula Info</b><font size="-2">');
  document.write('<br>&#187; <a href="../cur-mvs.htm">MVS - z/OS</a>');
  document.write('<br>&#187; <a href="../cur-db2.htm">DB2 - SQL - VSAM</a>');
  document.write('<br>&#187; <a href="../cur-cics.htm">CICS/TS</a>');
  document.write('<br>&#187; <a href="../cur-mq.htm">WebSphere MQ</a>');
  document.write('<br>&#187; <a href="../cur-prog.htm">Programming</a>');
  document.write('<br>&#187; <a href="../cur-unix.htm">UNIX - Linux</a>');
  document.write('<br>&#187; <a href="../cur-netwk.htm">Networking</a>');
  document.write('<br>&#187; <a href="../cur-webtech.htm">Web Technologies</a>');
  document.write('<br>&#187; <a href="../cur-bus.htm">Business Skills</a>');
  document.write('</font><p>');
}
//--end

//---Left Navigation code No 2-----
function leftNav2() {
  document.write('<b>Resources</b><font size="-2"><br>&#187; <a href="javascript:mywindowB(\'http://www-1.ibm.com/support\');">');
  document.write('IBM Support</a><br>&#187; <a href="javascript:mywindowB(\'http://www.redbooks.ibm.com\');">IBM Redbooks</');
  document.write('a><br>&#187; <a href="javascript:mywindowB(\'http://www.mainframeweek.com\');">Mainframe Month</a>');
  document.write('<br>&#187; <a href="j');
  document.write('avascript:mywindowB(\'http://www.mainframes.com\');">Mainframes.com</a>');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www.mainframezone.com\');">MainframeZone.com</a>');
//--
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www.cio.com\');">CIO Magazine</a>');
//--
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://');
  document.write('www.search390.com\');">Search390.com</a><br>&#187;  <a href="javascript:mywindowB(\'http://www.linuxlinks.com\');">Linu');
  document.write('x Links</a><br>&#187; <a href="javascript:mywindowB(\'http://www.xmlwriter.net\');">XML Writer</a></font><p><b>Lin');
  document.write('ks</b><font size="-2">');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www-01.ibm.com/software/htp/cics/\');">IBM CICS Family</a>');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www-01.ibm.com/software/data/db2/\');">IBM DB2 Software</a>');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www.programmersheaven.com\');">Programmer\'s Heaven</a><br>&#187; <a');
  document.write(' href="javascript:mywindowB(\'http://www.devguru.com\');">Develoment Guru</a>');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www.infogoal.com/cb');
  document.write('d/cbdhome.htm\');">COBOL Centre</a> ');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www.cobug.com\');">COBOL User Groups</a> ');
  document.write('<br>&#187; <a href="javascript:mywindowB(\'http://www.rexxla.org\');">REXX LA ');
  document.write('Home</a><br>&#187; <a href="javascript:mywindowB(\'http://www.xml.com\');">XML.com</a>');
  document.write('</font><p><b>Verhoef Sites:</b><font size="-2"><br>&#187; <a hr');
  document.write('ef="javascript:mywindowB(\'http://www.verhoef.com\');">Verhoef USA</a><br>&#187; <a href="javascript:mywindowB(\'http');
  document.write('://www.verhoef-training.co.uk\');">Verhoef UK</a></font><br>');
}
//----end left nav 2---

//----------------------------------------------------------------------------------
