if (document.images) {            // Active Images
	img1on = new Image();      
    img1on.src = "/tl_files/images/meet_providence_on.jpg"; 
	img2on = new Image();      
    img2on.src = "/tl_files/images/classical_education_on.jpg"; 
	img3on = new Image();      
    img3on.src = "/tl_files/images/academics_on.jpg"; 
	img4on = new Image();      
    img4on.src = "/tl_files/images/admissions_on.jpg"; 
	img5on = new Image();      
    img5on.src = "/tl_files/images/athletics_on.jpg"; 
	img6on = new Image();      
    img6on.src = "/tl_files/images/giving_on.jpg"; 
	img7on = new Image();      
    img7on.src = "/tl_files/images/news_on.jpg"; 
	img8on = new Image();      
    img8on.src = "/tl_files/images/alumni_on.jpg"; 
	img9on = new Image();      
    img9on.src = "/tl_files/images/blog_row_on.jpg"; 
	
  
    img1off = new Image();      
    img1off.src = "/tl_files/images/meet_providence.jpg";  
	img2off = new Image();      
    img2off.src = "/tl_files/images/classical_education.jpg"; 
	img3off = new Image();      
    img3off.src = "/tl_files/images/academics.jpg"; 
	img4off = new Image();      
    img4off.src = "/tl_files/images/admissions.jpg"; 
	img5off = new Image();      
    img5off.src = "/tl_files/images/athletics.jpg"; 
	img6off = new Image();      
    img6off.src = "/tl_files/images/giving.jpg"; 
	img7off = new Image();      
    img7off.src = "/tl_files/images/news.jpg"; 
	img8off = new Image();      
    img8off.src = "/tl_files/images/alumni.jpg"; 
	img9off = new Image();      
    img9off.src = "/tl_files/images/blog_row.jpg"; 
	
	
}

// -->



// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
			
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

// -->


// COLLAPSIBILE LISTS
var dge=document.getElementById;
function cl_expcol(a){
    if(!dge)return;
    document.getElementById(a).style.display=(document.getElementById(a).style.display=='none')?'block':'none';
}
function cl_colall(){
  if(!dge)return;
    for(i=1;document.getElementById('ex'+i);i++){
      document.getElementById('ex'+i).style.display='none';
  }
}



/* ==============================================================
HOMEPAGE LOGO CLICK ::: BEGIN
============================================================== */
/* do something unless certain elements were clicked... */
function doSomething(mouseEvent) {
	var elementID;
	//if event doesn't exist,
	//use window.event
	if(!mouseEvent)
		mouseEvent = window.event;
	
	// get the id of the element that was clicked (firefox)
	if(mouseEvent.target)
		elementID = mouseEvent.target.id;
	// get the id of the element that was clicked (IE)
	else if(mouseEvent.srcElement)
		elementID = mouseEvent.srcElement.id;
	
	// perform the desired action UNLESS these
	// elements are clicked
	var noActionIDs = new Array();
	noActionIDs[0] = "checkboxID";
	noActionIDs[1] = "selectID";
	noActionIDs[2] = "frmSearch";
	noActionIDs[3] = "ctrl_keywords";
	noActionIDs[4] = "ctrl_submit";
	noActionIDs[5] = "matchAll";
	noActionIDs[6] = "imgsearch";
	noActionIDs[7] = "urlrequestinformation";
	noActionIDs[8] = "urlcontactus";
	noActionIDs[9] = "selquicklinks";

	for(var i = 0; i < noActionIDs.length; i++) {
		if(elementID == noActionIDs[i])
		return;
	}
	performAction();
}

/* alert when the row was clicked, but not the
* specified elements
*/
function performAction() {
	// alert("The row was clicked!");
	document.location = '/';
}

/* ==============================================================
HOMEPAGE LOGO CLICK ::: END
============================================================== */
