function LaunchWindow(url,id,x,y,rs,mn,sc,tb,loc,dir,st,ch) { var newwind = window.open(url,id, config='height='+y+',width='+x+',toolbar='+tb+',menubar='+mn+',scrollbars='+sc+',resizable='+rs+',location='+loc+',directories='+dir+',status='+st); newwind.focus(); } function platformCheck() { switch (navigator.platform.substring(0,3)) { case "Mac" : var platform = "mac"; break; case "Win" : var platform = "win"; break; } return platform; } var popup_window; var scw = 0; var sch = 0; function launchFullWindow(phUrl, windowName) { var timerId = setTimeout("openFullWindow(phUrl, windowName)", 3000); } function openFullWindow(phUrl, windowName) { if (!popup_window || popup_window.closed) { var windowParameters = ""; if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Win')) { //alert (navigator.appName); var scw=screen.Width-10; var sch=screen.Height-58; var popup_window = window.open(phUrl, windowName, windowParameters + "left=0,top=0,width=" + scw + ",height=" + sch); } else if (navigator.appName == 'Netscape' || navigator.platform == 'MacPPC') { var scw=screen.width; var sch=screen.height; var popup_window = window.open(phUrl, windowName, windowParameters + ",screenX=0,screenY=0,outerWidth=" + scw + ",outerHeight=" + sch); } if (!popup_window.opener) { popup_window.opener = window; } } popup_window.focus(); } function changeWindow(orgEntityID) { window.open('http://councils.apstream.net/council/public/playerVer/player.asp?OrgEntity=' + orgEntityID,'Request','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=622,height=368'); }