
//geen <script> en </script>!!!

var newwin;
function si_popup(winurl,winname,winwidth,winheight,scrollbool,winfeat) {
	deltawidth = 0;
	deltaheight = 0;
	scrolldeltaw =16;
	scrolldeltah = 0;
	scrollfeat = "scrollbars=1, scrolling=1,";
	if ( -1 != navigator.appVersion.indexOf("Mac")) {
		scrolldeltaw =15;
		if (-1 != navigator.userAgent.indexOf("MSIE 4.5")) {
			deltawidth = -16;
			deltaheight = -13;
		}
		if (-1 != navigator.userAgent.indexOf("MSIE 5")) {
			deltawidth = -16;
			deltaheight = -16;
		}
	}
	if (scrollbool == 0) {
		scrollfeat = "scrollbars=0, scrolling=0,";
		scrolldeltaw = 0;
		scrolldeltah = 0;
	}
	winwidth = winwidth+deltawidth+scrolldeltaw;
	winheight = winheight+deltaheight+scrolldeltah;
	newwin = window.open(winurl,winname,"width="+winwidth+",height="+winheight+","+scrollfeat+winfeat);
	setTimeout('newwin.focus();',250);
}
function ismaxlength(obj){
	var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
	if (obj.getAttribute && obj.value.length>mlength)
	obj.value=obj.value.substring(0,mlength)
}
