$domainTattoo = location.href.indexOf ('tattoo-ideas-4u.com');
if ($domainTattoo == 7 || $domainTattoo == 11)
{
	document.write ('');
}
$ebayFrame = '<iframe src="http://tattoo-ideas-4u.com/alternativead/" width="735" height="275" style="border:none;margin-top:-90px;"></iframe>';

function makeSlash ()
{
	var currUrl = location.href;
	var lastChar = currUrl.charAt (currUrl.length-1);
	if (lastChar != "/")
	{
		newUrl = currUrl + "/";
		location.href = newUrl;
	}
}

function galleryMO ($id)
{
	var $bp = document.getElementById ('bigPic');
	var $bpdiv = document.getElementById ('bigPicDiv');
	var $bpTxt = document.getElementById ('bigTxt');
	$bp.src = ($bigpicAr[$id]).src;
	$bp.alt = ($bigpicAr[$id]).alt;
	$bp.width = ($bigpicAr[$id]).width;
	$bp.height = ($bigpicAr[$id]).height;
	$bp.style.paddingTop = ($bigpicMaxH - ($bigpicAr[$id]).height) + 'px';
	$bpTxt.style.width = ($bigpicAr[$id]).width;
	$bpTxt.innerHTML = $picTxt[$id];
}


function showstrip ($id)
{
	document.getElementById ('bstrip-' + $id).style.visibility = 'visible';
}

function hidestrip ($id)
{
	document.getElementById ('bstrip-' + $id).style.visibility = 'hidden';
}

function movestrip (e)	//$navObj)
{
	/*$ol = $navObj.offsetLeft;
	$or = $navObj.offsetRight;
	$shulaim = (document.documentElement.clientWidth - document.documentElement.width) / 2;
	$x = $shulaim;*/
	var $x = 0;
	var $y = 0;
	var e1 = e;
	var $eWidth = 80;
	if (e.id != 'home')
	{
		$eWidth = e.scrollWidth;
	}
	while (e)
	{
		$x += e.offsetLeft;
		e = e.offsetParent;
	}
	while (e1)
	{
		$y += e1.offsetTop;
		e1 = e1.offsetParent;
	}
	document.getElementById ('bstrip').style.visibility = 'visible';
	document.getElementById ('bstrip').style.left = ($x - 80 + $eWidth) + 'px';
	document.getElementById ('bstrip').style.top = ($y + 15) + 'px';
	//alert ('offsetLeft = ' + $ol + '\noffsetRight = ' + $or + '\nX = ' + $x);
}

function hidestrip2 ()
{
	document.getElementById ('bstrip').style.visibility = 'hidden';
}

function loadMetric ()
{
	
}

function loadImperial ()
{
	
}

