<!--
	// Element position functions
  function getAbsoluteX (elm) {
  	var x = 0;
  	if (elm) {
  		while (elm) {
  			x += elm.offsetLeft;
  			elm = elm.offsetParent;
  		}
  	}
  	return x;
  }
  
  function getAbsoluteY(elm) {
  	var y = 0;
  	if (elm) {
  		while (elm) {
  			y += elm.offsetTop;
  			elm = elm.offsetParent;
  		}
  	}
  	return y;
  }
	
	function getAbsoluteHeight(elm) {
		return elm.offsetHeight;
	}
	
	function getAbsoluteWidth(elm) {
		return elm.offsetWidth;
	}
	
	// Preloads any images not starting with a '#' into the document object MM_p
  function MM_preloadImages() {
    if (document.images) {
     if (!document.MM_p) {
     		document.MM_p = new Array();
    		var i,j = document.MM_p.length,a = MM_preloadImages.arguments;
    		for (i=0; i<a.length; i++) {
  				if (a[i].indexOf("#")!=0) {
  					 document.MM_p[j] = new Image;
  					 document.MM_p[j++].src = a[i];									 
  				}
    		}
     }										 
    }
	}
	
	// Restores an image to its original source, for rollovers and popups 
  function MM_swapImgRestore() {
		var i,x,a = document.MM_sr;
		for (i=0; a && i<a.length && (x = a[i]) && x.oSrc; i++) x.src = x.oSrc;
  }
	
	// Finds an object in the document (use ? to denote an image in another frame) 
  function MM_findObj(n, d) {
		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);
		if (!x && d.getElementById) x = d.getElementById(n);
		return x;
  }

	// Swaps images [current, swap]
  function MM_swapImage() {
		var i,x,j = 0,a = MM_swapImage.arguments;
		document.MM_sr = new Array;
		for (i=0; i<(a.length-1); i+=2) {
			if ((x = MM_findObj(a[i])) != null) {
				 document.MM_sr[j++] = x;
				 if (!x.oSrc) x.oSrc = x.src;
				 x.src = a[i+1];				 
			}
		}
  }
	
	// Display a message in the Status Bar
  function MM_displayStatusMsg(msgStr) {
    status=msgStr;
	}
	
	// Date and Time Display Functions and Defines	
  defaultDateStyle = 5; //pick a date style from below  
  /*------------------------------
  Style 1: March 17, 2000
  Style 2: Mar 17, 2000
  Style 3: Saturday March 17, 2000
  Style 4: Sat Mar 17, 2000
  Style 5: Sat March 17, 2000
  Style 6: 17 March 2000
  Style 7: 17 Mar 2000
  Style 8: 03/17/2000
  Style 9: 03-17-2000
  --------------------------------*/
	defaultTimeStyle = 5;
  /*------------------------------
	Style 1: 24:00:00
	Style 2: 12:00:00 PM
	Style 3: 24:00
	Style 4: 12:00 PM
	Style 5: none
  --------------------------------*/	
  
  monthsLong = new Array();
  monthsLong[1] = "January"; monthsLong[2] = "February"; monthsLong[3] = "March";
  monthsLong[4] = "April"; monthsLong[5] = "May"; monthsLong[6] = "June";
	monthsLong[7] = "July"; monthsLong[8] = "August"; monthsLong[9] = "September";
	monthsLong[10] = "October"; monthsLong[11] = "November"; monthsLong[12] = "December";
  
  monthsShort = new Array(); 
  monthsShort[1] = "Jan"; monthsShort[2] = "Feb"; monthsShort[3] = "Mar"; monthsShort[4] = "Apr";
  monthsShort[5] = "May"; monthsShort[6] = "Jun"; monthsShort[7] = "Jul"; monthsShort[8] = "Aug";
	monthsShort[9] = "Sep"; monthsShort[10] = "Oct"; monthsShort[11] = "Nov"; monthsShort[12] = "Dec";
  
  daysLong = new Array();
  daysLong[1] = "Sunday"; daysLong[2] = "Monday"; daysLong[3] = "Tuesday"; 
	daysLong[4] = "Wednesday"; daysLong[5] = "Thursday"; daysLong[6] = "Friday";
	daysLong[7] = "Saturday";  
  
  daysShort = new Array();
  daysShort[1] = "Sun"; daysShort[2] = "Mon"; daysShort[3] = "Tue"; 
	daysShort[4] = "Wed"; daysShort[5] = "Thu"; daysShort[6] = "Fri"; 
	daysShort[7] = "Sat";
	
	function PrintTodaysDate(dateStyle, timeStyle) {
		if (!dateStyle) dateStyle = defaultDateStyle;
		if (dateStyle > 9 || dateStyle <= 0) dateStyle = defaultDateStyle;
		if (!timeStyle) timeStyle = defaultTimeStyle;
		if (timeStyle > 5 || timeStyle <= 0) timeStyle = defaultTimeStyle;
		
		today = new Date();
		date = today.getDate();
		day = today.getDay() + 1;
		month = today.getMonth() + 1;
		year = today.getYear();
		year = (year < 1000) ? year + 1900 : year;
		
		dateline = new Array();
    dateline[1] = monthsLong[month] + " " + date + ", " + year;
    dateline[2] = monthsShort[month] + " " + date + ", " + year;
    dateline[3] = daysLong[day] + " " + monthsLong[month] + " " + date + ", " + year;
    dateline[4] = daysShort[day] + " " + monthsShort[month] + " " + date + ", " + year;
    dateline[5] = daysShort[day] + " " + monthsLong[month] + " " + date + ", " + year;
		date = (date < 10) ? "0" + date : date;
    dateline[6] = date + " " + monthsLong[month] + " " + year;
    dateline[7] = date + " " + monthsShort[month] + " " + year;
		month = (month < 10) ? "0" + month : month;		
    dateline[8] = month + "/" + date + "/" + year;
    dateline[9] = month + "-" + date + "-" + year;
		
		hours = today.getHours();
		merdian = (hours > 12) ? "PM" : "AM";
		minutes = today.getMinutes();
		minutes = (minutes < 10) ? "0" + minutes : minutes;
		seconds = today.getSeconds();
		seconds = (seconds < 10) ? "0" + seconds : seconds;
		timeline = new Array();
		timeline[1] = " " + hours + ":" + minutes + ":" + seconds;
		timeline[3] = " " + hours + ":" + minutes;
		hours = (hours > 12) ? hours - 12 : hours;
		timeline[2] = " " + hours + ":" + minutes + ":" + seconds + " " + merdian;
		timeline[4] = " " + hours + ":" + minutes + " " + merdian;
		timeline[5] = "";
		
		document.write(dateline[dateStyle] + timeline[timeStyle]);
	}
	
	function PrintLastModifiedDate(dateStyle, timeStyle) {
		if (!dateStyle) dateStyle = defaultDateStyle;
		if (dateStyle > 9 || dateStyle <= 0) dateStyle = defaultDateStyle;
		if (!timeStyle) timeStyle = defaultTimeStyle;
		if (timeStyle > 5 || timeStyle <= 0) timeStyle = defaultTimeStyle;
		
		today = new Date(document.lastModified);
		date = today.getDate();
		day = today.getDay() + 1;
		month = today.getMonth() + 1;
		year = today.getYear();
		year = (year < 1000) ? year + 1900 : year;
		
		dateline = new Array();
    dateline[1] = monthsLong[month] + " " + date + ", " + year;
    dateline[2] = monthsShort[month] + " " + date + ", " + year;
    dateline[3] = daysLong[day] + " " + monthsLong[month] + " " + date + ", " + year;
    dateline[4] = daysShort[day] + " " + monthsShort[month] + " " + date + ", " + year;
    dateline[5] = daysShort[day] + " " + monthsLong[month] + " " + date + ", " + year;
		date = (date < 10) ? "0" + date : date;
    dateline[6] = date + " " + monthsLong[month] + " " + year;
    dateline[7] = date + " " + monthsShort[month] + " " + year;
		month = (month < 10) ? "0" + month : month;		
    dateline[8] = month + "/" + date + "/" + year;
    dateline[9] = month + "-" + date + "-" + year;
		
		hours = today.getHours();
		merdian = (hours > 12) ? "PM" : "AM";
		minutes = today.getMinutes();
		minutes = (minutes < 10) ? "0" + minutes : minutes;
		seconds = today.getSeconds();
		seconds = (seconds < 10) ? "0" + seconds : seconds;
		timeline = new Array();
		timeline[1] = " " + hours + ":" + minutes + ":" + seconds;
		timeline[3] = " " + hours + ":" + minutes;
		hours = (hours > 12) ? hours - 12 : hours;
		timeline[2] = " " + hours + ":" + minutes + ":" + seconds + " " + merdian;
		timeline[4] = " " + hours + ":" + minutes + " " + merdian;
		timeline[5] = "";
		
		document.write(dateline[dateStyle] + timeline[timeStyle]);
	}
-->