

function showPage(pagenum){
	var objPage='null';
	objPage = document.getElementById('page1');
	objPage.style.display = 'none';
	objPage = document.getElementById('page2');
	objPage.style.display = 'none';
	objPage = document.getElementById('page3');
	objPage.style.display = 'none';
	objPage = document.getElementById('page4');
	objPage.style.display = 'none';
	objPage = document.getElementById(pagenum);
	objPage.style.display = 'block';
	switch(pagenum) {
		case 'page1':
		  document.getElementById('image1').src = "images/find_loan_on.jpg";
		  document.getElementById('image2').src = "images/federal_loans_off.jpg";
		  document.getElementById('image3').src = "images/private_loans_off.jpg";
		  document.getElementById('image4').src = "images/how_apply_off.jpg";
		  break;
		case 'page2':
		  document.getElementById('image1').src = "images/find_loan_off.jpg";
		  document.getElementById('image2').src = "images/federal_loans_on.jpg";
		  document.getElementById('image3').src = "images/private_loans_off.jpg";
		  document.getElementById('image4').src = "images/how_apply_off.jpg";
		  break;
		case 'page3':
		  document.getElementById('image1').src = "images/find_loan_off.jpg";
		  document.getElementById('image2').src = "images/federal_loans_off.jpg";
		  document.getElementById('image3').src = "images/private_loans_on.jpg";
		  document.getElementById('image4').src = "images/how_apply_off.jpg";
		  break;
		case 'page4':
		  document.getElementById('image1').src = "images/find_loan_off.jpg";
		  document.getElementById('image2').src = "images/federal_loans_off.jpg";
		  document.getElementById('image3').src = "images/private_loans_off.jpg";
		  document.getElementById('image4').src = "images/how_apply_on.jpg";
		  break;
	}
}

function go_on()

{
            document["go"].src = "../studentbanking/images/button_go_over.jpg";
}
function go_off()
{
            document["go"].src = "../studentbanking/images/button_go_reg.jpg";
}
function go_down()
{
            document["go"].src = "../studentbanking/images/button_go_down.jpg";
}



function apply_on()
{
            document["apply1"].src = "../studentbanking/images/apply_now_over.gif";
            document["apply2"].src = "../studentbanking/images/apply_now_over.gif";
            document["apply3"].src = "../studentbanking/images/apply_now_over.gif";
}
function apply_off()
{
            document["apply1"].src = "../studentbanking/images/apply_now.gif";
            document["apply2"].src = "../studentbanking/images/apply_now.gif";
            document["apply3"].src = "../studentbanking/images/apply_now.gif";

}
function apply_down()
{
            document["apply1"].src = "../studentbanking/images/apply_now_down.gif";
	    document["apply2"].src = "../studentbanking/images/apply_now_down.gif";
	    document["apply3"].src = "../studentbanking/images/apply_now_down.gif";
}


function contentHide()
{
	show('borrow1');
	show('maxborrow1');
	hide('borrow2');
	hide('maxborrow2');
	hide('borrowContent');
	hide('maxborrowContent');
}

function showContent()
{
	hide('borrow1');
	show('borrow2');
	show('borrowContent');
}

function hideContent()
{
	show('borrow1');
	hide('borrow2');
	hide('borrowContent');
}

function maxshowContent()
{
	hide('maxborrow1');
	show('maxborrow2');
	show('maxborrowContent');
}

function maxhideContent()
{
	show('maxborrow1');
	hide('maxborrow2');
	hide('maxborrowContent');
}

function apply_on1()
{
	    alert("apply on");
            document["apply1"].src = "../studentbanking/images/apply_now_over.gif";
}

function apply_off1()
{
	    alert("apply off");
            document["apply1"].src = "../studentbanking/images/apply_now.gif";
}

function apply_down1()
{
	    alert("apply down");
            document["apply1"].src = "../studentbanking/images/apply_now_down.gif";
}

/* Begin MOD for WR24878 */

var img_dir='/studentbanking/images/';

function image_change(parm_name,img_name)
{
	document[parm_name].src = img_dir + img_name;
}

function ImageOff(imgname)
{
	document[imgname].src = img_dir+imgname.gif;
}

function ImageOn(imgname)
{
	document[imgname].src = img_dir+imgname+"_over.gif";
}

 function ImageAt(imgname)
{
	document[imgname].src = img_dir+imgname+"_down.gif";
}

/* End MOD for WR24878 */