// JavaScript Document

function doSomething() {
	alert("Donate Page...still working on it...");
}

function getToday() {
	var now = new Date(); // Get today's current date.
	var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); // Array list of days.
	var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December'); // Array list of months.	
	var date = ((now.getDate()<10) ? "0" : "")+ now.getDate(); // Calculate the number of the current day in the week.
	
	// Calculate four digit year.
	function fourdigits(number)	{
		return (number < 1000) ? number + 1900 : number;
	}
	
	// Join it all together
	today =  days[now.getDay()] + ", " +
					 months[now.getMonth()] + " " +
					 date + ", " +
					 (fourdigits(now.getYear())) ;
	
	// Print out the data.
	document.write(today);
}

<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 10000;
// Duration of crossfade (seconds)
var crossFadeDuration = 8;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'gpx/banner_rt_kid01.jpg'
Pic[1] = 'gpx/banner_rt_kid02.jpg'
Pic[2] = 'gpx/banner_rt_kid03.jpg'
Pic[3] = 'gpx/banner_rt_kid04.jpg'
Pic[4] = 'gpx/banner_rt_kid05.jpg'
Pic[5] = 'gpx/banner_rt_kid06.jpg'
Pic[6] = 'gpx/banner_rt_kid07.jpg'
Pic[7] = 'gpx/banner_rt_kid08.jpg'
Pic[8] = 'gpx/banner_rt_kid09.jpg'
Pic[9] = 'gpx/banner_rt_kid10.jpg'
Pic[10] = 'gpx/banner_rt_kid11.jpg'
Pic[11] = 'gpx/banner_rt_kid12.jpg'
Pic[12] = 'gpx/banner_rt_kid13.jpg'
Pic[13] = 'gpx/banner_rt_kid14.jpg'
Pic[14] = 'gpx/banner_rt_kid15.jpg'
Pic[15] = 'gpx/banner_rt_kid16.jpg'
Pic[16] = 'gpx/banner_rt_kid17.jpg'
Pic[17] = 'gpx/banner_rt_kid18.jpg'
Pic[18] = 'gpx/banner_rt_kid19.jpg'
Pic[19] = 'gpx/banner_rt_kid20.jpg'
Pic[20] = 'gpx/banner_rt_kid21.jpg'
Pic[21] = 'gpx/banner_rt_kid22.jpg'

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
	preLoad[i] = new Image();
	preLoad[i].src = Pic[i];
}


function runSlideShow() {

//	This fires another function for the navigation links
//startmenu();

if (document.all) {
	document.images.SlideShow.style.filter="blendTrans(duration=2)";
	document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
	document.images.SlideShow.filters.blendTrans.Apply();
}

document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
	document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->


/* 
Usage: The link is written as follows: 
onclick="newWindow(this.href, 'popup', 600, 500, 1, 1, 0, 0, 0, 1, 0);

Usage Description:
"this.href" refers to the URL given in the "a" tag; "'popup'" is the name of the popup window;
600 is the width of the popup window; 500 is the height of the popup window; the numbers that
follow designate whether a property is turned on ("1") or off ("0"), in this order:
scrollbars, resizable, menubar, toolbar, addressbar, statusbar, fullscreen
*/

function newWindow(a_str_windowURL, a_str_windowName, a_int_windowWidth, a_int_windowHeight, a_bool_scrollbars, a_bool_resizable, a_bool_menubar, a_bool_toolbar, a_bool_addressbar, a_bool_statusbar, a_bool_fullscreen) {
  var int_windowLeft = (screen.width - a_int_windowWidth) / 2;
  var int_windowTop = (screen.height - a_int_windowHeight) / 2;
  var str_windowProperties = 'height=' + a_int_windowHeight + ',width=' + a_int_windowWidth + ',top=' + int_windowTop + ',left=' + int_windowLeft + ',scrollbars=' + a_bool_scrollbars + ',resizable=' + a_bool_resizable + ',menubar=' + a_bool_menubar + ',toolbar=' + a_bool_toolbar + ',location=' + a_bool_addressbar + ',statusbar=' + a_bool_statusbar + ',fullscreen=' + a_bool_fullscreen + '';
  var obj_window = window.open(a_str_windowURL, a_str_windowName, str_windowProperties)
    if (parseInt(navigator.appVersion) >= 4) {
      obj_window.window.focus();
    }
}
//	END -->


//	EXPAND NAVIGATION LINK 
function startmenu() {
  menu0.style.display = "block";
  menu1.style.display = "block";
  menu2.style.display = "block";
  //menu3.style.display = "none";
	
  //menu0.style.display = "none";
  //menu1.style.display = "none";
  //menu2.style.display = "none";
  //menu3.style.display = "none";
	
	
}
  
function menu0func() {
 	if(menu0.style.display == "none") {
		startmenu();
 		menu0.style.display = "block";
 	} else {
 		startmenu();
 	}
}

function menu1func() {
  if(menu1.style.display == "none")	{
		startmenu();
 		menu1.style.display = "block";
	} else {
 		startmenu();
  }
}

function menu2func() {
	if(menu2.style.display == "none") {
  		startmenu();
  		menu2.style.display = "block";
	}	else {
		startmenu();
	}
}
 
function menu3func() {
	if(menu3.style.display == "none") {
		startmenu();
		menu3.style.display = "block";
	}	else {
		startmenu();
	}
}

//  End -->








