//PICTURE RESIZER

function showpic(src, w, h, alt, aln, pw, ph, bw, bh, br) {
if (src == null) return;
var iw, ih; // Set inner width and height
if (window.innerWidth == null) {
iw = document.body.clientWidth;
ih=document.body.clientHeight; 
}
else {
iw = window.innerWidth;
ih = window.innerHeight;
}
if (w == null) w = iw;
if(h == null)  h = ih;
if(alt == null) alt = "Picture";
if(aln == null) aln = "left";
if(pw == null) pw = 90;
if(ph == null) ph = 90;
if(bw == null) bw = 24;
if(bh == null) bh = 24;
if(br == null) br = 0;
var sw = Math.round((iw - bw) * pw / 101);
var sh = Math.round((ih - bh) * ph / 101);
if ((w * sh) / (h * sw) < 1) sw = Math.round(w * sh / h);
else sh = Math.round(h * sw / w);
document.write('<img src="'+src+'" alt="'+alt+'" width="'+sw+'" height="'+sh+'" align="'+aln+'" border="'+br+'">');
}
// End -->

//WINDOW RESIZER

function winResize() {
location.href=location.href;
}

//WORD ARRAY ETC
var wordArray = new makeArray

     function makeArray(){
     this.length = makeArray.arguments.length
     for (var i = 0; i < this.length; i++)
     this[i + 1] = makeArray.arguments[i]
     }

     function randNum (num) {
     var now = new Date();
     var rand = Math.round(num * Math.cos(now.getTime()));
     if (rand < 0) rand = - rand; if (rand == 0) rand++;
     return rand;
     }


//FOOTER
var wordFooter = new makeFooter
('<script>document.write (year)</script>');
 function makeFooter(){
     this.length = makeFooter.arguments.length
     for (var i = 0; i < this.length; i++)
     this[i + 1] = makeFooter.arguments[i]
     }

//DATE

var months = new makeArray('January','February','March',
    'April','May','June','July','August','September',
    'October','November','December');

var date = new Date();
var day  = date.getDate();
var month = date.getMonth() + 1;
var yy = date.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;
//document.write ('<table cellpadding=3 cellspacing=0 border=0 align=right><tr><td><font class=sixth><script>document.write(day + " " + months[month] + " " + year)</script></font></td></tr></table>');



//MENU
//put image list here



//MENU FUNCTIONS HERE

