// Trying to suppress javascript errors to keep things tidy...

window.onerror = HandleError;


 
var sBanner = new Array;
var sHTML = new Array;
var sAdvert = new Array;
var sAdRow = "";
var bFocus = true;
//var oDate = new Date;
//var Month = (oDate.getMonth() + 1);
//var Day = (oDate.getDate());
//var sSale = "";

function HandleError()
{
 	null;
}



// If there were going to be a script to run on load, it would be here...
function LoadEvent()
{

	null;
}



// Open a pop-up ad or notice - if necessary
function openPopUp(theURL)
{
	//open browser window for the ad
	window.open(theURL,"BKSTOREPOPUP","scrollbars=yes,resizable=yes,width=575,height=550,toolbar=no");
}


 
// For use in the Student Booklist search form
function setFocus()
{
	if(bFocus==true) {
		document.BOOKLIST.SID.focus();
		document.BOOKLIST.SID.select();
	}
}


function setSearch()
{
	if(document.getElementById('KEYWORD').value=='' && bFocus==true) {
		document.getElementById('KEYWORD').style.backgroundImage = "url('search.gif')";
	}
}




