function run_movie(arg,w,h) 
{ 
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" WIDTH="'+w+'" HEIGHT="'+h+'" id="'+arg+'" ALIGN=""><PARAM NAME=movie VALUE="'+arg+'"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#ffffff> <EMBED src="'+arg+'" quality=high bgcolor=#ffffff  WIDTH="'+w+'" HEIGHT="'+h+'" NAME="'+arg+'" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT>'); 
}


var plugin;
var version = 5;
var flash = false;

if (navigator.plugins)
{
    if (navigator.plugins["Shockwave Flash"])
    {
        plugin = navigator.plugins["Shockwave Flash"].description;
        flash =  parseInt(plugin.charAt(plugin.indexOf('.') - 1)) >= version;
    }
    else
    	{
        if ((navigator.userAgent.indexOf('MSIE') != -1)
            && (navigator.userAgent.indexOf('Win') != -1))
      	  {
            var vb = '<script language="vbscript">\n'
                   + 'if ScriptEngineMajorVersion >= 2 then\n'
                   + '  on error resume next\n'
                   + '  flash = IsObject(CreateObject('
                   + '     "ShockwaveFlash.ShockwaveFlash.'
                   +        version + '"))\n'
                   + 'end if\n'
                   + '<' + '/script>';
 			document.write(vb);
        }
    }
}

function RunFlash(arg,w,h,alter)
	{

	 if (flash)
	 	{
//		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" WIDTH="'+w+'" HEIGHT="'+h+'" id="'+arg+'" ALIGN=""><PARAM NAME=movie VALUE="'+arg+'.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#001538> <PARAM NAME=wmode VALUE=opaque> <EMBED src="'+arg+'.swf" quality=high bgcolor=#001538  WIDTH="'+w+'" HEIGHT="'+h+'" NAME="'+arg+'" WMODE="opaque" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
	 	run_movie(arg,w,h);
		}
	 else
	 	{
		document.write(alter);
//	 	document.getElementById('flash_box').innerHTML="<img src='assets/images/030.jpg'>";
	 	}
	}

function divClick ( div ) {
	var element = document.getElementById ( div.id + "_podmenu" );
	if ( element.style.display == "block" )
		element.style.display = "none";
	else
		element.style.display = "block";
}

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5443047-2");
pageTracker._trackPageview();


var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

