<!--
var info = self.location.search;
//var lang = "fr";
var layer = 0;

tinfo = info.substring( info.indexOf("?")+1 ).split("&");
for (i=0; i<tinfo.length; i++) {
  tt = tinfo[i].split("=");
  if (tt[0]=="lang") lang = tt[1]; else
  if (tt[0]=="layer") layer = tt[1]; 
}

ww = 850;
hh = 700;

document.writeln( '<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ');
document.writeln( '  width="'+ww+'" height="'+hh+'" align="baseline" ');
document.writeln( '  codebase="http://java.sun.com/products/plugin/1.4/jinstall-14-win32.cab#Version=1,4,1,mn">');
document.writeln( '    <PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.4">');
document.writeln( '    <PARAM NAME="scriptable" VALUE="true">');
document.writeln( '    <PARAM NAME="code" VALUE="Mahjongg.class">');
document.writeln( '    <PARAM NAME="archive" VALUE="mahjongg.jar">');
document.writeln( '    <PARAM NAME="codebase" VALUE=".">');
document.writeln( '    <param name="language" value="'+lang+'">');
document.writeln( '    <param name="layer" value="'+layer+'">');
document.writeln( '  No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!');
document.writeln( '</OBJECT>');
//-->


