// Apply the Highslide settings
hs.graphicsDir = 'graphics/';
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'draggable-header no-footer';
hs.allowSizeReduction = false;
// always use this with flash, else the movie will be stopped on close:
hs.preserveContent = false;

function tic_flasher(what, type)
{
  var width   = (type == 'ortho')   ? 252 : 180 // 180 for all but ortho
    , height  = ( (type == 'ortho') ? 362
				    :
		  ( (type == 'wisdom')	? 327
					: 300 // sinus or implants
		  )
		)
    ;
  return hs.htmlExpand(	what,
			{ objectType:	  'swf'
			, width:	  width
			, objectWidth:	  width
			, objectHeight:	  height
			, maincontentText:'You need to upgrade your ' +
					  'Flash player'
			, swfOptions:	  { version: '7' }
			});
}
function tic_ortho(what)
{
  return tic_flasher(what, 'ortho');
}
function tic_wisdom(what)
{
  return tic_flasher(what, 'wisdom');
}
function tic_sinus(what)
{
  return tic_flasher(what, 'sinus');
}
function tic_implants(what)
{
  return tic_flasher(what, 'implants');
}


