// This is a (nearly) generic code to
// get a custom object thingy...

// n Is the string for the element
function DocElement(n) {

	if(document.all) {
		return document.all[n]
	} else if(document.getElementById) {
		return document.getElementById(n)
	}
}