function searchDomain(){
	document.body.style.cursor = "wait";
	var dom = $("dom").value;
	new Ajax.Request("sys/forword/forword.php",{method:'get',parameters:'d='+dom,onComplete:urlForword});
	
}

function urlForword(responseHttpObj) {
	document.body.style.cursor = "default";
	var res = responseHttpObj.responseText;
	if (res == "false") {
		alert('ログイン失敗');
	} else {
		location.href = res;
	}
}
