function TextBox_Enter_onClicked() {
setCustomProperty("guess", TextBox_getText("TextBox_Input"));
if (isNaN(getCustomProperty("guess"))) {
setCustomProperty("guess", 0);

} else {

}setCustomProperty("tries", getCustomProperty("tries")+1);
if (getCustomProperty("guess") < getCustomProperty("max") && getCustomProperty("guess") > getCustomProperty("min")) {
if (getCustomProperty("guess") < getCustomProperty("number")) {
setCustomProperty("min", getCustomProperty("guess"));

} else {
if (getCustomProperty("guess") > getCustomProperty("number")) {
setCustomProperty("max", getCustomProperty("guess"));

} else {
goToPage(1);

}
}triggerCustomEvent("Update_Tips");

} else {

}TextBox_setText("TextBox_Input", "");

}
addHandler(document.getElementById("TextBox_Enter"), "click", TextBox_Enter_onClicked);
function TextBox_Enter_onMouseOver() {
setGlobalCursor("pointer");

}
addHandler(document.getElementById("TextBox_Enter"), "mouseover", TextBox_Enter_onMouseOver);
function TextBox_Enter_onMouseOut() {
setGlobalCursor("default");

}
addHandler(document.getElementById("TextBox_Enter"), "mouseout", TextBox_Enter_onMouseOut);

