<!--

//Javascript written by Jim Richardson
//Contact: jim@djimm.co.uk

oldSrc = new Array();

function swapImgOver(imgName,newSrc){
	eval('oldSrc[\'' + imgName + '\'] = document.images.' + imgName + '.src');
	eval('document.images.' + imgName + '.src = \"media/' + newSrc + '\"');
	}

function swapImgOut(imgName){
	eval('document.images.' + imgName + '.src = oldSrc[\'' + imgName + '\']');
	}

//onmouseover="swapImgOver('news','nav_news_on.gif');" onmouseout="swapImgOut('news');"

function preloadImages(){

for(i=0; i<preLoad.length; i++){
	eval('Image' + i + ' = new Image();')
	eval('Image' + i + '.src = "' + preLoad[i] + '";')
	}

}

function popup(text,width,height){
newWin=window.open(text,"","width="+width+",height="+height+",top=10,left=10,scrollbars=yes");
}
//<a href="javascript:popup('popups/pop1.htm','690','225');">
//<a name="close" href="#" onClick="window.close();">Close</a>

function popupNoScr(text,width,height){
newWin=window.open(text,"","width="+width+",height="+height+",top=30,left=30");
}
//<a href="javascript:popup('popups/pop1.htm','690','225');">
//<a name="close" href="#" onClick="window.close();">Close</a>

//-->
