function load() {
	appInit();
// http://www.howtocreate.co.uk/jslibs/htmlhigh/imgRoll.html
	var MWJ_img_cache = new Object();
	for( var i = 0; i < 2; i++ ) {
		var ar = i ? ( document.getElementsByTagName ? document.getElementsByTagName('input') : ( document.all ? document.all.tags('INPUT') : [] ) ) : document.images;
		for( var x = 0; ar[x]; x++ ) {
			var im = ar[x];
			if( im.getAttribute ) { im.hoversrc = im.getAttribute('hoversrc'); im.activesrc = im.getAttribute('activesrc'); }
			if( im.hoversrc || im.activesrc ) {
				if( !MWJ_img_cache[im.src] ) { MWJ_img_cache[im.src] = new Image(); MWJ_img_cache[im.src].src = im.src; }
				im.rootsrc = im.src;
				im.onmouseout = function () { this.src = this.rootsrc; };
			}
			if( im.hoversrc ) {
				if( !MWJ_img_cache[im.hoversrc] ) { MWJ_img_cache[im.hoversrc] = new Image(); MWJ_img_cache[im.hoversrc].src = im.hoversrc; }
				im.onmouseover = function () { this.src = this.hoversrc; };
			}
			if( im.activesrc ) {
				if( !MWJ_img_cache[im.activesrc] ) { MWJ_img_cache[im.activesrc] = new Image(); MWJ_img_cache[im.activesrc].src = im.activesrc; }
				im.onmousedown = function (e) {
					e = e ? e : window.event;
					if( e.button > 1 || e.which > 1 ) { return; }
					this.src = this.activesrc;
				};
				im.onmouseup = function (e) {
					e = e ? e : window.event;
					if( e.button > 1 || e.which > 1 ) { return; }
					this.src = this.hoversrc ? this.hoversrc : this.rootsrc;
				};
			}
		}
	}
}

function logIn(fase2) {
	if (!fase2) {
		KS.calledBy = logIn;
		KS.logIn($('unaam').value, $('ww').value);
		return;
	}
	if (KS.res.result == 'OK') {
		var tmpURL = location.href;
		location.href = "";
		location.href = tmpURL;
	} else alert(KS.res.result);
	return true;
}