function cRemoteSession(oConfig)
{this.m_strNetMindSID="";this.m_oConfig=oConfig;this.m_bCgiSIDHandled=false;this.nPixelTime=new Date().getTime()/1000;}
function remotesession_getSessionID()
{var strNetMindSID="";var strCookie=document.cookie
var arCookies=strCookie.split("; ");var nLoopCount=0;var strActCookieName="";if(strNetMindSID=="")
{while(nLoopCount<arCookies.length){var strActCookie=arCookies[nLoopCount];var arActCookie=strActCookie.split("=");var strActCookieName=arActCookie[0];if(strActCookieName=="NETMIND_SID"){strNetMindSID=arActCookie[1];}
nLoopCount++;}
if(!oNMConfig.isContentSideTracking()&&!oNMConfig.isCookieTracking())
{var strSID_trackerside="/";var strNewSID="";var nNewTS=0;if(strSID_trackerside!="/"){strNewSID=strSID_trackerside.substr(6,54);nNewTS=parseInt(String(parseInt(strNewSID.substring(44))
+(new Date().getTime()/1000-this.nPixelTime)));}
if(strNetMindSID!=""&&strNewSID!="")
{var nOldTS=parseInt(strNetMindSID.substr(44));if(nOldTS<=nNewTS)
{if(this.m_bCgiSIDHandled)
{strNetMindSID=strNetMindSID.substr(0,43)+"-"+nNewTS;}
else
{strNetMindSID=strNewSID.substr(0,43)+"-"+nNewTS;}}
else
{strNetMindSID=strNewSID;}}else{strNetMindSID=strNewSID;}
if(strNetMindSID!="")
{document.cookie="NETMIND_SID="+strNetMindSID+"; path=/";}}}
strCgiSID=this.getCGISessionID();if(strCgiSID!=null)
{strNetMindSID=strCgiSID;document.cookie="NETMIND_SID="+strNetMindSID+"; path=/";}
this.m_strNetMindSID=strNetMindSID;return this.m_strNetMindSID;}
function remotesession_getCGISessionID()
{if(this.m_bCgiSIDHandled)
{return null;}
if(!this.m_oConfig.getSIDParamDisabled||!this.m_oConfig.getSIDParamDisabled())
{var strSIDParam="nmsid";if(this.m_oConfig.getSIDParam)
{strSIDParam=this.m_oConfig.getSIDParam();}
if(strSIDParam)
{this.m_bCgiSIDHandled=true;var strCgiSID=remotepixel_extractCGIParam(strSIDParam);if(strCgiSID=="")
{return null;}
return strCgiSID;}}
return null;}
cRemoteSession.prototype.getSessionID=remotesession_getSessionID;cRemoteSession.prototype.getCGISessionID=remotesession_getCGISessionID;function cRemotePixel(oConfig)
{this.m_arParameterList=new Array();this.m_nParameterCount=0;this.m_oConfig=oConfig;this.m_strPixelURL=oConfig.getPixelUrl();this.m_strPixelURLPrefix=oConfig.getProtocol()+"://"+oConfig.getPixelServer()+"/";this.m_strPixelURLSuffix="";var strPixelpath=oConfig.getPixelPath();if(strPixelpath.charAt(0)=="/")
{this.m_strPixelURLSuffix=strPixelpath.substr(1);}else{this.m_strPixelURLSuffix=strPixelpath;}
if(oConfig.m_bDebug)
{this.m_oDbgWin=window.open("","PixelDebug","height=550,dependent=yes,scrollbars=yes,resizable=yes");if(!this.m_oDbgWin.document.getElementById('_log_config'))
{this.m_oDbgWin.document.write("<html><head><title>PixelDebug</title></head><body><b>Config values:</b><br><p><div style=\"height:200px;overflow:auto\" id=\"_log_config\"></div></p><b>Tracked values:</b><br><p><div style=\"height:200px;overflow:auto\" id=\"_log_values\"></div></p></body></html>");this.writeConfig(true);}
else
{this.writeConfig(false);}}
this.m_oIFrame=null;this.m_oBody=null;}
function remotepixel_writeConfig(bAppend)
{var oConfig=this.m_oConfig;this.writeDebug(document.URL,"_log_config",bAppend,true);if(oConfig.m_bDebug)
{if(oConfig.isCookieTracking())
{this.writeDebug("Cookie Tracking enabled","_log_config",true);}
else
{this.writeDebug("URL rewriting enabled<br>","_log_config",true);}
if(oConfig.isContentSideTracking())
{this.writeDebug("Contentside Tracking enabled","_log_config",true);}
else
{this.writeDebug("Trackerside Tracking enabled","_log_config",true);}
if(oConfig.isHttpPostEnabled())
{this.writeDebug("HTTP POST enabled","_log_config",true);}
else
{this.writeDebug("HTTP GET enabled","_log_config",true);}
this.writeDebug("Netmind Session Timeout: "+oConfig.m_nNetMindSessionTimeout,"_log_config",true);this.writeDebug("Autoparams: "+oConfig.m_bAutoparams,"_log_config",true);this.writeDebug("Autosend: "+oConfig.m_bAutosend,"_log_config",true);this.writeDebug("Send URL: "+oConfig.m_bSendUrl,"_log_config",true);this.writeDebug("Send Referrer: "+oConfig.m_bSendReferrer,"_log_config",true);this.writeDebug("Send MetaTags: "+oConfig.m_bSendMetaTags,"_log_config",true);this.writeDebug("Send TechInfo: "+oConfig.m_bSendTech,"_log_config",true);this.writeDebug("Send Url Hash: "+oConfig.m_bSendUrlHash,"_log_config",true);this.writeDebug("Send CGI-Params: "+oConfig.m_bSendCGIParams,"_log_config",true);this.writeDebug("Plugins to check:","_log_config",true);this.writeDebug("- Director: "+oConfig.m_oTechPlugins['Director'],"_log_config",true);this.writeDebug("- MediaPlayer: "+oConfig.m_oTechPlugins['MediaPlayer'],"_log_config",true);this.writeDebug("- Flash: "+oConfig.m_oTechPlugins['Flash'],"_log_config",true);this.writeDebug("- RealPlayer: "+oConfig.m_oTechPlugins['RealPlayer'],"_log_config",true);this.writeDebug("- AcroRead: "+oConfig.m_oTechPlugins['AcroRead'],"_log_config",true);}}
function remotepixel_writeDebug(strDebug,strElementId,bAppend,bBold)
{var oElem=null;if(this.m_oDbgWin)
{if(strElementId)
{oElem=this.m_oDbgWin.document.getElementById(strElementId);}
if(!oElem)
{oElem=this.m_oDbgWin.document.getElementsByTagName("body")[0];}
if(oElem)
{if(!bAppend)
{oElem.nodeValue="";}
if(bBold)
{var oBold=this.m_oDbgWin.document.createElement("b");oElem.appendChild(oBold);oElem=oBold;}
var oTextNode=this.m_oDbgWin.document.createTextNode(strDebug);oElem.appendChild(oTextNode);oElem.appendChild(this.m_oDbgWin.document.createElement("br"));}}}
function remotepixel_convertValue(value)
{if(oNMConfig.isJSONEnabled()&&typeof(value)=='object')
{return JSON.stringify(value);}
return value;}
function remotepixel_addParameter(key,value)
{arPair=new Array(key,this.convertValue(value));this.m_arParameterList[this.m_nParameterCount]=arPair;this.m_nParameterCount++;}
function remotepixel_setParameter(key,value)
{var arPair=new Array(key,this.convertValue(value));var arExist;var nIdx;var bFound=false;for(nIdx=0;nIdx<this.m_nParameterCount;nIdx++)
{arExist=this.m_arParameterList[nIdx];if(arExist[0]==arPair[0])
{bFound=true;this.m_arParameterList[nIdx]=arPair;break;}}
if(!bFound)
{this.m_arParameterList[this.m_nParameterCount]=arPair;this.m_nParameterCount++;}}
function remotepixel_addAffiliate(name)
{this.addParameter("affiliate",name);this.writeDebug("affiliate = '"+affiliate+"'","_log_values",true);}
function remotepixel_addUrl()
{var strUrlParam=document.URL;this.addParameter("url",strUrlParam);this.writeDebug("url = '"+strUrlParam+"'","_log_values",true);}
function remotepixel_addReferrer()
{this.addParameter("referrer",document.referrer);this.writeDebug("referer = '"+document.referrer+"'","_log_values",true);}
function remotepixel_addParamToUrl(strUrl,arParameterList)
{if(strUrl.indexOf("?")==-1)
{strUrl=strUrl+"?";}
else
{strUrl=strUrl+"&";}
for(var i=0;i<arParameterList.length;i++)
{if(i>0)strUrl+="&";strUrl+=escape(arParameterList[i][0])+"="+escape(arParameterList[i][1]);}
return strUrl;}
function remotepixel_addCookies()
{var oCookies=this.m_oConfig.getSendCookies();var strCookies=document.cookie;if(oCookies&&strCookies)
{var arCookies=strCookies.split("; ");for(var i=0;i<arCookies.length;i++)
{arCookie=arCookies[i].split("=");if(oCookies[arCookie[0]])
{this.addParameter(oCookies[arCookie[0]],arCookie[1]);}}}}
function remotepixel_getHiddenForm(strTargetUrl)
{var oIFrame;var oDiv=document.createElement("div");var oForm;if(!this.m_oBody)
{if(this.m_oConfig.m_strPostParentId)
{this.m_oBody=document.getElementById(this.m_oConfig.m_strPostParentId);}
if(!this.m_oBody)
{this.m_oBody=document.getElementsByTagName("body")[0];this.writeDebug("using body as form owner","_log_values",true);}
else
{this.writeDebug("using dummy owner  = '"
+this.m_oConfig.m_strPostParentId+"'","_log_values",true);}}
if(!this.m_oIFrame)
{try
{this.m_oIFrame=document.createElement('<iframe name="nm_postframe">');}
catch(e)
{this.m_oIFrame=document.createElement("iframe");}
this.m_oIFrame.style.display="none";this.m_oIFrame.name="nm_postframe";this.m_oBody.appendChild(this.m_oIFrame);}
if(this.m_oPostDiv)
{delete this.m_oPostDiv;}
oDiv.style.display="none";this.m_oBody.appendChild(oDiv);oForm=document.createElement("form");oForm.action=strTargetUrl;oForm.method='post';oForm.target='nm_postframe';oDiv.appendChild(oForm);this.m_oPostDiv=oDiv;return oForm;}
function remotepixel_getXmlHttpInstance()
{var oXmlHttp=null;if(typeof XMLHttpRequest!='undefined')
{oXmlHttp=new XMLHttpRequest();}
if(!oXmlHttp)
{try
{oXmlHttp=new ActiveXObject('Msxml2.XMLHTTP');}
catch(e)
{try
{oXmlHttp=new ActiveXObject('Microsoft.XMLHTTP');}
catch(e)
{oXmlHttp=null;}}}
return oXmlHttp;}
function remotepixel_postData(oRemoteSession)
{var bCookieTracking=this.m_oConfig.isCookieTracking();var bContentSideTracking=this.m_oConfig.isContentSideTracking();var strSID=oRemoteSession.getSessionID();var strCgiSID=oRemoteSession.getCGISessionID();var strUrl;var nParam;var oForm;if(strCgiSID)
{strSID=strCgiSID;}
if(bCookieTracking){strUrl=this.m_strPixelURL;}else{if(strSID!=""){strSID="-snm-"+strSID+"-enm-";}
strUrl=this.m_strPixelURLPrefix+strSID+this.m_strPixelURLSuffix;}
this.writeDebug("postData: sending request to "+strUrl,"_log_values",true,false);if(0){try
{oHttpRequest.open('POST',strUrl,true);oHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var strPostBody="";var strAmp="";for(nParam=0;nParam<this.m_arParameterList.length;nParam++)
{strPostBody+=strAmp+escape(this.m_arParameterList[nParam][0])
+"="+escape(this.m_arParameterList[nParam][1]);strAmp="&";}
oHttpRequest.send(strPostBody);}
catch(e)
{this.writeDebug('Could not send POST request: '+e,'_log_values',true,true);if(oNMConfig.isGetFallbackEnabled())
{this.sendData(oRemoteSession);}}}else{oForm=this.getHiddenForm(strUrl);this.populateForm(oForm);oForm.submit();}}
function remotepixel_populateForm(oForm)
{var strSID=oNMRemoteSession.getSessionID();var strCgiSID=oNMRemoteSession.getCGISessionID();var bCookieTracking=this.m_oConfig.isCookieTracking();var bContentSideTracking=this.m_oConfig.isContentSideTracking();var nParam;var oField;for(nParam=0;nParam<this.m_arParameterList.length;nParam++)
{oField=document.createElement('input');oField.type='hidden';oField.name=this.m_arParameterList[nParam][0];oField.value=this.m_arParameterList[nParam][1];oForm.appendChild(oField);}}
function remotepixel_sendData(oRemoteSession)
{if(this.m_oConfig.isHttpPostEnabled())
{this.postData(oRemoteSession);return;}
var bCookieTracking=this.m_oConfig.isCookieTracking();var bContentSideTracking=this.m_oConfig.isContentSideTracking();if(bCookieTracking){var strCgiSID=oRemoteSession.getCGISessionID();if(strCgiSID)
{var strPixelServer=this.m_oConfig.getPixelServer();var strHost=strPixelServer.split(':')[0];var strInjectedCookie='NETMIND_SID='+strCgiSID+'; path=/; domain='+strHost;document.cookie=strInjectedCookie;}
var strUrl=this.m_strPixelURL;strUrl=remotepixel_addParamToUrl(strUrl,this.m_arParameterList);this.writeDebug("Sending Image-Request: '"+strUrl+"'","_log_values",true);var oTrackingImg=new Image();oTrackingImg.src=strUrl;}else{var strSID=oRemoteSession.getSessionID();if(strSID!=""){strSID="-snm-"+strSID+"-enm-";}
var strUrl=this.m_strPixelURLPrefix+strSID+this.m_strPixelURLSuffix;strUrl=remotepixel_addParamToUrl(strUrl,this.m_arParameterList);if(bContentSideTracking)
{var oHead=document.getElementsByTagName("head")[0];var aSidScript=document.getElementById('sidscript');if(aSidScript){for(var j=0;j<aSidScript.length;j++){oHead.removeChild(aSidScript[j]);}}
oScript=document.createElement('script');oScript.id='sidscript';oScript.type='text/javascript';oScript.src=strUrl;oHead.appendChild(oScript);}
else
{var oTrackingImg=new Image();oTrackingImg.src=strUrl;}}}
function remotepixel_setCookie()
{}
function remotepixel_getTechData(){var javaOK="unknown";var cookiesOK="unknown";var browsLang="unknown";var availheight=screen.availHeight;var availwidth=screen.availWidth;var colordepth=screen.colorDepth+" bit";var height=screen.height;var width=screen.width;var title=document.title;var flashPlugin="-";var flashVersion="0";var directorPlugin="-";var wmplayerPlugin="-";var realplayerPlugin="-";var quicktimePlugin="-";var adobe_svgPlugin="-";var adobe_pdfPlugin="-";this.writeDebug("TechInfo:","_log_values",true,true);var agt=navigator.userAgent.toLowerCase();var ie=(agt.indexOf("msie")!=-1);var ie7=false;if(ie){ie=(agt.indexOf("msie 4")==-1)&&(agt.indexOf("msie 3")==-1);ie7=(agt.indexOf("msie 7")>-1);}
var win=((agt.indexOf("win")!=-1)||(agt.indexOf("32bit")!=-1));if(navigator.javaEnabled()==true){javaOK="yes"}else{javaOK="no"}
this.writeDebug("java = "+javaOK,"_log_values",true);if((navigator.cookieEnabled)&&(navigator.cookieEnabled==true)){cookiesOK="yes"}else{cookiesOK="no"}
this.writeDebug("cookies = "+cookiesOK,"_log_values",true);if(navigator.language)
browsLang=navigator.language;this.writeDebug("language = "+browsLang,"_log_values",true);if(ie&&win){if(this.m_oConfig.getSendTechPlugin('Director'))
{directorPlugin=detectIE("SWCtl.SWCtl.1");}
if(this.m_oConfig.getSendTechPlugin('Flash'))
{flashPlugin=detectIE("ShockwaveFlash.ShockwaveFlash.1");}
if(this.m_oConfig.getSendTechPlugin('RealPlayer'))
{realplayerPlugin=detectIE("rmocx.RealPlayer G2 Control.1");}
if(!ie7&&this.m_oConfig.getSendTechPlugin('MediaPlayer'))
{wmplayerPlugin=detectIE("MediaPlayer.MediaPlayer.1");}
if(this.m_oConfig.getSendTechPlugin('AcroRead'))
{adobe_pdfPlugin=detectIEAcrobat("Acrobat Reader");}}
else{var nse="";for(var i=0;i<navigator.mimeTypes.length;i++)
nse+=navigator.mimeTypes[i].type.toLowerCase();if(this.m_oConfig.getSendTechPlugin('Director'))
{directorPlugin=detectNS(nse,"application/x-director");}
if(this.m_oConfig.getSendTechPlugin('Flash'))
{flashPlugin=detectNS(nse,"application/x-shockwave-flash");}
if(this.m_oConfig.getSendTechPlugin('RealPlayer'))
{realplayerPlugin=detectNS(nse,"audio/x-pn-realaudio-plugin");}
if(this.m_oConfig.getSendTechPlugin('MediaPlayer'))
{wmplayerPlugin=detectNS(nse,"application/x-mplayer2");}
if(this.m_oConfig.getSendTechPlugin('AcroRead'))
{adobe_pdfPlugin=detectNS(nse,"application/pdf");}}
this.writeDebug("screen = "+width+"x"+height,"_log_values",true);this.writeDebug("colordepth = "+colordepth,"_log_values",true);this.writeDebug("title = "+title,"_log_values",true);this.writeDebug("javascript = yes","_log_values",true);this.writeDebug("Plugins:","_log_values",true);this.writeDebug("- Flash = "+flashPlugin,"_log_values",true);this.writeDebug("- Director = "+directorPlugin,"_log_values",true);this.writeDebug("- MediaPlayer = "+wmplayerPlugin,"_log_values",true);this.writeDebug("- RealPlayer = "+realplayerPlugin,"_log_values",true);this.writeDebug("- AcroRead = "+adobe_pdfPlugin,"_log_values",true);this.addParameter("nm_java",javaOK);this.addParameter("nm_cookie",cookiesOK);this.addParameter("nm_screen",width+"x"+height);this.addParameter("nm_colordepth",colordepth);this.addParameter("nm_plugin_flash",flashPlugin);this.addParameter("nm_plugin_director",directorPlugin);this.addParameter("nm_plugin_wmplayer",wmplayerPlugin);this.addParameter("nm_plugin_realplayer",realplayerPlugin);this.addParameter("nm_plugin_acroread",adobe_pdfPlugin);this.addParameter("nm_title",title);this.addParameter("nm_javascript","yes");}
function remotepixel_getMetaTags(){var aMetatag=this.m_oConfig.m_aMetatag;var strMetaTags="";for(var i=0;i<document.getElementsByTagName('meta').length;i++){for(var j=0;j<aMetatag.length;j++){var re=new RegExp(WildToReg(aMetatag[j]));if(document.getElementsByTagName('meta')[i].getAttribute('name')){if(document.getElementsByTagName('meta')[i].getAttribute('name').match(re)){if(document.getElementsByTagName('meta')[i].getAttribute('content'))
this.addParameter(document.getElementsByTagName('meta')[i].getAttribute('name'),document.getElementsByTagName('meta')[i].getAttribute('content'));else
this.addParameter(document.getElementsByTagName('meta')[i].getAttribute('name'),"-");}}}}}
function remotepixel_getHashParameter(){var aParamList=this.m_oConfig.m_aHashParameter;var strLoc=(document.location+"");var nPos=strLoc.indexOf("#");if(nPos!=-1){var strHashQs=strLoc.substring(nPos+1,strLoc.length);aParams=remotepixel_SplitParams(strHashQs);var strHashParam="";for(var j=0;j<aParamList.length;j++){if(aParams[aParamList[j]]){this.addParameter(aParamList[j],aParams[aParamList[j]]);}}}}
function remotepixel_getCGIParameter(){if(window.location.search!=""){var strParamters=window.location.search.split("?")[1];var liste=strParamters.split("&");for(var i=0;i<=liste.length-1;i++){var temp=liste[i].split("=");var strValue=temp[1];strValue=strValue.replace(/\+/g," ");strValue=unescape(strValue);if(strValue=="")
strValue="-";this.addParameter(temp[0],strValue);}}}
function remotepixel_SplitParams(params){var result=[];var pairs=params.split("&");for(var i=0;i<pairs.length;i++){var kv=pairs[i].split("=");if(kv[1]&&kv[1]!="")
result[kv[0]]=kv[1];else
result[kv[0]]="-";}
return result;}
function remotepixel_extractCGIParam(strParam)
{if(window.location.search!='')
{var strParams=window.location.search.split('?')[1];var aParams=remotepixel_SplitParams(strParams);if(aParams[strParam]&&aParams[strParam]!='-')
{return aParams[strParam];}}
return"";}
cRemotePixel.prototype.convertValue=remotepixel_convertValue;cRemotePixel.prototype.addParameter=remotepixel_addParameter;cRemotePixel.prototype.setParameter=remotepixel_setParameter;cRemotePixel.prototype.addAffiliate=remotepixel_addAffiliate;cRemotePixel.prototype.addUrl=remotepixel_addUrl;cRemotePixel.prototype.addReferrer=remotepixel_addReferrer;cRemotePixel.prototype.addCookies=remotepixel_addCookies;cRemotePixel.prototype.getHiddenForm=remotepixel_getHiddenForm;cRemotePixel.prototype.getXmlHttpInstance=remotepixel_getXmlHttpInstance;cRemotePixel.prototype.populateForm=remotepixel_populateForm;cRemotePixel.prototype.postData=remotepixel_postData;cRemotePixel.prototype.sendData=remotepixel_sendData;cRemotePixel.prototype.getTechData=remotepixel_getTechData;cRemotePixel.prototype.getMetaTags=remotepixel_getMetaTags;cRemotePixel.prototype.getHashParameter=remotepixel_getHashParameter;cRemotePixel.prototype.getCGIParameter=remotepixel_getCGIParameter;cRemotePixel.prototype.extractCGIParam=remotepixel_extractCGIParam;cRemotePixel.prototype.writeDebug=remotepixel_writeDebug;cRemotePixel.prototype.writeConfig=remotepixel_writeConfig;function detectIEAcrobat(name){var acrobat=new Object();if(window.ActiveXObject){for(x=2;x<10;x++){try{var oAcro=eval("new ActiveXObject('PDF.PdfCtrl."+x+"');");if(oAcro){return'yes';}}
catch(e){}}
try{var oAcro4=new ActiveXObject('PDF.PdfCtrl.1');if(oAcro4){return'yes';}}
catch(e){}
try{var oAcro7=new ActiveXObject('AcroPDF.PDF.1');if(oAcro7){return'yes';}}
catch(e){}}return'no';}
function detectIE(ClassID){try{new ActiveXObject(ClassID);return'yes';}
catch(e){return'no';}}
function detectNS(strMimetypes,ClassID){if(strMimetypes.indexOf(ClassID)!=-1)
if(navigator.mimeTypes[ClassID].enabledPlugin!=null)
return'yes';return'no';}
function WildToReg(str){var s="";var i;var c;for(i=0;i<str.length;i++){c=str.charAt(i);switch(c){case'*':s=s+".*";break;case'?':s=s+".";break;case'(':case')':case'[':case']':case'$':case'^':case'.':case'{':case'}':case'|':case'\\':s=s+"\\";s=s+c;break;default:s=s+c;break;}}
s="^"+s+"$";return s;}
function doPixelInstance(oEvent){oNMRemotePixel.writeDebug("Prepare pixel for "+document.URL,"_log_values",true,true);if(oNMConfig.getAutoParams()){if(oNMConfig.getSendUrl()){oNMRemotePixel.addUrl();}
if(oNMConfig.getSendUrlHash()){oNMRemotePixel.getHashParameter();}
if(oNMConfig.getSendReferrer()){oNMRemotePixel.addReferrer();}
if(oNMConfig.getSendMetatags()){oNMRemotePixel.getMetaTags();}
if(oNMConfig.getSendTech()){oNMRemotePixel.getTechData();}
if(oNMConfig.getSendCGIParams()){oNMRemotePixel.getCGIParameter();}
if(oNMConfig.getSendCookies()){oNMRemotePixel.addCookies();}}
if(oNMConfig.getAutoSend()){oNMRemotePixel.sendData(oNMRemoteSession);}}
var oNMConfig=new cConfigPixel();var oNMRemoteSession=new cRemoteSession(oNMConfig);var oNMRemotePixel=new cRemotePixel(oNMConfig);if(window.addEventListener){window.addEventListener('load',doPixelInstance,false);}else if(document.addEventListener){document.addEventListener('load',doPixelInstance,false);}else if(window.attachEvent){window.attachEvent('onload',doPixelInstance);}else if(document.attachEvent){document.attachEvent('onload',doPixelInstance);}else{doPixelInstance("");}