function f(x){ad=0;st=0;if (x.charAt(0)=="x"){n = x.charAt(1)+x.charAt(2);ad = n*1;st=3;}y = "";for (i=st;i<x.length;i+=3){ q="";for (j=0;j<3;j++){k = i+j;z= x.charAt(k);q = q+z;}q*=1;q-=ad;y+=String.fromCharCode(q);}document.writeln(y);}
function showinfok(url)
{
	win=window.open(url,'_info','height=350,width=400,status=no,toolbar=no');
	win.focus();
}
function newwin(url)
{
	win=window.open(url,'_newwin');
	win.focus();
}
function dlspeed(name,sz,t14,t28,t33,t56,t64,t128,t500)
{


	win=window.open('','_speed','height=350,width=300,status=no,toolbar=no,resizable=yes');
	win.focus();
win.document.writeln("<CENTER><FONT SIZE='+1' COLOR='red'><B><I>"+name + "</I></B></FONT></CENTER>");
                                        	win.document.writeln("<CENTER>Download size: " + sz+"</CENTER>");
	win.document.writeln("<TABLE ALIGN=CENTER width='100%' border=1>");
                                    	win.document.writeln("<TR>");
                                        	win.document.writeln("<TD COLSPAN=2 ALIGN=CENTER><B>Approximate Download Time</B></TD>");
                                    	win.document.writeln("</TR>");
                                   	win.document.writeln(" <TR>");
                                        	win.document.writeln("<TD ALIGN=RIGHT> 14.4K modem </TD>");
                                        	win.document.writeln("<TD ALIGN=RIGHT>"+t14+"</TD>");
                                    win.document.writeln("</TR>");
                                     win.document.writeln("<TR>");
                                        win.document.writeln(" <TD ALIGN=RIGHT> 28.8K modem </TD>");
                                         win.document.writeln("<TD ALIGN=RIGHT>"+t28+"</TD>");
                                     win.document.writeln("</TR>");
                                     win.document.writeln("<TR>");
                                         win.document.writeln("<TD ALIGN=RIGHT> 33.6K modem </TD>");
                                         win.document.writeln("<TD ALIGN=RIGHT>"+t33+" </TD>");
                                     win.document.writeln("</TR>");
                                     win.document.writeln("<TR>");
                                         win.document.writeln("<TD ALIGN=RIGHT> 56K modem </TD>");
                                         win.document.writeln("<TD ALIGN=RIGHT>"+t56+" </TD>");
                                     win.document.writeln("</TR>");
                                     win.document.writeln("<TR>");win.document.focus();
                                         win.document.writeln("<TD ALIGN=RIGHT> ISDN (64K) </TD>");
                                         win.document.writeln("<TD ALIGN=RIGHT>"+t64+"</TD>");
                                     win.document.writeln("</TR>");
                                     win.document.writeln("<TR>");
                                         win.document.writeln("<TD ALIGN=RIGHT> ISDN (128K) </TD>");
                                         win.document.writeln("<TD ALIGN=RIGHT>"+t128+" </TD>");
                                     win.document.writeln("</TR>");
if (t500 != "")
{
                                     win.document.writeln("<TR>");
                                         win.document.writeln("<TD ALIGN=RIGHT> Broadband (500K) </TD>");
                                         win.document.writeln("<TD ALIGN=RIGHT>"+t500+" </TD>");
                                     win.document.writeln("</TR>");
}
win.document.writeln("</TABLE>");
win.document.writeln("<P><CENTER><BUTTON TYPE='button' NAME='button' VALUE='Close window'  ONCLICK='window.close()'>Close this window</BUTTON></CENTER>");
win.document.close();
}

