<!-- saved from url=(0022)http://internet.e-mail -->
function createTurnTool(width, height, file, color, transparent)
{
  if (ie4||ie5)
  {
  	turntoolObject = '<object id="TNTCtrl" width="'+width+'" height="'+height+'" classid="CLSID:402ee96e-2ce8-482d-ada5-ceceea07e16d" codebase="http://www.turntool.com/ViewerInstall.exe#version=2,12,0,8"><param name="transparent" value="'+transparent+'"><param name="ctrl_color" value="'+color+'"><param name="tnt_back_color" value="'+color+'"><param name="src" value="'+file+'"></OBJECT>';
  }
  else
  {
	turntoolObject = '<embed id="TNTCtrl" width="'+width+'" height="'+height+'" src="'+file+'" transparent="0" ctrl_color="'+color+'" tnt_back_color="'+color+'" pluginspage="http://www.turntool.com/download/" type="application/tntfile"></embed>';
  }
  element('TurnTool').innerHTML = turntoolObject;
}
 