
	var GetKey;
	var NumLinks = 0;

	var Line0Color = '#E8E8E8';
	var Line1Color = '#F5F5F5';
	var LastColor  = 0;
		
/* -------------------------------------- Key Capture ------------------------------- */
	if (document.layers)
		document.captureEvents(Event.KEYPRESS)
	function GetKeyVal(e){
		if (document.layers){
			GetKey = e.which;
		}
		else if (document.all){
			GetKey = event.keyCode;
		}
		
		if (GetKey == 27) {
			SeeYa();
		}
	}
	document.onkeypress=GetKeyVal
/* ------------------------------------ End of Key Capture ---------------------------- */

function trTag() {
	var str = '<tr bgcolor="';
	str += ToggleColor() + '">';
	document.write(str);
}

function ToggleColor(){
	NumLinks = NumLinks + 1;
	if (LastColor==Line0Color)
		LastColor = Line1Color;
	else
		LastColor = Line0Color;

	return LastColor;
}

function SeeYa(){
	location.href = '../LinksFound.asp?n=' + NumLinks
}

function SeeYa2(){
	location.href = 'index.htm'
}


