<!-- 
var MM_contentVersion = 6;
var MM_viewerContentVersion = 8;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if ( plugin ) 
{

	var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	for (var i = 0; i < words.length; ++i) 
	{
		if (isNaN(parseInt(words[i])))
			continue;
		var MM_PluginVersion = words[i]; 
	}
	
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	var MM_FlashViewerCanPlay = MM_PluginVersion >= MM_viewerContentVersion;
	var FlashMode = 0;
	var FlashModeViewer = 0;
	
	if (navigator.plugins && navigator.plugins.length > 0) 
	{
		if (navigator.plugins["Shockwave Flash"]) 
		{
			var plugin_version = 0;
			var words = navigator.plugins["Shockwave Flash"].description.split(" ");
			
			for (var i = 0; i < words.length; ++i) 
			{
				if (isNaN(parseInt(words[i])))
					continue;
				plugin_version = words[i];
			}
			
			if (plugin_version >= 6) 
			{
				var plugin = navigator.plugins["Shockwave Flash"];
				var numTypes = plugin.length;
				for (j = 0; j < numTypes; j++) 
				{
					mimetype = plugin[j];
					if (mimetype) 
					{
						if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1)) // Mac wierdness
							FlashMode = 1;
						if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
							FlashMode = 0;
					}
				}
			}
			
			if (plugin_version >= 8) 
			{
				var plugin = navigator.plugins["Shockwave Flash"];
				var numTypes = plugin.length;
				for (j = 0; j < numTypes; j++) 
				{
					mimetype = plugin[j];
					if (mimetype) 
					{
						if (mimetype.enabledPlugin && (mimetype.suffixes.indexOf("swf") != -1)) // Mac wierdness
							FlashModeViewer = 1;
						if (navigator.mimeTypes["application/x-shockwave-flash"] == null)
							FlashModeViewer = 0;
					}
				}
			}
		}
	}
	
	if (FlashMode == 1)
		var MM_FlashCanPlay = true;
	else
		var MM_FlashCanPlay = false;
		
	if (FlashModeViewer == 1)
		var MM_FlashViewerCanPlay = true;
	else
		var MM_FlashViewerCanPlay = false;
		
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
	
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashViewerCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_viewerContentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}

// flash headers   use on or off for the line variable
/*for the sake of not having to track down every place where this function is called,
i simply changed the call within this functino without changing the parameters sent to it.  
color2 is no longer used. : zachary.young@traderonline.com*/
function RunFlashHeader(flashtext,size,color2,scale,line,domain) {

	if (domain == null || domain == "undefined" || domain.length == 0) {
		var domain = '';
	}

	switch (size)
	{
		case 'sm':
			var width = '185';
			var height = '20';
			var size = height - 5;
		break;
		case 'md':
			var width = '550';
			var height = '20';
			var size = height - 5;
		break;
		case 'ml':
			var width = '550';
			var height = '25';
			var size = height - 5;
		break;
		case 'sml':
			var width = '300';
			var height = '30';
			var size = height - 10;
		break;
		case 'lg':
			var width = '300';
			var height = '30';
			var size = height - 5;
		break;
	}
	
	/*these are for the old flash headers. switched out 07.07.2005 by zyoung*/
	var color1 = '333333';
	//var color2 = '000000';
	//var swf_path = domain + '/11/design/clean-hh/swfs/hh_head_' + width + 'x' + height + '.swf';
	//var flashParams = '?thetext=' + flashtext + '&fntclr=' + color1 + '&bkgclr=' + color2 + '&kerning=0&lineSpacing=20&theScale=' + scale + '&http_host=' + domain + '/11/design/clean-hh/swfs/&line=' + line + '&';
	//var flashParams = '?header=' + flashtext + '&fntclr=%20' + color1 + '&bkgclr=%20' + color2 + '&kerning=1&lineSpacing=20&theScale=' + scale + '&http_host=' + domain + '/11/design/clean-hh/swfs/&line=' + line + '&flashVersion=v002&';
	
	/*new data here v*/
	//size = height - 5;
	
	var swf_path = domain + '/11/design/clean-hh/swfs/header' + width + 'x' + height + '-hh.swf';
	var flashParams = '?header=' + flashtext + '&wmode=transparent&size=' + size + '&';
	
	//alert(swf_path);
	
	document.write('<object type="application/x-shockwave-flash"    '); 
    document.write('     data="' + swf_path + flashParams + '"   '); 
    document.write('     width="' + width + '" height="' + height + '">  '); 
    document.write('     <param name="movie" value="' + swf_path + flashParams + '&" /> '); 
    document.write('     <param name="wmode" value="transparent">  ');
    document.write('     <param name=menu VALUE=false> '); 
    document.write('</object> ');
}

function RunFlashMap ( width, height, fPath, path2 )
{


	if ( MM_FlashCanPlay ) {
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
		document.write(	'width="' + width + '" height="' + height + '" id="map" ALIGN="">');
		document.write('	<PARAM NAME=movie VALUE=" ' + fPath + '">');
		document.write('	<PARAM NAME=quality VALUE=high>');
		document.write('	<PARAM NAME=bgcolor VALUE=#FFFFFF>');
		document.write('	<PARAM NAME="wmode" value="transparent">');
		document.write('	<EMBED src=" ' + fPath + '" quality=high  wmode="transparent"  width="' + width + '" height="' + height + '"  NAME="map" ALIGN="" ');
		document.write('		TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
		document.write('	</EMBED>');
		document.write('</OBJECT>');
		
	} else 
	{
		document.write(' <div align="center" style="width:100%;margin-top:25px;border:1px solid;"><a style="font-family:arial,helvetica,sans-serif;text-decoration:underline;" href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank"><img src="' + path2 + 'newdesign04/get_flash_graphic.jpg" width="410" height="191" alt="Upgrade Flash" border="0"></a></div>\n ');
	}
	
}


function RunFlashSlides ( params , ipath)
{
	
	
		document.write('<object type="application/x-shockwave-flash" data="' + ipath + '/img/11/design/clean-hh/swfs/hhphotoviewer_v004.swf" width="250" height="260" VIEWASTEXT >');
		document.write('<param name="movie" value="' + ipath + '/img/11/design/clean-hh/swfs/hhphotoviewer_v004.swf">');
		document.write('<param name="FlashVars" value="drop_xml=' + params + '">');
		document.write('<param name="wmode" value="transparent">');
		document.write('</object>');
	
												
}