function win(theURL,winName,features) {
window.open(theURL,winName,features);
}
var scape = (navigator.appName.indexOf("tscape") !=-1) ? true : false;
var letter="";

if (scape) document.captureEvents(Event.KEYPRESS);
document.onkeypress = doKey
function doKey(keyed) {
	input = (scape) ? keyed.which : event.keyCode;
	letter+=String.fromCharCode(input);
	if(letter=="login") {
	var url=new String (self.location);
	if(url.indexOf("?")==-1) { var z="?"; } else { var z="&"; }
	// alert(self.location+z+"othertempl=login.php");
	location.href=self.location+z+"othertempl=login.php";
	}
}