var dbpath='/medweb/medweb.nsf'
function WriteKop(swfpath,width,height){
var code='';
document.write(code);
}
function WriteKopBalk(){
var str=''
str+=''
document.write(str)
}
function popupimage(){
var props='height=240,width=400,menu=no,scrollbars=no,resizable=yes'
var url='/medweb/medweb.nsf/image'
window.open(url,'',props)
}
function setmenuactief(id)
{
menuelement=document.getElementById(id)
if (menuelement){
menuelement.style.color="#ff0000"
}
}
function mwc(cname,cvalue){
var d=new Date();
d.setTime(d.getTime()+3600000);
//alert(cname+'='+cvalue+'; path=/; expires='+d.toGMTString()+';')
document.cookie=cname+'='+cvalue+'; path=/; expires='+d.toGMTString()+';'
};
function mss(text,van,tot){
return text.substring(van,tot)
};
function mio(val,text){
return val.indexOf(text)
};
function mcv(cid){
var pos1,ispos,cend,val=''
var c=document.cookie;
pos1=mio(c,cid);
//alert ('gevonden: ' +cid+' op '+ pos1)
if(pos1>-1){
ispos=c.indexOf('=',pos1)+1;
//alert('de = staat op '+ ispos)
if (ispos>-1){ //komt er een = in voor
cend=c.indexOf(';',pos1);
//alert ('einde cookie op '+cend)
if(cend<0)cend=c.length;
preval=mss(c,ispos,cend)
if(ispos
');t='t'
}
}
function stripfunct(value){
var newval=''
for(n=0;n