
function expandFlyer(){
	document.getElementById('flyer_small').style.display = 'none';
	document.getElementById('flyer_large').style.display = '';
}

function reduceFlyer(){
	document.getElementById('flyer_small').style.display = '';
	document.getElementById('flyer_large').style.display = 'none';
}

function press_button(myForm,e)
{
	var keycode;
	if (window.event) keycode = window.event.keyCode;
	else if (e) keycode = e.which;
	else return true;

	if (keycode == 13)
	   {
	   submit_query(myForm.search1.value);
	   return false;
	   }
	else
	   return true;
}

function press_query(myForm)
{
	submit_query(myForm.search1.value);
}

function submit_query(searchValue){
	window.open("http://www.google.com/custom?cx=004496681938172919910%3Anfut6mmhb7u&q=mumia+" + searchValue + "&sa=Search&cof=AH%3Aleft%3BCX%3AAbu-Jamal%2520News%2520Search%3BDIV%3A%23cccccc%3BFORID%3A0%3BGFNT%3A%23666666%3BL%3Ahttp%3A%2F%2Fwww%2Egoogle%2Ecom%2Fcoop%2Fimages%2Fgoogle_custom_search_sm%2Egif%3BLH%3A55%3BLP%3A1%3B");
}

function setQuote(){
	quotes = new Array(6);
	quotes[0] = "Death is a campaign poster. A stepping stone to public office. In this space in time, in this dark hour, how many of us are not on death row?";
	quotes[1] = "The fact that I write at all reveals the utter failure of their intimidation tactics--as does the fact that you read.";
	quotes[2] = "The choice, as every choice, is yours: to fight for freedom or be fettered, to struggle for liberty or be satisfied with slavery, to side with life or death."
	quotes[3] = "Hell is quiet, still and chilled. I know. I live there."
	quotes[4] = "For any oppressed people, revolution, according to the Declaration of Independence, is a right."
	quotes[5] = "The greatest form of sanity that anyone can exercise is to resist that force that is trying to repress, oppress, and fight down the human spirit."	
	
	//display the quotation
	index = Math.floor(Math.random() * quotes.length);
	document.write("\"" + quotes[index] + "\"");
}