//2
I1N='Skin/Part0.gif';I2N='Skin/Part1.gif';I3N='Skin/Part2.gif';I4N='Skin/Part3.gif';I5N='Skin/Part4.gif';B7N='Skin/Block7.gif';B8N='Skin/Block8.gif';B9N='Skin/Block9.gif';B4N='Skin/Block4.gif';B5N='Skin/Block5.gif';B6N='Skin/Block6.gif';B1N='Skin/Block1.gif';B2N='Skin/Block2.gif';B3N='Skin/Block3.gif';SOT1=1;SOT2=1;T1T='Day Skipper Fun Quiz';T1C='FFFFFF';T1F='Arial';T1S=26;T2T='Sailtales recommend RYA approved training for all sailors';T2C='FFFF80';T2F='Arial';T2S=20;QIT='Question [QN] of [QT] from a pool of [PT]:';QIC='FFFF80';QIF='Arial';QIS=12;CSFT='Score so far [CT] / [CQ]';CSFC='FFFF80';CSFF='Arial';CSFS=12;BBC='FFFF80';BLC='FFFFBF';BDC='C6C600';BCC='008000';BIC='FF8080';BTC='0000FF';BTF='Arial Black';BTS=16;FT='<a href="http://www.sailtales.co.uk" target="_blank">www.sailtales.co.uk</a>';FC='FFFF80';FF='Arial';FS=12;FTH=50;FSA=1;QTC='FFFFFF';QFC='FFFFFF';QTF='Arial';QTS=20;ANC='FFFF80';AHC='FF8000';ATF='Arial';ATS=20;MTC='80FF80';MTF='Arial';MTS=16;RTT='You scored [SC] out of [ST]';RTC='FFFF80';RTF='Arial';RTS=20;STC='FFFF80';STF='Arial';STS=16;TQ=21;BS=10;RQ=1;RA=1;SCS=1;SIS=1;SAH=1;SN='flags.js';Q1=new Array('A vessel flying this flag is indicating that\;','Images/ditda.gif',1,'My engine are going astern','','I have a diver down - keep well clear','Divers may surface some distance from their support boat due to currents','I am about to put to sea','','I require assistance','','I require medical assistance','');Q2=new Array('What does this flag indicate when flown alone?','Images/ditditditda.gif',2,'I have a man overboard','','I have no lookout','','I require assistance','','I am on fire and have dangerous cargo - keep well clear of me','','I wish to make contact with you','');Q3=new Array('What does this flag indicate when flown alone?','Images/ditdadada.gif',3,'My vessel is stopped and making no way through the water','','My engines are going astern','','I require a tug','','I am on fire and have dangerous cargo - keep well clear of me','','I have a man overboard','');Q4=new Array('What does this flag indicate when flown alone?','Images/da.gif',0,'Keep clear of me. I am engaged in pair trawling','','Keep clear of me, I\'m French!','Sorry, couldn\'t resist.','Keep clear of me, I may explode','','I require your assistance','','You should stop imediately','');Q5=new Array('What does this flag indicate when flown alone?','Images/dadada.gif',4,'I am altering my course to port','','Keep clear. I am engaged in pair trawling','','You are running into danger','','Everything is fine','','I have a man overboard','');Q6=new Array('What does this flag indicate when flown alone?','Images/ditdit.gif',2,'My engines are going astern','','I am altering my course to starboard','','I am altering my course to port','','You are running into danger','','Stop carrying out your intentions and wait for my signals','');Q7=new Array('You see a yacht flying this flag on its own. Which of the following would be the most appropraite course of action?','Images/dadada.gif',1,'Approach the vessel quickly and prepare to take its crew onboard','','Approach the vessel with great care watching for objects in the water. Stand by to assist.','This indicates a man overboard sittuation. Keep a good lookout and be prepared to assist. You may also want to report this to the coastguard as a precaution.','Stop your vessel imediately and check your position','','Keep well clear of this vessel - it may explode','','','');Q8=new Array('You see a yacht flying this flag on its own. Which of the following would be the most appropraite course of action?','Images/daditda.gif',1,'Stop and check your position - you may be running into danger','','Attempt to communicate with this vessel','The flag indicates that the vessel wishes to communicate - they may be having difficulties with convetional methods of communication','Report to the coastguard','','Watch out for wreckage in the water','','Pass with care - the skipper is a novice','');Q9=new Array('This flag, flown on its own, indicates that the vessel requires assistance of what specific kind?','Images/ditdada.gif',2,'Technical','','Physical','','Medical','','Berthing','','Moral','');Q10=new Array('A fishing vessel flying this flag alone is indicating that\;','Images/ditdadadit.gif',2,'It is about to leave port','This would be correct if flown on any vessel other than a fishing boat.','Its engines are running astern','','Its nets are caught fast','','It requires assistance','','It requires a tug','');Q11=new Array('These two flags flown one above the other, can be used to substitute another single flag. They mean\;','Images/yesno.gif',0,'I require assistance','This is \'Yes\' & \'No\' flags. A confused message indicating distress','Drinks party on board now - you are invited','','I am on fire and have dangerouse cargo - keep clear','','I have divers below','','My engines are running astern','');Q12=new Array('This flag, flown alone means\;','Images/ditdaditdit.gif',3,'You are running into danger','','I require assistance','','I wish to communicate with you','','You should stop your vessel instantly','','I am about to put to sea','');Q13=new Array('This flag, flown alone means\;','Images/dit.gif',1,'I am altering course to port','','I am altering course to starboard','','My nets are caught','','You are running into danger','','I require a pilot','');Q14=new Array('Which single word does this flag represent when flown alone?','Images/dadit.gif',2,'Help','','Yes','','No','','Hello','','Goodbye','');Q15=new Array('Which single word does this flag represent when flown alone?','Images/daditdadit.gif',2,'Goodbye','','Rescue','','Yes','','No','','Hello','');Q16=new Array('A vessel flying this flag alone is indicating that\;','Images/daditdada.gif',4,'It\'s engines are running astern','','It requires assistance','','It is stopped and making no way through the water','','It is taking on water (sinking)','','It is dragging its anchor','');Q17=new Array('A non-fishing vessel flying this flag alone is indicating that\;','Images/dadaditdit.gif',0,'It requires a tug','','I It is aground','','It is not under command','','It requires medical assistance','','It is on fire','');Q18=new Array('This flag flown by a fishing vessel indicates that it is\;','Images/dadaditdit.gif',4,'On a lunch break','','dragging it\'s anchor','','Suffering from caught nets','','Engaged in pair trawling','','Shooting nets','');Q19=new Array('This flag indicates that the vessel wishes you to communicate with it. What other specific information does it convey?','Images/ditditdadit.gif',0,'The vessel is disabled','','The vessel is sinking','','The vessel is grounded','','The vessel has a medical emergency on board','','The vessel is on fire','');Q20=new Array('A vessel flying this flag alone is indicating that\;','Images/daditdit.gif',4,'It is grounded','','It is sinking','','It is carrying a dangerous cargo','','It is on fire','','It is manoeuvring with difficulty','');Q21=new Array('Flown alone this flag indicates\;','Images/daditditdit.gif',0,'I am taking in or discharging or carrying dangerous goods','','I am not under command','','I am stopped and making no way through the water','','My engines are running astern','','I am about to put to sea','');STRS=new Array(   0,1,1,1,1,1,1,1,1,1,1);STA=new Array('Hopeless!','Lucky guess?','Oh well. Who uses flags these days anyway?','','','','','Pretty good','Well done','Oh! So close!','Excelent');BN=0;TD=0;TC=0;QN=0;QT=new Array();QD=new Array();for(i=0;i<TQ;i++){QT[i]=eval('Q'+(i+1));QD[i]='0'}function MM_reloadPage(I){if(I)with(navigator){if((appName=='Netscape')&&(parseInt(appVersion)==4)){document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage}}else if(innerWidth!=document.MM_pgW||innerHeight!=document.MM_pgH)location.reload()}MM_reloadPage(true);function FST(TTS,TDT){TAR=new Array();TV1=0;TV2=0;if(TDT!=''){while(TTS.indexOf(TDT,TV1)!=-1){TT1=TTS.substring(TV1,TTS.indexOf(TDT,TV1));TAR[TV2]=TTR;TV2++;TV1=TTS.indexOf(TDT,TV1)}}else{for(i=0;i<TTS.length;i++){TAR[i]=TTS.charAt(i)}}return(TAR)}function FMS(TAR,TDT){Str=TAR[0];for(i=1;i<TAR.length;i++){Str=Str+TDT+TAR[i]}return(Str)}function FCS(){FAC(0,0,0,0,0);}function FAC(TE,ORD,NCQN,CHSN,VC){TCS='"'+FMS(QD,'')+'",'+QN+','+TC+','+BN;WTD='<html><head><title>'+T1T+'</title><style type=\'text/css\'>a.answer{color:#'+ANC+';text-decoration:none;font:'+ATS+'px"'+ATF+'"}a.answer:hover{color:#'+AHC+'}a.button0{position:relative;top:2px;color:#'+BIC+';text-decoration:none;background-color:#'+BBC+';border-width:2px;border-style:solid;border-color:#'+BLC+' #'+BDC+' #'+BDC+' #'+BLC+';font:'+BTS+'px"'+BTF+'"}a.button0:hover{border-color:#'+BDC+' #'+BLC+' #'+BLC+' #'+BDC+'}a.button1{position:relative;top:2px;color:#'+BCC+';text-decoration:none;background-color:#'+BBC+';border-width:2px;border-style:solid;border-color:#'+BLC+' #'+BDC+' #'+BDC+' #'+BLC+';font:'+BTS+'px"'+BTF+'"}a.button1:hover{border-color:#'+BDC+' #'+BLC+' #'+BLC+' #'+BDC+'}a.button{position:relative;top:2px;color:#'+BTC+';text-decoration:none;background-color:#'+BBC+';border-width:2px;border-style:solid;border-color:#'+BLC+' #'+BDC+' #'+BDC+' #'+BLC+';font:'+BTS+'px"'+BTF+'"}a.button:hover{border-color:#'+BDC+' #'+BLC+' #'+BLC+' #'+BDC+'}a.space{text-decoration:none;font:'+BTS+'px"'+BTF+'"}a.SiteLink{color:#'+FC+';text-decoration:none;font-variant:small-caps}a.SiteLink:hover{text-decoration:underline}p{}.ica{color:#'+ANC+';text-decoration:none;font:'+ATS+'px"'+ATF+'"}.cca{color:#'+AHC+';text-decoration:none;font:'+ATS+'px"'+ATF+'"}</style><script src=\''+SN+'\' language=\'JavaScript\' type=\'text/javascript\'></Script></head><body leftmargin=\'0\' topmargin=\'0\' rightmargin=\'0\' bottommargin=\'0\' marginwidth=\'0\' marginheight=\'0\'';if(B1N!=''){WTD+=' background=\''+I3N+'\'';}WTD+=' onload=\'javascript:FTRS();\'><div style=\'position:absolute;left:0px;top:0px;width:100%;text-align:center;font:'+T1S+'px"'+T1F+'";color:#'+T1C+';\'>'+T1T+'</div><div style=\'position:absolute;left:0px;top:'+(T1S+10)+'px;width:100%;text-align:center;font:'+T2S+'px"'+T2F+'";color:#'+T2C+';\'>'+T2T+'</div><div style=\'height:80px;width:100%;';if(SOT1&&B1N!=''){WTD+='background-image:url('+I1N+');'}else if(B1N!=''){WTD+='\'><img src=\''+I1N+'\' width=\'100%\' height=\'100%'}WTD+='\'></div><div style=\'height:50px;width:100%;';if(SOT1&&B1N!=''){WTD+='background-image:url('+I2N+');'}else if(B1N!=''){WTD+='\'><img src=\''+I2N+'\' width=\'100%\' height=\'100%'}WTD+='\'></div>';R1=QIT.replace('[QT]',BS);if(TE==0){R1=R1.replace('[QN]',QN+1);}else{R1=R1.replace('[QN]',QN);}R1=R1.replace('[PT]',TQ);R2=CSFT.replace('[CQ]',QN);R2=R2.replace('[CT]',TC);WTD+='<div style=\'position:absolute;left:12px;top:'+(T1S+T2S+20)+'px;height:'+(Math.max(QIS,BTS+4)+4)+'px;color:#'+QIC+';font:'+QIS+'px"'+QIF+'";\'><a class=\'space\' href=\'#\'>&nbsp;</a>';if(TE==2){WTD+='RESULTS:</div>'}if(TE!=2){WTD+=R1}if(TE==1){WTD+='&nbsp;&nbsp;&nbsp;<a class=\'button'+VC+'\' href=\'javascript:FNQ("'+FMS(QD,'')+'",'+QN+','+TC+','+BN+');\'>&nbsp;';if(VC==0){WTD+='INCORRECT - '}else{WTD+='CORRECT - '}if(QN<BS){WTD+='NEXT QUESTION'}else{WTD+='SEE RESULTS'}WTD+='&nbsp;</a>'}if(TE!=2){WTD+='</div><div style=\'position:absolute;right:20px;top:'+(T1S+T2S+20)+'px;color:#'+CSFC+';font:'+CSFS+'px"'+CSFF+'";\'>'+R2+'</div>'}if(TE==0){TQA=new Array();n=0;for(i=0;i<QD.length;i++){if(QD[i]=='0'){TQA[n]=i;n++}}RNQ=Math.floor(Math.random()*TQA.length);if(!RQ){RNQ=0}CQN=TQA[RNQ];AAR1=new Array();AAR2=new Array();AAR3=new Array();n=0;for(i=0;i<5;i++){if(QT[CQN][3+i*2]!=''){AAR1[n]=i;AAR3[n]=i;n++}}for(p=0;p<n;p++){TAP=new Array();d=0;for(i=0;i<n;i++){if(AAR3[i]!=-1){TAP[d]=AAR3[i];d++}}RNA=Math.floor(Math.random()*d);if(!RA){RNA=0}AAR2[p]=TAP[RNA];AAR3[TAP[RNA]]=-1}WTD+='<div style=\'font:'+QTS+'px"'+QTF+'";\'><table width=\'100%\' height=\'1\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td width=\'10\'></td>';if(QT[CQN][1]!=''){WTD+='<td width=\'1\'>';if(B1N!=''){WTD+='<table height=\'100%\' cols=\'3\' rows=\'3\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td width=\'30\' height=\'30\'><img src=\''+B7N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B8N+'\'>'}else{WTD+='><img src=\''+B8N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B9N+'\'></td></tr><tr><td width=\'30\'';if(SOT2){WTD+=' background=\''+B4N+'\'>'}else{WTD+='><img src=\''+B4N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td><td background=\''+B5N+'\' valign=\'top\'>';}WTD+='<img src=\''+QT[CQN][1]+'\' border=\'0\'>';if(B1N!=''){WTD+='</td><td width=\'30\'';if(SOT2){WTD+=' background=\''+B6N+'\'>'}else{WTD+='><img src=\''+B6N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td></tr><tr><td width=\'30\' height=\'30\'><img src=\''+B1N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B2N+'\'>'}else{WTD+='><img src=\''+B2N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B3N+'\'></td></tr></table>';}WTD+='</td><td width=\'10\'></td>'}WTD+='<td>';if(B1N!=''){WTD+='<table width=\'100%\' height=\'100%\' cols=\'3\' rows=\'3\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td width=\'30\' height=\'30\'><img src=\''+B7N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B8N+'\'>'}else{WTD+='><img src=\''+B8N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B9N+'\'></td></tr><tr><td width=\'30\'';if(SOT2){WTD+=' background=\''+B4N+'\'>'}else{WTD+='><img src=\''+B4N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td><td background=\''+B5N+'\' valign=\'top\'>';}WTD+='<a style=\'color:#'+QTC+';font:'+QTS+'"'+QTF+'"\'>'+QT[CQN][0]+'&nbsp;</font>';if(B1N!=''){WTD+='</td><td width=\'30\'';if(SOT2){WTD+=' background=\''+B6N+'\'>'}else{WTD+='><img src=\''+B6N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td></tr><tr><td width=\'30\' height=\'30\'><img src=\''+B1N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B2N+'\'>'}else{WTD+='><img src=\''+B2N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B3N+'\'></td></tr></table>';}WTD+='</td><td width=\'10\'></td></tr></table></div>';if(document.all){WTD+='<div style=\'height:10px;font-size:1px;\'></div>'}WTD+='<div style=\'width:100%;\'><ul>';AAR4=FMS(AAR2,'');for(i=0;i<AAR2.length;i++){WTD+='<a class=\'answer\' href=\'javascript:FAN('+CQN+','+AAR2[i]+','+TCS+',"'+AAR4+'");\' onmouseover=\'javascript:FNS("Click to choose this answer");\' onmouseout=\'javascript:FNS("Done");\'><li>'+QT[CQN][3+AAR2[i]*2]+'</li></a>'}WTD+='</ul></div>'}if(TE==1){CQN=NCQN;AAR2=FST(ORD,'');if(SAH){WTD+='<div><table width=\'100%\' height=\'1\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td width=\'10\'></td>';if(QT[CQN][1]!=''){WTD+='<td width=\'1\'>';if(B1N!=''){WTD+='<table height=\'100%\' cols=\'3\' rows=\'3\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td width=\'30\' height=\'30\'><img src=\''+B7N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B8N+'\'>'}else{WTD+='><img src=\''+B8N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B9N+'\'></td></tr><tr><td width=\'30\'';if(SOT2){WTD+=' background=\''+B4N+'\'>'}else{WTD+='><img src=\''+B4N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td><td background=\''+B5N+'\' valign=\'top\'>';}WTD+='<img src=\''+QT[CQN][1]+'\' border=\'0\'>';if(B1N!=''){WTD+='</td><td width=\'30\'';if(SOT2){WTD+=' background=\''+B6N+'\'>'}else{WTD+='><img src=\''+B6N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td></tr><tr><td width=\'30\' height=\'30\'><img src=\''+B1N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B2N+'\'>'}else{WTD+='><img src=\''+B2N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B3N+'\'></td></tr></table>';}WTD+='</td><td width=\'10\'></td>'}WTD+='<td>';if(B1N!=''){WTD+='<table width=\'100%\' height=\'100%\' cols=\'3\' rows=\'3\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td width=\'30\' height=\'30\'><img src=\''+B7N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B8N+'\'>'}else{WTD+='><img src=\''+B8N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B9N+'\'></td></tr><tr><td width=\'30\'';if(SOT2){WTD+=' background=\''+B4N+'\'>'}else{WTD+='><img src=\''+B4N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td><td background=\''+B5N+'\' valign=\'top\'>';}WTD+='<a style=\'color:#'+QFC+';font:'+QTS+'"'+QTF+'"\'>'+QT[CQN][0]+'&nbsp;</a>';if(B1N!=''){WTD+='</td><td width=\'30\'';if(SOT2){WTD+=' background=\''+B6N+'\'>'}else{WTD+='><img src=\''+B6N+'\' width=\'30\' height=\'100%\'>'}WTD+='</td></tr><tr><td width=\'30\' height=\'30\'><img src=\''+B1N+'\'></td><td height=\'30\'';if(SOT2){WTD+=' background=\''+B2N+'\'>'}else{WTD+='><img src=\''+B2N+'\' width=\'100%\' height=\'30\'>'}WTD+='</td><td width=\'30\' height=\'30\'><img src=\''+B3N+'\'></td></tr></table>';}WTD+='</td><td width=\'10\'></td></tr></table></div>';if(document.all){WTD+='<div style=\'height:10px;font-size:1px;\'></div>'}WTD+='<div style=\'width:100%;\'><ul>';for(i=0;i<AAR2.length;i++){WTD+='<span class=\'';if(AAR2[i]==CHSN){WTD+='cca'}else{WTD+='ica'};WTD+='\'><li>'+QT[CQN][3+AAR2[i]*2]+'</li></span>'}WTD+='</ul></div>'}WTD+='<div style=\'position:relative;left:10%;width:80%;color:#'+MTC+';font:'+MTS+'px"'+MTF+'";text-align:center;\'>'+QT[CQN][4+CHSN*2]+'</div>'}if(TE==2){R3=RTT.replace('[SC]',TC);R3=R3.replace('[ST]',BS);R4='';TTC=TC;for(i=0;i<STRS.length;i++){TC-=STRS[i];if(TC<=0){R4=STA[i];i=STRS.length+1}}WTD+='<div style=\'color:#'+RTC+';font:'+RTS+'px"'+RTF+'";text-align:center;\'>'+R3+'</div><div style=\'height:30px;\'></div><div style=\'color:#'+STC+';font:'+STS+'px"'+STF+'";text-align:center;\'>'+R4+'</div><div style=\'height:30px;\'></div><div style=\'text-align:center;\'><a class=\'Button\' href=\'javascript:';if((BN+1)>=Math.floor(TQ/BS)){WTD+='FCS();'}else{WTD+='FNQ("'+FMS(QD,'')+'",0,0,'+(BN+1)+');'}WTD+='\'>&nbsp;RE-TAKE THE TEST&nbsp;</a></div>'}if(document.all){CBN='absolute'}else{CBN='fixed'}WTD+='<div style=\'width:100%;height:'+(FTH+50)+'px;\'></div><div id=\'Footer1\' style=\'position:'+CBN+';left:0px;bottom:'+FTH+'px;width:100%;height:50px;';if(SOT1&&B1N!=''){WTD+='background-image:url('+I4N+');'}else if(B1N!=''){WTD+='\'><img src=\''+I4N+'\' width=\'100%\' height=\'100%';}WTD+='\'></div><div id=\'Footer2\' style=\'position:'+CBN+';left:0px;bottom:0px;width:100%;height:'+FTH+'px;color:#'+FC+';font:'+FS+'px"'+FF+'";text-align:center;';if(SOT1&&B1N!=''){WTD+='background-image:url('+I5N+');'}else if(B1N!=''){WTD+='\'><img src=\''+I5N+'\' width=\'100%\' height=\''+FTH}WTD+='\'></div><div id=\'Footer3\' style=\'position:'+CBN+';left:0px;bottom:0px;width:100%;height:'+FTH+'px;color:#'+FC+';font:'+FS+'px"'+FF+'";text-align:center;overflow:hidden;\'>'+FT;if(FSA){WTD+='<br><font size=\'3\'>Created with the hyper quiz maker. Visit <a class=\'SiteLink\' href=\'http://www.HyperQuizMaker.co.uk\' target=\'_blank\'>www.HyperQuizMaker.co.uk</a></font>.'}WTD+='</div></body></html>';document.write(WTD);document.close()}function FNQ(NQD,NQN,NTC,NBN){QD=FST(NQD,'');QN=NQN;TC=NTC;BN=NBN;if(QN<BS){FAC(0,0,0,0,0)}else{FAC(2,0,0,0,0)}}function FAN(CQN,ANC,NQD,NQN,NTC,NBN,NAAR){QD=FST(NQD,'');QN=NQN+1;TC=NTC;BN=NBN;if(ANC==QT[CQN][2]){QD[CQN]=2;TC++;if(SCS){FAC(1,NAAR,CQN,ANC,1)}else{FNQ(FMS(QD,''),QN,TC,BN)}}else{QD[CQN]=1;if(SIS){FAC(1,NAAR,CQN,ANC,0)}else{FNQ(FMS(QD,''),QN,TC,BN)}}}function FNS(TCV){setTimeout('FNS2("'+TCV+'");',0)}function FNS2(TCV){window.status=TCV}function FTRS(){if(document.all){IEBF()}}SCY=-1;function IEBF(){if(SCY==-1){Footer1.style.pixelTop=document.body.clientHeight-(FTH+50)+document.body.scrollTop;Footer2.style.pixelTop=document.body.clientHeight-FTH+document.body.scrollTop}if(document.body.scrollTop!=SCY || Footer2.style.pixelTop!=document.body.clientHeight-FTH+document.body.scrollTop){TV1=0;if(Footer1.style.pixelTop>document.body.clientHeight-(FTH+50)+document.body.scrollTop){TV1=-1}Footer1.style.pixelTop=(document.body.clientHeight-(FTH+50)+document.body.scrollTop+(Footer1.style.pixelTop+1)*4)/5+TV1;Footer2.style.pixelTop=(document.body.clientHeight-FTH+document.body.scrollTop+(Footer2.style.pixelTop+1)*4)/5+TV1;Footer2.style.pixelHeight=FTH;Footer2.style.pixelHeight=(Math.max(document.body.clientHeight,document.body.scrollHeight)-Footer2.style.pixelTop+FTH)-FTH;SCY=document.body.scrollTop;Footer3.style.pixelTop=Footer2.style.pixelTop;Footer3.style.pixelHeight=Footer2.style.pixelHeight}setTimeout('IEBF();',50);}// 