

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=280,height=240')
newWinObj = window.open(url,'oWin')
	if (navigator.appVersion.charAt(0)>=3){
		newWinObj.focus()
	}
}

var tot = 0;
var page_url = "0,6709,266507,00.html";

function timeWarp()
{
	var v1 = document.tfk_form.pic1.options[document.tfk_form.pic1.selectedIndex].value;
	var v2 = document.tfk_form.pic2.options[document.tfk_form.pic2.selectedIndex].value;
	var v3 = document.tfk_form.pic3.options[document.tfk_form.pic3.selectedIndex].value;
	var v4 = document.tfk_form.pic4.options[document.tfk_form.pic4.selectedIndex].value;
	var v5 = document.tfk_form.pic5.options[document.tfk_form.pic5.selectedIndex].value;
	var v6 = document.tfk_form.pic6.options[document.tfk_form.pic6.selectedIndex].value;

	if ( v1 == 8 ) tot = tot + 7;
	if ( v2 == 8 ) tot = tot + 7;
	if ( v3 == 8 ) tot = tot + 7;
	if ( v4 == 8 ) tot = tot + 7;
	if ( v5 == 8 ) tot = tot + 7;
	if ( v6 == 8 ) 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 == 3 ) tot = tot + 1;
	if ( v2 == 5 ) tot = tot + 1;
	if ( v3 == 1 ) tot = tot + 1;
	if ( v4 == 6 ) tot = tot + 1;
	if ( v5 == 2 ) tot = tot + 1;
	if ( v6 == 4 ) tot = tot + 1;
	
// do not edit below
	if ( tot == 0 ) openDocumentWindow ('/TFK/specials/020627_petmatch/zero.html');
	if ( tot == 1 ) openDocumentWindow ('/TFK/specials/020627_petmatch/one.html');
	if ( tot == 2 )	openDocumentWindow ('/TFK/specials/020627_petmatch/two.html');
	if ( tot == 3 )	openDocumentWindow ('/TFK/specials/020627_petmatch/three.html');
	if ( tot == 4 )	openDocumentWindow ('/TFK/specials/020627_petmatch/four.html');
	if ( tot == 5 )	openDocumentWindow ('/TFK/specials/020627_petmatch/five.html');
	if ( tot == 6 )	window.location.href="/TFK/specials/articles/0,6709,266515,00.html";
	if ( tot >= 7 )	openDocumentWindow ('/TFK/specials/020627_petmatch/select.html');

	tot = 0;
}
