CINXE.COM
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <script type="text/javascript"> var url = 'https://gencat4.eloquent-systems.com/webcat/request/Action?SystemName=City+of+Toronto+Archives&UserName=wa+public&Password=&TemplateProcessID=6000_3355&CMD_(SearchRequest)[12]=&RequesterType=SearchTemplate&browseData=1&bCachable=1&Keyword=0'; var param = window.location.search.split('?')[1].split('='); var name = param[0]; var value = param[1]; if (name === 'key') { url += '&POI1_1225=' + value; } else if (name === 'logic') { url += '&SearchLogic=&Logic=&S1=POI1_201&1POI1_201=' + value; } location.replace(url); </script> </head> <body></body> </html>