Here's another new one. Should work properly (fingers
crossed...)
James
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80
http://btyahoo.yahoo.co.uk
<search function="ch">
<name>UK Companies House</name>
<category>Finance</category>
<contributor>James Robertson</contributor>
<link>http://ws2info.companieshouse.gov.uk/info/</link>
<email></email>
<description>
Search UK Companies House records
<div class="helpboxDescLabels">Switches:</div>
<table class="helpboxDescTable">
<tr><td>/curr</td><td> - current/recently dissolved names</td><td></td></tr>
<tr><td>/no</td><td> - company number</td><td></td></tr>
<tr><td>/dis</td><td> - dissolved names</td><td></td></tr>
<tr><td>/prev</td><td> - previous names</td><td></td></tr>
<tr><td>/prop</td><td> - proposed names</td><td></td></tr>
</table>
<div class="helpboxDescLabels">Examples:</div>
<table class="helpboxDescTable">
<tr><td>ch testbond /curr</td></tr>
<tr><td>ch 01626499 /no</td></tr>
<tr><td>ch testbest /dis</td></tr>
<tr><td>ch testbid /prev</td></tr>
<tr><td>ch tested /prop</td></tr>
<tr><td>ch 03877484 /no /dis</td></tr>
</table>
</description>
<form name="chf"
method="post"
action="http://ws2info.companieshouse.gov.uk/info/do_search.cgi">
<input type="hidden" name="id" value="" />
<input type="hidden" name="cname" value="" />
<input type="hidden" name="cnumb" value="" />
<input type="hidden" name="table" value="1" />
</form>
<script><![CDATA[
function ch(q)
{
if( nullArgs("ch", q) )
return false;
var args = parseArgs(q, "cur, curr, no, num, number, dis, diss, prev, prop");
if( q == "" )
openSearchWindow("http://ws2info.companieshouse.gov.uk/info/");
else if ( args.switches.length > 0 )
{
document.chf.cname.value = args.q;
document.chf.table.value = 1;
for( var j=0; j<args.switches.length; j++ )
{
switch( args.switches[j].name )
{
case "cur":
document.chf.table.value = 1;
break;
case "curr":
document.chf.table.value = 1;
break;
case "no":
document.chf.cname.value = "";
document.chf.cnumb.value = args.q;
break;
case "num":
document.chf.cname.value = "";
document.chf.cnumb.value = args.q;
break;
case "number":
document.chf.cname.value = "";
document.chf.cnumb.value = args.q;
break;
case "dis":
document.chf.table.value = 2;
break;
case "diss":
document.chf.table.value = 2;
break;
case "prev":
document.chf.table.value = 4;
break;
case "prop":
document.chf.table.value = 8;
break;
default:
break;
}
}
submitForm(chf);
}
else
{
document.chf.cname.value = args.q;
document.chf.table.value = 1;
submitForm(chf);
}
}
]]></script>
<copyright>
Copyright (c) 2002 David Bau
Distributed under the terms of the
GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>