function SubmitPassword(frm){
	var oldloc = window.location.href
    	var s = frm.pw.value
    	s = s.toLowerCase()
    	var loc = GetUrlPath(oldloc) + s + ".htm"
    	if (s != ""){
				SetCookie("TAcle", s)
				window.location.replace(loc);
   		}
	return true
}

function initpw(){
	var tacle = GetCookie("TAcle");
	if ((tacle != null) && (tacle.length > 0)){
		//alert("found cookie")
		if (document.forms["frmpw"]){
			//alert("presetting form");
			frm = document.forms["frmpw"].pw.value = tacle
		}
	}
}
//alert("ok")