I just came across a fascinating work of Gareth Heyes ......... on Router Scanner written using JAVASCRIPT ............. that's a great news i am ready to get my hands dirty by trying out this scanner .......... and it is a OPENSOURCE stuff .... so we can simply start working on code
check out the link http://www.businessinfo.co.uk/labs/lan_scan/lan_scan.php