<!--

function confirmSubmit(message) {
	var agree = confirm(message);
	if (agree)
		return true ;
	else
		return false ;
}


function styleSelected(id, checked) {
		document.getElementById(id).className = checked ? 'selected' : ''
}

function roll(img_name, img_src) {
   document[img_name].src = img_src;
}

function submitText() {
	document.updateform.submit.value='Submit Changes';
}

function formSubmit(btn, message) {
    if (typeof btn.submit.disabled != 'undefined') {
        // NS6 and IE return boolean for typeof btn.disabled,
        // so we're here if it's NS6 or IE
        btn.submit.disabled = true;
        // button is now disabled until the page reloads
    } else {
        // at least NS4 returns 'undefined' for typeof btn.disabled
        // other browsers may as well
        btn.submit.onfocus = function () { this.blur(); }
        btn.submit.onclick = function () { return false; }
        // button is now disabled in NS4 until page reloads
    } 
btn.submit.value = message;
}


function warnCapsLock(display, top) {
	top = top || 80; // set top to 0 if not specified 
	document.getElementById('capswarn').style.display = display ? 'block' : 'none';
	document.getElementById('capswarn').style.top = top + "px";
}

function ucasePressed(E) {
	if (!E) E = window.event;
	if(E.keyCode && E.keyCode != 0) { theKey = E.keyCode;} //IE
	if(E.charCode) {theKey = E.charCode;} //Gecko
	if (theKey) {
		if (theKey <= 90 && theKey >= 65) return !E.shiftKey;
		if (theKey <= 122 && theKey >= 97) return E.shiftKey;
	}
	return false;
}

function goAway(id) {
	document.getElementById(id).style.display = 'none';
}


function toggle(id) {
	if (obj = document.getElementById(id)) {
		obj.style.display = ( (obj.style.display == 'block') ? 'none' : 'block');
	}
}

function addressToggle(idON, idOFF) {
	obj = document.getElementById(idON);
	obj.style.display = 'block';
	obj = document.getElementById(idOFF);
	obj.style.display = 'none';
}


function doClear(theText) {
	if (theText.value == theText.defaultValue) {
		theText.value = ""
	}
}

-->