function xor_str(pwd) {
	var dateis = new Date; 
	var xor_key=(dateis.getDate() % 3 ) + 1
	pwd = pwd.toUpperCase();
	var the_res="";//the result will be here
	for(i=0;i<pwd.length;++i){
		the_res+=String.fromCharCode(xor_key^pwd.charCodeAt(i));
	}
 return the_res;
}
name = "jdemo";
var pass = "jdemo";
var gpsurl = "http://www.liveviewgps.net/map.aspx?login=jdemo&pwd="+xor_str(pass)+"&cid=liveviewgps";
frames['mardimap'].location.href = gpsurl;
