//
// Do NOT modify this script to avoid traffic misrepresentation!
// Web CEO 4 0300/1
//
// hitlens v1.2.6
function hitlens_external() {
	var cs=document.charset?document.charset:document.characterSet;
	var SERVER=1;
	if(!(cpu=navigator.cpuClass)){cpu=''};
	var rf=escape(document.referrer);
	if((rf=="undefined")||(rf=="")){rf="bookmark";};
	var frl=top.frames.length;
	var hr=escape(location.href); 
	var je=navigator.javaEnabled()?'y':'n';
	var ce=navigator.cookieEnabled?'y':'n';
	if(typeof(navigator.cookieEnabled)=='undefined'){ce=''};
	if(!(sl=navigator.systemLanguage)){sl=''};
	if(!(bl=navigator.browserLanguage)){bl=''}; 
	if(!(ul=navigator.userLanguage)){ul=''};
	if(!(nl=navigator.language)){nl=''};
	var shw=screen.height+'*'+screen.width;
	var scd=screen.colorDepth;
	if(!scd){scd=screen.pixelDepth};
	var d=new Date;
	var tz=-d.getTimezoneOffset()/60;
	var pg="";
	if(navigator.plugins.length){
		for(var i = 0; i < navigator.plugins.length; i++){
			pg += navigator.plugins[i].name+";";
		} 
		pg=escape(pg);
	}
	var q=hitlens_embedded()+"&cs="+cs+"&s="+SERVER+"&cpu="+cpu+"&rf="+rf+"&frl="+frl+"&hr="+hr+"&je="+je+"&ce="+ce+"&sl="+sl+"&bl="+bl+"&ul="+ul+"&nl="+nl+"&shw="+shw+"&scd="+scd+"&tz="+tz+"&pg="+pg+"&rndm="+Math.random();
	//var text="<a href='http://www.webceo.com/'>";
	//text=text+"<img src='http"+(location.href.indexOf('https:') == 0 ? 's://www' : '://track')+".websiteceo.com/m/?"+q+"' width='1' height='1' border='0' align='left'>";
	//text=text+"</a>";
	//return text;

	// Create a containing paragraph so it will be valid
	var node_p = document.createElement('p');
	node_p.setAttribute('style', "height: 1px;");
	
	// Create the link
	var node_link = document.createElement('a');
	node_link.setAttribute('href', 'http://www.webceo.com/');
	
	// Create the image
	var node_image = document.createElement('img');
	node_image.setAttribute('src', "http" + (location.href.indexOf("https:") == 0 ? "s://www" : "://track") + ".websiteceo.com/m/?" + q);
	node_image.setAttribute('width', "1");
	node_image.setAttribute('height', "1");
	node_image.setAttribute('border', "0");
	node_image.setAttribute('align', "left");
	
	// Add the image as a child to the link
	node_link.appendChild(node_image);
	
	// Add the link to the paragraph
	node_p.appendChild(node_link);
	
	// Add the paragraph to body
	//var elems = document.getElementsByTagName('body');
	//elems[0].appendChild(node_p);
	var webceo_target = document.getElementById("webceo_target");
	if (webceo_target) {
		webceo_target.appendChild(node_p);
	} else {
		alert("Can't find webceo_target");
	}
}

//document.write(hitlens_external());
hitlens_external();
