// <![CDATA[
var levels = [
	[ 3, 'first_quote'],
	[ 6, 'second_quote'],
	[ 9, 'third_quote'],
	[ 12, 'http://s4.zetaboards.com/North_Castle/pages/shopkeeper/']
];
var first_quote = ['Hocus Pocus!/n/n You will soon be out of rupees...', 'Abracadabra Alakazam! You will be the victim of a scam!', 'Elihwa sekat gknidaol... tiaw...Elihwa sekat gknidaol... tiaw...I SEEEEEE! AND SO WILL YOUUUU!!!', "Abracadabra Alakazam! It's a secret to EVERYONE.", 'Hocus Pocus! RORRE MA I!', 'Abracadabra Alakazam! Never wear your best pants, when you go to fight for freedom.', 'Hocus Pocus! A starship ride has been promised to you by the galactic wizard.',"Abracadabra! Alakazam!  The greatest danger could be your own stupidity!","Hocus Pocus! To lower your stress levels, get a cucco!" ];
var second_quote = [ "Well, I have to say my condition isn't very good today. But I want you to come back again...", "Yes, you are keen for my wisdom, but it is not unending.","I am spent, and so are you. Return another day."];
var third_quote = [ "You don't take a hint. Go away.","Really, I have no more to say to you today.","The crystal ball is dark, I can give you no more.","Leave me be."];
// end of options
var number_of_clicks = 0;
jQuery('#r_quote').click(function() {
	if (number_of_clicks++ > levels[0][0] && levels.length != 1)
		levels.shift();
	if (typeof(window[levels[0][1]]) != 'undefined')
		var x = window[levels[0][1]];
	else if (levels[0][1].indexOf('http://') != -1) {
		location.href = levels[0][1];
		return;
	}
	alert(x[Math.floor(Math.random()*x.length)]);
});
// ]]>