function popup(mylink,windowname) { if (! window.focus) return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href,windowname,'width=500,height=800,resizable=yes,scrollbars=yes'); return false; }; function confirmdelete() { return confirm("Delete This Item ?"); }; function confirmdeleteimage() { return confirm("Note: Any changes you have made to the text will be ignored, and the image deleted if you proceed. Delete This Item ?"); }; function confirmcancel() { return confirm("Cancel this edit ?"); }; function confirmunlock() { return confirm("An article is locked when someone is editing it. The only time you should unlock an article is if you were editing an article and your system crashed, or you closed the editing window. Please confirm you really want to unlock article."); }; function imagepopup(mylink,windowname) { if(! window.focus)return true; var href; if (typeof(mylink)=='string') href=mylink; else href=mylink.href; window.open(href,windowname,'width=640,height=480,scrollbars=yes'); return false; };