// LOG IN Start
function Login(form) {
var username = form.username.value;
var password = form.password.value;
var server = form.server.value;
if (username && password && server) {
var htsite = "http://" + username + ":" + password + "@" + server + username + ".html";
window.location = htsite;
}
else {
alert("Please enter your username and password.");
   }
}
// LOG IN End -->

// DATE Script
  <!--- Hide from old browsers
    month = new Array(12);
      month[0]="January"
      month[1]="February"
      month[2]="March"
      month[3]="April"
      month[4]="May"
      month[5]="June"
      month[6]="July"
      month[7]="August"
      month[8]="September"
      month[9]="October"
      month[10]="November"
      month[11]="December"

    day = new Array(7);
      day[0]="Sunday"
      day[1]="Monday"
      day[2]="Tuesday"
      day[3]="Wednesday"
      day[4]="Thursday"
      day[5]="Friday"
      day[6]="Saturday"

    today=new Date();
      d0=today.getDay();
      m0=today.getMonth();
      d1=today.getDate();
      y0=today.getFullYear();
// end Date Script --->


/*************************************************************************
  This code is from Dynamic Web Coding 
  at http://www.dyn-web.com/
  Copyright 2001-3 by Sharon Paine 
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  Permission granted to use this code 
  as long as this entire notice is included.
*************************************************************************/
function initImgRotation() {
  // create rotating image objects here 
  // arguments: image name, rotation speed
  var rotator1 = new rotateImgObj('img1',3850);
  // add the images to rotate into that image object  
  rotator1.addImages("thumb-2.jpg","thumb-3.jpg","thumb-4.jpg","thumb-5.jpg","thumb-6.jpg","thumb-7.jpg","thumb-9.jpg");

  // starts rotation for all defined rotateImgObjs
  for (var i=0; i<rotateImgObjs.length; i++) 
    rotateImgObjs[i].timer = setInterval(rotateImgObjs[i].animString + ".rotate()", rotateImgObjs[i].speed);
}

// If all the images you wish to display are in the same location, you can specify the path here 
rotateImgObj.imagesPath = "images/thumbs/";

rotateImgObjs = []; // holds all rotating image objects defined
// constructor 
function rotateImgObj(nm,s) {
  this.speed = s; this.ctr=0; this.timer=0;  
  this.imgObj = document.images[nm]; // get reference to the image object
  this.index = rotateImgObjs.length; rotateImgObjs[this.index] = this;
  this.animString = "rotateImgObjs[" + this.index + "]";
  
  this.addImages = addRotatingImages;
  this.rotate = rotateImg;
}
// preloads images
function addRotatingImages() {
  this.imgObj.imgs = [];
  for (var i=0; i<arguments.length; i++) {
    this.imgObj.imgs[i] = new Image();
    this.imgObj.imgs[i].src = rotateImgObj.imagesPath + arguments[i];
  }
}

// controls rotation
function rotateImg() {
  if (this.ctr < this.imgObj.imgs.length-1) this.ctr++;
  else this.ctr = 0;
  this.imgObj.src = this.imgObj.imgs[this.ctr].src;
}
// end Rotating Image Script --->


// START FADE IN SCRIPT
var step = 10;
var delay = 100;
function fadeImageIn (img) {
  if (document.all || navigator.appName == 'Netscape' && parseFloat
(navigator.appVersion) >= 5) {
    img.opacity = 0;
    setOpacity(img.name);
  }
}
function fadeImageOut (img) {
  if (document.all || navigator.appName == 'Netscape' && parseFloat
(navigator.appVersion) >= 5) {
    img.opacity = 100;
    setOpacity(img.name, -step);
  }
}
function setOpacity (imgName, step, delay) {
  if (!step)
    step = window.step;
  if (!delay)
    delay = window.delay;
  var img = document.images[imgName];
  img.opacity += step;
  if (document.all)
    img.style.filter = 'alpha(opacity = ' + img.opacity + ')';
  else if (navigator.appName == 'Netscape' &&
parseFloat(navigator.appVersion) >= 5)
    img.style.MozOpacity = img.opacity + '%';
  if (step > 0 && img.opacity < 100 || step < 0 && img.opacity > 0)
    setTimeout('setOpacity("' + img.name + '",' + step + ', ' + delay 
+ ')', delay);
} 
// END FADE IN SCRIPT

<!--
function wopen(url, w, h)
{
        // Fudge factors for window decoration space.
	// In my tests these work well on all platforms & browsers.
        w += 32;
        h += 96;
	var win = window.open(url,
		'target', 
		'width=' + w + ', height=' + h + ', ' +
		'location=yes, menubar=no, ' +
		'status=no, toolbar=no, scrollbars=auto, resizable=no');
	win.resizeTo(w, h);
	win.focus();
}
// -->

<!--
function fopen(url, w, h)
{
        // Fudge factors for window decoration space.
	// In my tests these work well on all platforms & browsers.
        w += 32;
        h += 96;
	var win = window.open(url,
		'target2', 
		'width=' + w + ', height=' + h + ', ' +
		'location=yes, menubar=no, ' +
		'status=no, toolbar=no, scrollbars=yes, resizable=no');
	win.resizeTo(w, h);
	win.focus();
}
// -->