/* */ function cmdOpenMarktplaatsWindow(strLocation, strName) { var strParam = "location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0"; if (!strName) strName = "winMarktplaats"; var intWidth = 410; var intHeight = 400; if (navigator.appName != "Microsoft Internet Explorer") { intWidth = intWidth + 5; } var intLeft = parseInt((screen.availWidth - intWidth) / 2); var intTop = parseInt((screen.availHeight - intHeight) / 2); strParam = "width=" + intWidth + "," + "height=" + intHeight + "," + "left=" + intLeft + "," + "top=" + intTop + "," + strParam; window.open(strLocation,strName,strParam); } function cmdCloseWindow() { var w=window; (window.self.opener=window.self).close(); } // chk postAd function chkPostAd() { document.postAdd.save.value = 'YES'; document.postAdd.btnSubmit.disabled = true; document.postAdd.submit(); } // einde postAd // aID function askDeleteAdd(ID) { if (ID) { var agree=confirm('Weet u zeker dat u de advertentie wilt verwijderen?'); if (agree==true) { location.href='http://www.bootverhuur.nl/nl/advertentie-verwijderen/'+ID+'/'; } } } function chkBod(highest,diff) { if (document.frmBieding.Prijs) { var bod = parseStr2Float(document.frmBieding.Prijs.value); if (bod >= (highest + diff)) { document.frmBieding.submit(); } else { alert('Uw bod moet minimaal '+ formatCurrency2(highest + diff) + ' euro zijn, en niet '+ formatCurrency2(bod) +'.'); } } } function askDeleteImage(aID,name) { if (aID && name) { var agree=confirm('Weet u zeker dat u deze afbeelding wilt verwijderen?'); if (agree==true) { location.href='http://www.bootverhuur.nl/nl/?action=RemoveImage&aID='+aID+'&filename='+name; } } } // einde aID /* */