%@language='JScript'%>
<%
if (!Request.QueryString("doc").count){Response.Redirect ("/resources/notfound.asp");}
var doc=Request.QueryString("doc")(1);
%>
<%
var errorFlag=false;
xmlObj.async=false
xmlObj.load(Server.MapPath(doc));
if (xmlObj.documentElement!=null)
{
var title=parse('dc:Title')[0];
var subtitle=parse('subtitle')[0];
var author=parse('dc:Creator')[0];
var docdata=parse('docdata')[0];
var docdate=parse('dc:Date')[0];
var abstract=parse('dc:Description')[0];
var txt=parse('text')[0];
}
else
{
var title='Error';
errorFlag=true;
}
%>
NTUA Maritime Transport - <%=title%>
<%if (!errorFlag){%>
<%=title%>
<%=txt%>
<%}
else
{%>
Error
The requested document '<%=doc%>' does not exist, or is presently inaccessible.
If the problem persists, please contact your web administrator.
<%}
%>