this.id = id;
var timeout = 10;
+ console.log("document.location" + document.location);
console.log("document.location" + document.location);
+ if (!(window.location + '').match(/netsuite/)) {
+ // try
+ window.location = "https://system.netsuite.com/app/common/search/searchresults.csv";
+ return;
+ }
// we really just want to send a series of download requests..
//https://system.netsuite.com/app/reporting/reportrunner.nl?reporttype=REGISTER&acctid=403