function dominoLogin(data){
	dojo.xhrPost({
	url: '/names.nsf?login',
	content: data,
	load: function (data) {
	var newUrl;
	
	if( String(data).substring(0,3) == "GIF"){
		//dojo.byId("loginMsg").style.color = "green"
		//dojo.byId("loginMsg").style.backgroundColor = "transparent"
		//dojo.byId("loginMsg").innerHTML = "Please Wait..."
		//window.location = "http://mail.softwebconsult.com"
		newUrl = "https://mail.softwebconsult.com/";
		setTimeout(function(){window.location = newUrl;}, 0);
		//location.reload();
	} 
	else {
	alert("Invalid log-in information!");
	if ( dojo.cookie('DomAuthSessId') != null || dojo.cookie('LtpaToken') != null ){
		//dojo.byId("loginMsg").style.display = "inline"
		//dojo.byId("loginMsg").style.backgroundColor = "yellow"
		//dojo.byId("loginMsg").innerHTML = "Not Authorized."
		dojo.cookie('DomAuthSessId', null, { path: '/', domain: 'qtzar.com' });
		dojo.cookie('LtpaToken', null, { path: '/', domain: 'qtzar.com' });
	} else {
		//dojo.byId("loginMsg").style.display = "inline"
		//dojo.byId("loginMsg").style.backgroundColor = "transparent"
		//dojo.byId("loginMsg").innerHTML = "Invalid User/Password."
	}
	}},
	error: function (error) {
	console.error ('Error: ', error);
		if(navigator.appName == "Microsoft Internet Explorer"){
			newUrl = "https://mail.softwebconsult.com/";
			setTimeout(function(){window.location = newUrl;}, 0);
		}
	}
	});
} 