|
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R7" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('привычку народа к властному управлению в обществе; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R7" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('признание ее большинством населения; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check7(){
var i;
var N=0;
var V=0;
for(i=0;i<4;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"7 = "+N+"|";
if(N==16)
{ QR=QR+1; }
else { AddIQN(7);}}
function Quest8() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('Легальность власти это ее: <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<5;i++) AnsNum[i]=i;
for(i=0;i<5;i++) { j=Math.floor(Math.random()*5)%5; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<5;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R8" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('формирование и функционирование на основе закона (права); <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R8" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('признание и уважение большинством населения страны; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R8" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('осуществление на принципах демократии; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R8" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('функционирование на основе применения средств принуждения; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==4)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R8" value="5"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('легитимность; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check8(){
var i;
var N=0;
var V=0;
for(i=0;i<5;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"8 = "+N+"|";
if(N==2)
{ QR=QR+1; }
else { AddIQN(8);}}
function Quest9() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('Организованная сила, обеспечивающая возможность одной социальной общности подчинять своей воле другие социальные общности: <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<5;i++) AnsNum[i]=i;
for(i=0;i<5;i++) { j=Math.floor(Math.random()*5)%5; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<5;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R9" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('авторитет; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R9" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('социальная власть; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R9" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('политика. <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R9" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('инквизиция <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==4)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R9" value="5"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('правоохранительные органы <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check9(){
var i;
var N=0;
var V=0;
for(i=0;i<5;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"9 = "+N+"|";
if(N==4)
{ QR=QR+1; }
else { AddIQN(9);}}
function Quest10() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('К понятию государственного суверенитета относится: <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<6;i++) AnsNum[i]=i;
for(i=0;i<6;i++) { j=Math.floor(Math.random()*6)%6; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<6;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R10" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('наличие у государства особых средств принуждения (армия, тюрьмы); <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R10" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('независимость государства от любой власти в стране; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R10" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('возможность государства формировать органы управления; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R10" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('наличие социальной власти; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==4)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R10" value="5"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('наличие системы социального нормативного регулирования; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==5)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R10" value="6"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('возможность издавать законы; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check10(){
var i;
var N=0;
var V=0;
for(i=0;i<6;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"10 = "+N+"|";
if(N==4)
{ QR=QR+1; }
else { AddIQN(10);}}
function Quest11() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('Политико-правовое свойство государства, означающее верховенство государственной власти внутри страны и независимость ее во взаимоотношениях с другими государствами называется: <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<5;i++) AnsNum[i]=i;
for(i=0;i<5;i++) { j=Math.floor(Math.random()*5)%5; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<5;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R11" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('дееспособность; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R11" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('компетенция; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R11" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('суверенитет; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R11" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('правосубъектность; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==4)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R11" value="5"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('правовой статус; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check11(){
var i;
var N=0;
var V=0;
for(i=0;i<5;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"11 = "+N+"|";
if(N==8)
{ QR=QR+1; }
else { AddIQN(11);}}
function Quest12() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('В соответствии с марксистско-ленинской теорией, признаками государства являются (пометить 4) <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<6;i++) AnsNum[i]=i;
for(i=0;i<6;i++) { j=Math.floor(Math.random()*6)%6; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<6;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="checkbox" name="C12_1" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('экономическая обусловленность государства; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="checkbox" name="C12_2" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('расслоение общества на антагонистические классы; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="checkbox" name="C12_3" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('возведение в закон воли экономически господствующего класса; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="checkbox" name="C12_4" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('легитимность государственной власти; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==4)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="checkbox" name="C12_5" value="5"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('наличие аппарата принуждения; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==5)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="checkbox" name="C12_6" value="6"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('легальность государственной власти; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check12(){
var i;
var N=0;
var V=0;
for(i=0;i<6;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"12 = "+N+"|";
if(N==46)
{ QR=QR+1; }
else { AddIQN(12);}}
function Quest13() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('В марксистско-ленинской теории государство понимается как: <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<4;i++) AnsNum[i]=i;
for(i=0;i<4;i++) { j=Math.floor(Math.random()*4)%4; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<4;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R13" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('машина для поддержания господства одного класса над другим; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R13" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('общественный союз свободных людей с принудительно установленным мирным порядком; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==2)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R13" value="3"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('форма общежития людей,основанная на психологическом взаимодействии между ними; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==3)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R13" value="4"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('союз людей, осевших в известных границах и подчиненных одной власти; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
} parent.QuestField.document.writeln('</TABLE>');}
function Check13(){
var i;
var N=0;
var V=0;
for(i=0;i<4;i++) {
if(parent.QuestField.document.forms[0].elements[i].checked)
{ V=parseInt(parent.QuestField.document.forms[0].elements[i].value,10);
N=N|(1<<V);
} }
Ans=Ans+"13 = "+N+"|";
if(N==2)
{ QR=QR+1; }
else { AddIQN(13);}}
function Quest14() {
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('Государства типологизируются по научно-техническому развитию на: <BR>');
parent.QuestField.document.writeln('</P>');
var AnsNum=new Array();
var i,j;
for(i=0;i<5;i++) AnsNum[i]=i;
for(i=0;i<5;i++) { j=Math.floor(Math.random()*5)%5; Buf=AnsNum[i]; AnsNum[i]=AnsNum[j]; AnsNum[j]=Buf;};
parent.QuestField.document.writeln('<TABLE>');
for(i=0;i<5;i++) {
if(AnsNum[i]==0)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R14" value="1"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
parent.QuestField.document.writeln('<P>');
parent.QuestField.document.writeln('доиндустриальные, индустриальные и постиндустриальные; <BR>');
parent.QuestField.document.writeln('</P>');
parent.QuestField.document.writeln('</TD>');
parent.QuestField.document.writeln('</TR>'); }
if(AnsNum[i]==1)
{parent.QuestField.document.writeln('<TR>');
parent.QuestField.document.writeln('<TD valign=top> <INPUT type="radio" name="R14" value="2"> </TD>');
parent.QuestField.document.writeln('<TD valign=top>');
Дата добавления: 2015-09-29; просмотров: 32 | Нарушение авторских прав
<== предыдущая лекция | | | следующая лекция ==> |