(function()
{
var pos = Number(window.location.href.substring(window.location.href.lastIndexOf("/")+1, window.location.href.length-5));
var tnpos = pos + 1;
var tppos = pos - 1;
if (tnpos < 10)
tnpos = String("000" + tnpos)
else if (tnpos < 100)
tnpos = String("00" + tnpos)
else if (tnpos < 1000)
tnpos = String("0" + tnpos)
else
tnpos = String(tnpos)
if (tppos < 10)
tppos = String("000" + tppos)
else if (tppos < 100)
tppos = String("00" + tppos)
else if (tppos < 1000)
tppos = String("0" + tppos)
else
tppos = String(tppos)
document.write('
qooxdoo: The new era of web development
');
document.write('');
document.write('');
document.write('
');
qx.dev.log.Logger.ROOT_LOGGER.removeAllAppenders();
qx.dev.log.Logger.ROOT_LOGGER.addAppender(new qx.dev.log.DivAppender("demoDebug"));
function showTestFiles()
{
var str = "";
if( window.location.href.search(/\/showcase\//)+1 ) {
str = showstr;
}
else if( window.location.href.search(/\/example\//)+1 ) {
str = exastr;
}
else if( window.location.href.search(/\/performance\//)+1 ) {
str = perfstr;
}
else if( window.location.href.search(/\/test\//)+1 ) {
str = teststr;
}
var arr = str.split(" ");
var p = window.location.pathname.replace(/\\/g, "/");
var sel = -1;
document.writeln('');
if (sel != -1)
{
document.writeln('');
if (sel > 1) {
document.writeln("");
}
if (sel < arr.length-1) {
document.writeln("");
}
document.writeln('
');
};
}
var url = location.href;
var pos = url.indexOf("/html/")+6;
var split = url.substring(pos).split("/");
var category = split[0];
category = category.charAt(0).toUpperCase() + category.substring(1);
var pagename = split[1].replace(".html", "").replace(/_/g, " ");
pagename = pagename.charAt(0).toUpperCase() + pagename.substring(1);
document.title = "qooxdoo » Demo » " + category + " » " + pagename;
if (window.location.href.indexOf("demo.qooxdoo.org") != -1)
{
document.write('');
document.write('');
document.write('');
document.write('');
}
//})();