var appname = "YACY: a Java Freeware P2P-Based Search Engine with Caching HTTP Proxy"; var thismenu = new Array( "index","FAQ","Details","Technology","Platforms","News","Demo","License","Download", "Installation","Volunteers","Deutsches Forum@http://www.yacy-forum.de","English Forum@http://sourceforge.net/forum/?group_id=116142","Material","Links","Contact","","Impressum"); var mainmenu = new Array( "YACY Home@http://www.yacy.net/index.html", "Products@http://www.yacy.net/Products/index.html", "Consulting@http://www.yacy.net/Consulting/index.html", "Profile@http://www.yacy.net/Profile/index.html", "Impressum@http://www.yacy.net/Impressum/index.html"); var root = "http://www.yacy.net/"; function headline() { document.writeln(""); document.writeln( "" + "" + "" + "" + "" + "" + "" + "
" + "

Y A C Y    -   D I S T R I B U T E D    P 2 P - B A S E D    W E B   I N D E X I N G
"); //tmenu(); document.writeln("
"); document.writeln("
"); } function filename() { var p = window.location.pathname; return p.substring(p.lastIndexOf("/") + 1); } function docname() { var f = filename() return f.substring(0, f.indexOf(".")); } function lmenu() { document.writeln(""); var dn = docname(); var printname; var pos; for (var i = 0; i < thismenu.length; ++i) { document.writeln(""); if (thismenu[i] == "index") printname = "About"; else printname = thismenu[i]; if (thismenu[i] == "") { document.writeln(""); } else if (dn == thismenu[i]) { document.writeln(""); } else { pos = thismenu[i].indexOf("@"); if (pos >= 0) document.writeln(""); else document.writeln(""); } } document.writeln("
 
 " + printname + "
 " + thismenu[i].substring(0, pos) + "
 " + printname + "
"); } function tmenu() { //document.writeln(""); //document.writeln(""); //document.writeln("
"); var linkpath; var printname; var pos; pos = mainmenu[0].indexOf("@"); linkpath = mainmenu[0].substring(pos + 1); printname = mainmenu[0].substring(0, pos); document.writeln("" + printname + " "); for (var i = 1; i < mainmenu.length; ++i) { pos = mainmenu[i].indexOf("@"); linkpath = mainmenu[i].substring(pos + 1); printname = mainmenu[i].substring(0, pos); document.writeln("·  " + printname + " "); } //document.writeln("
"); } function globalheader() { document.writeln(""); document.writeln(""); //document.writeln(""); document.writeln(""); //document.writeln(""); document.writeln(""); document.writeln("
"); //tmenu(); document.writeln("
"); headline(); document.writeln("
" + "" + " " + " " + " " + " " + " " + "
"); lmenu(); document.writeln(" "); document.writeln(" "); document.writeln(" "); //if ((docname() != "index") && (docname() != "indexd")) { // document.writeln(" "); // document.writeln(" "); //} document.writeln("
" + appname + "

"); } function globalfooter() { document.writeln("

"); document.writeln("
"); document.writeln("
" + "
"); }