
 //----------------------------------------------------------------!-->
 //-- This JavaScript-code is Copyright protected by Vedran A. 1999
 //-- You may not use it before asking me forst. Thanks!

 //-- When adding games change max=?, nam[?], rng[?]=?, top10(?...)
 //-- also add cop and lnk (check below for further instructions)
 //----------------------------------------------------------------!-->

 var max = 27;		// max number of games

 var sel = 1;		// SELected game for preview

 var nam = new Array();	// NAMe of the game
 var rng = new Array();	// RaNGe 1-5, how good is the game

 var txt = new Array();	// TeXT description
 var cop = new Array();	// COPyright owner of the game
 var lnk = new Array();	// LiNK to copyrightowner

 var hor = new Array();	// Open game Window HORizontal dimensions
 var ver = new Array();	// Open game Window VERtical dimensions

 nam[1]='4inrow';
 nam[2]='basket';
 nam[3]='bones';
 nam[4]='bones2';
 nam[5]='checkers';
 nam[6]='cross';
 nam[7]='deadman';
 nam[8]='dugout';
 nam[9]='galtag';
 nam[10]='guppy';
 nam[11]='iceblox';
 nam[12]='jigsaw';
 nam[13]='longball';
 nam[14]='mastmind';
 nam[15]='noids';
 nam[16]='poker';
 nam[17]='puzzle';
 nam[18]='rubiks';
 nam[19]='sleeper';
 nam[20]='solitair';
 nam[21]='splat';
 nam[22]='starwars';
 nam[23]='tictac';
 nam[24]='tiler';
 nam[25]='warp';
 nam[26]='warp15';
 nam[27]='yahtzee';

 rng[1]='4';
 rng[2]='5';
 rng[3]='2';
 rng[4]='3';
 rng[5]='2';
 rng[6]='4';
 rng[7]='1';
 rng[8]='3';
 rng[9]='2';
 rng[10]='1';
 rng[11]='2';
 rng[12]='2';
 rng[13]='1';
 rng[14]='2';
 rng[15]='4';
 rng[16]='5';
 rng[17]='3';
 rng[18]='5';
 rng[19]='1';
 rng[20]='2';
 rng[21]='1';
 rng[22]='2';
 rng[23]='1';
 rng[24]='2';
 rng[25]='4';
 rng[26]='5';
 rng[27]='2';

 txt[1]='You play against the computer in this classic 4 in row game.. Just click to rastart and try again.';
 txt[2]='Two player mode. To shoot you have to leftclick inside the ball and drag the mouse...';
 txt[3]='Bones är a softer variant of hangman, instead of hanging someone you wake up a dog';
 txt[4]='Hide 15 bones and 5 rotted fish in your backyard. Butch will do the same.';
 txt[5]='Made in JavaScript. See if the opponent can jump you and try to prevent it';
 txt[6]='a platform game with a twist inspired by the semi-classic Nebulus from 1987.';
 txt[7]='It is easy.  Kill the enemies before they kill you.  There is 10 levels and you have 3 lives.';
 txt[8]='the classic game Dig Dug. Fans of Iceblox will probably dig this one too.';
 txt[9]='You must pilot a small sphere and roam around space touching flashing yellow blinkers. cool';
 txt[10]='Try and guess which guppy will out swim the others and get the Crown of Victory!!! ';
 txt[11]='like the popular early eighties arcade game called Pengo. Fairly enjoyable...';
 txt[12]='a jigsaw puzzle in JavaScriptA classic puzzle-game. Maximum size for the puzzle is 9x9';
 txt[13]='It is home run derby.  Select a difficulty, press the Play button and swing away. ';
 txt[14]='The object of this game is to guess the sequence of four colored pegs the computer has selected .';
 txt[15]='Prepare to explore the widths and depths of a city full of homicidal robots. !!!';
 txt[16]='Made in JavaScript. One pair, Two pairs, Three of a kind, Straight, Flush ... Royal straight flush !!!';
 txt[17]='this auto-solving version is pretty good for something that has been done to death. ';
 txt[18]='Rubiks Cube in full 3D.. A complete solution is also available on this page.';
 txt[19]='Tryi to get _everyone_ asleep at the same time. What happens if you do??? ';
 txt[20]='A marble solitaire game.. Simple and not... Try to get out of this one...';
 txt[21]='keep smiley from stealing all your loot.  There are 10 rounds, and smiley gets quicker each round.';
 txt[22]='Cool name but it does not deserve it. Only the sound remines of a strars-effect.';
 txt[23]='This is way too easy or difficult. Sometimes imposible to win or loose. 4 in row would be better.';
 txt[24]='The classic tiler game with a picture instead of numbers.';
 txt[25]='An action game and you do not need intelligence to play it. Just shoot your way throw.';
 txt[26]='An improved version of Warp. Better graphic, better action and better levels...';
 txt[27]='Play Yahtzee on your computer using Java technology.';

 cop[1] ='Sven Wiebus';
 cop[2] ='Piet Jonas';
 cop[3] ='John McKendrick';
 cop[4] ='John McKendrick';
 cop[5] ='-';
 cop[6] ='Karl Hörnell';
 cop[7] ='John Morris';
 cop[8] ='Karl Hörnell';
 cop[9] ='Steve A. Baker';
 cop[10] ='Steve A. Baker';
 cop[11] ='Karl Hörnell';
 cop[12] ='Ben Reynolds';
 cop[13] ='John Morris';
 cop[14] ='Karl Hörnell';
 cop[15] ='Karl Hörnell';
 cop[16] ='Håkon Stordahl';
 cop[17] ='Karl Hörnell';
 cop[18] ='Karl Hörnell';
 cop[19] ='Steve A. Baker';
 cop[20] ='Karl Hörnell';
 cop[21] ='John Morris';
 cop[22] ='Steve A. Baker';
 cop[23] ='Arthur van Hoff';
 cop[24] ='Ben Reynolds';
 cop[25] ='Karl Hörnell';
 cop[26] ='Karl Hörnell';
 cop[27] ='Dan Seidman';

 lnk[1] = '-';
 lnk[2] = 'http://www.physik.uni-greifswald.de/~jonas';
 lnk[3] = 'http://www.teilhard.com';
 lnk[4] = 'http://www.teilhard.com';
 lnk[5] = '-';
 lnk[6] = 'http://www.tdb.uu.se/~karl/';
 lnk[7] = 'http://sabgames.com/';
 lnk[8] = 'http://www.tdb.uu.se/~karl/';
 lnk[9] = 'http://sabgames.com/';
 lnk[10] = 'http://sabgames.com/';
 lnk[11] = 'http://www.tdb.uu.se/~karl/';
 lnk[12] = 'mailto:smallpox@yoyo.cc.monash.edu.au';
 lnk[13] = 'http://sabgames.com/';
 lnk[14] = 'http://www.tdb.uu.se/~karl/';
 lnk[15] = 'http://www.tdb.uu.se/~karl/';
 lnk[16] = 'http://stordahl.home.ml.org/';
 lnk[17] = 'http://www.tdb.uu.se/~karl/';
 lnk[18] = 'http://www.tdb.uu.se/~karl/';
 lnk[19] = 'http://sabgames.com/';
 lnk[20] = 'http://www.tdb.uu.se/~karl/';
 lnk[21] = 'http://sabgames.com/';
 lnk[22] = 'http://sabgames.com/';
 lnk[23] = 'http://java.sun.com/';
 lnk[24] = '-';
 lnk[25] = 'http://www.tdb.uu.se/~karl/';
 lnk[26] = 'http://www.tdb.uu.se/~karl/';
 lnk[27] = '-';

 hor[1] = 360 ;
 hor[2] = 420 ;
 hor[3] = 420 ;
 hor[4] = 450 ;
 hor[5] = 400 ;
 hor[6] = 440 ;
 hor[7] = 350 ;
 hor[8] = 402 ;
 hor[9] = 440 ;
 hor[10] = 440 ;
 hor[11] = 420 ;
 hor[12] = 420 ;
 hor[13] = 450 ;
 hor[14] = 410 ;
 hor[15] = 410 ;
 hor[16] = 420 ;
 hor[17] = 234 ;
 hor[18] = 280 ;
 hor[19] = 440 ;
 hor[20] = 420 ;
 hor[21] = 420 ;
 hor[22] = 440 ;
 hor[23] = 220 ;
 hor[24] = 420 ;
 hor[25] = 420 ;
 hor[26] = 420 ;
 hor[27] = 540 ;

 ver[1] = 342 ;
 ver[2] = 420 ;
 ver[3] = 415 ;
 ver[4] = 470 ;
 ver[5] = 400 ;
 ver[6] = 520 ;
 ver[7] = 430 ;
 ver[8] = 422 ;
 ver[9] = 540 ;
 ver[10] = 630 ;
 ver[11] = 420 ;
 ver[12] = 420 ;
 ver[13] = 450 ;
 ver[14] = 500 ;
 ver[15] = 400 ;
 ver[16] = 400 ;
 ver[17] = 349 ;
 ver[18] = 320 ;
 ver[19] = 640 ;
 ver[20] = 360 ;
 ver[21] = 400 ;
 ver[22] = 530 ;
 ver[23] = 220 ;
 ver[24] = 400 ;
 ver[25] = 420 ;
 ver[26] = 450 ;
 ver[27] = 500 ;

