function hpahssubmit(hscode,scorenum,playername) { hswin = window.open('http://homepagearcade.com/hpahs.php?hscode='+hscode+'&scorenum='+scorenum+'&playername='+playername+'&', 'HIGHSCORES', 'width=320,height=320,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no'); setTimeout("testhswin()",2000); } function testhswin() { if ((hswin == null) || (typeof(hswin) == "undefined") || (typeof(hswin.location.hash) != "string")) { window.alert("You were unable to submit your score to the high score board because your pop-up blocker prevented the window from opening. ("+hswin.toString()+","+typeof(hswin).toString()+","+typeof(hswin.location.hash)+")"); } } var ShockMode = 0; var isIE = 0; var t = document.location; if (navigator.mimeTypes && navigator.mimeTypes["application/x-director"] && navigator.mimeTypes["application/x-director"].enabledPlugin) { if (navigator.plugins && navigator.plugins["Shockwave for Director"] && (versionIndex = navigator.plugins["Shockwave for Director"].description.indexOf(".")) != - 1) { var versionString = navigator.plugins["Shockwave for Director"].description.substring(versionIndex-2, versionIndex); versionIndex = parseInt( versionString ); if ( versionIndex >= 8 ) ShockMode = 1; } } else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0 )) { isIE = 1; } if (!hpaNumCheck) { if ( ShockMode || isIE) { document.write(''); } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){ document.write('A newer version of Shockwave must be installed to display this content. Please update your Shockwave installation here.'); } var hpaNumCheck = 1; } else { document.write('
You can only place one game per page
'); }