function NewWindow(w,v,s,d){
  eval("window.open('"+v+"','"+w+"','height="+s+",width="+d+",left="+(screen.width - s)/2+",top="+(screen.height - d)/2+",status=no,location=no,toolbar=no,directories=no,menubar=no');");
}

function OpenLayer(wt) {
        w = document.getElementById(wt);
        
        if (w.style.display=='none') {
                w.style.display = 'block';
             }
        else {
                w.style.display = 'none';
             }
}

