left=0;									// determines if me walking away has happened yet

function clicked()
    // what happsens when user clicks a page
	{playsound(100);
	alert("Hey, Fuckbutt--Watch where you're clicking"); 
	}
function playsound(n)	
    // plays sound
	{quote="Featuring The Jason Curless Octette";
	color="#FFFF00";
	switch(n)
		{case 0:	quote="Hi, I'm Jason, and I like things and stuff.";			color="#000000";			break;
		case 1:	quote="Who farted?   Was that you Curless? Jesus Christ.";	color="#0000FF";			break;
		case 2:	quote="Let's sniff some glue and beat each other off.";		color="#FFFFFF";			break;
		case 3:	quote=" &nbsp; ";						color="#000000";			break;
		case 4:	quote="I am surrounded by douchebags.";			color="#66FF66";			break;
		case 5:	quote="That's not a link in my pocket, but keep on clicking.";		color="#990000";			break;
		case 7:	quote="This site sucks. Bye snatches.";			color="#FFFFFF";			break;
		}
	document.getElementById("sounder").style.color=color;
	document.getElementById("sounder").innerHTML=quote;
	}

function over(n)
    // controls mouseover event on page
	{if (n==7) leave();
	else if (left!=1) playsound(n);
	}
function leave()
    // controls last picture, makes me leave
	{if (left==0) 
		{left=1;
		playsound(7);
		document.getElementById("me7").src=ROOT + "intro/walking.gif";
		setTimeout("left=2;", 2500);
		}
	else playsound(100);
	}

