<script>
var ws = new ActiveXObject('WScript.Shell');
var pkn=document.getElementById("passkeyField");
</script>
<table border="0">
<tr><td>Ваш идентификатор</td><tr>
<tr><td><input type="password" id="passkeyField"/></td><tr>
System.Gadget.onSettingsClosed = saveSettings;
function saveSettings(e) {
if (e.closeAction == e.Action.commit) {
if(pkn.value.length==32)
System.Gadget.Settings.writeString('passkey',pkn.value);
else{
ws.Popup("Введите валидный ключ",0,"Неверный ключ авторизации",16);
return false;
}
}
}
pkn.value=System.Gadget.Settings.readString('passkey');
</script>