//-------------------------------------------------------------------------
// JavaSWernerSmit.2002.02.02
// Used for mouseover and mouse leave effects...
// Typical use is like this...
//      document.body.onmouseover = MaakMooi;
//      document.body.onmouseout  = MaakReg;
//-------------------------------------------------------------------------


function shake(n) {
    if (self.moveBy) {
        for (i = 5; i > 0; i--) {
        for (j = n; j > 0; j--) {
             self.moveBy(0,i);
             self.moveBy(i,0);
             self.moveBy(0,-i);
             self.moveBy(-i,0);
         }
      }
   }
}
function DocCopy(n) {
     document.write("<br><center><table><tr><TD>­<td><center><font size=1 face=Arial>"
                    +
                    "http://vlambek.baps.com<br>"
                    +
                    "CopyRight © 1998-2002 <a href=http://vlambek.baps.com/me.htm>Vlambek</a>."
                    +
                    "NO PART may be reproduced without author's permission</font></td>"
                    +
                    "<TD>­</table></center>"
                    )
}

function makeArray(arraySize) {
     this.length = arraySize
     return this
}

function DocDate(n) {
     monthNames = new makeArray(12)
     monthNames[1] = "Jan";     monthNames[2] = "Feb"
     monthNames[3] = "Mar"
     monthNames[4] = "Apr"
     monthNames[5] = "Mei"
     monthNames[6] = "Jun"
     monthNames[7] = "Jul"
     monthNames[8] = "Aug"
     monthNames[9] = "Sep"
     monthNames[10] = "Okt"
     monthNames[11] = "Nov"
     monthNames[12] = "Des"

     updated = new Date(document.lastModified)
     theMonth = monthNames[updated.getMonth() + 1]
     theDate = updated.getDate()
     theYear = updated.getYear()

//   document.write("&nbsp;<hr>Updated on " + theDate + " " + theMonth + " " + theYear + ".")
//   document.write("Updated on " + theDate + " " + theMonth + " " + theYear + ".")
     document.write("<br><br><center><table><tr><TD>­<td><center><font size=1 face=Arial>"
                    + "Last updated on " + theDate + " " + theMonth + " " + theYear + "."
                    + "<TD>­</table></center>"

                    )

}


function expandText() {
        if (null==document.counter) document.counter = -20
        document.counter++
        document.all.Exp.style.letterSpacing = document.counter
        document.all.Exp1.style.letterSpacing = document.counter
        document.all.Exp2.style.letterSpacing = document.counter
        if (document.counter<10)
          setTimeout("expandText()",50)
        else
          document.counter = null // reset when complete
      }

function LnkCopy(n) {
         document.write("<br><center><b>VLAMBEK's WEB</b><table border=1>    "
                       +"<tr><td><a href=/index.htm> main </a>"
                       +"    <td><a href=/netbal.htm>  netbal </a>"
                       +"    <td><a href=/hlinks.htm> links </a>"
                       +"    <td><a href=/helpint.htm> java </a>"
                       +"    <td><a href=/struis.htm>  struis </a>"
                       +"<tr><td><a href=/me.htm>     ekke  </a>"
                       +"    <td><a href=/deeike.htm>  de-eike  </a>"
                       +"    <td><a href=/vlam/index.htm>     quiz  </a>"
                       +"    <td><a href=/stemmet.htm> stemmet</a>"
                       +"    <td><a href=/quick>      quick </a>"
                       +"</table></center>"
                    )
}
