
function runFlash(width, height, src, align) {
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="' +width+ '" height="' +height+ '" align="' +align+ '">\n');
  document.write('<param name="movie" value="' +src+ '" />\n');
  document.write('<param name="wmode" value="transparent" />\n');
  document.write('<param name="quality" value="high" />\n');
  document.write('<embed src="' +src+ '" quality="high" wmode="transparent" align="' +align+ '" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' +width+ '" height="' +height+ '">\n');
  document.write('</embed>\n');
  document.write('</object>\n');
}

function quote() {
  var r_text = new Array ();
  r_text[0] = "JATA provided great leadership and support. ...not only did we reach our goal, but we exceeded it.";
  r_text[1] = "Peer to peer education has proven the way to go. There was excellent feedback from our physicians and we've witnessed the results.";
  r_text[2] = "The initial classroom education for Nurses and Coding Professionals was the key to a great start.";
  r_text[3] = "CDMP&reg; allows the Coder to code the severity of illness, yielding true data for a multitude of purposes....";
  r_text[4] = "The JATA Consultants were phenomenal in helping our team jump in with both feet to begin working the program and applying the strategies immediately.";
  r_text[5] = "JATA provided comprehensive physician education with a substantial product enhanced by professional staff who delivered excellent training. JATA is at the top of its class.";
  r_text[6] = "JATA receives continual praise from our coders and clinicians, many with more than 25 years' experience.";
  r_text[7] = "We've had great results with the program and are rolling it out in all our markets.";
  r_text[8] = "...an outstanding success in our opinion. ...we've seen a dramatic improvement in the appropriateness of physician documentation.";
  var i = Math.round(8*Math.random());
  document.write(r_text[i]);
}

function openpopup(popurl) {
	var winpops=window.open(popurl,"","width=500px,height=624px")
	winpops.moveTo(5,5);
}

// MENU Script for IE browsers
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="li") {
				node.onmouseover=function() {
					this.className+="over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace("over", "");
				}
			}
		}
	}
}
window.onload=startList;


// show/hide function
function change(id)
{
	ID = document.getElementById(id);
	
	if(ID.style.display == "")
	{
		ID.style.display = "none";
	}
	else
	{
		ID.style.display = "";
	}
} // end show/hide