cleaned up wb\wb.php with code from wa

git-svn-id: http://webookplus.googlecode.com/svn/trunk@12 e4af1bdb-a942-0fa5-43bf-c3b0ff943415