<!--

var nu=navigator.userAgent;
var bro='Browser must be Netscape 3.0, 4.0 or Explorer 4.0, 5.0 to play this game!';
var bro2='Sorry, "Colors" variant of this game works properly only in ms IE browser. Try "Pictures" variant!';
var bro3='Sorry, this game is not WebTV compatible';
var bro4='Sorry, this game works properly only in ms Internet Explorer!';

msie5=(document.all); msie=msie5;
msie50=(nu.indexOf("MSIE 5.0") != -1);
msie55=(nu.indexOf("MSIE 5.5") != -1);

if(nu.indexOf("WebTV") != -1)
{
alert('Redirecting to WebTV compatible games...')
top.document.location.href='http://www.alex-soft.net/ttrstv.html';
}

function scr()
{
if(msie)
{
swin=window.open("http://www.alex-soft.net/scrmbl.html","sc","toolbar=0,location=1,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=430,height=370,left="+Math.floor((screen.width-430)/2)+",top=20");
}
else
{
swin=window.open("http://www.alex-soft.net/scrmbl.html","sc","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=430,height=360");
}
}

function tet() 
{
if(!msie)
{
twin=window.open("http://www.alex-soft.net/ttrs.html","te1","toolbar=0,location=1,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=525,height=520");
}
else
{
twin=window.open("http://www.alex-soft.net/ttrs.html","te1","toolbar=0,location=1,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=525,height=520,left="+Math.floor((screen.width-515)/2)+",top=0");
}
}

function tet2(ss) 
{
if(msie)
{
twin2=window.open("http://www.alex-soft.net/ttrs2p.html","tep2","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500,height=445,left="+Math.floor((screen.width-500)/2)+",top=20");
}
else
{
twin2=window.open("http://www.alex-soft.net/ttrs2pn.html","tep2","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=575,height=475");
}
}

function ctet() 
{
cwin=window.open("http://www.alex-soft.net/cttrs.html","cte1","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=520,height=520,left="+Math.floor((screen.width-520)/2)+",top=10");
}

function rtet() 
{
if(msie)
{
rwin=window.open("http://www.alex-soft.net/rttrs.html","ter","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=555,height=555,left="+Math.floor((screen.width-555)/2)+",top=0");
}
else alert(bro4);
}

function scriptr() 
{
if(msie)
{
scwin=window.open("http://www.alex-soft.net/scriptris.html","tetr2001","toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=525,height=460,left="+Math.floor((screen.width-555)/2)+",top=20");
}
else alert(bro4);
}

function lin() 
{
lwin=window.open("http://www.alex-soft.net/lines.html","li","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=470,height=500,left="+Math.floor((screen.width-515)/2)+",top=20");
}

function tet2pla() 
{
if(msie)
{
tpwin=window.open("http://www.alex-soft.net/tet2pl.html","te2pl1","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=700,height=490,left="+Math.floor((screen.width-700)/2)+",top=20");
}
else alert(bro4);
}

function tettrei() 
{
if(msie)
{
ttwin=window.open("http://www.alex-soft.net/tettre.html","tetre1","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=725,height=490,left="+Math.floor((screen.width-725)/2)+",top=20");
}
else alert(bro4);
}

function tetmail() 
{
if(msie)
{
tmwin=window.open("http://www.alex-soft.net/tetrismail.html","tetm","toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=750,height=480,left="+Math.floor((screen.width-750)/2)+",top=20");
}
else alert(bro4);
}

function tetcom() 
{
if(msie)
{
tcomwin=window.open("http://www.alex-soft.net/tetris/","li","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=780,height=580,left="+Math.floor((screen.width-780)/2)+",top=0");
}
else alert(bro4);
}

function blp() 
{
if(document.all)
{
window.open("http://www.alex-soft.net/blip4.html","blp","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=645,height=540,left="+Math.floor((screen.width-645)/2)+",top=0");
}
else
{
window.open("http://www.alex-soft.net/blip4.html","blp","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=645,height=540");
}
}

function mem() 
{
mwin=window.open("http://www.alex-soft.net/memory.html","me","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=660,height=470,left="+Math.floor((screen.width-660)/2)+",top=20");
}

function hop() 
{
hwin=window.open("http://igri.info/onlinegames/hopover.asp","ho","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}

function peg() 
{
if(msie)
{
pwin=window.open("http://www.alex-soft.net/pegged.html","pe","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=430,height=420,left="+Math.floor((screen.width-400)/2)+",top=20");
}
else 
{
pwin=window.open("http://www.alex-soft.net/pegged4.html","pe","toolbar=0,location=1,directories=0,status=0,menubar=1,scrollbars=1,resizable=0,width=430,height=420");
}
}

function fiv() 
{
if(msie)
{
fwin=window.open("http://www.alex-soft.net/fiver.html","fi","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=320, height=500,left="+Math.floor((screen.width-300)/2)+",top=10");
}
else
{
fwin=window.open("http://www.alex-soft.net/fiver.html","te","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=325,height=500");
}
}

function wor()
{
if(msie)
{
window.open("http://www.alex-soft.net/online/worm/matli.html","_blank","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=1,width=725,height=525,left="+Math.floor((screen.width-725)/2)+",top=0");
}
else alert(bro4)
}

function mona() 
{
mwin=window.open("http://www.alex-soft.net/online/card/monaco.html","me","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=720,height=585,left="+Math.floor((screen.width-720)/2)+",top=10");
}

function mont() 
{
mnwin=window.open("http://www.alex-soft.net/online/card/montecarlo.html","mt","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=720,height=585,left="+Math.floor((screen.width-720)/2)+",top=10");
}

function mahj() 
{
mjwin=window.open("http://www.mah-jongg.ch","ma","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}

function lincgi() 
{
if(msie)
{
lcwin=window.open("http://igri.info/lines/","ter","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function colorcgi() 
{
if(msie)
{
clwin=window.open("http://igri.info/color/","coltet","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function colorbar() 
{
if(msie)
{
clwin=window.open("http://igri.info/bar/","coltet","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function jsbs() 
{
if(msie)
{
bswin=window.open("http://igri.info/bs/","bs","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function tonl()
{
if(msie)
{
bswin=window.open("http://igri.info/tetris-online/","bs","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function soko() 
{
if(msie)
{
sokowin=window.open("http://igri.info/sokoman/","bs","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function bscgi()
{
if(msie)
{
open("http://igri.info/ballswapper/","coltet","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function clicking() 
{
if(msie)
{
open("http://igri.info/clicking/","coltet","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}
else alert(bro4);
}

function mixup()
{
window.open('http://www.quazzle.com/page/scores?id=mixup&gid=4',"_blank","width=500,height=375,resizable=0,toolbar=0,location=0,status=0,menubar=0,left="+Math.floor((screen.width-500)/2)+",top=50");
}

function groovy()
{
window.open("http://www.games-soft.net/online/get_groovy/","_blank","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}

function fusion()
{
window.open("http://www.games-soft.net/online/fusion/","_blank","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
}

//-->