") for(r=0;r<7;r++){ rand=Math.floor(Math.random()*24) News.document.write(" ") } News.document.write("

Hello Detective!

There is a killer among our group of innocent looking people.
") News.document.write("You are the chief detective police inspector. You are aware of the criminal's existence but need to identify him or her.
") News.document.write("Every time you take someone in for interogation, the killer strikes, just to tease you...
") News.document.write("Time is running out...Please get on with your job!


") News.document.write("Hint:
The killer is the only one that moves about, replacing the person he or she just eliminated.
") News.document.write("Click on the person to bring in for interogation.

") News.document.write("START") News.document.write("
Hosted by www.Geocities.ws

") News.document.close() PersNom=new Array("Ann Hall","Goldie Rouge","Mimi Fatts","Helen Redhedd","Gran May","Tom Saylor","Red Beard","Hank Toms","Johnny Hagg","Cecil Black","Gusto Bier","Father Nicholas","General Haig","Anthony Commie","Ian Canary","Little James","Boy George","Harry Junior","Canary Junior","Simon Lime","Marge Thick","Mrs. Bruno","Honey Blue","Mrs. Green","Mary Widower") N=(navigator.appName.indexOf("Netscape")!=-1) M=(navigator.appName.indexOf("Microsoft")!=-1) Vis=new Array() Vis[0]=(M) ? "hidden" : "hide" Vis[1]=(M) ? "visible" : "show" function GetDiv(divId,divY,divX,divW,divH,bCol,visb,zInd){ bkCol=(bCol!="")?((N)?" bgColor="+bCol:";background:"+bCol):"" DivTyp = (M) ? ""} if(N){Styl=" ID="+divId+" top="+divY+" left="+divX+" width="+divW+" height="+divH+bkCol+" visibility="+Vis[visb]+" z-index="+zInd+">"} document.writeln(DivTyp+Styl) } function EndDiv(){ (M)? document.writeln(""): document.writeln("") } spy=Math.floor(Math.random()*25) spypos=spy kill=0 removeme=0 iden=0 warn="" Reper=new Array("The teacher of ","The psychotic neighbor of ","The man who usually drinks beers next to ","An idiot who hates ","Grand-mother-in-law of ","The sailor who frequents ","The father of the boyfriend of ") Sexs=new Array("the chubby woman","the bearded man","the gentleman","the boy","the grumpy woman") Asked=new Array() Hts=new Array() for(ht=0;ht<25;ht++){Hts[ht]=ht;Asked[ht]=0} shuf=new Array() x=0 while(x<25){ ran=Math.floor(Hts.length*Math.random()) shuf[x]=Hts[ran] if(shuf[x]==spy) removeme=x Fst=Hts.slice(0,ran) Snd=Hts.slice(ran+1) Hts=Fst.concat(Snd) x++ } AvailPos=shuf Fst=AvailPos.slice(0,removeme) Snd=AvailPos.slice(removeme+1) AvailPos=Fst.concat(Snd) for(dept=0;dept<5;dept++){ for(mem=0;mem<5;mem++){ num=dept*5+mem divId="div"+num GetDiv(divId,10+dept*50,20+mem*50,10,10,'',1,dept*5+mem) document.write("") EndDiv() } } GetDiv('Hint',440,75,200,30,'',1,0) document.write("Help    ") document.write("   Download") EndDiv() function CheckHim(x){ Asked[x]++ times=Asked[x] iden=x if(x==spy){Win();return} SpyMove() } Intro="HELP? Are you kidding? You're the police and you want help?\n\n" Intro+="There is a psycho-killer in this group of people.\nHe or she moves about in the neighborhood knocking off people, one by one.\n" Intro+="Every time you, the chief inspector, take someone in for investigation,\nthe killer would carry out the evil deed, just to tease you.\n" Intro+="Take a careful look at the people. Remember where everyone is.\n\nThe one that moves about is the killer!" function Hint(){alert(Intro)} function SpyMove(){ News=open('','news','width=450,height=550,top=0,left=0,toolbar=no') News.document.write("
") News.document.write("CONTINUE

") News.document.write("This is the ",times," times you interogate

") warn="" if(times>2) warn="
Stop harrassing this person!" if(times>3) warn="
Leave this one alone!" if(times>4) warn="
Hey, CRAZY COP! Leave this one alone!" if(times>5) warn="
What is your problem? Are you sick?
Leave this one alone!
" if(times>6) warn="
HEY STUPID!
Leave this one alone!
" News.document.write(PersNom[shuf[iden]],"

who is not a killer!
Just look at this person! Does this look like a killer?",warn,"
Please catch the killer quickly!!!
") if(kill>0){ News.document.write("MORE BAD NEWS!!!
",kill," reported missing!

") News.document.write(Reper[Math.floor(Math.random()*Reper.length)],PersNom[shuf[spypos]],"
") News.document.write("
") News.document.write("reports that ",Sexs[Math.floor(shuf[spypos]/5)]," is missing!!!

") } News.document.write("CONTINUE
Hosted by www.Geocities.ws

") News.document.close() News.focus() ran=Math.floor(Math.random()*AvailPos.length) spypos=AvailPos[ran] Fst=AvailPos.slice(0,ran) Snd=AvailPos.slice(ran+1) AvailPos=Fst.concat(Snd) t=Math.floor(spypos/5) l=spypos%5 if(M){ document.all["div"+spypos].style.visibility='hidden' document.all["div"+spy].style.top=10+t*50 document.all["div"+spy].style.left=20+l*50 document.all["div"+spy].style.zIndex=spypos } if(N){ document.layers["div"+spypos].visibility='hide' document.layers["div"+spy].top=10+t*50 document.layers["div"+spy].left=20+l*50 document.layers["div"+spy].zIndex=spypos } kill++ if(kill>23)Lose() } function Win(){ News=open('','news','width=450,height=550,top=0,left=0,toolbar=no') News.document.write("

NEWS!!!
KIDNAPPER CAUGHT!!!
") News.document.write("

") News.document.write(PersNom[shuf[spy]],"

is THE killer! CONGRATULATIONS, DETECTIVE!

") News.document.write("By the way, ",kill," were dead before you got the psycho!

") News.document.write("NEW GAME
Hosted by www.Geocities.ws

") News.document.close() News.focus() } function Lose(){ News=open('','news','width=450,height=550,top=0,left=0,toolbar=no') News.document.write("

OH NO!!!
EVERYONE'S DEAD!!!


") News.document.write("

") News.document.write("Who would ever suspect

",PersNom[shuf[spy]],"
as THE killer!
Anyway, ...
YOU'RE SACKED, DETECTIVE!

") News.document.write("NEW GAME
Hosted by www.Geocities.ws

") News.document.close() News.focus() }
Hosted by www.Geocities.ws

1