/* JavaScript for www.jraxis.com * $Id: script.js,v 1.28 2006/02/18 21:09:08 jraxis Exp $ */ var FADE_MAX = 90; var FADE_RATE = 1; var QUOTE_DELAY = 10000; function jraxisInit() { displayQuote(); }; function getLayer( id ) { if( browser == 'IE' || browser == 'OP' ) return( document.all[ id ]); else if( browser == 'NN4' ) return( document.layers[ id ]); return( document.getElementById( id )); }; function nn4Reload() { if( browser == 'NN4' ) location.reload(); }; function displayQuote() { if( browser != 'NN4' && browser != 'OP' ) { if( state == 'display' ) { state = 'fade'; setTimeout( 'displayQuote()', QUOTE_DELAY ); } else if( state == 'fade' ) { fadeQuote(); state = 'display'; setTimeout( 'displayQuote()', QUOTE_DELAY ); }; }; }; function fadeQuote() { var colorR = smooth( fadeLevel, 255 ); var colorG = smooth( fadeLevel, 255 ); var colorB = smooth( fadeLevel, 255 ); var getQuote = getLayer( 'jraxis-quote' ); var getAttrib = getLayer( 'jraxis-quote-author' ); var tmout; getQuote.style.color = 'rgb(' + colorR + ',' + colorG + ',' + colorB + ')'; getAttrib.style.color = getQuote.style.color; if( fadeLevel < FADE_MAX && fade == 'out' ) { tmout = setTimeout( 'fadeQuote()', FADE_RATE ); fadeLevel++; } else if( fadeLevel == FADE_MAX && fade == 'out' ) { fade = 'in'; do { quoteIdx = randomQuote(); } while( lastIdx == quoteIdx ); lastIdx = quoteIdx; getQuote.innerHTML = '“' + quote[ quoteIdx ][0] + '”'; getAttrib.innerHTML = '— ' + quote[ quoteIdx ][1]; tmout = setTimeout( 'fadeQuote()', FADE_RATE ); } else if( fadeLevel > 0 && fade == 'in' ) { tmout = setTimeout( 'fadeQuote()', FADE_RATE ); fadeLevel--; } else if( fadeLevel == 0 && fade == 'in' ) { fade = 'out'; clearTimeout( tmout ); }; }; function randomQuote() { return( Math.round( Math.random() * ( quote.length-1 ))); }; /* val should be 0–90 */ function smooth( val, max ) { return( max - Math.round( max * Math.cos( val * 3.14159/180 ))); }; /* Spurious frame killer */ if( top.location.href != window.location.href ) top.location.href = window.location.href; var browser; if( document.all == null ) { var versionNN = navigator.userAgent.toLowerCase(); if( versionNN.search( /mozilla\/4/i ) != -1 ) browser = 'NN4'; else browser = 'NN6'; } else { var agent = navigator.userAgent.toLowerCase(); if(( agent.indexOf( 'msie' ) != -1 ) && ( agent.indexOf( 'opera' ) == -1 )) browser = 'IE'; else browser = 'OP'; }; var fade = 'out'; var fadeLevel = 0; var lastIdx = 0; var state = 'display'; var quote = new Array( new Array( 'If illegal violence is seen as a solution in Washington’s war against terror, how can the US possibly condemn Palestinians for fighting back against the terror imposed upon them by Zionists? The Land of the Brave and Free sent an unmanned drone to do its murderous dirty work. At least Palestinian fighters, however misguided, are prepared to die along with their unfortunate victims.', 'Arab News editorial, 2002-11-07' ), new Array( 'The American defeat in Iraq and Afghanistan has become just a question of time.', 'Ayman al-Zawahiri, 2004-09-09' ), new Array( 'In the two countries, the Americans are between two fires: if they remain there they will bleed to death, and if they withdraw they will have lost everything.', 'Ayman al-Zawahiri, 2004-09-09' ), new Array( 'America is at that awkward stage. It’s too late to work within the system, but too early to shoot the bastards.', 'Claire Wolfe, 101 Things To Do Until the Revolution' ), new Array( 'US Deputy Under-Secretary of State David Satterfield said the presence of a foreign army in another sovereign country was something that could no longer be tolerated.', 'The Daily Star, 2004-11-01, not about the US in Iraq, but Syria in Lebanon' ), new Array( 'Terrorism is not an expression of rage. Terrorism is a political weapon. Remove a government’s façade of infallibility, and you remove its people’s faith.', 'Dan Brown, Angels & Demons' ), new Array( 'There are four boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order.', 'Ed Howdershelt' ), new Array( 'A patriot must always be ready to defend his country against his government.', 'Edward Abbey' ), new Array( 'If voting changed anything, they’d make it illegal.', 'Emma Goldman' ), new Array( 'Those who favor [the invasion of Iraq] often point to the beheadings, for example, as evidence that ‘they’ are barbarians and deserve no mercy. It does not occur to them that bombing residential neighborhoods, because a guerrilla might be there, seems to those in the neighborhood to indicate that the Americans are barbarians and deserve no mercy.', 'Fred Reed, Strike the Root, 2004-09-27' ), new Array( 'Those who profess to favor freedom, yet deprecate agitation, are men who want crops without plowing up the ground. They want rain without thunder and lightening. They want the ocean without the awful roar of its many waters. This struggle may be a moral one; or it may be a physical one; or it may be both moral and physical; but it must be a struggle. Power concedes nothing without a demand. It never did and it never will.', 'Frederick Douglass, Civil Disobedience Manual' ), new Array( 'Perhaps the fact that we have seen millions voting themselves into complete dependence on a tyrant has made our generation understand that to choose one’s government is not necessarily to secure freedom.', 'Friedrich August von Hayek' ), new Array( 'The concept of nonviolence is a false ideal. It presupposes the existence of compassion and a sense of justice on the part of one’s adversary. When this adversary has everything to lose and nothing to gain by exercising justice and compassion, his reaction can only be negative.', 'George Jackson, on the pacifism of Martin Luther King, Jr.' ), new Array( 'Do foreign victims of oppression and starvation see an America that is poised to lead the world out of its present darkness or do they only see a giant bully, blinded by irrational rage, flailing against noises in the night with his nuclear-tipped sword?', 'George Lewandowski, Yellow Times, 2002-06-21' ), new Array( 'They misunderestimated me.', 'George W. Bush, Bentonville, Arkansas, 2000-11-06' ), new Array( 'I’ll probably say it three more times. See, in my line of work you got to keep repeating things over and over and over again for the truth to sink in, to kind of catapult the propaganda.', 'George W. Bush, 2005-05-24' ), new Array( 'Government is not reason, it is not eloquence—it is force.', 'George Washington' ), new Array( '[A]s misguided and despicable as [the 9-11 terrorists] were, they were anything but cowardly. The people who committed them knowingly gave their lives for whatever stupid beliefs they held. But what about the American Presidents who order bombings of innocent people—while the Presidents remain completely insulated from any danger? What would you call their acts?', 'Harry Browne' ), new Array( 'Give government the weapons to fight your enemy and it will use them against you.', 'Harry Browne' ), new Array( 'The illegal we do immediately. The unconstitutional takes a little longer.', 'Henry Kissinger, former American diplomat and war criminal' ), new Array( 'Every decent man is ashamed of the government he lives under.', 'H.L. Mencken' ), new Array( 'Government is actually the worst failure of civilized man.', 'H.L. Mencken' ), new Array( 'All men having power ought to be mistrusted.', 'James Madison' ), new Array( 'No nation can preserve its freedom in the midst of continual warfare.', 'James Madison' ), new Array( '[T]he man who shirked duty in Vietnam, the man who went AWOL from the National Guard, the man who spent years frying his brain with alcohol and cocaine, the man who continued reading about goats after being informed of the strike against the WTC, the man who has created armies of America-haters with his insane war in Iraq is regarded as strong on security by Americans.', 'John Chuckman, Counterpunch, 2004-10-30' ), new Array( 'Those who make peaceful revolution impossible will make violent revolution inevitable.', 'John F. Kennedy' ), new Array( 'Americanism, the ideology, has meant democracy at home, for some, and a war on democracy abroad. From Guatemala to Iran, from Chile to Nicaragua, to the struggle for freedom in South Africa, to present-day Venezuela, American state terrorism, licensed by both Republican and Democrat administrations, has fought democrats and sponsored totalitarians.', 'John Pilger, New Statesman, 2004-10-26' ), new Array( 'Anyone who needs to be persuaded to be free, doesn’t deserve to be.', 'L. Neil Smith' ), new Array( 'The world is witnessing a second great power: it is the power of international public opinion, which is forecasting the end of the United States.', 'Marwan Fares, The Daily Star, Lebanon' ), new Array( 'Afghanistan: … The very country that was supposed to feel the full weight of American wrath now houses a puppet semi-government which cannot even control its own capital, and a scattering of American troops bring no results other than their own occasional deaths. The United States has fallen far.', 'Michael Neumann, Counterpunch, 2004-09-23' ), new Array( 'Iraq: could the world have conceived, in 1947, that US troops could not hold Hamburg, Frankfurt and Munich? That American leaders could only sneak into Germany on furtive, unscheduled peek-a-boo missions? That the American occupation officials, hardly daring to emerge from their fortified ghetto, could not control most of Berlin? … The United States has fallen far.', 'Michael Neumann, Counterpunch, 2004-09-23' ), new Array( 'It would be a serious mistake to conclude that the current conduct of the United States represents something temporary that will change when George Bush, Jr. leaves the presidency. The United States has never in its history stepped backwards in its drive toward universal domination, and has never corrected its behavior, which has only gone from bad to worse from the point of view of the rights of the rest of humanity.', 'Miguel D’Escoto, former Sandinista Minister of Foreign Affairs' ), new Array( 'The [Iraq] war has begun a gradual slide in America’s fortunes. Soon that will increase into a downward spiral. The careers of the next generation’s leaders won’t depend on their abilities to negotiate trade contracts or promote a domestic platform, but simply on their ability to convey their abhorrence for America. This will be the final testimonial to the Bush Global Democratic Revolution.', 'Mike Whitney, Counterpunch, 2004-11-13' ), new Array( 'The US supports the status quo whatever it is. They talk about democracy and then ignore it; they talk about the UN and ignore it; in every way you can accuse them of double standards. It is revolting to see them talking about democracy and then supporting undemocratic regimes. They talk about international legitimacy and then support what the Israelis are doing.', 'Mohamed Heikal, The Guardian' ), new Array( 'Liberty has never come from the government. Liberty has always come from the subjects of it. The history of liberty is a history of resistance. The history of liberty is a history of limitations of governmental power, not the increase of it.', 'Nadia Boulanger' ), new Array( '[George W. Bush] should go away from the presidency and let the Americans lead an ordinary life with other nations, not a life of aggression, a policy of aggression against other nations. This policy has brought about disasters to the US. … [T]his crazy man should go.', 'Naji Sabri, former Iraqi Foreign Minister' ), new Array( 'We wave the flag of freedom as we conquer and invade.', 'Ricky M. Waite, Slashdot' ), new Array( 'Patriotism is the last refuge of a scoundrel.', 'Samuel Johnson, 1775' ), new Array( 'The West won the world not by the superiority of its ideas or values or religion but rather by its superiority in applying organized violence. Westerners often forget this fact; non-Westerners never do.', 'Samuel P. Huntington' ), new Array( 'Bush has behaved like a caricature of what a right-wing president is supposed to be, and his continuation in office will discredit any sort of conservatism for generations.', 'Scott McConnell, “Kerry’s the One,” The American Conservative, 2004-11-08' ), new Array( 'George W. Bush has come to embody a politics that is antithetical to almost any kind of thoughtful conservatism. His international policies have been based on the hopelessly naïve belief that foreign peoples are eager to be liberated by American armies—a notion more grounded in Leon Trotsky’s concept of global revolution than any sort of conservative statecraft.', 'Scott McConnell, “Kerry’s the One,” The American Conservative, 2004-11-08' ), new Array( '[I]f terrorists succeed in striking at the United States in another 9/11-type attack, many in the world will not only think of the American victims but also of the thousands and thousands of Iraqi civilians killed and maimed by American armed forces.', 'Scott McConnell, “Kerry’s the One,” The American Conservative, 2004-11-08' ), new Array( '[I]t is as if Bush sought to resurrect every false 1960s-era left-wing cliché about predatory imperialism and turn it into administration policy.', 'Scott McConnell, “Kerry’s the One,” The American Conservative, 2004-11-08' ), new Array( 'Where is the acknowledgement that this was not a ‘cowardly’ attack on ‘civilization’ or ‘liberty’ or ‘humanity’ or ‘the free world’ but an attack on the world’s self-proclaimed superpower, undertaken as a consequence of specific American alliances and actions. … In the matter of courage (a morally neutral virtue): Whatever may be said of the perpetrators of Tuesday’s slaughter, they were not cowards.', 'Susan Sontag, 2001-09-11' ), new Array( 'Every generation needs a new revolution.', 'Thomas Jefferson' ), new Array( 'I hold it, that a little rebellion, now and then, is a good thing, and necessary in the political world as storms in the physical.', 'Thomas Jefferson' ), new Array( 'No man has a natural right to commit aggression on the equal rights of another, and this is all from which the laws ought to restrain him.', 'Thomas Jefferson' ), new Array( 'The tree of Liberty must be refreshed from time to time with the blood of patriots and tyrants. … God forbid we should ever be twenty years without such rebellion; what country can preserve its liberties if their rulers are not warned from time to time that their people preserve the spirit of resistance? Let them take arms!', 'Thomas Jefferson' ), new Array( 'When the people fear their government, there is tyranny; when the government fears the people, there is liberty.', 'Thomas Jefferson' ), new Array( 'Government at its best is a necessary evil, and at its worst, an intolerable one.', 'Thomas Paine' ), new Array( 'They compromise our honor and our dignity and dare we utter a single word of protest against the injustice, we are called terrorists.', 'Usāmah bin Muhammad bin ʻAwad bin Lādin, Frontline, 1998-05' ), new Array( 'The road to safety begins by ending the aggression. Reciprocal treatment is part of justice.', 'Usāmah bin Muhammad bin ʻAwad bin Lādin, 2002-11-12' ), new Array( 'If Bush says we hate freedom, let him tell us why we didn’t attack Sweden, for example. It is known that those who hate freedom do not have dignified souls.', 'Usāmah bin Muhammad bin ʻAwad bin Lādin, 2004-10-29' ), new Array( 'It never occurred to us that the Commander-in-Chief of the country would leave 50,000 citizens in the two towers to face those horrors alone because he thought listening to a child discussing her goats was more important.', 'Usāmah bin Muhammad bin ʻAwad bin Lādin, 2004-10-29' ), new Array( 'You will kill ten of us and we will kill one of you, but in the end you will be the one defeated.', 'Võ Nguyễn Giáp' ), new Array( 'I want the state gone: Transform the situation to US out of North America. US off the planet. Out of existence altogether.', 'Ward Churchill' ), new Array( 'Things in our country run in spite of government, not by aid of it.', 'Will Rogers' ), new Array( 'This country has come to feel the same when Congress is in session as we do when a baby gets a hold of a hammer. It’s just a question of how much damage he can do with it before we take it away from him.', 'Will Rogers' ), new Array( 'Let us not forget that the Revolutionary War wasn’t fought against a fascist or communist government. It was fought against a government that looks a lot like ours today.', '“heath,” Kuro5hin, 2001-10-12' ), new Array( 'Is this your new Pearl Harbour, or is it Nagasaki and Hiroshima coming back to haunt you?', '“Oestergaard,” Slashdot, 2001-09-11, about the World Trade Center terrorist attacks' ), new Array( 'First thing I thought of when CNN flashed ‘America Strikes Back!’ on the screen was ‘The Empire Strikes Back.’ The next thing I thought was, ‘Uh oh, we’re the Empire.’', '“psycho_driver,” Slashdot, 2001-10-07' ) ); var quoteIdx = randomQuote();