function ticker(width) {
if (isNaN(width) || width < 300 || width > 800) {
  width = 600; // default value
}
// decrement by the width of the image so that we know how big
// to make the ticker applet itself
width -= 101;
document.write('<style>.mht {border-top-width: 2; border-bottom-width: 2; border-left-width: 0; border-right-width: 0; border-color: blue; border-style: solid; background: black} </style><table cellspacing=0><tr><td class=mht><a href="http://www.mightyhot.com/"><img border="0" height="25" src="http://www.mightyhot.com/tickerLogo.gif"/></a></td><td class=mht>&nbsp;</td><td class=mht>');
document.write('<applet codebase="http://www.mightyhot.com/" code="MHTicker" width="' + width + '" height="20">'
+'<param name="file" value="tickerData.txt.gz"/>'
+'<param name="cSep" value=";"/>'
+'<param name="speed" value="2"/>'
+'<param name="delay" value="30"/>'
+'<param name="boxbgcolor" value="#33ffff"/>'
+'<param name="fgcolor" value="0xffff00"/>'
+'<param name="bgcolor" value="0x000000"/>'
+'<param name="color.0" value="0xffffff"/>'
+'<param name="color.1" value="0xffff44"/>'
+'<param name="color.2" value="0xff8888"/>'
+'<param name="color.3" value="0x8888ff"/>'
+'<param name="space" value="5"/>'
+'<param name="Font1" value="Arial, 12, 1, 0"/>'
+'<param name="Font2" value="Arial, 12, 1, 1220"/>'
+'</applet>'
+'</td></tr></table>');
}
