

fullName = new String;
var x = 0;
var currentNum = 0;
var currentChar;
var y = 0;

var ozName = new Array(
"blowing in the wind.", 
"stuck in a tree.", 
"holding my lunch.",
"in a bag.", 
"in the closet.", 
"under your car.", 
"in a drawer.", 
"in the ocean.", 
"in a river.", 
"in the trash.", 
"on the sidewalk.", 
"suffocating a fish.", 
"suffocating a small child.", 
"saving a life.", 
"being pick'd up!", 
"falling... falling... falling...", 
"not responding well to therapy.", 
"ruining lives.", 
"being emptied of last nights rain, slowly.", 
"being leftover.", 
"not following the rules.", 
"running amuck.", 
"not trusting the man.",
"fighting the power.", 
"online late at night.", 
"drowning in sorrow.", 
"so unfortunately leftover.", 
"not right in the handles.", 
"disintegrating slowly.", 
"in a landfill, unfortunately", 
"working the corner", 
"on the short track to leftover", 
"carrying someone else’s groceries", 
"not holding up to the pressure", 
"hunting Mexicans", 
"wishing upon a leftover star", 
"on a walk with the dog", 
"being tossed", 
"in the garbage", 
"at Wal*Mart", 
"being fondled by a bagger", 
"contemplating life is a leftover world", 
"not keeping clean", 
"sitting in the corner",
"coming to conclusions", 
"in a muddle river", 
"in a mud puddle", 
"smoking in an airplane bathroom", 
"stealing credit card information", 
"in desperate need to be picked up", 
"leaving you really long messages but not leaving a clear call back number", 
"being inappropriate to your significant other's parents", 
"worshipping the devil", 
"entertaining but perplexing pot heads", 
"coining the phrase 'Glory Hole'", 
"starving",
"hustling old people",  
"wasting gas", 
"talking shit about you behind your back", 
"telling a racist joke and expecting you to laugh along with it", 
"spitting in your drink", 
"scared to death of your mexican cat", 
"drinking your beer out of your favorite can cozie", 
"not wiping the seat", 
"not making any sense at all", 
"quite possibly leftover forever", 
"not all together with it, if you know what i mean", 
"in the outfield of a kids baseball game", 
"blowing out the window", 
"not worth as much to you as you are to it", 
"wishing it were disco king, rather than leftover", 
"wondering, 'WHAT NEXT!?'", 
"wishing you would pick it up", 
"spoiled rotten", 
"wondering how it got here", 
"hoping you will do your part to help", 
"not liking being leftover, not liking it at all", 
"wishing you had visited leftoverbags.com sooner", 
"calling for an end to leftoverness", 
"just wanting a hug", 
"claiming you did this on purpose", 
"not paying attention in class", 
"wondering what it did to deserve this", 
"Making a joke about your mother", 
"suffocating your hopes and dreams of a brighter tomorrow", 
"Making you wait for the bathroom as it takes a long relaxing shower", 
"harassing your cat", 
"piling up fast", 
"part of the Bush Agenda", 
"ordering porn on your cable box and not even telling you", 
"feeding your dog chocolate", 
"laying somewhere along the interstate in upper Illinois", 
"arguing that 'Going Overboard' was Adam Sandler's best movie ever", 
"doing a slow motion ballet in the sky", 
"sitting on your face",
"not doing what you want it to do even if you ask really nicely",  
"hiding in the backseat of your car.", 
"Not playing nicely with others", 
"sick, so sick, with noone to help.")



function matchLtr() {

	if (currentChar == "a" || currentChar == "A") {
		currentNum = 1;
	}
	if (currentChar == "b" || currentChar == "B") {
		currentNum = 2;
	}
	if (currentChar == "c" || currentChar == "C") {
		currentNum = 3;
	}
	if (currentChar == "d" || currentChar == "D") {
		currentNum = 4;
	}
	if (currentChar == "e" || currentChar == "E") {
		currentNum = 5;
	}
	if (currentChar == "f" || currentChar == "F") {
		currentNum = 6;
	}
	if (currentChar == "g" || currentChar == "G") {
		currentNum = 7;
	}
	if (currentChar == "h" || currentChar == "H") {
		currentNum = 8;
	}
	if (currentChar == "i" || currentChar == "I") {
		currentNum = 9;
	}
	if (currentChar == "j" || currentChar == "J") {
		currentNum = 10;
	}
	if (currentChar == "k" || currentChar == "K") {
		currentNum = 11;
	}
	if (currentChar == "l" || currentChar == "L") {
		currentNum = 12;
	}
	if (currentChar == "m" || currentChar == "M") {
		currentNum = 13;
	}
	if (currentChar == "n" || currentChar == "N") {
		currentNum = 14;
	}
	if (currentChar == "o" || currentChar == "O") {
		currentNum = 15;
	}
	if (currentChar == "p" || currentChar == "P") {
		currentNum = 16;
	}
	if (currentChar == "q" || currentChar == "Q") {
		currentNum = 17;
	}
	if (currentChar == "r" || currentChar == "R") {
		currentNum = 18;
	}
	if (currentChar == "s" || currentChar == "S") {
		currentNum = 19;
	}
	if (currentChar == "t" || currentChar == "T") {
		currentNum = 20;
	}
	if (currentChar == "u" || currentChar == "U") {
		currentNum = 21;
	}
	if (currentChar == "v" || currentChar == "V") {
		currentNum = 22;
	}
	if (currentChar == "w" || currentChar == "W") {
		currentNum = 23;
	}
	if (currentChar == "x" || currentChar == "X") {
		currentNum = 24;
	}
	if (currentChar == "y" || currentChar == "Y") {
		currentNum = 25;
	}
	if (currentChar == "z" || currentChar == "Z") {
		currentNum = 26;
	}
		
	x += currentNum;
}

function selName() {
	
	x = 0;
	fullName = document.names.firstname.value + document.names.lastname.value;
	
	for (i=0; i < fullName.length; i++) {
	
		currentChar = fullName.charAt(i);
		matchLtr();
		
	}
		
	popName()
}

function popName() {

	y = x % 90;
	document.names.ozbitchname.value = ozName[y];
	start();
}  

function start() {

	document.names.firstname.focus();
}

