// JavaScript Document
function light(ref) {
	ref.style.backgroundColor = "#0000CC";
	ref.style.oldcolor = ref.style.color;
	ref.style.color = "#FFFFFF";
	obj = ref;
	}

function unlight(ref) {
	ref.style.color = ref.style.oldcolor;
	ref.style.backgroundColor = "#FFFFFF";

}

function goloc(loc) {

obj.style.color = obj.style.oldcolor;
obj.style.backgroundColor = "#FFFFFF";


var base = "http://www.teessideautotech.co.uk/";
var l = new Array;

l[0] = "index.htm";
l[1] = "dpt.htm";
l[2] = "repair.htm";
l[3] = "ppt.htm";
l[4] = "oil.htm";
l[5] = "bosch.htm";
l[6] = "acatalog/index.html";
l[7] = "book.htm";


window.location= base + l[loc];	
}

function snarf(email) { 
		var letter;
		for (n = 0; n < email.length+2; n++) {
			letter = (email.charCodeAt(n)-1);
			document.write(String.fromCharCode(letter));
		}
}
