#!/bin/sh
. /www/cgi-bin/functions.sh
lock_cgiwait
thank_for=$($nvram get thank_login)
$nvram set view_wizard=0
oc $nvram commit
print_cgi_header
print_http_header "/funcs.js"
print_nocommitload_header "_Wizard_setup" "wizard_detwan.html" "wizard_detwan"
print_table_header ""
cat <
function click_next()
{
if (document.forms[0].WANDetc[0].checked == true)
document.forms[0].submit();
else
location.href="bas_inter.html";
}
function loadvalue()
{
if('$thank_for' == '0')
{
if(isIE())
window.open('thank_login.html',"thankspage",'width=460,height=400,top=240,left=300,status=yes')
else
window.open('thank_login.html',"thankspage",'width=380,height=350,screenY=250,screenX=300,status=yes')
}
}
EOF
print_http_footer