function initDetails() {
	localDet = new Array();
	localDet[0] = new Array();
	localDet[0][0] = "The top of the sign will say EITHER Wisconsin or Valley, depending on your location.  All areas outside of the Fox Cities, receive a sign which reads WisconsinByOwner.com";
	localDet[0][1] = "/seller/graphics/yardsigns_WBO_VBO.gif";
	localDet[1] = new Array();
	localDet[1][0] = "Caution:  Cities / Towns may remove these signs if the signs are left at corners outside of properties beyond the day of an open house; check your local rules before assuming your sign will be safe.<br>Signs: 18&quot; x 24&quot; plastic signs, 2 metal stakes included";
	localDet[1][1] = "/seller/graphics/yardsign_openhouse.gif";
	localDet[2] = new Array();
	localDet[2][0] = "Caution:  Cities / Towns may remove these signs if the signs are left at corners outside of properties beyond the day of an open house; check your local rules before assuming your sign will be safe.<br>Signs: 18&quot; x 24&quot; plastic signs, 2 metal stakes included";
	localDet[2][1] = "/seller/graphics/yardsign_direction.gif";
	localDet[3] = new Array();
	localDet[3][0] = "30 Foot Pennant";
	localDet[3][1] = "/seller/graphics/pennant180x30px.gif";
	
	localDet[4] = new Array();
	localDet[4][0] = "<b>*DIGGER'S HOTLINE:</b> To speed up receiving a sign, call Digger's Hotline (Dial 811) in advance, leave the flags in the yard & know the date you called & save your ticket number.<br><br>Otherwise, we will contact Digger's Hotline after seeing your registration and will install the sign on our regular day in your area after Digger's Hotline has finished their work.  We do not dig a hole for the sign, but use stakes. We are therefore required to check for utilities before disturbing the soil.<br>-- If you place a stake or marker in the yard, you can let us know about it the comment section of your online registration or email.   If you call Digger's Hotline (dial 811), you can let them know there is a stake in the yard for the sign.  Boulevards sign placements not allowed, county road 'right of ways' are strictly followed.<br>** Privately installed items such as underground dog fences, front light posts and underground sprinklers are not marked by Digger's Hotline.  If this applies to you, make sure you let us know and mark a safe spot for the sign placement.";
	localDet[4][1] = "/images/transparent.gif";
	//Arrow sign added
	localDet[5] = new Array();
	localDet[5][0] = "Caution:  Cities / Towns may remove these signs if the signs are left at corners outside of properties beyond the day of an open house; check your local rules before assuming your sign will be safe.<br>Signs: 18&quot; x 24&quot; plastic signs, 2 metal stakes included";
	localDet[5][1] = "/seller/graphics/arrow-sign-pricing-l.jpg";
	//End Arrow Sign
}

function togglePallet( palletID, indexDet , objClickedID ) {
	// initDetails should be moved to an onload event if this is ever made a part of the template.
	initDetails();
	var pallet = $(palletID);
	var details = pallet.getElementsBySelector('.detail');
	if (pallet.style.visibility == "visible") 
	{
		pallet.style.visibility = "hidden";
		pallet.style.top= "0px";
		pallet.style.left= "-1000px";
	} 
	else 
	{
		if (indexDet) 
		{
			details[0].innerHTML = localDet[indexDet][0];
			details[1].setAttribute('src',localDet[indexDet][1]);
		}
		objClicked = $(objClickedID);
		var coors = Position.cumulativeOffset( objClicked );
		pallet.style.top = coors[1] + 'px';
		pallet.style.left = ( coors[0] + objClicked.offsetWidth + 5 ) + 'px';
		pallet.style.visibility = "visible";
		//addIFrame(pallet);
	}
}

function addIFrame(pallet) {
	var obj = document.createElement('IFRAME');
	obj.frameborder = 0;					
	//Element.setStyle(obj, {border: 0 + 'px', position: 'absolute', backgroundColor: '#ffffff', top: 0 + 'px', left: 0 + 'px', zIndex: -1});							
	obj.style.border="0px";
	obj.style.position="absolute";
	obj.style.backgroundColor="#ff0000";
	obj.style.top = "40px"; //pallet.style.top;
	obj.style.left = "50px"; //pallet.style.left;
	obj.style.height = "500px"; //pallet.style.height;
	obj.style.width = "500px"; //pallet.style.width;
	pallet.style.zIndex = 100;
	obj.style.zIndex= pallet.style.zIndex + 50;
	var node = document.body.firstChild;
	
	node = (node.nodeType == 3) ? node.nextSibling : node;
	
	//pallet.insertBefore(obj, document.getElementById("mapMarkerContentDiv") );

	document.body.insertBefore(obj, node);
}


