function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
	if (theValue == true || theValue == false)
	  eval("obj.style."+theProp+"="+theValue);
	else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

function OnChangeGo(dropdown) {
	var myindex = dropdown.selectedIndex
    var baseURL= "state.cfm?state="
    top.location.href = baseURL + dropdown.options[myindex].value;
	return true;
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function createQuote() {
	var qu = new Array(0);
	var sc = new Array(0);
	
qu.push("I’ve gone in and defended teachers who shouldn’t even be pumping gas")
sc.push("New Jersey teachers union representative")

qu.push("If I’m representing them, it’s impossible to get them out. It’s impossible. Unless they commit a lewd act")
sc.push("Los Angeles teachers union representative")

qu.push("The state teacher bargaining statutes were initially drafted by union lawyers, who naturally left out the safeguards against union abuse of employee rights")
sc.push("Teachers union expert Myron Lieberman")

qu.push("Sometimes the problem is that the entire contract is hidden to conceal luxury items")
sc.push("Teachers union expert Myron Lieberman")

qu.push("[Teachers union leaders] consistently advocate proposals that are against the interest of their members.")
sc.push("Lamar Alexander, former governor of Tennessee")


qu.push("The NEA has been the single biggest obstacle to education reform in this country. We know because we worked for the NEA")
sc.push("Billy Boyton and John Lloyd, former executive directors of the Nebraska and Kansas NEA affiliates, respectively")

qu.push("A lot of people who have been hired as teachers are basically not competent")
sc.push("Al Shanker, former president of the American Federation of Teachers")

qu.push("I don’t represent the children. I represent the teachers")
sc.push("Al Shanker, former president of the American Federation of Teachers")

qu.push("I don’t believe in having competition")
sc.push("Carol Schmoock of the Missouri NEA, on the problem with having a large non-union teachers association in her state")
  
qu.push("What would we really do differently if we really did listen to our members? First, we would very rarely, if ever again, give a cent to a politician or a political party")
sc.push("Ohio Education Association Executive Director Robert Barkley, 2001")
   
qu.push("If there is really no conflict of interest between teachers’ unions and children, we should expect to see a new willingness by unions to be judged by the performance of their students.")
sc.push("Boston University Chancellor John Silber")

qu.push("The schools cannot allow parents to influence the kind of values-education their children receive in school")
sc.push("Paul Haubner, former specialist for the NEA")

qu.push("[The California Teachers Association] is never going to fall off the fence on the side of kids if they see any potential for the almighty dollar to go to teachers' salaries and benefits")
sc.push("Former union member Jim Aschwanden, <i>Los Angeles Times</i>, September 9, 2005")

qu.push("The union exists for a really good reason, and that is the teachers got the wrong end of the stick for decades. But we now have created the beast we deserve for doing that")
sc.push("Former Los Angeles USD School Board President Caprice Young, 2003")

qu.push("A cold day in hell")
sc.push("United Teachers Los Angeles President Day Higuchi, offering his estimate as to when he expects the union to accept a plan to tie teachers’ pay raises to student performance.")
	
qu.push("I believe that what is wrong with our schools in this nation is that they have become unionized in the worst possible way.")
sc.push("Steve Jobs, CEO of Apple, Inc.")
	
	var now = new Date();
	var sec = now.getSeconds();
	var pos = sec % qu.length;
	document.writeln('<span class="frontQuote">“' + qu[pos] + '”</span><br /><span class="frontQuoteSource">&mdash;' + sc[pos] + '</span>');
}

function hideDiv(idNum) {
	$("#did"+idNum).hide("slow");
	idNum++;
	setTimeout("showDiv("+idNum+");",2000);
}

function showDiv(idNum) {
	if (idNum == 18) {
		idNum = 0;
	}
	$("#did"+idNum).show("normal");
	setTimeout("hideDiv("+idNum+");",6000);
}
