//*****************************
//* Print the main site menu
//*****************************
function printMenu()
{
document.writeln("
");
document.writeln(" ");
document.writeln(" ");
document.writeln(" ");
document.writeln(" ");
document.writeln(" ");
document.writeln(" ");
document.writeln("
");
}
//*****************************
//*****************************
//* Print the HITIQA Form
//*****************************
function printAskForm()
{
document.writeln("");
document.writeln("
");
document.writeln("
");
}
//*****************************
//*****************************
//* Load an example question to the HITIQA Form
//*****************************
function getExampleQuestion()
{
var askExample = new Array();
askExample[0] = "What is network neutrality?"
askExample[1] = "Does net neutrality impact free speech?"
askExample[2] = "Who opposes network neutrality?"
askExample[3] = "What is the FCC?"
askExample[4] = "Who owns the internet?"
askExample[5] = "Why is net neutrality important?"
askExample[6] = "Will money affect net neutrality?"
askExample[7] = "Arguments against net neutrality"
i = Math.floor(Math.random() * askExample.length);
return askExample[i];
}
//*****************************
//*****************************
// Process the HITIQA Form submit
//*****************************
var hitiqaAnswerWindow;
var count = 0;
function onSubmit()
{
/*
if(null != hitiqaAnswerWindow)
{
hitiqaAnswerWindow.close();
}
hitiqaAnswerWindow = window.open("hitiqaanswer.htm", "hitiqaAnswerWindow","height=500,width=800",true);
*/
hitiqaAnswerWindow = window.open("hitiqaanswer.htm", count, "height=500, width=800, scrollbars=yes");
hitiqaAnswerWindow.focus();
count++;
}
//*****************************