document.write(
'<form action="emulators.html" id="filter">\n'+
'<table class="emulator" width="500">'+
'<tr><th>Version Filter</th></tr>'+
'<tr><td><a href="emulators.html">All</a> | <a href="emulators.html?filter=BeOS">BeOS</a> | <a href="emulators.html?filter=MacOS">MacOS</a> | <a href="emulators.html?filter=Unix|Linux">Unix|Linux</a> | <a href="emulators.html?filter=Source">Source</a> | '+
'<a href="emulators.html?filter='+dorando.lastyear+'">Not older than a year</a></td></tr>'+
'<tr><td>Custom: <input name="filter"></input></td></tr>'+
'</table></form>\n'
);

try { dorando.filter = ".*"+decodeURIComponent(location.search.substring(8).replace(/\+/g,"%20"))+".*"; }
catch(err) { dorando.filter = ".*"+unescape(location.search.substring(8))+".*"; }
if(dorando.filter!=".*.*")dorando.filter='downloads.search(/'+dorando.filter.replace(/\//g,"\\/")+'/gi)';
else dorando.filter="";

dorando.storage="";

function E(name,homepage)
{
var downloads="";
for(var i = 2; i <= arguments.length-1; i++)
{
downloads+=arguments[i]+"<br />";
}
if(homepage==1)homepage='download.html#emulators" class="down';
if(homepage!=0)name='<a href="'+homepage+'">'+name+'</a>';
if(eval(dorando.filter))return;//if(downloads.search(dorando.filter))return;
dorando.storage+='<tr><td>'+name+'</td><td>'+downloads+'</td></tr>';
}

function D(os,version,download,date){return os+' '+version+' | '+date;}

function H(Name,anchor)
{
dorando.storage=
'<h2 id="'+anchor+'">'+Name+'</h2>'+
'<table class="emulator" width="500"><colgroup><col width="200" /><col /></colgroup><tr><th>Name</th><th>Version</th></tr>';
}

function F()
{
dorando.storage+='</table><br />';
document.write(dorando.storage.replace(/&/g,"&amp;"));
dorando.storage="";
}