// JavaScript Document pw_obj = new Object(); pw_obj.eagleeye = new Object(); pw_obj.eyepatch = new Object(); pw_obj.revolution = new Object(); pw_obj.secretwar = new Object(); pw_obj.scorpio = new Object(); pw_obj.mikel = new Object(); pw_obj.contessa = new Object(); pw_obj.godoffear = new Object(); pw_obj.blackice = new Object(); pw_obj.gehenna = new Object(); pw_obj.eagleeye.lnk = 'eagleeye.html'; pw_obj.eyepatch.lnk = 'eyepatch.html'; pw_obj.revolution.lnk = 'revolution.html'; pw_obj.secretwar.lnk = 'secretwar.html'; pw_obj.scorpio.lnk = 'scorpio.html'; pw_obj.contessa.lnk = 'contessa.html'; pw_obj.godoffear.lnk = 'godoffear.html'; pw_obj.blackice.lnk = 'blackice.html'; if (typeof(defined) == 'undefined' ) var defined = function( obj ) { return (typeof(obj) != 'undefined') ; } if ( !defined(in_array) ) var in_array = function( needle, haystack ) { var found = false ; if (haystack instanceof Array && haystack.length > 0) for ( var i in haystack ) found |= ( haystack[i] == needle ) ; return found ; } if ( !defined(is_array) ) var is_array = function(obj) { return defined(obj) ? obj.constructor.toString().indexOf('Array') != -1 : null ; } function proc_pw() { pw = document.getElementById('passwd').value; if(defined(pw_obj[pw])) { cur_pw = pw_obj[pw]; dz = new Date(); dmax = new Date(2009,1,2,0,0,0,0); if((dz >= cur_pw.dt)&&(dz <= dmax)) { window.location = cur_pw.lnk; } else { window.location = 'denied.html'; } } else { window.location = 'denied.html'; } }