var Question=new Array();
var Response=new Array();
var ResponseType=new Array();
var whichTopic;
var whichQuestionA;
var whichQuestionB;






//topic 0 A responses
ResponseType[0] = 0;       //
Question[0]=new Array();   //copy these three lines when making a new topic renumber all [x] to the next topic number
Response[0]=new Array();   //a topic MUST have at least two Questions and Responses - the more the better

Question[0][0] = "you are a man and must wear a pink sundress";
Response[0][0] = "A pink dress!  NO!";

Question[0][1] = "fight Mike Tyson in his prime";
Response[0][1] = "He would destroy you.  Bad choice.";

Question[0][2] = "live out the eistance of the earth as an Orchid";
Response[0][2] = "That's great.  You're a flower, no what are you doing to do?";

Question[0][3] = "live through an elephant sitting on your head - pushing your head into its rectum";
Response[0][3] = "Ofh.  There's no way you'll sleep well again.";

Question[0][4] = "watch a heinous video for eight hours of two butch leather dudes with black hair making out and rubbing each others chests";
Response[0][4] = "Good call.";

Question[0][5] = "fight an army of shadow warriors";
Response[0][5] = "You can't fight what you can't see.  Dead for sure.";

Question[0][6] = "be exiled to the desert with no hope of escape";
Response[0][6] = "Umm, what are you going to drink?  Sand?  Good luch with that.";

Question[0][7] = "be imprisoned with no hope of escape in a tower where you can see the world bustling around you";
Response[0][7] = "That sucks!  No way!  How depressing";

Question[0][8] = "be fan club president for the KKK";
Response[0][8] = "Hate does no one any good.";

Question[0][9] = "have a four inch shriveled arm growing out of your neck";
Response[0][9] = "Good luck never NOT being stared at again.";

Question[0][10] = "be ass-raped by a large dog";
Response[0][10] = "I'm not here to judge, but";

Question[0][11] = "carry metal poles in a lightning storm";
Response[0][11] = "Zip zip.  You're a gonner.";

Question[0][12] = "have ass warts";
Response[0][12] = "They're not only unsightly, also very uncomfortable.";

Question[0][13] = "be two inches tall and able to ride mice like buffalo";
Response[0][13] = "Yeah, but chipmunks are like dragons now.  Dragons ALWAYS beat buffalos.";

Question[0][14] = "you are a man and must wear a 1950s caveman loin-cloth";
Response[0][14] = "You have more confidence than most.  Hope that you have been hitting the weights";

Question[0][15] = "fight a midget with a chainsaw";
Response[0][15] = "No good.  You take a couple cuts with a chainsaw and you are dead";

Question[0][16] = "live out the existance of the eart as a Venus Fly Trap";
Response[0][16] = "Just a warning, you're going to be pretty ugly";

Question[0][17] = "fall onto a railing while skateboarding, absorbing the full impact with your crotch";
Response[0][17] = "No way.  Why?  Are you a masocist?";

Question[0][18] = "watch a heinous video for eight hours of a German sodomizing chickens taped by his girlfriend";
Response[0][18] = "Wow.  Maybe this isn't the website for you.";

Question[0][19] = "fight an army of skeleton ninjas";
Response[0][19] = "Ninjas are tough enough, when they're an army of the undead, you're not going to win.";

Question[0][20] = "be exiled to the artic with no hope of escape";
Response[0][20] = "Bad choice.  What are you going to eat?  Seal?";

Question[0][21] = "be imprisoned with no hope of escape in a cave where you have no contact with the world";
Response[0][21] = "That's great if you're an anit-social hermit.  Do you have some underlying issues?";

Question[0][22] = "be fan club president for the Blank Panters";
Response[0][22] = "Hate never heals.";

Question[0][23] = "blow your dad";
Response[0][23] = "You chose this?  What is wrong with you?";

Question[0][24] = "swim with sharks with lots of bloody steaks strapped to your body";
Response[0][24] = "No way.  You'd never survive.  Apparently you want to die.";

Question[0][25] = "have an unremovable thrity pound tumor in your stomach";
Response[0][25] = "Wrong.  Situps won't do a thing for you.";

Question[0][26] = "have a bleeding mouth";
Response[0][26] = "What job are you going to get with this disease?  Vampire fetish friend?";

Question[0][27] = "be sixty-four feet tall and never be allowed indoors again but be able to smote your enemies at will";
Response[0][27] = "Hey that's great and all, but where are you going to find pants that big?";





//add questions and responses, maintaining index numbers, quotes, and semicolons





function bigList(){ //makes a list of 300 would you rather questions
for (var i = 0; i <= 300; i++ ) {
	getRandom();
	document.writeln("Would you rather " + Question[whichTopic][whichQuestionA] + " or " + Question[whichTopic][whichQuestionB] + "? <p>")
	}
document.close()
}


function startGame(){
getRandom()
document.all.responseField.innerHTML = ("Would you rather <a href=\"javascript:showResponseA()\">" + Question[whichTopic][whichQuestionA] + "</a> or <a href=\"javascript:showResponseB()\">" + Question[whichTopic][whichQuestionB] + "</a>? ");
}//end startgame function


 
function getRandom(){


//alert(Question.length);

whichTopic=Math.round(Math.random()*((Question.length)-1));


var Q = Question[whichTopic].length;
whichQuestionA=Math.round(Math.random()*(Q-1));
whichQuestionB;
do
{
whichQuestionB=Math.round(Math.random()*(Q-1));
}
while (whichQuestionB == whichQuestionA)

}//end getRandom function

function showResponseA(){
if (ResponseType[whichTopic]==0){
	document.all.responseField.innerHTML = ("" + Response[whichTopic][whichQuestionA] + "<p> <a href=\"javascript:startGame()\">Try Again</a>");
	}
else{
	document.all.responseField.innerHTML = ("" + Response[whichTopic][whichQuestionB] + "<p> <a href=\"javascript:startGame()\">Try Again</a>");
	}
}

function showResponseB(){
if (ResponseType[whichTopic]==0){
	document.all.responseField.innerHTML = ("" + Response[whichTopic][whichQuestionB] + "<p> <a href=\"javascript:startGame()\">Try Again</a>");
	}
else{
	document.all.responseField.innerHTML = ("" + Response[whichTopic][whichQuestionA] + "<p> <a href=\"javascript:startGame()\">Try Again</a>");
	}
}

