
function erFormOK(formen) {
document.log.submit();
return false;
}
 

function erFormOK2(formen) {
document.sog.submit();
return false;
}
 

function erFormOK3(formen) {
document.news.submit();
return false;
}

function clearText(field) {

    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;

}

 
function wopenm(url, name){
winWidth  = 470;
winHeight = 600;
winXpos = window.screen.width - (winWidth + 20);
winYpos = 5;
if (typeof(win) != "object"){
win = window.open(url,'winprofm2','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
} else {
if (!win.closed){ 
win.location.href = url;
} else {
win = window.open(url,'winprofm2','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
}
}

win.focus();
return false;}

