function site_OpenWindow(p_name, p_url, p_width, p_height, p_scrollbars) { var wleft, wtop; if (window.screen != null) { wleft = Math.ceil(eval((screen.width-p_width)/2)); wtop = Math.ceil(eval((screen.height-p_height)/2)); } else { wleft = 150; wtop = 150; } newWindow = window.open(p_url, p_name, 'resizable=no,toolbar=no,scrollbars='+p_scrollbars+',menubar=no,status=no,width='+p_width+',height='+p_height+',top='+wtop+',left='+wleft); } 

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",40)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.4
else if (which2.filters)
which2.filters.alpha.opacity=40
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

/*
function BLNSL_trim(p_obj) {strIn=p_obj.value;while(cChar=strIn.charAt(0),(cChar=="\n")||(cChar=="\r")||(cChar=="\t")||(cChar==" ")) strIn=strIn.substring(1,strIn.length-1);while(cChar=strIn.charAt(strIn.length-1),(cChar=="\n")||(cChar=="\r")||(cChar=="\t")||(cChar==" ")) strIn=strIn.substring(0,strIn.length-2);p_obj.value=strIn; }
function BLNSL_checkField(p_form,p_name) {ret=true,objIn=eval('document.forms[\''+p_form+'\'].'+p_name);if(objIn.type=='text'){BLNSL_trim(objIn);if(objIn.value=='')ret=false;}if(objIn.type=='textarea'){if(objIn.value=='')ret=false;}if(objIn.type=='checkbox'){ret=objIn.checked;}if(objIn.type=='select-one'){ret=(objIn.selectedIndex>0);}return(ret);}
function BLNSL_formSubmitTest(p_name,p_text) {var retVal=true,strMsg='';if(p_name=='contact'&&BLNSL_checkField(p_name,'firstname')==false){retVal=false;strMsg+='* Voornaam\n';};if(p_name=='contact'&&BLNSL_checkField(p_name,'lastname')==false){retVal=false;strMsg+='* Naam\n';};if(p_name=='contact'&&BLNSL_checkField(p_name,'email')==false){retVal=false;strMsg+='* E-mail\n';};if(retVal==false)alert(p_text+'\n\n'+strMsg+'\n');return(retVal);}
*/

function openPhotoWindow(url){popupWin = window.open(url,'new_page','width=750,height=500,scrollbars=no,toolbars=no,menubar=no,resizable=yes');popupWin.focus();}

<!--popupWin.moveTo(screen.availWidth/2-(800/2),screen.availHeight/2-(595/2));-->

