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


function loadanswers()
{
	answers = new Array();
	answers.push( new inans('Primal Scream – Screamadelica', new Array('Primal Scream')));
	answers.push( new inans('Suede - Suede', new Array('Suede')));
	answers.push( new inans('M People – Elegant Slumming', new Array('M People')));
	answers.push( new inans('Portishead – Dummy', new Array('Portishead')));
	answers.push( new inans('Pulp – Different Class', new Array('Pulp')));
	answers.push( new inans('Roni Size/Reprazent – New Forms', new Array('Roni Size Reprazent','Roni Size/Reprazent')));
	answers.push( new inans('Gomez – Bring It On', new Array('Gomez')));
	answers.push( new inans('Talvin Singh – Ok', new Array('Talvin Singh')));
	answers.push( new inans('Badly Drawn Boy – The Hour of Bewilderbeast', new Array('Badly Drawn Boy')));
	answers.push( new inans('PJ Harvey – Stories from the City, Stories from the Sea', new Array('PJ Harvey','P.J Harvey','P J Harvey')));
	answers.push( new inans('Ms. Dynamite – A Little Deeper', new Array('Ms Dynamite','Miss Dynamite')));
	answers.push( new inans('Dizzee Rascal – Boy in Da Corner', new Array('Dizzee Rascal')));
	answers.push( new inans('Franz Ferdinand – Franz Ferdinand', new Array('Franz Ferdinand')));
	answers.push( new inans('Antony and the Johnsons – I Am a Bird Now', new Array('Anthony and the Johnsons','Anthony & the Johnsons')));
	answers.push( new inans('Arctic Monkeys – Whatever People Say I Am, That\'s What I\'m Not', new Array('Arctic Monkeys')));
	answers.push( new inans('Klaxons – Myths of the Near Future', new Array('Klaxons')));
	answers.push( new inans('Elbow - The Seldom Seen Kid', new Array('Elbow')));
	remaining = answers.length;
	displayRemaining();
}

function doEndAlert()
{
	var total = (correct + remaining);
	var percentunrounded = (correct/total) * 100;
	var percent = roundNumber(percentunrounded,2)
	if ( percent == 100 ) {
	alert("Absolutely Amazing, You managed to name them all, you sure know your British/Irish Music.\nYou got all " + correct + " answers correct.\nWell done!!!");
	}
	if ( percent >= 75 && 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 >= 60 && percent < 75) {
	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 >= 40 && percent < 60) {
	alert("Good Job! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is a good score");
	}
	if ( percent >= 20 && percent < 40) {
	alert("Not bad! You managed to get " + correct + " correct.\nThat is " + percent + "% of the total possible answers.\nThat is a average score");
	}
	if ( percent < 20) {
	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");
	}
}

