var refr=escape(document.referrer); /* get the http referer and encode it */
var dom=location.hostname; /* get the host domain */
var stURL="http://na.decdna.net/n/47297/47491/www.tourismpei.com/53tiax;11;3;;6;;aoi90n;;;;;1;/i/c?0&pq=%2findex%2ephp3%3fnumber%3d1009546%26lang%3dF&1pixgif&referer="
+ refr;
if ( (refr && refr.search(dom) == -1) && (location.href.toUpperCase().indexOf("247SEO=N") == -1) ) /* if the referrer is external preload the image request and does not contain 247SEO argument = "N" */
{
imageTR = new Image();
imageTR.src = stURL;
}
