
function boing(width, height, blobFile, blobName) {
	if (navigator.javaEnabled()) {
	  if (width == null) {
	    width = 200;
	  }
	  if (height == null) {
	    height = 200;
	  }

	  document.open("text/html");
	  document.write("<div>");
	  document.write("<applet code=boing.Boing.class codebase=. archive=boing.jar width=" + width + " height=" + height + ">");
	  if ((blobFile != null) && (blobFile.length > 0)) {
	    document.write("<param name=blob.file value=" + blobFile + ">");
	  }
	  if ((blobName != null) && (blobName.length > 0)) {
	    document.write("<param name=blob.name value=" + blobName + ">");
	  }
	  document.write("</applet>");
	  document.write("</div>");
	  document.close();
	} else {
	  document.open("text/html");
	  document.write("<div align=center>");
	  document.write("<font color='#666666' size=2 face='Arial, Helvetica, sans-serif'><br>more here with<br>JavaScript and Java enabled</font>");
	  document.write("</div>");
	  document.close();
	}
}
