var CheckInclude = true; function MakeWindow(url, w, h, scroll, windowname) { var windowprops = "height=" + h + ",width=" + w + ",left=50,top=50,status=no,location=no,scrollbars=" + scroll + ",menubars=no,toolbars=auto,resizable=yes"; window.open(url,windowname,windowprops); } function GoToUrl(url, value) { url = url + value; document.location.href = url; } function AskConfirm(field, ip) { if (document.login.logip.checked == true && !confirm("Vergrendel deze login-sessie aan mijn ip adres / "+ip+"\nHiermee leg je je login-sessie vast aan je ip adres, gebruik dit alleen als je er zeker van bent dat je een vast ip adres hebt.")) { document.login.logip.checked = false; } } var klik = 0; function klikken(msg) { if(klik > 0) { alert(msg); return false; } else { klik++ return true; } } function FormatPrice(input) { input = String(input).replace(/[^0-9,\.]/g,""); var centen = String(input).match(/[,\.][0-9]{1,2}$/); var euro = String(input).replace(centen, ""); euro = String(euro).replace(/[,\.]/g,""); centen = String(centen).replace(/[,\.]/g,""); var output = ""; for(var i=0; i= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0; var isMinNS6 = (isMinNS4 && navigator.userAgent.indexOf("Gecko")>=0) ? 1 : 0; var isMinIE4 = (document.all) ? 1 : 0; var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0; var isDOM = (document.getElementById) ? 1 : 0; function GetBrowser(name) { if (isDOM) return document.getElementById(name); if (isMinNS4) return findLayer(name, document); if (isMinIE4) return eval('document.all.' + name); return null; } function ShowMore(name, show) { var name = GetBrowser(name); if (show == 1) name.style.display = ''; else name.style.display = 'none'; } function ShowMore2(name) { var name = GetBrowser(name); if (name.style.display == 'none') name.style.display = ''; else name.style.display = 'none'; } function ShowMoreLoop(field, from, to) { for(q=from;q'+noflash+''); var so = new SWFObject(filename, 'header', w, h, 8); so.addVariable('path', filename); so.write(divname); } function ChangeListView(field1, from1, to1, ajaxfield, file, q, field2, from2, to2) { ShowMoreLoopAjax(field1, from1, to1, ajaxfield, file, q); ShowMoreLoop(field2, from2, to2); } function ChangeRightSide(fieldname, file, id) { sendRequestQ(fieldname, file, id); ShowMore2(fieldname); } function ShowMoreCompany(name) { var name = GetBrowser(name); if (name.style.display == 'none') name.style.display = ''; else name.style.display = 'none'; } function createRequestObject() { var req; if(window.XMLHttpRequest){ req = new XMLHttpRequest(); } else if(window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); } else { //alert('Problem creating the XMLHttpRequest object'); } return req; } function sendRequestContent(filename, value) { var http = createRequestObject(); ShowMore2('field_' + value); http.open('GET', filename + value); http.onreadystatechange = function() { if(http.readyState == 4 && http.status == 200) { if(http.responseText) document.getElementById("content_" + value).innerHTML = http.responseText; else document.getElementById("content_" + value).innerHTML = " "; } else { document.getElementById("content_" + value).innerHTML = " "; } }; http.send(null); } function MakeSearchValue(file, formname, field, num, val) { document.forms[formname].elements[field].value = val; sendRequestSearch(file, val, num); } function highlight(field) { field.focus(); field.select(); } // write an pageview to the Mtrack stats function WritePageViewToStats(title) { title = title.replace("'","\'"); newtitle = ''; exp = title.split('-'); for(i=1;i