<!--

	
function popAd()
{
	if(enableAd==true)
	{
		enableAd=false;
	}else{
		return;
	}
	var target = document.getElementById("adTarget");
	var x = getOffsetLeft(target) + target.offsetWidth+70;
	var y = getOffsetTop(target) - 16;
	
	 pDiv = document.createElement('div');
	 a = document.createElement('a');
	 pImg = document.createElement('img');
	
	a.setAttribute('href','http://www.hp.com');
	a.setAttribute('target','_blank');
	
	pImg.src="images/ad1.png";
	pImg.style.position = "relative";
	pImg.style.top   = 25+"px";
	pImg.style.border = "1px solid black";
	
	//a.appendChild(pImg);
	//pDiv.appendChild(a);

	pDiv.style.position = "absolute";
	pDiv.style.left  = x+"px";
	pDiv.style.top   = y+"px";
	pDiv.className = "adBox";
	pDiv.onclick = function()
	{
		this.parentNode.removeChild(this);
	}
	pDiv.onmouseover  = function()
	{
		pDiv.style.backgroundImage = "url(images/adBoxov.png)";
	}
	pDiv.onmouseout  = function()
	{
		pDiv.style.backgroundImage = "url(images/adBox.png)";
	}
	
	pDiv.innerHTML = 
	"<!----- Start Etology Code----->" +
	"<script language=\"javascript\" type=\"text/javascript\" src=\"http://pages.etology.com/bannercode/4814/F2CDD4E5A37A803AFA9E47EE21E269D5.php\"></script>" +
	"<!------End Etology Code------>";
	document.getElementById('content').appendChild(pDiv);
	
}


function getOffsetLeft (el) {
var ol = el.offsetLeft;
 while ((el = el.offsetParent) != null)
 ol += el.offsetLeft;
 return ol;
}
function getOffsetTop (el) {
 var ot = el.offsetTop;
 while((el = el.offsetParent) != null)
 ot += el.offsetTop;
 return ot;
}


-->