function SubmitNewForm(_FormName,_Action,_Method,_ReqValue){
  var _Form = document.createElement("form");
  _Form.setAttribute('name',_FormName);
  _Form.setAttribute('action',_Action);
  _Form.setAttribute('method',_Method);
  var _Input0 = document.createElement("input");
  _Input0.type = "hidden";
  _Input0.name = "request";
  _Input0.value = _ReqValue;
  _Form.appendChild(_Input0);
  for(var i=4; i<arguments.length; i=i+2){
    var _Element = document.createElement("input");
    _Element.type = "hidden";
    _Element.name = arguments[i];
    _Element.value = arguments[i+1];
    _Form.appendChild(_Element);
  }
  document.body.appendChild(_Form);
  _Form.submit();
};
