var jangoOn=false;
var lastIm=0;
var lastQ=0;

var quotes = new Array(11);
quotes[0]= "<p>&quot;I'm just a simple man, trying to make my way in the universe.&quot;<br/><i>Jango Fett (Star Wars : Attack of the Clones)</i></p>";
quotes[1]= "<p>&quot;If anyone was to ask for my opinion, which I note they're not, I'd say we were taking the long way around.&quot;<br/><i>Gimli (Lord of The Rings)</i></p>";
quotes[2]= "<p>Time is the only critic without ambition.</p>";
quotes[3]= "<p>The world is divided into people who do things and people who get the credit. Try, if you can, to belong to the first class. There's far less competition.</p>";
quotes[4]= "<p>&quot;I just know, before this is over, I'm gonna need a whole lot of serious therapy. Look at my eye twitchin.'&quot;<br/><i>Donkey (Shrek)</i></p>";
quotes[5]= "<p>So much time and so little to do. Wait a minute. Strike that. Reverse it.</p>";
quotes[6]= "<p>&quot;I looked up fubar in the German dictionary and there's no fubar in here.&quot;<br/><i>Cpl. Upham (Saving Private Ryan)</i></p>";
quotes[7]= "<p>&quot;You should never underestimate the predictability of stupidity.&quot;<br/><i>Bullet Tooth Tony (Snatch)</i></p>";
quotes[8]= "<p>&quot;The cake is a lie.&quot;<br/><i>Unknown (Portal)</i></p>";
quotes[9]= "<p>1f u c4/&#92;/ |&#178;34d 7h1s u /&#92;/33d 70 g0 0u7 m0|&#178;3 0f73/&#92;/.</p>";
quotes[10]="<p>The only problem with troubleshooting is that sometimes trouble shoots back.</p>";


function quote(){
	do{
		index = Math.floor(Math.random() * quotes.length);
	}
	while(index==lastQ);
	lastQ=index;
	if(index==0) jangoOn=true;
	else jangoOn=false;
	return quotes[index];
}

var images= new Array(3);
var prepend = "http://yayann.alwaysdata.net/home/workspace/";
images[0]=prepend+"images/puppy.png";
images[1]=prepend+"images/trooper2.png";
// images[2]=prepend+"images/yann_im4.png";
images[2]=prepend+"images/wolf.png";

function getImage(){
	var index;
	if(jangoOn) index=1;
	else do{index = Math.floor(Math.random() * images.length);}
		while(index==lastIm);
	lastIm=index;
	return images[index];
}


 

