Script broken in IE7

Script broken in IE7

http://wms1.zoho.com/wms.html

breaks on our pcs in our lan environment. firefox works fine but IE7 is our default browser. script debugging shows this last line to be the break point (line 161). Please assist


 
(158) function register()
(159) {
(160) //var oldDomain = document.domain; //document.domain=subDomain;
(161) var prd=parent.getPrd();


As a possible consequence of this script break, Chat doesnt seem to pop up a window when you click on it. There are also other slowness issues with documents and other general problems.