<!--
function PointOff(name){
		if(document.images) {
			document.images[name].src = eval("null_.src");
		}
	}
    
function PointAtMe(name,colour){	
		if(document.images) {
			if(colour != "ffffff") {
				document.images[name].src = arrow.src;
			} else {
				document.images[name].src = arrow_000.src;
			}
		}
	}

function SubPointOff(name){
		if(document.images) {
			document.images[name].src = eval("null_.src");
		}
	}
    
function SubPointAtMe(name,colour){	
		if(document.images) {
			if(colour != "ffffff") {
				document.images[name].src = arrow.src;
			} else {
				document.images[name].src = arrow_000.src;
			}
		}
	}
if(document.images) {	
		var arrow = new Image(13,24);
		arrow.src = "images/site/section_arrow_fff24.gif";
	
		var arrow_000 = new Image(13,13);
		arrow_000.src = "images/site/section_arrow_00024.gif";
		
		var null_ = new Image(13,24);
		null_.src = "images/site/blank.gif";
}	

if (document.images) {
gsb_F1 = new Image(17,17); gsb_F1.src = "images/site/tsubmit4.gif";
gsb_F2 = new Image(17,17); gsb_F2.src = "images/site/tsubmit4off.gif";
}

/* Function that swaps images. */

function di20(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = newSrc;
    }
}

/* Functions that track and set toggle group button states. */

function FWFindImage(doc, name, j) {
    var theImage = false;
    if (doc.images) {
        theImage = doc.images[name];
    }
    if (theImage) {
        return theImage;
    }
    if (doc.layers) {
        for (j = 0; j < doc.layers.length; j++) {
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage) {
                return (theImage);
            }
        }
    }
    return (false);
}


if (document.images) {
sub5_F1 = new Image(62,15); sub5_F1.src = "images/site/submit5.gif";
sub5_F2 = new Image(62,15); sub5_F2.src = "images/site/submit5off.gif";
}

/* Function that swaps images. */

function di20(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = newSrc;
    }
}

function open_window(url) {
popup = window.open(url,"popup","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=yes,width=480,height=410");
    if (!popup.opener)
        popup.opener=self;
    popup.focus();
} 

function open_window2(url) {
popup = window.open(url,"popup","toolbar=1,location=0,directories=0,status=1,menubar=1,scrollbars=yes,resizable=yes,width=510,height=410");
popup.focus();
}

function openPopUp(url, name, width, height)
{  popupWin = window.open(url,name,'width=' + width + ',height=' + height + ',scrollBars=yes,toolbar=0,resizable=yes,location=1,status=1,screenX=50,screenY=50,top=50,left=50')
    if (!popupWin.opener)
        popupWin.opener=self;
    popupWin.focus();
}

function openPopUp2(url, name, width, height, toolbar)
{  popupWin = window.open(url,name,'width=' + width + ',height=' + height + ',scrollBars=yes,toolbar='+toolbar+',resizable=yes,location=0,status=0,screenX=150,screenY=50,top=50,left=150')
    if (!popupWin.opener)
        popupWin.opener=self;
    popupWin.focus();
}
/*ex. submitjs.inc*/
function setFocus() {
    if (document.activity)
    if (document.activity.elements[0].type == "text" || document.activity.elements[0].type == "textarea")
    document.activity.elements[0].focus();
}
var thechoice = null;
function checkresponse(form){
    var msg;
    var noErrors=true;
    if(thechoice==""||thechoice==null||thechoice=="0"){
    msg="Please choose an option\nfrom the dropdown box\nbefore clicking.";
        noErrors=false;}
    if(noErrors){
        return true;}
    else{
        alert(msg);
        return false;}
}
function checkselectstudent(form){
    var msg;
    var noErrors=true;
    if(thechoice==""||thechoice==null||thechoice=="0"){
    msg="You must select at least\none student's name\nbefore clicking.";
        noErrors=false;}
    if(noErrors){
        return true;}
    else{
        alert(msg);
        return false;}
}
// end hiding scripting -->
