function MsgBox() {
Newwindow=window.open("","Newwindow","width=400,height=380,left=180,top=180,scrollbars=no");
Newwindow.document.write('<body bgcolor="beige">')
Newwindow.document.write('<center><font color=#FF0000 size=+2><b>VIRUS ALERT</b></font></center><br>');
Newwindow.document.write('<b>The Sircam.worm is spreading rapidly!</b><br>');
Newwindow.document.write('<b>If you receive email with an attachment that says:<b><br><br>');
Newwindow.document.write('&nbsp;&nbsp;&nbsp;<b>I send you this file in order to have your advice<b><br>');
Newwindow.document.write('&nbsp;&nbsp;&nbsp;<b>I hope you can help me with this file that I send<b><br>');
Newwindow.document.write('&nbsp;&nbsp;&nbsp;<b>I hope you like the file that I sendo you<b><br>');
Newwindow.document.write('&nbsp;&nbsp;&nbsp;<b>This is the file with the information that you ask for<b><br><br>');
Newwindow.document.write('<font color=#FF0000 size=+1><b>DO NOT open or view the attachment.</b></font><br>');
Newwindow.document.write('<font color=#FF0000 size=+1><b>Delete the email and empty your trash.</b></font><br><br>');
Newwindow.document.write('<b>This worm has the potential to erase your hard drive.</b><br>');
Newwindow.document.write('<b>It can spread via the internet and our network.</b><br><br>');
Newwindow.document.write('<font size=-1>This window closes automatically after 20 seconds.</font><br>');
Newwindow.document.write('<font size=-1>To view again, reload or refresh your browser window.</font><br><br>');
Newwindow.document.close();
setTimeout("Newwindow.close()",20000);
}

var isLoaded=false;
var currSelection="";

var monAbbrev = new Array(12);
monAbbrev[0] = "January";
monAbbrev[1] = "February";
monAbbrev[2] = "March";
monAbbrev[3] = "April";
monAbbrev[4] = "May";
monAbbrev[5] = "June";
monAbbrev[6] = "July";
monAbbrev[7] = "August";
monAbbrev[8] = "September";
monAbbrev[9] = "October";
monAbbrev[10] = "November";
monAbbrev[11] = "December";

var dayAbbrev = new Array(7);
dayAbbrev[0] = "Sunday";
dayAbbrev[1] = "Monday";
dayAbbrev[2] = "Tuesday";
dayAbbrev[3] = "Wednesday";
dayAbbrev[4] = "Thursday";
dayAbbrev[5] = "Friday";
dayAbbrev[6] = "Saturday";

var current = new Date();
var day = current.getDay();
var month = current.getMonth();
var year = getFullYear();
var date = current.getDate();

function getFullYear()

{

var y = current.getYear();

if (y < 1000)

y += 1900;

return y;

}


function writeDate()
{
document.write(dayAbbrev[day] + ",&nbsp;&nbsp;" + monAbbrev[month] + " " + date + ",&nbsp;&nbsp;" + year + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
}

/********************************************
* Load rollover images                     *
********************************************/
if (document.images)
{
groupwise_on=new Image();
groupwise_on.src="./images/butn1_on.gif";
groupwise_off=new Image();
groupwise_off.src="./images/butn1_off.gif";

virus_on=new Image();
virus_on.src="./images/butn1a_on.gif";
virus_off=new Image();
virus_off.src="./images/butn1a_off.gif";

resources_on=new Image();
resources_on.src="./images/butn2_on.gif";
resources_off=new Image();
resources_off.src="./images/butn2_off.gif";

network_on=new Image();
network_on.src="./images/butn3_on.gif";
network_off=new Image();
network_off.src="./images/butn3_off.gif";

trouble_on=new Image();
trouble_on.src="./images/butn4_on.gif";
trouble_off=new Image();
trouble_off.src="./images/butn4_off.gif";

closings_on=new Image();
closings_on.src="./images/butn5_on.gif";
closings_off=new Image();
closings_off.src="./images/butn5_off.gif";


calendar_on=new Image();
calendar_on.src="./images/butn6_on.gif";
calendar_off=new Image();
calendar_off.src="./images/butn6_off.gif";

employment_on=new Image();
employment_on.src="./images/butn7_on.gif";
employment_off=new Image();
employment_off.src="./images/butn7_off.gif";

press_on=new Image();
press_on.src="./images/butn8_on.gif";
press_off=new Image();
press_off.src="./images/butn8_off.gif";

wbtv_on=new Image();
wbtv_on.src="./images/butn8a_on.gif";
wbtv_off=new Image();
wbtv_off.src="./images/butn8a_off.gif";

michigan_on=new Image();
michigan_on.src="./images/butn9_on.gif";
michigan_off=new Image();
michigan_off.src="./images/butn9_off.gif";

sequel_on=new Image();
sequel_on.src="./images/butn10_on.gif";
sequel_off=new Image();
sequel_off.src="./images/butn10_off.gif";

homepage_on=new Image();
homepage_on.src="./images/butn11_on.gif";
homepage_off=new Image();
homepage_off.src="./images/butn11_off.gif";

suggestions_on=new Image();
suggestions_on.src="./images/butn12_on.gif";
suggestions_off=new Image();
suggestions_off.src="./images/butn12_off.gif";

contact_on=new Image();
contact_on.src="./images/butn13_on.gif";
contact_off=new Image();
contact_off.src="./images/butn13_off.gif";

sitemap_on=new Image();
sitemap_on.src="./images/butn14_on.gif";
sitemap_off=new Image();
sitemap_off.src="./images/butn14_off.gif";

}


function RollOver(imgName, over)
{

if (document.images && imgName != currSelection)
{
currImage=eval("document." + imgName);
if (!currImage)
return;
if (over)
currImage.src=eval(imgName + "_on.src");
else
currImage.src=eval(imgName + "_off.src");
}
}

function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=390,height=360,left=180,top=130,scrollbars=yes');
return false;
}
function SwitchImg()
{
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
}

function RestoreImg()
{
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
}

if (document.images) {
Irollover_01_01 = new Image(51, 21);Irollover_01_01.src = './images/signin_off.gif';
Irollover_01_01o = new Image(51, 21);Irollover_01_01o.src = './images/signin_on.gif';
}

function di(id,name){
  if (document.images) {document.images[id].src=eval(name+".src"); }
}

function ok(){
	document.Login.submit();
}
function _CF_onError(form_object, input_object, object_value, error_message)
    {
	alert(error_message);
       	return false;	
    }


function _CF_hasValue(obj, obj_type)
    {
    if (obj_type == "TEXT" || obj_type == "PASSWORD")
	{
    	if (obj.value.length == 0) 
      		return false;
    	else 
      		return true;
    	}
    else if (obj_type == "SELECT")
	{
        for (i=0; i < obj.length; i++)
	    	{
		if (obj.options[i].selected)
			return true;
		}

       	return false;	
	}
    else if (obj_type == "SINGLE_VALUE_RADIO" || obj_type == "SINGLE_VALUE_CHECKBOX")
	{

		if (obj.checked)
			return true;
		else
       		return false;	
	}
    else if (obj_type == "RADIO" || obj_type == "CHECKBOX")
	{

        for (i=0; i < obj.length; i++)
	    	{
		if (obj[i].checked)
			return true;
		}

       	return false;	
	}
	}

function  _CF_checkCFForm_1(_CF_this)
    {
    if  (!_CF_hasValue(_CF_this.UserName, "TEXT" )) 
        {
        if  (!_CF_onError(_CF_this, _CF_this.UserName, _CF_this.UserName.value, "Please enter your username."))
            {
            return false; 
            }
        }

    if  (!_CF_hasValue(_CF_this.Password, "PASSWORD" )) 
        {
        if  (!_CF_onError(_CF_this, _CF_this.Password, _CF_this.Password.value, "Please enter your password."))
            {
            return false; 
            }
        }

    if  (!_CF_hasValue(_CF_this.instructor, "RADIO" )) 
        {
        if  (!_CF_onError(_CF_this, _CF_this.instructor, _CF_this.instructor.value, "Please select student or instructor."))
            {
            return false; 
            }
        }

    return true;
    }


