// '); if(location.hash.substr(1))linkTo(location.hash.substr(1),location.pathname.replace(/.*\/(d\d*)(_.*)?\.html/,'$1')); } else if(tf.parm['targetid']){ if(isInSF())dw(''); var q=[];for(var n in tf.parm){if(n!=''&&n!='targetid'&&n!='target'&&n!='lang')q.push(n+'='+tf.parm[n]);} if(q.length>0)sfqsLinkTo='?'+q.join('&'); linkTo('',tf.parm['targetid']); } var splitNum=10; if(parm['lang']){lang=langNav=parm['lang'];} function winMgr(){this._a=[];this._rnd=Math.random();this.online=(loc.protocol.indexOf('file:')==-1);var h=(this.online?'':'file://')+loc.pathname.replace(/\\/g,'/');var re=new RegExp((tf.lang==tf.baseLang?'':'(?:\/'+tf.lang+')?')+'(?:\/contents\/.*?$|\/([^/]*){1}$)');this.baseurl=(isInDesigner()?unescape(this.path(tf.location)).replace(/\/contents\/.*/,'').replace(/\/$/,'')+'/contents/':h.replace(re,'/')+'contents/');var hostRaw=this.path(tf.location);this.host=escape(hostRaw);this.hostbaseurl=hostRaw.replace(/\/contents\/.*/,'') + '/';} winMgr.prototype.url=function(f,a,l){ var ff=unescape(f),unescaped=(ff!=f); if(ff.indexOf(':\\')!=-1||ff.indexOf('://')!=-1)return f; if(ff.substr(0,3)=='../'){f=ff.substr(3);if(unescaped)f=escape(f);} if(!a&&a!='-')a=this._rnd; if(typeof(l)!='undefined'&&l==true)f=tf.lang+'/'+f; return (a=='-')?this.baseurl+f:this.add2Q(this.baseurl+f,'lmd',a); } winMgr.prototype.add2Q=function(h,p,v){ if(h.indexOf('?')==-1)return h+'?'+p+'='+v; if(h.indexOf(p)==-1)return h+'&'+p+'='+v; var t=h.replace('?','&').split('&'); for(var i=0;i1) t[1]='?'+t[1];return t.join('&').replace('&?','?'); } winMgr.prototype.jfile=function(f,q){ var ff=unescape(f),unescaped=(ff!=f); if(ff.indexOf('?')>-1){ff=ff.substr(0,ff.indexOf('?'));if(unescaped)f=escape(ff);} var m=Math.max(f.lastIndexOf('/'),f.lastIndexOf('\\')); return (m>-1)?f.substring(m+1):f; } winMgr.prototype.path=function(p){ p=p.toString(); var pp=unescape(p.toString()),unescaped=(pp!=p); var i=pp.indexOf('?');if(i!=-1)pp=pp.substring(0,i); if(unescaped)p=escape(pp); return (p.charAt(p.length-1)=='/')?p:p.substring(0,p.lastIndexOf('/')+1); } var wm=new winMgr(); dw('<\/sc'+'ript>'); function showalerts(){ if(!langEnterLoaded){setTimeout('showalerts()',100);return;} } if(typeof(lmd['index'])=='string'&&LMD_this!=lmd['index']&&location.href.indexOf('lmd=')==-1) loc.replace(tf.enterFilename+location.search+(location.search?'&':'?')+'lmd='+lmd['index']+location.hash); else{ showalerts(); var currencies={}; function currency(i,a,m,d,s){ this.iso=i; this.abbrev=a; this.multiplier=m; this.decimal_places=d; this.sign=s; this.getSignedID=function(){return this.iso+'/'+this.sign;} } var shopCurrency=new currency("AUD","A$",1.0,2,'FC81AE491A4C327D543CE3D2A6DCD0B2'); var currentCurrency=new currency("AUD","A$",1.0,2,'FC81AE491A4C327D543CE3D2A6DCD0B2'); var secondCurrency=null; var mfhObj=null; function mfh(id,idx1H,idx2H,forFullWidth){ var tfc=content; this.forFullWidth=forFullWidth; this.gl=function(s){return tfc.document?tfc.document.getElementById(s):null;} this.initialised=false; this.isDescendantOf=function(idParent,idChild){ var ret=false,el=gl(idChild),elParent=null; if(el)elParent=el.parentNode; while(elParent){ if(elParent.id==idParent){ret=true;break;} elParent=elParent.parentNode; } return ret; } this.applyms=function(){ if(utils&&typeof(utils.ms)=='function'&&gl('idx1Navigation')&&gl('idx2Navigation')){ var h=Math.max(mfhObj.height, 0),idxMinHeightApplyMS=100; for(var i=1;i<=2;i++){ var idNav='idx'+i+'Navigation',idxH=(i==1?idx1H:idx2H),elNav=gl(idNav),elId=gl(id); if(mfhObj.isDescendantOf(id,idNav)){ var hh=h; if(elNav){ var el=elNav,elParent=el.offsetParent; while(elParent&&elParent.id!=id){ el=elParent; elParent=elParent.offsetParent; } var rectOuter=el.getBoundingClientRect(),rect=elNav.getBoundingClientRect(); var offh=0; for(var j=0,jj=el.childNodes.length;j0?el.childNodes[j].offsetHeight:0); } } hh=el.offsetHeight-offh-16; if(hhrectOuter.bottom-rect.top){ hh=rectOuter.bottom-rect.top; } } if(idxH>0&&idxH0){el.style.height=h+'px';mfhObj.height=h;} el.style.overflow='hidden'; for(var n=0,num=el.childNodes.length;n=0)ndS.height=(h-nd.offsetTop)+'px'; if(nd.id=='Content'){if(window.opera||isSafari)ndS.overflow='auto';else{ndS.overflowY='auto';if(typeof(ndS.zoom)!='undefined'){ndS.zoom='0.99';ndS.zoom='1';}}} else{ndS.overflow='hidden';} } } mfhObj.redraw(gl('WebSiteHeader')); mfhObj.redraw(gl('WebSiteFooter')); helpBrowserJumpToAnchor(); } if(notOnResize)setTimeout(mfhObj.applyms,20); } if(!mfhObj){ mfhObj=this; addEvent('onresize',mfhObj.resize); } mfhObj.resize(null,true); } var arrObj=[],bgstyleadded=false; function load(url,id,isLang,force,replaceInnerHTML){ if(content){ try{ var cfe=content.frameElement; if(!bgstyleadded&&cfe&&cfe.style.cssText){ cfe.style.cssText=cfe.style.cssText.replace(/url\(\.\./,'url(contents'); bgstyleadded=true; } }catch(e){} if(replaceInnerHTML)arrObj[id]=content.document.getElementById(id); if(xLoaded&&extra.loadExecute&&(LD_loaded||id=='lang')){extra.loadExecute(url,id,isLang,force);} else{setTimeout('load("'+url+'","'+id+'",'+isLang+','+force+')',100);} } } var sfJSON=function(){function f(n){return n<10?'0'+n:n;} Date.prototype.toJSON=function(){return this.getUTCFullYear()+'-'+ f(this.getUTCMonth()+1)+'-'+ f(this.getUTCDate())+'T'+ f(this.getUTCHours())+':'+ f(this.getUTCMinutes())+':'+ f(this.getUTCSeconds())+'Z';};var m={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};function stringify(value,whitelist,treatAsObject){var a,i,k,l,r=/["\\\x00-\x1f\x7f-\x9f]/g,v;switch(typeof value){case'string':return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];if(c){return c;} c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+ (c%16).toString(16);})+'"':'"'+value+'"';case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';} if(typeof value.toJSON==='function'){return stringify(value.toJSON());} a=[];if(typeof value.length==='number'&&!(value.propertyIsEnumerable('length'))&&!treatAsObject){l=value.length;for(i=0;i0||tf.core.ResellerID!=''){ bt.fbsk.bsk=''; var i=bt.items.start(); while(i){i.parent='';i=bt.items.next()} i=bt.fbsk.items.start(); while(i){i.parent='';i=bt.fbsk.items.next()} bt.wssig=tf.wssig; nametag.add(n==0?'bsk':'fav',toJSON(bt)); i=bt.items.start(); while(i){i.parent=bt;i=bt.items.next()} i=bt.fbsk.items.start(); while(i){i.parent=bt;i=bt.fbsk.items.next()} bt.fbsk.bsk=bt; } else nametag.del(n==0?'bsk':'fav'); } if(tf.wm._pArr){ tf.wm._pArr['wssig']=tf.wssig; nametag.add('_pArr',toJSON(tf.wm._pArr,null,true)); } tf.shopCurrency['wssig']=tf.wssig; tf.nametag.add('currShop',tf.sfJSON.stringify(tf.shopCurrency)); if(tf.secondCurrency){ tf.secondCurrency['wssig']=tf.wssig; tf.nametag.add('currSec',tf.sfJSON.stringify(tf.secondCurrency)); } tf.currentCurrency['wssig']=tf.wssig; tf.nametag.add('currCurr',tf.sfJSON.stringify(tf.currentCurrency)); nametag.add('coreProperties',toJSON(tf.core.getCoreProperties())); } function loadBskFromName(){ var tf=this,fromJSON=tf.sfJSON.parse; if(!tf.conf){setTimeout('loadBskFromName()',100);return;} var bskStr=nametag.get('bsk'); if(bskStr){ tf.conf.coreSettings(); var obskStr=fromJSON(bskStr); if(obskStr&&obskStr.wssig==tf.wssig){ tf.core.Basket.merge(obskStr); } } var favStr=nametag.get('fav'); if(favStr){ var ofavStr=fromJSON(favStr); if(ofavStr){ tf.core.Favorite.merge(ofavStr); } } var _pArrStr=nametag.get('_pArr'); if(_pArrStr){ if(typeof(tf.wm._pArr)=='undefined')tf.wm._pArr={}; var oldArr=tf.sfJSON.parseClone(_pArrStr); if(oldArr&&oldArr['wssig']==tf.wssig){ merge(tf.wm._pArr,oldArr); } } var currStr=tf.nametag.get('currShop'); if(currStr){ var oCurr=tf.sfJSON.parse(currStr); if(oCurr&&oCurr['wssig']==tf.wssig)merge(tf.shopCurrency,oCurr); } currStr=tf.nametag.get('currSec'); if(currStr){ var oCurr=tf.sfJSON.parse(currStr); if(oCurr&&oCurr['wssig']==tf.wssig)merge(tf.secondCurrency,oCurr); } currStr=tf.nametag.get('currCurr'); if(currStr){ var oCurr=tf.sfJSON.parse(currStr); if(oCurr&&oCurr['wssig']==tf.wssig)merge(tf.currentCurrency,oCurr); } tf.core.setCoreProperties(fromJSON(nametag.get('coreProperties'))); bskLoaded=true; tf.lastpage=nametag.get('lastpage'); tf.lastdeptpage=nametag.get('lastdeptpage'); } function merge(lhs,rhs){if(!lhs)lhs=[];for(var n in rhs)lhs[n]=rhs[n];} if(lang=='en-us'){ } var langEnterLoaded=true; function gl(s){return d.getElementById(s);}function ldjs(f){dw('<\/sc'+'ript>');} if(isInSF()){ldjs('../sf.js');ldjs('../lang_en-us.js');ldjs('../../shared_files/menu_scroller.js');} else{var core=tf.core,LD=tf;} function addOnload(f){addEvent('onload',f);} function addEvent(e,f,t){if(!t)var t=window;if (t.addEventListener)t.addEventListener(e.replace(/^on/,''),f,false);else if (t.attachEvent)t.attachEvent(e,f);} function delEvent(e,f,t){if(!t)var t=window;if (t.removeEventListener)t.removeEventListener(e.replace(/^on/,''),f,false);else if (t.detachEvent)t.detachEvent(e,f);} function addEventOnClass(e,f,c,del) { var tfcd=tf.content.document,maxh=0,coll=[],re = new RegExp(' ?'+c+'( |$)'); var atag=['DIV','SPAN','H1','H2','H3','TD']; for(var ntag=0,nntag=atag.length;ntag0){setTimeout('ldwrite()',100);return;}for(var n=0,l=tf.ldwriteArr.length;n';} function helpBrowserJumpToAnchor(){ if(location.hash.substr(1)){ var el=tf.content.document.getElementById('Product-'+location.hash.substr(1).toUpperCase()); if(el&&el.scrollIntoView) el.scrollIntoView(); } } addOnload(helpBrowserJumpToAnchor); var sfMakeSpace = { subscribers:'', go: function(bool,styleid,displayid){ var dispid=displayid||'none'; this.subscribers.replace(dispid+'|',''); if(bool)this.subscribers+=dispid+'|'; else if(this.subscribers!=''&&this.subscribers!='none|')return; if(styleid){ var ss=d.styleSheets; for(var n=0,num=ss.length;n= 28 && GCNum <= 35 && autoText.GCUsesAutoText[GC[0]] == 1) { for (var n=0,nn=el.childNodes.length; n= 28 && GCNum <= 35) { for (var n=0,nn=el.childNodes.length; n // v9_shopfactorytotalcare 9.1.0 Build 11262 // $Revision: 6796 $ // $HeadURL: svn://3d3-p432/ShopFactory/branches/V9_10/bin/Common Files/parse/loader.js $