function addLoadEvent(func){
var oldonload = window.onload;
if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } }
addLoadEvent(submitForm);


function submitForm()
{
document.forms.eshopgateway.submit()
}