// Clock Simulation var theDate = new Date(); var Minz = Math.round(theDate.getMinutes()/2.5); var Secz = theDate.getSeconds(); if ( Minz > 23 ) { Minz = "00" } if ( Minz < 10 ) { Minz = "0" + Minz } if ( Secz < 10 ) { Secz = "0" + Secz } var Timez = Minz + "" + Secz; // Prefer Courier New for PCs if ( navigator.appVersion.indexOf("Win")!=-1 ) { document.write('') } // Popup Window Code // Don't like hard coding URLs!!! function openpopup(whichone) { var popurl="http://marathon.bungie.org/story/music/" + whichone + ".html"; winpops=window.open(popurl,"MarathonMusicPlayer","width=260,height=107,,"); } // Random Credits // been too long since I wrote Loop Logic! function randomnames() { NameList = new Array('poena.dare','Callie21V','Ghôlsbane','reb','Elbert Wall'); OutList = new Array('#1','#2','#3','#4','#5'); for (i = 0; i <= 4; i++) { test = 'NotOK'; while(test == 'NotOK') { test = 'OK'; num = Math.floor(Math.random() * 5); TestName = NameList[num]; for (j = 0; j <= 4; j++) { if ( TestName == OutList[j] ) { test = 'NotOK'; } } } OutList[i] = TestName; } for (i = 0; i <= 4; i++) { if ( i == 4) { document.write('and ' + OutList[i] + '.'); } else { document.write(OutList[i] + ', '); } } }