// Open a browser window with minimal features, to the bottom right of screen. function open_glossary_window(shortname) { var winName = 'glossary' + shortname; var height = 400; var width = 300; var features, top, left; var chromewidth=9, chromeheight=28; top = screen.availHeight - height - chromeheight; left = screen.availWidth - width - chromewidth; features = 'width='+width+',height='+height+',top=' + top + ',left=' + left + ',screenY=' + top + ',screenX=' + left + ',location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no'; var newWindow = window.open(unescape("http://www.dementiaguide.com/glossary/index.php?shortname="+shortname), winName, features); newWindow.focus(); return false; } // Open a browser window with minimal features, to the bottom right of screen. function open_help_window(id) { var winName = 'help' + id; var height = 500; var width = 600; var features, top, left; var chromewidth=9, chromeheight=28; top = screen.availHeight - height - chromeheight; left = screen.availWidth - width - chromewidth; features = 'width='+width+',height='+height+',top=' + top + ',left=' + left + ',screenY=' + top + ',screenX=' + left + ',location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no'; var newWindow = window.open(unescape("http://www.dementiaguide.com/help/index.php?id="+id), winName, features); newWindow.focus(); return false; } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i