<!--

function rolloverjpg(img_name, action){
	if(document.images){
		imgSrc = "./images/" + img_name + action + ".jpg";
		document[img_name].src = imgSrc;
	}
}

function preLoadImgs(){

	var imgArray = new Array(); 
	var img 
	var i	 
	
	for (i=0; i<document.images.length; i++){ 
 		img = document.images[i]; 
		imgArray[i] = new Image(img); 
	} 

}

function open_new_window(url,width, height, resize, scroll) {
iTop = 0
iLeft = 0
if (screen) {
iLeft = (screen.width / 2) - (width/2) 
iTop= (screen.height / 2) - (height/2) 
}
	var randomnumber=Math.floor(Math.random()*100001)
 child = window.open(url,"LMWindow" + randomnumber, "width=" + width + ",height=" + height + ",resizable=" + resize + ",scrollbars=" + scroll + ", Top = " + iTop + ", Left = " + iLeft + ",location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0");
child.focus();
}
<!--
function FocusOnFirstTextBox() {
    var answer = '';
	if (document.forms[0]){
    for (var i = 0; i<document.forms[0].elements.length; i++) {
		if (document.forms[0].elements[i].type == 'text'){
		document.forms[0].elements[i].focus()
				
				return false;
		}
				
           }
    }
   
}
//this redirects to a 'not found page' if nothing exits.
//var sHREF = window.location.href
	//sHREF = sHREF.toUpperCase();
	// var pos = sHREF.indexOf("UPDATEREMOTE"); // See if a question mark is present in string

//if (pos == -1){
 // Return empty string if no question mark was found
//}else{
//document.write("<html>Not Found</html>") 
//window.location = "http://www.alocet.com/NoUpdates.txt"
// }
 // Return characters to the right of question mark 
 
//--> 