// JavaScript Document

<!-- Launches roundtable in separate window.
	function launchRoundtable(URL)
  	{	// Open the window.
			var rtwin = window.open(URL, "rtwin", 'width=720,height=535,resizable=no,scrollbars=no,menubar=no,toolbar=no');
		}

	// Determine if browser can display Flash animation
	var gotFlash = 0;
	
	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] )
	  {	// Check for Flash version 5 or greater in most non-IE/Win browsers
    	var plugin = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
    	if (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=5)
		    gotFlash = 1;
    }

  // Write either the HTML only code or Flash/HTML option code
	if (gotFlash || axFlash)
	  {	document.write('<p>Compare a <strong>deficit approach</strong> to an <strong>asset approach</strong> for solving a perceived community problem: <strong>&#8220;Teens Run Amok&#8221;</strong></p>');
			document.write('<p><a class="callout-bullet" href="javascript:launchRoundtable(\'rtflash.html\');">Interactive</a> graphical version</p>');
			document.write('<p><a class="callout-bullet" href="rtaccessible.asp">Accessible</a> text-only version</p>');
		}
  else
	  { document.write('<p>Compare a <strong>deficit approach</strong> to an <strong>asset approach</strong> for solving a perceived community problem: <a href="rtaccessible.asp"><strong>&#8220;Teens Run Amok&#8221;</strong></a></p>');
		}
	//-->