var vminutes = 5;
var vseconds = 00;
var boxedanswers = 1;
var autocomplete = 0;
var gamever = 0;
var justincase1 = 0;
var justincase2 = 0;


function loadanswers()
{
	answers = new Array();
	answers.push( new inans('Hercules in New York', new Array()));
	answers.push( new inans('The Long Goodbye', new Array()));
	answers.push( new inans('Happy Anniversary and Goodbye', new Array()));
	answers.push( new inans('Stay Hungry', new Array()));
	answers.push( new inans('The Villain/Cactus Jack', new Array('Cactus Jack','The Villain')));
	answers.push( new inans('Scavenger Hunt', new Array()));
	answers.push( new inans('The Jayne Mansfield Story', new Array('Jayne Mansfield')));
	answers.push( new inans('Conan the Barbarian', new Array()));
	answers.push( new inans('Conan the Destroyer', new Array()));
	answers.push( new inans('The Terminator', new Array()));
	answers.push( new inans('Red Sonja', new Array()));
	answers.push( new inans('Commando', new Array()));
	answers.push( new inans('Raw Deal', new Array('Triple Identity')));
	answers.push( new inans('Predator', new Array()));
	answers.push( new inans('The Running Man', new Array()));
	answers.push( new inans('Red Heat', new Array()));
	answers.push( new inans('Twins', new Array()));
	answers.push( new inans('Total Recall', new Array()));
	answers.push( new inans('Kindergarten Cop', new Array()));
	answers.push( new inans('Terminator 2: Judgment Day', new Array('Terminator 2')));
	answers.push( new inans('Christmas in Connecticut', new Array()));
	answers.push( new inans('Last Action Hero', new Array()));
	answers.push( new inans('Junior', new Array()));
	answers.push( new inans('True Lies', new Array()));
	answers.push( new inans('Jingle All the Way', new Array()));
	answers.push( new inans('Eraser', new Array()));
	answers.push( new inans('Batman and Robin', new Array()));
	answers.push( new inans('End of Days', new Array()));
	answers.push( new inans('The 6th Day', new Array('The Sixth Day')));
	answers.push( new inans('Dr. Dolittle 2', new Array('Doctor Dolittle 2')));
	answers.push( new inans('Collateral Damage', new Array()));
	answers.push( new inans('Terminator 3: Rise of the Machines', new Array('Terminator 3')));
	answers.push( new inans('The Rundown', new Array('Welcome to the Jungle')));
	answers.push( new inans('Around the World in 80 Days', new Array()));
	answers.push( new inans('The Kid & I', new Array('The Kid and I')));
	answers.push( new inans('Terminator Salvation', new Array()));
	remaining = answers.length;
	displayRemaining();
}

function doEndAlert()
{
	var total = (correct + remaining);
	var percentunrounded = (correct/total) * 100;
	var percent = roundNumber(percentunrounded,2)
	if ( percent == 100 ) {
	alert("Nicely done. You named them all.\nYou got all " + correct + " answers correct.\nWell done!!!");
	}
	if ( percent >= 90 && percent < 100) {
	alert("Well done! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is an amazing score");
	}
	if ( percent >= 70 && percent < 90) {
	alert("Great Job! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is a very good score");
	}
	if ( percent >= 55 && percent < 70) {
	alert("Good Job! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is a good score");
	}
	if ( percent >= 25 && percent < 55) {
	alert("Not bad! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is a average score");
	}
	if ( percent < 25) {
	alert("Not very good, I'm afraid! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is a not a very good score");
	}
}
