
function openDocumentWindow(url) {

        var newWinObj = window.open('','oWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=368,height=184')

newWinObj = window.open(url,'oWin')

	if (navigator.appVersion.charAt(0)>=3){

		newWinObj.focus()

	}

	}

var tot = 0;
var page_url = "index.html";

function getRadio (radio)
{
    if (radio[0].checked) return(radio[0].value);
    else
	if (radio[1].checked) return(radio[1].value);
    else 
	return (7);
}

function timeWarp()
	{
	var v1 = getRadio(document.tfk_form.quote1)
        var v2 = getRadio(document.tfk_form.quote2)
        var v3 = getRadio(document.tfk_form.quote3)
        var v4 = getRadio(document.tfk_form.quote4)
        var v5 = getRadio(document.tfk_form.quote5)
        var v6 = getRadio(document.tfk_form.quote6)
        
		if ( v1 == 7 ) tot = tot + 7;
		if ( v2 == 7 ) tot = tot + 7;
		if ( v3 == 7 ) tot = tot + 7;
		if ( v4 == 7 ) tot = tot + 7;
		if ( v5 == 7 ) tot = tot + 7;
		if ( v6 == 7 ) tot = tot + 7;
// do not edit above	

// here's where you change the answers
// v1 == 1 or 2  v2 == 1 or 2  etc
		
        if ( v1 == 1 ) tot = tot + 1;
        if ( v2 == 2 ) tot = tot + 1;
        if ( v3 == 2 ) tot = tot + 1;
        if ( v4 == 1 ) tot = tot + 1;
        if ( v5 == 2 ) tot = tot + 1;
        if ( v6 == 1 ) tot = tot + 1;
        
// do not edit below
        if ( tot == 0 ) openDocumentWindow ('whosaid-wrong-zero.html');
        if ( tot == 1 ) openDocumentWindow ('whosaid-wrong-one.html');
        if ( tot == 2 ) openDocumentWindow ('whosaid-wrong-two.html');
        if ( tot == 3 ) openDocumentWindow ('whosaid-wrong-three.html');
        if ( tot == 4 ) openDocumentWindow ('whosaid-wrong-four.html');
        if ( tot == 5 ) openDocumentWindow ('whosaid-wrong-five.html');
        if ( tot == 6 ) window.location.href="whosaid-win.html";
        if ( tot >= 7 ) openDocumentWindow ('whosaid-wrong-select.html');
        tot = 0;
	}


