tag:blogger.com,1999:blog-10019394692770651132023-11-15T11:04:47.510-08:00GAME HANGMANIndra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-1001939469277065113.post-63712000139730301102013-02-11T06:58:00.000-08:002013-02-11T06:58:01.507-08:00Disney Movie
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
DIsney Movies</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 659;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 36
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
this[26] = "1"
this[27] = "2"
this[28] = "3"
this[29] = "4"
this[30] = "5"
this[31] = "6"
this[32] = "7"
this[33] = "8"
this[34] = "9"
this[35] = "0"
}
function WordList() {
this.length = NumOfWords;
this[0] = "1973 SNOW WHITE AND THE SEVEN DWARFS";
this[1] = "1940 PINOCCHIO";
this[2] = "1940 FANTASIA";
this[3] = "1941 THE RELUCTANT DRAGON";
this[4] = "1941 DUMBO";
this[5] = "1942 BAMBI";
this[6] = "1943 SALUDOS AMIGOS";
this[7] = "1943 VICTORY THROUGH AIR POWER";
this[8] = "1945 THE THREE CABALLEROS";
this[9] = "1946 MAKE MINE MUSIC";
this[10] = "1946 SONG OF THE SOUTH";
this[11] = "1947 FUN AND FANCY FREE";
this[12] = "1948 MELODY TIME";
this[13] = "1949 SO DEAR TO MY HEART";
this[14] = "1949 THE ADVENTURES OF ICHABOD AND MR TOAD";
this[15] = "1950 CINDERELLA";
this[16] = "1950 TREASURE ISLAND";
this[17] = "1951 ALICE IN WONDERLAND";
this[18] = "1952 THE STORY OF ROBIN HOOD AND HIS MERRIE MEN";
this[19] = "1953 PETER PAN";
this[20] = "1953 THE SWORD AND THE ROSE";
this[21] = "1953 THE LIVING DESERT";
this[22] = "1954 ROB ROY THE HIGHLAND ROUGE";
this[23] = "1954 THE VANISHING PRAIRIE";
this[24] = "1954 20000 LEAGUES UNDER THE SEA";
this[25] = "1955 DAVY CROCKET KING OF THE WILD FRONTIER";
this[26] = "1955 LADY AND THE TRAMP";
this[27] = "1955 THE AFRICAN LION";
this[28] = "1955 THE LITTLEST OUTLAW";
this[29] = "1956 THE GREAT LOCOMOTIVE CHASE";
this[30] = "1956 DAVY CROCKET AND RIVER PIRATES";
this[31] = "1956 SECRETS OF LIFE";
this[32] = "1956 WESTWARD HO THE WAGONS";
this[33] = "1957 JOHNNY TREMAIN";
this[34] = "1957 PERRI";
this[35] = "1957 OLD YELLER";
this[36] = "1958 THE LIGHT IN THE FOREST";
this[37] = "1958 WHITE WILDERNESS";
this[38] = "1958 TONKA";
this[39] = "1959 SLEEPING BEAUTY";
this[40] = "1959 THE SHAGGY DOG";
this[41] = "1959 DARBY OGILL AND THE LITTLE PEOPLE";
this[42] = "1959 THIRD MAN ON THE MOUNTAIN";
this[43] = "1960 TOBY TYLER OR TEN WEEKS WITH A CIRCUS";
this[44] = "1960 KIDNAPPED";
this[45] = "1960 POLLYANNA";
this[46] = "1960 THE SIGN OF ZORRO";
this[47] = "1960 TEN WHO DARED";
this[48] = "1960 JUNGLE CAT";
this[49] = "1960 SWISS FAMILY ROBINSON";
this[50] = "1961 101 DALMATION";
this[51] = "1961 THE ABSENT MINDED PROFESSOR";
this[52] = "1961 THE PARENT TRAP";
this[53] = "1961 NIKKI WILD DOG OF THE NORTH";
this[54] = "1961 GREYFRIARS BOBBY";
this[55] = "1961 BABES TOYLAND";
this[56] = "1962 MOON PILOT";
this[57] = "1962 BON VOYAGE";
this[58] = "1962 BIG RED";
this[59] = "1962 ALMOST ANGELS";
this[60] = "1962 THE LEGEND OF LOBO";
this[61] = "1962 IN SEARCH OF THE CASTAWAYS";
this[62] = "1963 SON OF FLUBBER";
this[63] = "1963 MIRACLE OF THE WHITE STALLION";
this[64] = "1963 SAVAGE SAM";
this[65] = "1963 SUMMER MAGIC";
this[66] = "1963 THE INCREDIBLE JOURNEY";
this[67] = "1963 THE SWORD IN THE STONE";
this[68] = "1963 THE THREE LIVES OF THOMASINA";
this[69] = "1964 THE MISADVENTURES OF MERLIN JONES";
this[70] = "1964 A TIGER WALKS";
this[71] = "1964 THE MOON SPINNER";
this[72] = "1964 MARY POPPINS";
this[73] = "1964 EMIL AND THE DETECTIVES";
this[74] = "1965 THOSE CALLOWAYS";
this[75] = "1965 THE MONKEYS UNCLE";
this[76] = "1965 THAT DARN CAT";
this[77] = "1966 THE UGLY DACHSHUND";
this[78] = "1966 LT ROBIN CRUSOE U S N";
this[79] = "1966 THE FIGHTING PRINCE OF DONEGAL";
this[80] = "1966 FOLLOW ME BOYS";
this[81] = "1967 MONKEYS GO HOME";
this[82] = "1967 THE ADVENTURES OF BULLWHIP GRIFFIN";
this[83] = "1967 THE HAPPIEST MILLIONAIRE";
this[84] = "1967 THE GNOME MOBILE";
this[85] = "1967 THE JUNGLE BOOK";
this[86] = "1967 CHARLIE THE LONESOME COUGAR";
this[87] = "1968 BLACKBEARDS GHOST";
this[88] = "1968 THE ONE AND ONLY GENUINE ORIGINAL FAMILY BAND";
this[89] = "1968 NEVER A DULL MOMENT";
this[90] = "1968 THE HORSE IN THE GRAY FLANNEL SUIT";
this[91] = "1969 THELOVE BUG";
this[92] = "1969 SMITH";
this[93] = "1969 RASCAL";
this[94] = "1969 THE COMPUTER WORE TENNIS SHOE";
this[95] = "1970 KING OF GRIZZLIES";
this[96] = "1970 THE BOATNIKS";
this[97] = "1970 THE ARISTOCATS";
this[98] = "1971 THE WILD COUNTRY";
this[99] = "1971 THE BAREFOOT EXECUTIVE";
this[100] = "1971 SCANDALOUS JOHN";
this[101] = "1971 THE MILLON DOLLAR DUCK";
this[102] = "1971 BEDKNOBS AND BROOMSTICKS";
this[103] = "1972 THE BISKUIT EATER";
this[104] = "1972 NAPOLEON AND SAMANTHA";
this[105] = "1972 NOW YOU SEE HIM NOW YOU DONT";
this[106] = "1972 RUN COUGAR RUN";
this[107] = "1972 SNOWBALL EXPRESS";
this[108] = "1973 THE WORLDS GREATEST ATHLETE";
this[109] = "1973 CHARLEY AND THE ANGEL";
this[110] = "1973 ONE LITTLE INDIAN";
this[111] = "1973 ROBIN HOOD";
this[112] = "1973 SUPERDAD";
this[113] = "1974 HERBIE RIDES AGAIN";
this[114] = "1974 THE BEARS AND I";
this[115] = "1974 THE CASTAWAY COWBOY";
this[116] = "1974 THE ISLAND AT THE TOP OF THE WORLD";
this[117] = "1975 THE STRONGEST MAN IN THE WORLD";
this[118] = "1975 ESCAPE TO WITCH MOUNTAIN";
this[119] = "1975 THE APPLE DUMBLING GANG";
this[120] = "1975 ONE OF OUR DINOSAURS IS MISSING";
this[121] = "1975 THE BEST OF WALT DISNEYS TRUELIFE ADVENTURES";
this[122] = "1975 RIDE A WILD PONY";
this[123] = "1975 NO DEPOSIT NO RETURN";
this[124] = "1976 GUS";
this[125] = "1976 TREASURE OF MATECUMBE";
this[126] = "1976 THE SHAGGY D A";
this[127] = "1977 FREAKY FRIDAY";
this[128] = "1977 THE LITTLEST HORSE THIEVES";
this[129] = "1977 THE MANY ADVENTURES OF WINNIE THE POOH";
this[130] = "1977 THE RESCUERS";
this[131] = "1977 HERBIE GOES TO MONTE CARLO";
this[132] = "1977 PETES DRAGON";
this[133] = "1978 CANDLESHOE";
this[134] = "1978 RETURN FROM WITCH MOUNTAIN";
this[135] = "1978 THE CAT FROM OUTER SPACE";
this[136] = "1978 HOT LEAD AND COLD FEET";
this[137] = "1979 THE APPLE DUMPLING GANG RIDES AGAIN";
this[138] = "1979 UNIDENTIFIED FLYING ODDBALL";
this[139] = "1979 THE BLACK HOLE";
this[140] = "1980 MIDNIGHT MADNESS";
this[141] = "1980 THE LAST FLIGHT OF NOAHS ARK";
this[142] = "1980 HERBIE GOES BANANAS";
this[143] = "1981 THE DEVIL AND MAX DEVLIN";
this[144] = "1981 AMY";
this[145] = "1981 THE FOX AND THE HOUND";
this[146] = "1981 CONDORMAN";
this[147] = "1981 THE WATCHER IN THE WOODS";
this[148] = "1982 NIGHT CROSSING";
this[149] = "1982 TRON";
this[150] = "1982 TEX";
this[151] = "1983 TRENCHCOAT";
this[152] = "1983 SOMETHING WICKED THIS WAY COMES";
this[153] = "1983 NEVER CRY WOLF";
this[154] = "1984 SPLASH";
this[155] = "1984 TIGER TOWN";
this[156] = "1984 COUNTRY";
this[157] = "1985 BABY SECRET OF THE LOST LEGEND";
this[158] = "1985 RETURN TO OZ";
this[159] = "1985 THE BLACK CAULDRON";
this[160] = "1985 MY SCIENCE PROJECT";
this[161] = "1985 THE JOURNEY OF NATTY GANN";
this[162] = "1985 ONE MAGIC CHRISTMAS";
this[163] = "1986 DOWN AND OUT IN BEVERLY HILLS";
this[164] = "1986 OFF BEAT";
this[165] = "1986 RUTHLESS PEOPLE";
this[166] = "1986 THE GREAT MOUSE DETECTIVE";
this[167] = "1986 FLIGHT OF THE NAVIGATOR";
this[168] = "1986 TOUGH GUYS";
this[169] = "1986 THE COLOR OF MONEY";
this[170] = "1987 OUTRAGEOUS FORTUNE";
this[171] = "1987 TIN MEN";
this[172] = "1987 ERNEST GOES TO CAMP";
this[173] = "1987 BENJI THE HUNTED";
this[174] = "1987 ADVENTURES IN BABYSITTING";
this[175] = "1987 STAKEOUT";
this[176] = "1987 CANT BUY ME LOVE";
this[177] = "1987 HELLO AGAIN";
this[178] = "1987 THREE MEN AND A BABY";
this[179] = "1987 GOOD MORNING VIETNAM";
this[180] = "1988 SHOOTTO KILL";
this[181] = "1988 D O A";
this[182] = "1988 RETURN TO SNOW RIVER";
this[183] = "1988 BIG BUSINESS";
this[184] = "1988 WHO FRAMED ROGER RABBIT";
this[185] = "1988 COCKTAIL";
this[186] = "1988 THE RESCUE";
this[187] = "1988 HEARTBREAK HOTEL";
this[188] = "1988 THE GOOD MOTHER";
this[189] = "1988 ERNEST SAVE CHRISTMAS";
this[190] = "1988 OLIVER AND COMPANY";
this[191] = "1988 BEACHES ";
this[192] = "1989 THREE FUGITIVES";
this[193] = "1989 NEW YORK STORIES";
this[194] = "1989 DISORGANIZED CRIME";
this[195] = "1989 DEAD POETS SOCIETY";
this[196] = "1989 HONEY I SHRUNK THE KID";
this[197] = "1989 TURNER AND HOOCH";
this[198] = "1989 CHEETAH";
this[199] = "1989 AN INNOCENT MAN";
this[200] = "1989 GROSS ANATOMY";
this[201] = "1989 THE LITTLE MERMAID";
this[202] = "1989 BLAZE";
this[203] = "1989 STELLA";
this[204] = "1990 WHERE THE HEART IS";
this[205] = "1990 PRETTY WOMAN";
this[206] = "1990 ERNEST GOES TO JAIL";
this[207] = "1990 SPACED INVANDERS";
this[208] = "1990 FIRE BIRDS";
this[209] = "1990 DICK TRACY";
this[210] = "1990 BETSYS WEDDING";
this[211] = "1990 ARACHNOPHOBIA";
this[212] = "1990 DUCK TALES THE MOVIE TREASURE OF THE LOST LAMP";
this[213] = "1990 TAKING CARE OF BUSINNES";
this[214] = "1990 MR DESTINY";
this[215] = "1990 THE RESCUERS DOWN UNDER";
this[216] = "1990 THREE MEN AND A LITTLE LADY";
this[217] = "1990 GREEN CARD";
this[218] = "1991 WHITE FANG";
this[219] = "1991 RUN";
this[220] = "1991 SCENES FROM A MALL";
this[221] = "1991 SHIPWRECKED";
this[222] = "1991 THE MARRYING MAN";
this[223] = "1991 OSCAR";
this[224] = "1991 ONE GOOD COP";
this[225] = "1991 WHAT ABOUT BOB";
this[226] = "1991 WILD HEARTS CANT BE BROKEN";
this[227] = "1991 THE ROCKETEER";
this[228] = "1991 THE DOCTOR";
this[229] = "1991 V I WARSHAWSKI";
this[230] = "1991 TRUE IDENTITY";
this[231] = "1991 PARADISE";
this[232] = "1991 DECEIVED";
this[233] = "1991 ERNEST SCARED STUPID";
this[234] = "1991 BILLY BATHGATE";
this[235] = "1991 BEAUTY AND THE BEAST";
this[236] = "1991 FATHER OF THE BRIDE";
this[237] = "1992 THE HAND THAT ROCKS THE CRADLE";
this[238] = "1992 MEDICINE MAN";
this[239] = "1992 BLAME IT ON THE BELLBOY";
this[240] = "1992 NOISES OFF";
this[241] = "1992 STRAIGHT TALK";
this[242] = "1992 NEWSIES";
this[243] = "1992 PASSED AWAY";
this[244] = "1992 ENCINO MAN";
this[245] = "1992 SISTER ACT";
this[246] = "1992 HONEY I BLEW UP THE KID";
this[247] = "1992 A STRANGER AMONG US";
this[248] = "1992 3 NINJAS";
this[249] = "1992 THE GUN IN BETTY LOUS HANDBAG";
this[250] = "1992 CROSSING THE BRIDGE";
this[251] = "1992 SARAFINA";
this[252] = "1992 CAPTAIN RON";
this[253] = "1992 THE MIGHTY DUCK";
this[254] = "1992 CONSENTING ADULTS";
this[255] = "1992 ALADDIN";
this[256] = "1992 THE DISTINGUISHED GENTELMEN";
this[257] = "1992 THE MUPPET CHRISTMAS CAROL";
this[258] = "1993 ALIVE";
this[259] = "1993 ASPEN EXTREME";
this[260] = "1993 THE CEMETERY CLUB";
this[261] = "1993 HOMEWARD BOUND THE INCREDIBLE JOURNEY";
this[262] = "1993 SWING KIDS";
this[263] = "1993 A FAR OFF PLACE";
this[264] = "1993 BORN YESTERDAY";
this[265] = "1993 ADVENTURES OF HUCK FINN";
this[266] = "1993 INDIAN SUMMER";
this[267] = "1993 BOUND BY HONOR";
this[268] = "1993 SUPER MARIO BROS";
this[269] = "1993 GUILTY AS SIN";
this[270] = "1993 LIFE WITH MIKEY";
this[271] = "1993 WHATS LOVE GOT TO DO WITH IT";
this[272] = "1993 SON IN LAW";
this[273] = "1993 HOCUS POCUS";
this[274] = "1993 ANOTHER STAKEOUT";
this[275] = "1993 MY BOYFRIENDS BACK";
this[276] = "1993 FATHER HOOD";
this[278] = "1993 THE JOY LUCK CLUB";
this[279] = "1993 MONEY FOR NOTHING";
this[280] = "1993 THE PROGRAM";
this[281] = "1993 COOL RUNNINGS";
this[282] = "1993 TIM BURTONS THE NIGHTMARE BEFORE CHRISTMAS";
this[283] = "1993 THE THREE MUSKETEERS";
this[284] = "1993 SISTER ACT 2 BACK IN THE HABIT";
this[285] = "1993 TOMBSTONE";
this[286] = "1994 CABIN BOY";
this[287] = "1994 THE AIR UP THERE";
this[288] = "1994 IRON WILL";
this[289] = "1994 MY FATHER THE HERO";
this[290] = "1994 BLANK CHECK";
this[291] = "1994 ANGIE";
this[292] = "1994 THE REF";
this[293] = "1994 D2 THE MIGHTY DUCK";
this[294] = "1994 HOLY MATRIMONY";
this[295] = "1994 WHITE FANG 2 THE MYTH OF THE WHITE WOLF";
this[296] = "1994 THE INKWELL";
this[297] = "1994 WHEN A MAN LOVES A WOMAN";
this[298] = "1994 RENAISSANCE MAN";
this[299] = "1994 THE LIO KING";
this[300] = "1994 I LOVE TROBLE";
this[301] = "1994 ANGELS IN THE OUTFIELD";
this[302] = "1994 IN THE ARMY NOW";
this[303] = "1994 COLOR OF NIGHT";
this[304] = "1994 ITS PAT";
this[305] = "1994 CAMP NOWHERE";
this[306] = "1994 A SIMPLE TWIST OF FACE";
this[307] = "1994 QUIZ SHOW";
this[308] = "1994 TERMINAL VELOCITY";
this[309] = "1994 ED WOOD";
this[310] = "1994 ROBERT A HEINLEINS THE PUPPET MASTER";
this[311] = "1994 SQUANTO A WARRIORS TALE";
this[312] = "1994 THE SANTA CLAUSE";
this[313] = "1994 A LOW DOWN DIRTY SHAME";
this[314] = "1994 RUDYARD KIPLINGS";
this[315] = "1995 HOUSEGUEST";
this[316] = "1995 BAD COMPANY";
this[317] = "1995 MIAMI RHAPSODY";
this[318] = "1995 JERKY BOYS";
this[319] = "1995 HEAVYWEIGHTS";
this[320] = "1995 MAN OF THE HOUSE";
this[321] = "1995 ROOMMATES";
this[322] = "1995 TALL TALE";
this[323] = "1995 FUNNY BONES";
this[324] = "1995 JEFFERSON IN PARIS";
this[325] = "1995 A GOOFY MOVIE";
this[326] = "1995 WHILE YOU WERE SLEEPING";
this[327] = "1995 A PYROMANIACS LOVE STORY";
this[328] = "1995 CRIMSON TIDE";
this[329] = "1995 MAD LOVE";
this[330] = "1995 POCAHONTAS";
this[331] = "1995 JUDGE DREDD";
this[332] = "1995 OPERATION DUMBO DROP";
this[333] = "1995 DANGEROUS MINDS";
this[334] = "1995 A KID IN KING ARTHURS COURT";
this[335] = "1995 THE TIE THAT BINDS";
this[336] = "1995 UNSTRUNG HEROES";
this[337] = "1995 THE BIG GREEN";
this[338] = "1995 DEAD PRESIDENTS";
this[339] = "1995 FEAST OF JULY";
this[340] = "1995 THE SCARLET LETTER";
this[341] = "1995 FRANK AND OLLIE";
this[342] = "1995 POWDER";
this[343] = "1995 TOY STORY";
this[344] = "1995 FATHER OF THE BRIDE PART II";
this[345] = "1995 NIXON";
this[346] = "1995 TOM AND HUCK";
this[347] = "1996 MR WRONG";
this[348] = "1996 MR HOLLANDS OPUS";
this[349] = "1996 WHITE SQUALL";
this[350] = "1996 MUPPET TREASURE ISLAND";
this[351] = "1996 BEFORE AND AFTER";
this[352] = "1996 UP CLOSE AND PERSONAL";
this[353] = "1996 HOMEWARD BOUND II LOST IN SAN FRANSISCO";
this[354] = "1996 TWO MUCH";
this[355] = "1996 LITTLE INDIAN BIG CITY";
this[356] = "1996 JAMES AND THE GIANT PEACH";
this[357] = "1996 CELTIC PRIDE";
this[358] = "1996 LAST DANCE";
this[359] = "1996 BOYS";
this[360] = "1996 SPY HARD";
this[361] = "1996 EDDIE";
this[362] = "1996 THE ROCK";
this[363] = "1996 THE HUNCHBACK OF NOTRE DAME";
this[364] = "1996 PHENOMENON";
this[365] = "1996 KAZAAM";
this[366] = "1996 JACK";
this[367] = "1996 FIRST KID";
this[368] = "1996 THE RICH MANS WIFE";
this[369] = "1996 D3 THE MIGHTY DUCK";
this[370] = "1996 THE ASSOCIATE";
this[371] = "1996 RANSOM";
this[372] = "1996 THE WAR AT HOME";
this[373] = "1996 101 DALMATION";
this[374] = "1996 THE PEACHERS WIFE";
this[375] = "1996 EVITA";
this[376] = "1997 METRO";
this[377] = "1997 PREFONTAINE";
this[378] = "1997 SHADOW CONSPIRASI";
this[379] = "1997 THAT DARN CAT";
this[380] = "1997 JUNGLE 2 JUNGLE";
this[381] = "1997 THE SIXTH MAN";
this[382] = "1997 GROSSE POINTE BLANK";
this[383] = "1997 ROMY AND MICHELES HIGH SCHOOL REUNION";
this[384] = "1997 GONE FISHIN";
this[385] = "1997 CON AIR";
this[386] = "1997 HERCULES";
this[387] = "1997 GEORGE OF THE JUNGLE";
this[388] = "1997 NOTHING TO LOSE";
this[389] = "1997 AIR BUD";
this[390] = "1997 G I JANE";
this[391] = "1997 A THOUSAND ACRES";
this[392] = "1997 WASHINGTON SQUARE";
this[393] = "1997 ROCKET MAN";
this[394] = "1997 PLAYING GOD";
this[395] = "1997 FLUBBER";
this[396] = "1997 AN AMERICAN WEREWOLF IN PARIS";
this[397] = "1997 MR MAGOO";
this[398] = "1997 KUNDUN";
this[399] = "1998 DEEP RISING";
this[400] = "1998 AN ALAN SMITHEE FILM BURN HOLLYWOOD BURN";
this[401] = "1998 KRIPPENDORFS TRIBE";
this[402] = "1998 MEETTHE DEEDLES";
this[403] = "1998 HE GOT GAME";
this[404] = "1998 THE HORSE WHISPERER";
this[405] = "1998 SIX DAYS SEVEN NIGHTS";
this[406] = "1998 MULAN";
this[407] = "1998 ARMAGEDON";
this[408] = "1998 JANE AUSTINS MAFIA";
this[409] = "1998 THE PARENT TRAP";
this[410] = "1998 FIRELIGHT";
this[411] = "1998 SIMON BIRCH";
this[412] = "1998 HOLY MAN";
this[413] = "1998 BELOVED";
this[414] = "1998 THE WATER BOY";
this[415] = "1998 ENEMY OF THE STATE";
this[416] = "1998 A BUGS LIFE";
this[417] = "1998 RUSHMORE";
this[418] = "1998 MIGHTY JOE YOUNG";
this[419] = "1999 A CIVIL ACTION";
this[420] = "1999 MY FAVORITE MARTIAN";
this[421] = "1999 THE OTHER SISTER";
this[422] = "1999 DOUGS FIRST MOVIE";
this[423] = "1999 10 THINGS I HATE ABOUT YOU";
this[424] = "1999 ENDURANCE";
this[425] = "1999 INSTINCT";
this[426] = "1999 TARZAN";
this[427] = "1999 SUMMER OF SAM";
this[428] = "1999 INSPECTOR GADGET";
this[429] = "1999 THE SIXTH SENSE";
this[430] = "1999 THE 13TH WARRIOR";
this[431] = "1999 BREAKFAST OF CHAMPIONS";
this[432] = "1999 MUMFORD";
this[433] = "1999 MYSTERY ALASKA";
this[434] = "1999 THE HAND BEHIND THE MOUSE THE UBLWERKS STORY";
this[435] = "1999 THE STRAIGHT STORY";
this[436] = "1999 THE INSIDER";
this[437] = "1999 TOY STORY 2";
this[438] = "1999 DEUCE BIGALOW MALE GIGOLO";
this[439] = "1999 CRADLE WILL ROCK";
this[440] = "1999 BICENTENNIAL MAN";
this[441] = "1999 FANTASIA 2000";
this[442] = "2000 PLAY IT TO THE BONE";
this[443] = "2000 GUN SHY";
this[444] = "2000 THE TIGGER MOVIE";
this[445] = "2000 MISSION TO MARS";
this[446] = "2000 WHISPERS AN ELEPHANTS TALE";
this[447] = "2000 HIGH FIDELITY";
this[448] = "2000 KEEPING THE FAITH";
this[449] = "2000 DINOSAUR";
this[450] = "2000 SHANGHAI NOON";
this[451] = "2000 GONE IN 60 SECONDS";
this[452] = "2000 DISNEYS THE KID";
this[453] = "2000 COYOTE UGLY";
this[454] = "2000 THE CREW";
this[455] = "2000 DUETS";
this[456] = "2000 REMEMBER THE TITANS";
this[457] = "2000 PLAYING MONA LISA";
this[458] = "2000 UNBREAKABLE";
this[459] = "2000 102 DALMATIANS";
this[460] = "2000 THE EMPERORS NEW GROOVE";
this[461] = "2000 O BROTHER WHERE ART THOU";
this[462] = "2001 DOUBLE TAKE";
this[463] = "2001 RECESS SCHOOLS OUT";
this[464] = "2001 JUST VISITING";
this[465] = "2001 PEARL HARBOR";
this[466] = "2001 ATLANTISTHE LOST EMPIRE";
this[467] = "2001 CRAZY BEAUTIFUL";
this[468] = "2001 THE PRINCESS DIARIES";
this[469] = "2001 BUBBLE BOY";
this[470] = "2001 NEW PORT SOUTH";
this[471] = "2001 MAX KEEBLES BIG MOVIE";
this[472] = "2001 CORKY ROMANO";
this[473] = "2001 HIGH HEELS AND LOW LIFES";
this[474] = "2001 MONSTERS INC";
this[475] = "2001 OUT COLD";
this[476] = "2001 THE ROYAL TENENBAUMS";
this[477] = "2002 SNOW DOGS";
this[478] = "2002 THE COUNT OF MONTE CRISTO";
this[479] = "2002 RETURN TO NEVERLAND";
this[480] = "2002 SORORITY BOYS";
this[481] = "2002 THE ROOKIE";
this[482] = "2002 BIG TROUBLE";
this[483] = "2002 FRANK MCKLUSKY C I";
this[484] = "2002 ESPNS ULTIMATE X THE MOVIE";
this[485] = "2002 BAD COMPANY";
this[486] = "2002 LILO AND STITCH";
this[487] = "2002 REIGN OF FIRE";
this[488] = "2002 THE COUNTRY BEARS";
this[489] = "2002 SIGNS";
this[490] = "2002 SPIRITED AWAY";
this[491] = "2002 MOONLIGHT MILE";
this[492] = "2002 SWEET HOME ALABAMA";
this[493] = "2002 TUCK EVERLASTING";
this[494] = "2002 SANTA CLAUSE 2";
this[495] = "2002 TREASURE PLANET";
this[496] = "2002 THE HOT CHICK";
this[497] = "2002 THE 25TH HOURS";
this[498] = "2003 THE RECRUIT";
this[499] = "2003 SHANGHAI KNIGHTS";
this[500] = "2003 THE JUNGLE BOOK 2";
this[501] = "2003 BRINGING DOWN THE HOUSE";
this[502] = "2003 PIGLETS BIG MOVIE";
this[503] = "2003 GHOST OF THE ABYSS";
this[504] = "2003 HOLES";
this[505] = "2003 THE LIZZIES MCGUIRE MOVIE";
this[506] = "2003 FINDING NEMO";
this[507] = "2003 PIRATES OF THE CARIBBEAN THE CURSE OF THE BLACK PEARL";
this[508] = "2003 FREAKY FRIDAY";
this[509] = "2003 OPEN RANGE";
this[510] = "2003 HOPE SPRINGS";
this[511] = "2003 COLD CREEK MANOR";
this[512] = "2003 UNDER THE TUSCAN SUN";
this[513] = "2003 VERONICA GUERIN";
this[514] = "2003 BROTHER BEAR";
this[515] = "2003 THE HAUNTED MANSION";
this[516] = "2003 CALENDAR GIRLS";
this[517] = "2003 THE YOUNG BLACK STALLION";
this[518] = "2004 DISNEYS TEACHERS PET";
this[519] = "2004 MIRACLE";
this[520] = "2004 CONFESSIONS OF A TEENAGE DRAMA QUEEN";
this[521] = "2004 HIDALGO";
this[522] = "2004 THE LADYKILLERS";
this[523] = "2004 HOME ON THE RANGE";
this[524] = "2004 THE ALAMO";
this[525] = "2004 SACRED PLANET";
this[526] = "2004 RAISING HELEN";
this[527] = "2004 AROUND THE WORLD IN 80 DAYS";
this[528] = "2004 AMERICAS HEART AND SOUL";
this[529] = "2004 KING ARTHUR";
this[530] = "2004 THE VILLAGE";
this[531] = "2004 THE PRINCESS DIARIES 2";
this[532] = "2004 MR 3000";
this[533] = "2004 THE LAST SHOT";
this[534] = "2004 LADDER 49";
this[535] = "2004 THE INCREDIBLES";
this[536] = "2004 NATIONAL TREASURE";
this[537] = "2004 THE LIFE AQUATIC WITH STEVE ZISSOU";
this[538] = "2005 ALIENS OF THE DEEP";
this[539] = "2005 POOHS HEFFALUMP MOVIE";
this[540] = "2005 THE PACIFIER";
this[541] = "2005 ICE PRINCESS";
this[542] = "2005 A LOT LIKE LOVE";
this[543] = "2005 THE HITCHHIKERS GUIDE TO THE GALAXY";
this[544] = "2005 HOWLS MOVING CASTLE";
this[545] = "2005 HERBIE FULLY LOADED";
this[546] = "2005 DARK WATER";
this[547] = "2005 SKY HIGH";
this[548] = "2005 VALIANT";
this[549] = "2005 FLIGHTPLAN";
this[550] = "2005 THE GREATEST GAME EVER PLAYED";
this[551] = "2005 SHOPGIRL";
this[552] = "2005 CHICKEN LITTLE";
this[553] = "2005 THE CHRONICLES OF NARNIA THE LION THE WITCH AND THE WARDROBE";
this[554] = "2005 CASANOVA";
this[555] = "2006 GLORY ROAD";
this[556] = "2006 ANNAPOLIS";
this[557] = "2006 ROVING MARS";
this[558] = "2006 EIGHT BELOW";
this[559] = "2006 THE SHAGGY DOG";
this[560] = "2006 STAY ALIVE";
this[561] = "2006 THE WILD";
this[562] = "2006 STICK IT";
this[563] = "2006 GOAL THE DREAM BEGINS";
this[564] = "2006 CARS";
this[565] = "2006 PIRATES OF THE CARIBBEAN DEAD MANS CHEST";
this[566] = "2006 STEP UP";
this[567] = "2006 INVINCIBLE";
this[568] = "2006 THE GUARDIAN";
this[569] = "2006 THE PRESTIGE";
this[570] = "2006 THE SANTA CLAUSE 3";
this[571] = "2006 DEJA VU";
this[572] = "2006 APOCALIYPTO";
this[573] = "2007 PRIMEVAL";
this[574] = "2007 BRIDGE TO TERABITHA";
this[575] = "2007 WILD HOG";
this[576] = "2007 MEET THE ROBINSON";
this[577] = "2007 THE INVISIBLE";
this[578] = "2007 PIRATES OF THE CARIBBEAN AT WORLDS END";
this[579] = "2007 RATATOUILLE";
this[580] = "2007 THE SECRET OF THE MAGIC GOURD";
this[581] = "2007 UNDERDOG";
this[582] = "2007 THE GAME PLAN";
this[583] = "2007 DAN IN REAL LIFE";
this[584] = "2007 ENCHANTED";
this[585] = "2007 NATIONAL TREASURE BOOK OF SECTRET";
this[586] = "2008 HANNAH MONTANA AND MILEY CYRUS BEST OF BOTH WORLD CONCERT";
this[587] = "2008 STEP UP 2 THE STREET";
this[588] = "2008 COLLEGE ROAD TRIP";
this[589] = "2008 THE CHRONICLE OF NARNIA PRINCE CASPIAN";
this[590] = "2008 WALL E";
this[591] = "2008 SWING VOTE";
this[592] = "2008 TINKER BELL";
this[593] = "2008 MIRACLE AT ST ANNA";
this[594] = "2008 BEVERLY HILLS CHIHUAHUA";
this[595] = "2008 MORNING LIGHT";
this[596] = "2008 HIGH SCHOOL MUSICAL 3 SENIOR YEAR";
this[597] = "2008 ROADSIDE ROMEO";
this[598] = "2008 BOLT";
this[599] = "2009 BEDTIME STORIES";
this[600] = "2009 CONSFESSIONS OF A SHOPAHOLIC";
this[601] = "2009 JONAH BROTHERS THE 3D CONCERT EXPERIENCES";
this[602] = "2009 RACE TO WITCH MOUNTAIN";
this[603] = "2009 HANNAH MONTANA THE MOVIE";
this[604] = "2009 EARTH";
this[605] = "2009 TRAIL OF THE PANDA";
this[606] = "2009 THE BOYS THE SHERMAN BROTHERS STORY";
this[607] = "2009 UP";
this[608] = "2009 THE PROPOSAL";
this[609] = "2009 G FORCE";
this[610] = "2009 PONYO";
this[611] = "2009 X GAMES 3D THE MOVIE";
this[612] = "2009 WALT AND EL GRUPO";
this[613] = "2009 SURROGATES";
this[614] = "2009 TINKER BELL ND THE LOST TREASURE";
this[615] = "2009 KNIGA MASTEROV";
this[616] = "2009 DISNEYS A CHRISTMAS CAROL";
this[617] = "2009 OLD DOG";
this[618] = "2009 THE PRINCESS AND THE FROG";
this[619] = "2010 WHEN IN ROME";
this[620] = "2010 ALICE IN WONDERLAND";
this[621] = "2010 WAKING SLEEPING BEAUTY";
this[622] = "2010 THE LAST SONG";
this[623] = "2010 OCEANS";
this[624] = "2010 PRINCE OF PERSIA THE SAND OF TIME";
this[625] = "2010 TOY STORY 3";
this[626] = "2010 THE SORCERERS APPRENTINCE";
this[627] = "2010 STEP UP 3D";
this[628] = "2010 TALES FROM EARTHSEA";
this[629] = "2010 THE SWITCH";
this[630] = "2010 TINKER BELL AND THE GREAT FAIRY RESCUE";
this[631] = "2010 YOU AGAIN";
this[632] = "2010 SECRETARIAT";
this[633] = "2010 TANGLED";
this[634] = "2010 THE TEMPEST";
this[635] = "2010 TRON LEGACY";
this[636] = "2011 ONCE UPON A WARRIOR";
this[637] = "2011 GNOMEO AND JULIET";
this[638] = "2011 I AM NUMBER FOUR";
this[639] = "2011 MARS NEEDS MOMS";
this[640] = "2011 AFRICAN CATS KINGDOM OF COURAGE";
this[641] = "2011 ZOKKOMON";
this[642] = "2011 PROM";
this[643] = "2011 PIRATES OF THE CARIBBEAN ON STRANGER TIDES";
this[634] = "2011 CARS 2";
this[645] = "2011 WINNIE THE POH";
this[646] = "2011 THE HELP";
this[647] = "2011 FRIGHT NIGHT";
this[648] = "2011 REAL STEEL";
this[649] = "2011 THE MUPPETS";
this[650] = "2011 WAR HORSE";
this[651] = "2012 THE SECRET WORLD OF ARRIETY";
this[652] = "2012 JOHN CARTER";
this[653] = "2012 CHIMPANZEE";
this[654] = "2012 MARVELS THE AVENGERS";
this[655] = "2012 BRAVE";
this[656] = "2012 PEOPLE LIKE US";
this[657] = "2012 THE ODD LIFE OF TIMOTHY GREEN";
this[658] = "2012 SECRET OF THE WINGS";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=35; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 35) {
for (j=0; j<=34; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=35; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=36; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=37; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=35; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>Times Out!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=6>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<18; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=18; i<36; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other DESNEY MOVIE"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-83430124736242226752013-01-06T08:03:00.002-08:002013-01-06T08:06:01.223-08:00Flowers<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
FLOWERS</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 3;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "ALLIUM";
this[1] = "ANEMONE";
this[2] = "ARTEMISIA";
this[3] = "ALYSSUM";
this[4] = "ASTER";
this[5] = "ASTILBE";
this[6] = "BACHELOR BUTTON OR CORN FLOWER";
this[7] = "BALLON FLOWER";
this[8] = "BEE BALM";
this[9] = "BELLFLOWER";
this[10] = "BLANKETFLOWER";
this[11] = "BLEEDING HEART";
this[12] = "BOUGAINVILLEA";
this[13] = "BROOM";
this[14] = "BUTTERFLY WEED";
this[15] = "BUTTERFLY BUSH";
this[16] = "CAMELLIA";
this[17] = "CATMINT";
this[18] = "CHRYSANTHEMUM";
this[19] = "CLEMATIS";
this[20] = "COLUMBINE";
this[21] = "CONEFLOWER";
this[22] = "CORAL BELLS";
this[23] = "COREOPSIS";
this[24] = "COSMOS";
this[25] = "CROCUS";
this[26] = "CYCLAMEN";
this[27] = "DAHLIA";
this[28] = "DAY LILY";
this[29] = "DELPHINIUM";
this[30] = "FOXGLOVE";
this[31] = "GAS PLANT";
this[32] = "GAYFEATHER";
this[33] = "GERANIUM";
this[34] = "GLADIOLUS";
this[35] = "GLOBEFLOWER";
this[36] = "GRAPE HYACINTH";
this[37] = "HARDY GERANIUM";
this[38] = "HOLLYHOCK";
this[39] = "HONEYSUCKLE";
this[40] = "HOSTA";
this[41] = "HYACINTH";
this[42] = "HYBRID TEA ROSES";
this[43] = "HYDRANGEA";
this[44] = "IMPATIEN";
this[45] = "IRIS";
this[46] = "JUPITERS BEARD";
this[47] = "KERRIA";
this[48] = "LAMIUM";
this[49] = "LANTANA";
this[50] = "LARKSPUR";
this[51] = "LAVENDER";
this[52] = "LILAC";
this[53] = "LILY OF THE VALLEY";
this[54] = "LOBELIA";
this[55] = "LOOSESTRIFE";
this[56] = "LUPINE";
this[57] = "MARIGOLD";
this[58] = "MOCK ORANGE";
this[59] = "MORNING GLORY";
this[60] = "MOON FLOWER";
this[61] = "NARCISSUS";
this[62] = "NASTURTIUM";
this[63] = "NICOTIANA";
this[64] = "NEW GUINEA IMPATIEN";
this[65] = "OLEANDER";
this[66] = "PANSY";
this[67] = "PASSION FLOWER";
this[68] = "PEONY";
this[69] = "PETUNIAS";
this[70] = "PINKS";
this[71] = "POPPY";
this[72] = "PRIMROSE";
this[73] = "RHODODENDRUM";
this[74] = "ROSE OF SHARON";
this[75] = "SALVIA";
this[76] = "SCABIOSA";
this[77] = "SCILLA";
this[78] = "SEDUM";
this[79] = "SHASTA DAISY";
this[80] = "SHRUB ROSES";
this[81] = "SILVER LACE VINE";
this[82] = "SNAP DRAGON";
this[83] = "SNOWBALL BUSH";
this[84] = "SWEET PEA";
this[85] = "TRUMPET VINE";
this[86] = "TULIP";
this[87] = "VINCA";
this[88] = "WISTERIA";
this[89] = "YARROW";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>You Lost!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=6>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other Flower"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
<!-- Script Size: 6.31 KB -->
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-21581624423328149902013-01-05T08:58:00.007-08:002013-01-05T08:58:52.732-08:00Airlines
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
Airlines</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 125;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "ADRIA AIRWAYS SLOVENIA";
this[1] = "AEGEAN AIRLINES";
this[2] = "AER LINGUS";
this[3] = "AEROFLOT RUSSIAN AIR";
this[4] = "AEROLINEAS ARGENTINAS";
this[5] = "AEROMEXICO";
this[6] = "AEROSUR";
this[7] = "AIR ALGERIE";
this[8] = "AIR ALPS AVIATION";
this[9] = "AIR ASTANA";
this[10] = "AIR AUSTRAL";
this[11] = "AIR BERLIN";
this[12] = "AIR CANADA";
this[13] = "AIR CHINA";
this[14] = "AIR DOLOMITI";
this[15] = "AIR EUROPA";
this[16] = "AIR FRANCE";
this[17] = "AIR INDIA";
this[18] = "AIR JAMAICA";
this[19] = "AIR MACAU";
this[20] = "AIR MADAGASKAR";
this[21] = "AIR MALAWI";
this[22] = "AIR MALTA";
this[23] = "AIR MAURITIUS";
this[24] = "AIR NAMIBIA";
this[25] = "AIR NEW ZEALAND";
this[26] = "AIR NIUQINI";
this[27] = "AIR PACIFIC";
this[28] = "AIR SEYCHELLES LIMITED";
this[29] = "AIR SINAI";
this[30] = "AIR TAHITI NUI";
this[31] = "AIR TANZANIA CORPORATION";
this[32] = "AIR VANUATU";
this[33] = "AIRCALIN";
this[34] = "ALASKA AIRLINES";
this[35] = "ALBANIAN AIRLINES";
this[36] = "ALITALIA";
this[37] = "ALL NIPPON AIRWAYS";
this[38] = "AMERICAN AIRLINES";
this[39] = "AMERICAN EAGLE";
this[40] = "ARIANA AFGHAN AIRLINES";
this[41] = "ASIANA AIRLINES";
this[42] = "AIR AUSTRALIA";
this[43] = "BRITISH AIRWAYS";
this[44] = "CATHAY PACIFIC";
this[45] = "CHINA AIRLINES";
this[46] = "CHINA SOUTHERN AIRLINES";
this[47] = "DELTA AIRLINES";
this[48] = "EMIRATES";
this[49] = "ETIHAD AIRWAYS";
this[50] = "FINNAIR";
this[51] = "GARUDA INDONESIA";
this[52] = "HAWAIIAN AIRLINES";
this[53] = "JAPAN AIRLINES";
this[54] = "JETSTAR";
this[55] = "KINGFISHER AIRLINES";
this[56] = "KIM AIRLINES";
this[57] = "KOREAN AIR";
this[58] = "KUWAIT AIRWAYS";
this[59] = "LAM LINHAS AEREAS DE";
this[60] = "MOCAMBIQUE";
this[61] = "LAN CHILE";
this[62] = "LANECUADOR AEROLANE";
this[63] = "LAO AIRLINES";
this[64] = "LASCA";
this[65] = "LIBYAN AIRLINES";
this[66] = "LOT POLISH AIRLINES";
this[67] = "LUFTHANSA AIRLINES";
this[68] = "LUXAIR";
this[69] = "MALAYSIA AIRLINES";
this[70] = "MALEV HUNGARIAN AIRLINES";
this[71] = "ANDARIN AIRLINES";
this[72] = "MIAT MONGOLIAN AIRLINES";
this[73] = "MIDDLE EAST AIRLINES";
this[74] = "OLYMPIC AIRWAYS";
this[75] = "OMAN AIR";
this[76] = "PAKISTAN INTERNATIONAL";
this[77] = "PHILIPPINE AIRLINES";
this[78] = "PLUNA";
this[79] = "QANTAS";
this[80] = "QATAR AIRWAYS";
this[81] = "ROYAL AIR MAROC";
this[82] = "ROYAL BRUNEI AIRLINES";
this[83] = "ROYAL JORDANIAN";
this[84] = "ROYAL NEPAL AIRLINES";
this[85] = "SAFI AIRWAYS";
this[86] = "SAUDI ARABIAN AIRLINES";
this[87] = "SCANDINAVIAN AIRLINES";
this[88] = "SHANGHAI AIRLINES";
this[89] = "SIBERIA AIRLINES";
this[90] = "SILK AIR";
this[91] = "SINGAPORE AIRLINES";
this[92] = "SKYWAYS AB";
this[93] = "SOLOMON AIRLINES";
this[94] = "SOUTH AFRICAN AIRWAYS";
this[95] = "SPANAIR";
this[96] = "SUDAN AIRWAYS";
this[97] = "SURINAM AIRWAYS";
this[98] = "SWISS INTERNATIONAL";
this[99] = "SYRIAN ARAB AIRLINES";
this[100] = "TAAG LINHAS AEREAS DE";
this[101] = "ANGOLA";
this[102] = "TACA INTERNATIONAL AIRLINES";
this[103] = "TAM LINHAS AERAS";
this[104] = "TAM MERCOSUR";
this[105] = "TAP PORTUGAL";
this[106] = "TAROM ROMANIAN AIR";
this[107] = "THAI AIRWAYS";
this[108] = "TRANSAERO AIRLINES";
this[109] = "TUNISAIR";
this[110] = "TURKISH AIRLINES";
this[111] = "TURKMENISTAN AIRLLINES";
this[112] = "TYROLEAN AIRLINES";
this[113] = "UKRAINE INTERNATIONAL AIRLINES";
this[114] = "UNI AIRWAYS CORPORATION";
this[115] = "UNITED AIRLINES";
this[116] = "US AIRWAYS";
this[117] = "V AUSTRALIA";
this[118] = "VIETNAM AIRLINES";
this[119] = "VIRGIN AMERICA";
this[120] = "VIRGIN ATLANTIC";
this[121] = "VIRGIN AUSTRALIA";
this[122] = "XIAMEN AIRLINES";
this[123] = "YAKUTIA AIR COMPANY";
this[124] = "YEMENIA YEMEN AIRWAYS";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>Times Out!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=6>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other Airline"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-46294169238299212242013-01-02T07:55:00.003-08:002013-01-03T08:37:45.447-08:00Currency<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
Currency</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 120;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "DOLLAR ABBESINIA";
this[1] = "AFGANI AFGHANISTAN";
this[2] = "RAND SOUTH AFRICA";
this[3] = "FRANC CENTRE AFRICA";
this[4] = "LEK ALBANIA";
this[5] = "DINAR ALJAZAIR";
this[6] = "US DOLLAR";
this[7] = "KWANZA ANGOLA";
this[8] = "PESO ARGENTINA";
this[9] = "DOLLAR AUSTRALIA";
this[10] = "SHILLING AUSTRIA";
this[11] = "TAKA BANGLADESH";
this[12] = "GULDEN NETHERLAND";
this[13] = "FRANC BELGIA";
this[14] = "BOLIVIARNUS BOLIVIA";
this[15] = "CRUZEIRO BRAZIL";
this[16] = "DOLLAR BRUNEI DARUSSALAM";
this[17] = "LEV BULGARIA";
this[18] = "DOLLAR CANADA";
this[19] = "KORUNA CEKOSLOVAKIA";
this[20] = "RUPEE CEYLON";
this[21] = "FRANC CHAD";
this[22] = "PESO CHILI";
this[23] = "YUAN CHINA";
this[24] = "KRONE DENMARK";
this[25] = "PESO DOMINIKA";
this[26] = "KOLON EL SAVADOR";
this[27] = "DIRHAM ARAB EMIRAT";
this[28] = "SUCRVE EQUADOR";
this[29] = "BIRR ETHIOPIA";
this[30] = "PESO PHILIPINNE";
this[31] = "MARKKA FINLANDIA";
this[32] = "CEDI GHANA";
this[33] = "QUEIZAL GUATEMALA";
this[34] = "COURDE HAITI";
this[35] = "LEMPIRA HONDURAS";
this[36] = "FORINT HONGARIA";
this[37] = "DOLLAR HONGKONG";
this[38] = "RUPEE INDIA";
this[39] = "RUPIAH INDONESIA";
this[40] = "POUND STERLING ENGLISH";
this[41] = "DINAR IRAK";
this[42] = "REAL IRAN";
this[43] = "POUND IRLANDIA";
this[44] = "KRONA ISLANDIA";
this[45] = "LIRE ITALY";
this[46] = "DOLLAR JAMAIKA";
this[47] = "YEN JAPAN";
this[48] = "DEUTSCHE MARK GERMANY";
this[49] = "RIEL CAMBODIA";
this[50] = "FRANC KONGO";
this[51] = "WON SOUTH KOREA";
this[52] = "WON NORTH KOREA";
this[53] = "PESO CUBA";
this[54] = "DINAR KUWAIT";
this[55] = "NEWKIP LAOS";
this[56] = "POUND LIBANON";
this[57] = "DOLLAR LIBERIA";
this[58] = "DINAR LIBIA";
this[59] = "FRANC LUXEMBURG";
this[60] = "RINGGIT MALAYSIA";
this[61] = "POUND MALVINAS";
this[62] = "DIRHAM MAROKO";
this[63] = "PESO MEKSIKO";
this[64] = "POUND MESIR";
this[65] = "FRANC MONACO";
this[66] = "TUGRIK MONGOLIA";
this[67] = "ESCUDO MOZAMBIK";
this[68] = "BATH MUANGTHAI";
this[69] = "KYAT MYANMAR";
this[70] = "RAND NAMIBIA";
this[71] = "RUPEE NEPAL";
this[72] = "DOLLAR NEW ZEALAND";
this[73] = "KORDOBA NICARAGUA";
this[74] = "NAIRA NIGERIA";
this[75] = "KROON NORWEGIA";
this[76] = "RIAL OMAN";
this[77] = "RUPEE PAKISTAN";
this[78] = "BALBOA PANAMA";
this[79] = "KINA PAPUA NUGINI";
this[80] = "GUARANI PARAGUAY";
this[81] = "FRANC FRENCH";
this[82] = "SOLE PERU";
this[83] = "ZLOTY POLANDIA";
this[84] = "ESCUDO PORTUGAL";
this[85] = "RIYAL QATAR";
this[86] = "LEU RUMANIA";
this[87] = "RUBEL RUSIA";
this[88] = "RUBLE RUSIA";
this[89] = "ROUBLE RUSIA";
this[90] = "RIYAL SAUDI ARABIA";
this[91] = "FRANC SENEGAL";
this[92] = "DOLLAR SINGAPORE";
this[93] = "POUND SIPRUS";
this[94] = "PESETA SPANYOL";
this[95] = "RUPEE SRILANKA";
this[96] = "POUND SUDAN";
this[97] = "POUND SURIAH";
this[98] = "GUILDER SURINAME";
this[99] = "KROON SWEDIA";
this[100] = "FRANC SWISS";
this[101] = "POUND SYRIA";
this[102] = "DOLLAR TAIWAN";
this[103] = "SHILLING TANZANIA";
this[104] = "BAHT THAILAND";
this[105] = "DINAR TUNISIA";
this[106] = "LIRA TURKI";
this[107] = "SHILLING UGANDA";
this[108] = "PESO URUGUAY";
this[109] = "LIRA VATIKAN";
this[110] = "BOLIVAR VENEZUELA";
this[111] = "DONG VIETNAM";
this[112] = "IMANI YAMAN";
this[113] = "DINAR YORDANIA";
this[114] = "DINAR YUGOSLAVIA";
this[115] = "DRACHMA YUNANI";
this[116] = "ZAIRE ZAIRE";
this[117] = "KWACHA ZAMBIA";
this[118] = "DOLLAR ZIMBABWE";
this[119] = "DOLLAR TIMOR LESTE";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>Times Out!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=6>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other CURRENCY"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-44455551366883493702013-01-01T07:23:00.001-08:002013-01-01T07:23:16.933-08:00Top Jazz Singers<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
Top Jazz Singers </h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 100;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "BILLIE HOLIDAY";
this[1] = "SARAH VAUGHAN";
this[2] = "ELLA FITZGERALD";
this[3] = "NAT KING COLE";
this[4] = "LOUIS ARMSTRONG";
this[5] = "NINA SIMONE";
this[6] = "DINAH WASHINGTON";
this[7] = "FRANK SINATRA";
this[8] = "CARMEN MCRAE";
this[9] = "JOHNNY HARTMAN";
this[10] = "ETTA JONES";
this[11] = "TONY BENNET";
this[12] = "ERNESTINE ANDERSON";
this[13] = "BETTY CARTER";
this[14] = "DIANA KRALL";
this[15] = "CASSANDRA WILSON";
this[16] = "ANITA O DAY";
this[17] = "SHIRLEY HORN";
this[18] = "BLOSSOM DEARIE";
this[19] = "NANCY WILSON";
this[20] = "ABBEY LINCOLN";
this[21] = "ASTRUD GILBERTO";
this[22] = "CHET BAKER";
this[23] = "BILLY ECKSTINE";
this[24] = "PEGGY LEE";
this[25] = "CHRIS CONNOR";
this[26] = "JUNE CHRISTY";
this[27] = "ETTA JAMES";
this[28] = "FREDDY COLE";
this[29] = "RAY CHARLES";
this[30] = "HARRY CONNICK JR";
this[31] = "NATALIE COLE";
this[32] = "LEE WILEY";
this[33] = "ANNIE ROSS";
this[34] = "JON HENDRICKS";
this[35] = "MICHAEL BUBLE";
this[36] = "MILDRED BAILEY";
this[37] = "BETTY ROCHE";
this[38] = "MEL TORME";
this[39] = "JERI SOUTHERM";
this[40] = "DIANE SCHUUR";
this[41] = "ROSEMARY CLOONEY";
this[42] = "MARK MURPHY";
this[43] = "CHAKA KHAN";
this[44] = "HELEN MERRIL";
this[45] = "CAROL SLOANE";
this[46] = "DEE DEE BRIDGEWATER";
this[47] = "MARY STALLINGS";
this[48] = "GLORIA LYNNE";
this[49] = "JIMMY RUSHING";
this[50] = "LENA HORNE";
this[51] = "EARTHA KITT";
this[52] = "AL JARREAU";
this[53] = "RICKI LEE JONES";
this[54] = "DIANE REEVES";
this[55] = "GEORGE BENSON";
this[56] = "ALBERTA HUNTER";
this[57] = "NNEENA FREELON";
this[58] = "JACK TEAGARDEN";
this[59] = "NORAH JONES";
this[60] = "STACY KENT";
this[61] = "ETHEL WATERS";
this[62] = "SHEILA JORDAN";
this[63] = "KARRIN ALYSON";
this[64] = "JO STAFFORD";
this[65] = "ELLA MAE MORSE";
this[66] = "EDDIE JEFFERSON";
this[67] = "OSCAR BROWN JR";
this[68] = "JOE WILLIAMS";
this[69] = "TEDDY GRACE";
this[70] = "ERNIE ANDREWS";
this[71] = "JIMMY SCOTT";
this[72] = "FATS WALLER";
this[73] = "CAB CALLOWAY";
this[74] = "LEON THOMAS";
this[75] = "CLEO LAINE";
this[76] = "MAXINE SULLIVAN";
this[77] = "VANESSA RUBIN";
this[78] = "LOUIS JORDAN";
this[79] = "AARON NEVILLE";
this[80] = "LOU RAWLS";
this[81] = "MARLENA SHAW";
this[82] = "IVIE ANDERSON";
this[83] = "LINDA RONSTADT";
this[84] = "RUTH BROWN";
this[85] = "KING PLEASURE";
this[86] = "JIMMY WITHERSPOON";
this[87] = "JANIS SIEGEL";
this[88] = "JOHN PIZZARELLI";
this[89] = "JOHNNY MERCER";
this[90] = "SUSANNAH MCCORKLE";
this[91] = "HELEN HUMES";
this[92] = "LAVERN BUTLER";
this[93] = "CONNEE BOSWELL";
this[94] = "BOB DOROUGH";
this[95] = "JAMIE CULLUM";
this[96] = "KEVIN MAHOGANY";
this[97] = "KURT ELLING";
this[98] = "DR JOHN";
this[99] = "BIG JOE TURNER";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>Times Out!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=6>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other singer"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-32659173533711160292013-01-01T00:27:00.001-08:002013-01-01T07:22:09.427-08:00Animals
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
Animals</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 189;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "AARDVARK";
this[1] = "ALLIGATOR";
this[2] = "ADDAX";
this[3] = "ALPACA";
this[4] = "ANTEATER";
this[5] = "ANTELOPE";
this[6] = "AOUDAD";
this[7] = "APE";
this[8] = "ARGALLI";
this[9] = "ARMADILLO";
this[10] = "ASS";
this[11] = "BABOON";
this[12] = "BADGER";
this[13] = "BASILISK";
this[14] = "BAT";
this[15] = "BEAR";
this[16] = "BEAVER";
this[17] = "BIGHORN";
this[18] = "BISON";
this[19] = "BOAR";
this[20] = "BUDGERIGAR";
this[21] = "BULL";
this[22] = "BUNNY";
this[23] = "BURRO";
this[24] = "CAMEL";
this[25] = "CANARY";
this[26] = "CAPYBARA";
this[27] = "CAT";
this[28] = "CHAMELEON";
this[29] = "CHAMOIS";
this[30] = "CHEETAH";
this[31] = "CHIMPANZEE";
this[32] = "CHINCHILLA";
this[33] = "CHIPMUNK";
this[34] = "CIVET";
this[35] = "COATI";
this[36] = "COLT";
this[37] = "CONY";
this[38] = "COUGAR";
this[39] = "COW";
this[40] = "COYOTE";
this[41] = "CROCODILE";
this[42] = "CROW";
this[43] = "DEER";
this[44] = "DINGO";
this[45] = "DOE";
this[46] = "DOG";
this[47] = "DONKEY";
this[48] = "DORMOUSE";
this[49] = "DROMEDARY";
this[50] = "DUCKBILL";
this[51] = "DUGONG";
this[52] = "ELAND";
this[53] = "ELEPHANT";
this[54] = "ELK";
this[55] = "ERMINE";
this[56] = "EWE";
this[57] = "FAWN";
this[58] = "FERRET";
this[59] = "FINCH";
this[60] = "FISH";
this[61] = "FOX";
this[62] = "GAZELLE";
this[63] = "GEMSBOK";
this[64] = "GILA";
this[65] = "MONSTER";
this[66] = "GIRAFFE";
this[67] = "GNU";
this[68] = "GOAT";
this[69] = "GOPHER";
this[70] = "GORILLA";
this[71] = "GRIZZLY";
this[72] = "BEAR";
this[73] = "GROUND";
this[74] = "HOG";
this[75] = "GUANACO";
this[76] = "GUINEA";
this[77] = "PIG";
this[78] = "HAMSTER";
this[79] = "HARE";
this[80] = "HARTEBEEST";
this[81] = "HEDGEHOG";
this[82] = "HIPPOPOTAMUS";
this[83] = "HOG";
this[84] = "HORSE";
this[85] = "HYENA";
this[86] = "IBEX";
this[87] = "IGUANA";
this[88] = "IMPALA";
this[89] = "JACKAL";
this[90] = "JAGUAR";
this[91] = "JERBOA";
this[92] = "KANGAROO";
this[93] = "KINKAJOU";
this[94] = "KITTEN";
this[95] = "KOALA";
this[96] = "KOODOO";
this[97] = "LAMB";
this[98] = "LEMUR";
this[99] = "LEOPARD";
this[100] = "LION";
this[101] = "LIZARD";
this[102] = "LLAMA";
this[103] = "LOVEBIRD";
this[104] = "LYNX";
this[105] = "MANDRILL";
this[106] = "MARE";
this[107] = "MARMOSET";
this[108] = "MINK";
this[109] = "MOLE";
this[110] = "MONGOOSE";
this[111] = "MONKEY";
this[112] = "MOOSE";
this[113] = "GOAT";
this[114] = "MOUSE";
this[115] = "MULE";
this[116] = "MUSK";
this[117] = "DEER";
this[118] = "MUSK OX";
this[119] = "MUSKRAT";
this[120] = "MUSTANG";
this[121] = "MYNAH";
this[122] = "BIRD";
this[123] = "NEWT";
this[124] = "OCELOT";
this[125] = "OKAPI";
this[126] = "KID";
this[127] = "OPOSSUM";
this[128] = "ORANGUTAN";
this[129] = "ORYX";
this[130] = "OTTER";
this[131] = "OX";
this[132] = "PANDA";
this[133] = "PANTHER";
this[134] = "PARAKEET";
this[135] = "PARROT";
this[136] = "PECCARY";
this[137] = "PIG";
this[138] = "PLATYPUS";
this[139] = "POLAR";
this[140] = "BEAR";
this[141] = "PONY";
this[142] = "PORCUPINE";
this[143] = "PORPOISE";
this[144] = "PRAIRIE";
this[145] = "DOG";
this[146] = "PRONGHORN";
this[147] = "PUMA";
this[148] = "PUPPY";
this[149] = "QUAGGA";
this[150] = "RABBIT";
this[151] = "RACCOON";
this[152] = "RAM";
this[153] = "RAT";
this[154] = "REINDEER";
this[155] = "REPTILE";
this[156] = "RHINOCEROS";
this[157] = "ROEBUCK";
this[158] = "SALAMANDER";
this[159] = "SEAL";
this[160] = "SHEEP";
this[161] = "SHREW";
this[162] = "SKUNK";
this[163] = "FOX";
this[164] = "SLOTH";
this[165] = "SNAKE";
this[166] = "SPRINGBOK";
this[167] = "SQUIRREL";
this[168] = "STALLION";
this[169] = "STEER";
this[170] = "TAPIR";
this[171] = "TIGER";
this[172] = "TOAD";
this[173] = "TURTLE";
this[174] = "VICUNA";
this[175] = "WALRUS";
this[176] = "WARTHOG";
this[177] = "WATERBUCK";
this[178] = "WEASEL";
this[179] = "WHALE";
this[180] = "WILDCAT";
this[181] = "WOLF";
this[182] = "WOLVERINE";
this[183] = "WOMBAT";
this[184] = "WOODCHUCK";
this[185] = "YAK";
this[186] = "ZEBRA";
this[187] = "ZEBU";
this[188] = "FROG";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>Times Out!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=8>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other animal"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-61165459537414572232012-12-30T22:21:00.001-08:002013-01-05T08:51:39.714-08:00World Countries<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
World Countries</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 246;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "ANDORRA";
this[1] = "UNITED ARAB EMIRATE";
this[2] = "AFGHANISTAN";
this[3] = "ANTIGUA";
this[4] = "BARBUDA";
this[5] = "ANGUILLA";
this[6] = "ALBANIA";
this[7] = "ARMENIA";
this[8] = "NETHERLANDS ANTILLES";
this[9] = "ANGOLA";
this[10] = "ARGENTINA";
this[11] = "AMERICAN SAMOA";
this[12] = "AUSTRIA";
this[13] = "AUSTRALIA";
this[14] = "ARUBA";
this[15] = "AZERBAIJAN";
this[16] = "BOSNIA HERZEGOVINA";
this[17] = "BARBADOS";
this[18] = "BANGLADESH";
this[19] = "BELGIUM";
this[20] = "BURKINA FASO";
this[21] = "BULGARIA";
this[22] = "BAHRAIN";
this[23] = "BURUNDI";
this[24] = "BENIN";
this[25] = "BERMUDA";
this[26] = "BRUNEI DARUSSALAM";
this[27] = "BOLIVIA";
this[28] = "BRAZIL";
this[29] = "BAHAMAS";
this[30] = "BHUTAN";
this[31] = "BOTSWANA";
this[32] = "BELARUS";
this[33] = "BELIZE";
this[34] = "CANADA";
this[35] = "CURACAO";
this[36] = "COCOS KEELING ISLAND";
this[37] = "DEMOCRATIC REPUBLIC OF THE CONGO";
this[38] = "CENTRAL AFRICAN REPUBLIC";
this[39] = "CONGO";
this[40] = "SWITZERLAND";
this[41] = "COTE DIVOIRE";
this[42] = "COOK ISLAND";
this[43] = "CHILLE";
this[44] = "CAMEROON";
this[45] = "CHINA";
this[46] = "COLOMBIA";
this[47] = "COSTA RICA";
this[48] = "CUBA";
this[49] = "CAPE VERDE";
this[50] = "CHRISTMAS ISLAND";
this[51] = "CYPRUS";
this[52] = "CZECH REPUBLIC";
this[53] = "REPUBLIC OF GERMANY";
this[54] = "DJIBOUTI";
this[55] = "DENMARK";
this[56] = "DOMINICA";
this[57] = "DOMINICAN REPUBLIC";
this[58] = "ALGERIA";
this[59] = "ECUADOR";
this[60] = "ESTONIA";
this[61] = "EGYPT";
this[62] = "ERITREA";
this[63] = "SPAIN";
this[64] = "ETHIOPHIA";
this[65] = "FINLAND";
this[66] = "FIJI";
this[67] = "FALKLAND ISLANDS MALVINAS";
this[68] = "FEDERATED STATES OF MICRONESIA";
this[69] = "FAEROE ISLAND";
this[70] = "FRANCE";
this[71] = "GABON";
this[72] = "UNITED KINGDOM";
this[73] = "GRENADA";
this[74] = "GEORGIA";
this[75] = "FRENCH GUIANA";
this[76] = "GHANA";
this[77] = "GIBRALTAR";
this[78] = "GREENLAND";
this[79] = "GAMBIA";
this[80] = "GUINEA";
this[81] = "GUADELOUPE";
this[82] = "EQUATORIAL GUINEA";
this[83] = "GREECE";
this[84] = "SOUTH GEORGIA AND THE SOUTH SA";
this[85] = "GUATEMALA";
this[86] = "GUAM";
this[87] = "GUINEA BISSAU";
this[88] = "GUYANA";
this[89] = "HONG KONG";
this[90] = "HONDURAS";
this[91] = "CROATIA";
this[92] = "HAITI";
this[93] = "HUNGARIA";
this[94] = "INDONESIA";
this[95] = "IRELAND";
this[96] = "ISRAEL";
this[97] = "INDIA";
this[98] = "BRITISH INDIAN OCEAN TERRITORY";
this[99] = "IRAQ";
this[100] = "ISLAMIC REPUBLIC OF IRAN";
this[101] = "ICELAND";
this[102] = "ITALY";
this[103] = "JAMAICA";
this[104] = "JORDAN";
this[105] = "JAPAN";
this[106] = "KENYA";
this[107] = "KYRGYZSTAN";
this[108] = "CAMBODIA";
this[109] = "KIRIBATI";
this[110] = "COMOROS";
this[111] = "SAINT KITTS AND NEVIS";
this[112] = "DEMOCRATIC PEOPLES REPUBLIC OF KOREA";
this[113] = "REPUBLIC OF KOREA";
this[114] = "KUWAIT";
this[115] = "CAYMAN ISLANDS";
this[116] = "KAZAKHSTAN";
this[117] = "LAO PEOPLES DEMOCRATIC REPUBLIC";
this[118] = "LEBANON";
this[119] = "SAINT LUCIA";
this[120] = "LIECHTENSTEIN";
this[121] = "SRI LANGKA";
this[122] = "LIBERIA";
this[123] = "LESOTHO";
this[124] = "LITHUANIA";
this[125] = "LUXEMBOURG";
this[126] = "LATVIA";
this[127] = "LIBYAN ARAB JAMAHIRIYA";
this[128] = "MOROCCO";
this[129] = "MONACO";
this[130] = "REPUBLIC OF MOLDOVA";
this[131] = "MONTENEGRO";
this[132] = "MADAGASCAR";
this[133] = "MARSHALL ISLAND";
this[134] = "REPUBLIC OF MACEDONIA";
this[135] = "MALI";
this[136] = "MYANMAR FORM BURMA";
this[137] = "MONGOLIA";
this[138] = "MACAU";
this[139] = "NORTHERN MARIANA ISLAND";
this[140] = "MARTINIQUE";
this[141] = "MAURITANIA";
this[142] = "MONTSERRAT";
this[143] = "MALTA";
this[144] = "MAURITIUS";
this[145] = "MALDIVES";
this[146] = "MALAWI";
this[147] = "MEXICO";
this[148] = "MALAYSIA";
this[149] = "MOZAMBIQUE";
this[150] = "NAMIBIA";
this[151] = "NEW CALEDONIA";
this[152] = "NIGER";
this[153] = "NORFOLK ISLAND";
this[154] = "NIGERIA";
this[155] = "NICARAGUA";
this[156] = "NETHERLAND";
this[157] = "NORWAY";
this[158] = "NEPAL";
this[159] = "NAURU";
this[160] = "NIUE";
this[161] = "NEW ZEALAND";
this[162] = "OTH NORTH AMERICA";
this[163] = "OTH C S AMERICA";
this[164] = "OTH WEST ASIA";
this[165] = "OTH WEST EUROPE";
this[166] = "OTHER AFRICA";
this[167] = "OMAN";
this[168] = "OTH OCEANIA";
this[169] = "OTH SOUTH AND S E ASIA";
this[170] = "OTHER EAST ASIA";
this[171] = "PANAMA";
this[172] = "PERU";
this[173] = "FRENCH POLYNESIA";
this[174] = "PAPUA NEW GUINEA";
this[175] = "PHILIPPINES";
this[176] = "PAKISTAN";
this[177] = "POLAND";
this[178] = "PALESTINA";
this[179] = "PUERTO RICO";
this[180] = "PORTUGAL";
this[181] = "PALAU";
this[182] = "PARAGUAY";
this[183] = "QATAR";
this[184] = "REUNION";
this[185] = "ROMANIA";
this[186] = "SERBIA";
this[187] = "RUSSIA FEDERATION";
this[188] = "RWANDA";
this[189] = "SAUDI ARABIA";
this[190] = "SOLOMON ISLANDS";
this[191] = "SEYCHELLES";
this[192] = "SUDAN";
this[193] = "SWEDEN";
this[194] = "SINGAPORE";
this[195] = "SAINT HELENA";
this[196] = "SLOVENIA";
this[197] = "SLOVAKIA";
this[198] = "SIERRA LEONE";
this[199] = "SAN MARINO";
this[200] = "SENEGAL";
this[201] = "SOMALIA";
this[202] = "SURINAME";
this[203] = "SAO TOME AND PRINCIPE";
this[204] = "FORMER USSR";
this[205] = "EL SAVADOR";
this[206] = "SYRIA ARAB REPUBLIC";
this[207] = "SWAZILAND";
this[208] = "TURKS AND CAICOS ISLAND";
this[209] = "CHAD";
this[210] = "TOGO";
this[211] = "THAILAND";
this[212] = "TAJIKISTAN";
this[213] = "TOKELAU";
this[214] = "EAST TIMOR";
this[215] = "TURKMENISTAN";
this[216] = "TUNISIA";
this[217] = "TONGA";
this[218] = "TURKEY";
this[219] = "TRINIDAD AND TOBAGO";
this[220] = "TUVALU";
this[221] = "TAIWAN";
this[222] = "UNITED REPUBLIC OF TANZANIA";
this[223] = "UKRAINE";
this[224] = "UGANDA";
this[225] = "UNITED STATES MINOR OUTLYING ISLAND";
this[226] = "UNITED STATED";
this[227] = "URUGUAY";
this[228] = "UZBEKISTAN";
this[229] = "VATICAN CITY STATE HOLY SEE";
this[230] = "SAINT VINCENT AND THE GRENADINES";
this[231] = "VENEZUELA";
this[232] = "VIRGIN ISLANDS BRITISH";
this[233] = "US VIRGIN ISLAND";
this[234] = "VIETNAM";
this[235] = "VANUATU";
this[236] = "WALLIS AND FUTUNA ISLANDS";
this[237] = "SAMOA";
this[238] = "P DEM REP OF YEMEN";
this[239] = "YEMEN";
this[240] = "YOGOSLAVIA";
this[241] = "SOUTH AFRICA";
this[242] = "ZAMBIA";
this[243] = "ZAIRE";
this[244] = "ZIMBABWE";
this[245] = "WESTERN SAHARA";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "J") {
document.write('<font color=red size=4>Times Out!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=8>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="Other Country"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0tag:blogger.com,1999:blog-1001939469277065113.post-12251457473843620642012-12-30T22:18:00.000-08:002012-12-31T06:56:13.346-08:00President of United Stated
<BODY>
<center>
<table border=0 bgcolor=white width=60% cellspacing=0>
<tr><td>
<center>
<h2><font color=grey>Hangman!</font></h2><br>
<b><h3><font color=blue>Category:</font>
Presidents of The United States</h3></b>
<hr><br>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getCookie (name) {
var dcookie = document.cookie;
var cname = name + "=";
var clen = dcookie.length;
var cbegin = 0;
while (cbegin < clen) {
var vbegin = cbegin + cname.length;
if (dcookie.substring(cbegin, vbegin) == cname) {
var vend = dcookie.indexOf (";", vbegin);
if (vend == -1) vend = clen;
return unescape(dcookie.substring(vbegin, vend));
}
cbegin = dcookie.indexOf(" ", cbegin) + 1;
if (cbegin == 0) break;
}
return null;
}
function setCookie (name, value, expires) {
if (!expires) expires = new Date();
document.cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function delCookie (name) {
var expireNow = new Date();
document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
var Alphabet = new initAlphaArray()
var NumOfWords = 42;
var SaveData = "";
var ImageNum = "";
var LettersSelected = "";
var RandomWord = "";
var DisplayWord = "";
var position = 0;
var word = new WordList();
var expdate = new Date();
var RandomNumber = (expdate.getSeconds())%NumOfWords;
function initAlphaArray() {
this.length = 26
this[0] = "A"
this[1] = "B"
this[2] = "C"
this[3] = "D"
this[4] = "E"
this[5] = "F"
this[6] = "G"
this[7] = "H"
this[8] = "I"
this[9] = "J"
this[10] = "K"
this[11] = "L"
this[12] = "M"
this[13] = "N"
this[14] = "O"
this[15] = "P"
this[16] = "Q"
this[17] = "R"
this[18] = "S"
this[19] = "T"
this[20] = "U"
this[21] = "V"
this[22] = "W"
this[23] = "X"
this[24] = "Y"
this[25] = "Z"
}
function WordList() {
this.length = NumOfWords;
this[0] = "GEORGE WASHINGTON";
this[1] = "JOHN ADAMS";
this[2] = "THOMAS JEFFERSON";
this[3] = "JAMES MADISON";
this[4] = "JAMES MONROE";
this[5] = "JOHN QUINCY ADAMS";
this[6] = "ANDREW JACKSON";
this[7] = "MARTIN VAN BUREN";
this[8] = "WILLIAM HENRY HARRISON";
this[9] = "JOHN TYLER";
this[10] = "JAMES POLK";
this[11] = "ZACHARY TAYLOR";
this[12] = "MILLARD FILLMORE";
this[13] = "FRANKLIN PIERCE";
this[14] = "JAMES BUCHANAN";
this[15] = "ABRAHAM LINCOLN";
this[16] = "ANDREW JOHNSON";
this[17] = "ULYSSES GRANT";
this[18] = "RUTHERFORD HAYES";
this[19] = "JAMES GARFIELD";
this[20] = "CHESTER ARTHUR";
this[21] = "GROVER CLEVELAND";
this[22] = "BENJAMIN HARRISON";
this[23] = "GROVER CLEVELAND";
this[24] = "WILLIAM MCKINLEY";
this[25] = "THEODORE ROOSEVELT";
this[26] = "WILLIAM HOWARD TAFT";
this[27] = "WOODROW WILSON";
this[28] = "WARREN HARDING";
this[29] = "CALVIN COOLIDGE";
this[30] = "HERBERT HOOVER";
this[31] = "FRANKLIN ROOSEVELT";
this[32] = "HARRY TRUMAN";
this[33] = "DWIGHT EISENHOWER";
this[34] = "JOHN KENNEDY";
this[35] = "LYNDON JOHNSON";
this[36] = "RICHARD NIXON";
this[37] = "GERALD FORD";
this[38] = "JIMMY CARTER";
this[39] = "RONALD REAGAN";
this[40] = "GEORGE BUSH";
this[41] = "BILL CLINTON";
}
function availableLetters(i) {
if (LettersSelected.charAt(i)==Alphabet[i])
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
'<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
'\')">'+Alphabet[i]+'</A></B></TD>');
else
document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
}
function LoadNextPage(selected,letter) {
var j=0;
var HoldLettersSelected = LettersSelected;
LettersSelected = "";
if (selected == 0) {
for (j=1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected = "^" + LettersSelected;
}
else if (selected == 25) {
for (j=0; j<=24; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
}
else {
for (j=0; j<selected; j++)
{
LettersSelected += HoldLettersSelected.charAt(j);
}
LettersSelected += "^";
for (j=selected+1; j<=25; j++) {
LettersSelected += HoldLettersSelected.charAt(j);
}
}
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
history.go(0);
}
// Sets a cookie that will expire in 10 days
expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
if(getCookie("_HangMan") == null)
{
ImageNum = "A";
LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
RandomWord = word[RandomNumber];
SaveData = ImageNum + LettersSelected + RandomWord + "*";
setCookie("_HangMan", SaveData, expdate);
}
else {
SaveData = getCookie("_HangMan");
ImageNum = SaveData.charAt(0);
for (position=1; position<=26; position++) {
LettersSelected += SaveData.charAt(position);
}
for (position=27; position<SaveData.indexOf("*"); position++) {
RandomWord += SaveData.charAt(position);
}
}
DisplayWord = "";
for (i=0; i<RandomWord.length; i++) {
if (RandomWord.charAt(i) == ' ') {
DisplayWord += " ";
}
else {
MatchFound = false;
for (j=0; j<=25; j++) {
if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
DisplayWord += RandomWord.charAt(i);
MatchFound = true;
}
}
if (!MatchFound) DisplayWord += "-";
}
}
if (ImageNum == "j") {
document.write('<font color=red size=10>TIMES OUT!<br>Answer: "' + RandomWord + '"</font>');
}
else if (RandomWord == DisplayWord) {
document.write('<font color=green size=6>You Are Correct!</font>');
}
else {
document.write('<table>');
document.write('<tr>');
for (i=0; i<13; i++) availableLetters(i);
document.write('</tr>');
document.write('<tr>');
for (i=13; i<26; i++) availableLetters(i);
document.write('</tr>');
document.write('</table>');
}
document.write('<br>');
document.write('<br>');
document.write('<font size=9><tt>');
document.write(DisplayWord);
document.write('</tt></font>');
document.write('<form>');
document.write('<input type="button" VALUE="NEXT PRESIDENT"'+
'onClick="delCookie(\'_HangMan\');history.go(0);">');
document.write('</form>');
document.write('</center>');
// End -->
</SCRIPT>
</td></tr>
</table>
</center>
</BODY>
<div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
Indra Gunawanhttp://www.blogger.com/profile/04786909327952789248noreply@blogger.com0