var loggedIn = getCookie("AndaleSession"); function openPop(url, popwidth, popheight) { var features = "width=" + popwidth + ",height=" + popheight + ",location=no,menubar=no,scrollbars=yes,resizable=yes,status=no"; window.open(url,'pop',features); } function writeFooterCorp() { if(loggedIn == null){ document.write('