function Home_Page_Initialise()
{
	//document.getElementById("freetoy").style.left = (findPosX(document.getElementById("hidFreeToy"))-75);
	//document.getElementById("freetoy").style.top = (findPosY(document.getElementById("hidFreeToy"))-35);
	
	document.getElementById("callus").style.left = (findPosX(document.getElementById("hidCallUs"))-139);
	document.getElementById("callus").style.top = (findPosY(document.getElementById("hidCallUs"))-168);
	
	document.getElementById("logolayer").style.left = (findPosX(document.getElementById("hidlogolayer"))+20);
	document.getElementById("logolayer").style.top = (findPosY(document.getElementById("hidlogolayer"))-4);
}
function Page_Initialise()
{

	document.getElementById("callus").style.left = (findPosX(document.getElementById("hidCallUs"))-139);
	document.getElementById("callus").style.top = (findPosY(document.getElementById("hidCallUs"))-168);
	
	document.getElementById("logolayer").style.left = (findPosX(document.getElementById("hidlogolayer"))+20);
	document.getElementById("logolayer").style.top = (findPosY(document.getElementById("hidlogolayer"))-4);
}
function View_Larger_Product_Image(inProdID)
{
	lgeProd = window.open("view_dog_accessories_large.asp?ID="+inProdID, "LargeProduct","Height=260px,Width=260px,Status=no");
		lgeProd.focus();
}
function findPosX(obj)
	{
	
	  var curleft = 0;
	  if (obj.offsetParent) {
		while (obj.offsetParent)  {
		  curleft += obj.offsetLeft
		  obj = obj.offsetParent;
		}
	  } else if (obj.x)
		curleft += obj.x;	
	  return curleft;
	  
	}
	
function findPosY(obj)
{

  var curtop = 0;
  if (obj.offsetParent) {
	while (obj.offsetParent)  {
	  curtop += obj.offsetTop
	  obj = obj.offsetParent;
	}
  } else if (obj.y)
	curtop += obj.y;
  return curtop;
  
}