subaccountsbyurl.js
资源名称:MSP430.rar [点击查看]
上传用户:zhihaomold
上传日期:2007-04-17
资源大小:43041k
文件大小:2k
源码类别:
其他
开发平台:
Objective-C
- function trackSubAccounts()
- {
- //serverHash = new Hash(
- // "focus.ti.com.cn", "DM5210172AWA" //TI China Acct#
- // );
- //pathHash = new Hash(
- // "cn/analog/docs", "DM5210172AWA", //Analog China Acct#
- // "cn/tihome/docs", "DM5210172AWA", //Tihome China Acct#
- // "cn/dsp/docs", "DM5210172AWA", //DSP China Account#
- // "cn/paramsearch/docs", "DM5210172AWA" //Paramsearch China Account#
- // );
- //hostName = self.location.hostname.toLowerCase();
- // var subaccounts_list;
- //for (key in serverHash)
- //{
- // if(hostName.indexOf(key) != -1 )
- // {
- // subaccounts_list = serverHash[key];
- // break;
- // }
- //}
- //if(subaccounts_list != null)
- //{
- // pathName = self.location.pathname.toLowerCase();
- // var arrStrings = pathName.split("/");
- // if(arrStrings.length >= 4 )
- // {
- // pathName = arrStrings[1] + "/" + arrStrings[2];
- // sites which have string1/string2 pattern in pathHash
- // if (pathHash[pathName] != null)
- // {
- // subaccounts_list +=";" + pathHash[pathName];
- // }
- //
- // // sites which have string1/string2/string3 pattern in pathHash
- // pathName = arrStrings[1] + "/" + arrStrings[2] + "/" + arrStrings[3];
- // if (pathHash[pathName] != null)
- // {
- // subaccounts_list +=";" + pathHash[pathName];
- // }
- // }
- //}
- //if (subaccounts_list == null)
- //{
- // subaccounts_list = serverHash["focus"];
- //}
- acctNo = 'DM5210172AWA';
- return;
- }