/* $Id: functions.js,v 1.1.1.1 2002/09/02 16:57:42 ssilk Exp $ */

// antz internal JS-functions

function antz_openwin(url,msg,width,height) {
    if ( !width ) width=400
    if ( !height ) height=400
    msgWindow=window.open(url, msg,
'resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width='+width+',height='+height)
}
 
function antz_setformval (name,val) {
    document.forms['antzform_main'].elements[name].value=val;
    document.forms['antzform_main'].submit();
    return(false);
}

// VNPNBI JS-functions

function openmywindow(url,msg) {
   msgWindow=window.open(url, msg,
'resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width=300,height=300')
}

function fireItUp(num) {
   url = "http://anzeigen1.nordbayern.de/hilfe_" + num + ".htm";
   win = window.open(url, num, "resizable=yes,width=450,height=400,scrollbars=yes,status=no");
}


