﻿var masterPlaceHolderId = "ctl00_content_";

function KeyToTab(event, curenttxt, nexttxt) {
    var myEvent = event ? event : window.event;
    if ((myEvent.keyCode != 8) && (myEvent.keyCode != 46))
        if (document.getElementById(curenttxt.id).value.length == 3) {
        document.getElementById(masterPlaceHolderId + nexttxt).focus();
    }
}

function RefreshTimer(timex) {
    setTimeout('window.location=window.location + " ";', timex);
}
