image1 = new Image();
image1.src = "images/login.gif";
image2 = new Image();
image2.src = "images/loginh.gif";
image3 = new Image();
image3.src = "images/login2.gif";
image4 = new Image();
image4.src = "images/login2h.gif";

function move_in(img_name,img_src) {
document[img_name].src=img_src;
}

function move_out(img_name,img_src) {
document[img_name].src=img_src;
}


function pdate()
{
var t = new Date();
var d = t.getDate();
var m = t.getMonth();
var y = t.getFullYear();
var sup = "th";
if (d == 1 || d == 21 || d ==31)
   {
   sup = "st";
   }
if (d == 2 || d == 22)
   {
   sup = "nd";
   }
if (d == 3 || d == 23)
   {
   sup = "rd";
   }

var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

m = month[m];

d = " " + m + " " + d + ", " + y;

document.write('<span class="small">&nbsp;' + d + "</span>");
}

function home_image()
	{
	/* Array t holds the image numbers */
	var t = new Array(0, 1, 2);
	total_no = t.length;
	var r = Math.round((total_no - 1)*Math.random());
	document.write("<img src=\"images/img" + r + ".jpg\" width=\"365\" height=\"260\" border=\"0\" alt=\"Image\" />");
	}

function login_form_val()
	{
	err = 0;
	msg = "";
	if (document.login_form.member_username.value == "")
		{
		err = 1;
		msg = msg + "Please enter your username!\n";
		}
	if (document.login_form.member_password.value == "")
		{
		err = 1;
		msg = msg + "Please enter your password!\n";
		}
	if (err)
		{
		alert(msg);
		return false;
		}
	return true;
	}

function testimonials()
	{
	/* Array t holds the testimonials */
	var t = new Array(); 
	/* Array a holds the author name */
	var a = new Array();

	t[0] = "I am very excited [about IQAT].  We've never had a tool that allows us to benchmark externally.  It helps us kick the tires." ; 
	a[0] = "Don Hanna<BR>NUTN Institute on Quality Standards<BR>Professor, Educational Communications<BR>University of Wisconsin-Madison Extension";
	t[1] = "While there are many data set tools for recording and tracking progress available to higher education decision-makers, IQAT is unique in its focus on distance education metrics and its use of benchmarking—a process that encourages reflection and analysis over time." ;
	a[1] = "Jim Woodell, Dean<BR>Academic Technology & Distance Learning<BR>North Shore Community College";
	t[1] = "IQAT is well positioned to both lead and continuously respond to the processes necessary to describe, define, and improve online instruction. IQAT requires reflection on processes and outcomes and provides a vocabulary that will continue to evolve.  Until the environment can be described, it cannot be discussed, evaluated, or enhanced." ;
	a[1] = "Carole Hayes<BR>Coordinator of Student Support and Program Evaluation<BR>Florida State University";
	


	total_no = t.length;
	var r = Math.round((total_no - 1)*Math.random());
	testimonial_to_print = "<SPAN CLASS=\"smallwhite\">\"" + t[r] + "\"<BR><BR> ~ <B><I>" + a[r] + "</I></B></SPAN>";
	document.write(testimonial_to_print);
	}
// JavaScript Document