%@Language="JScript"%>
<%
var page = Request.QueryString("page").item;
if( !page )
page = "About";
var con = Server.CreateObject("ADODB.Connection");
con.open( Application("ConnectionString") );
sql = "SELECT Url, Name, Title, ID FROM tony_friends ORDER BY Name";
rs = con.Execute( sql );
if( !rs.eof )
friends = rs.getRows().toArray();
rs.close();
rs = null;
con = null;
putHeader(true, page);
%>
<% renderText( page )%>
<%
if( friends || Session("Authenticated" ) ){
%>
friends
<%
if(friends){
for( var i = 0; i < friends.length; i+=4 )
{
%> - ><%=friends[i + 1]%>
<%
}
}
}
if( Session("Authenticated" ) )
{
%> - New
<%
}
%>
![<%=Application(]()
" src="<%=Application("Image" + page)%>" <%=Session("Authenticated")?"onclick=\"editAppImage('Image" + page + "', '" + Application("Image" + page) + "', '" + Application("Image" + page + "Alt") + "')\" ":""%>/>
<%
putFooter();
%>