var ProvenCredible = {
	timeout: null,
	hideInfo: function() {
		this.timeout = setTimeout(function() {
			document.getElementById('pc_seal_info').style.display = 'none';
		}, 2000);
	},
	showSeal: function() {
		/* style="float:left" */
		document.write('<a href="http://www.provencredible.com/tuscan-iron-entries-3433/"><img src="http://www.provencredible.com/images/proven-seal.jpg" width="176" height="95" id="pc_seal_image" onmouseover="ProvenCredible.handleSeal(); " onmouseout="ProvenCredible.handleSealOut();" target="_blank" /></a><!--<div style="padding-top: 30px"><a href="#">(I)</a></div>--><div onmouseover="ProvenCredible.handleInfo()" onmouseout="ProvenCredible.handleInfoOut()" id="pc_seal_info" style="display: none; position: absolute; left: 0; top: 0; width: 340px; background-color: #fff; border: 3px solid #92b670; font-family: arial; font-size: 11px; padding: 8px; z-index: 9999"><img style="float: left; margin: 0 10px 10px 0" src="http://www.provencredible.com/images/logo.jpg" /><br /><span style="font-size: 14px; font-weight: bold; border-bottom: 1px solid #777; padding-bottom: 5px">Verified as of 02-22-2012&nbsp;&nbsp;&nbsp;&nbsp;</span><br /><br /><br />3rd Party Testimonial Verification has been provided for:<br /><br /><strong>Tuscan Iron Entries<br />http://www.TuscanIronEntries.com<br />247 Moore Lane, Collierville,...</strong><br /><br /><br /><br /><p style="text-align: center; padding: 0; margin: 0"><a target="_blank" href="http://www.provencredible.com/tuscan-iron-entries-3433/" style="color: black">http://www.provencredible.com/tuscan-iron-entries-3433/</a></p></div>');
	},
	cancelTimeout: function() {
		clearTimeout(this.timeout);
		this.timeout = null;
	},
	handleSeal: function() {		
		if (this.timeout != null) {
			this.cancelTimeout()
		}
		document.getElementById('pc_seal_info').style.display = "block";

		var pos = this.util.findPos(document.getElementById('pc_seal_image'));

		document.getElementById('pc_seal_info').style.left = (pos[0] + 180) + 'px';
		document.getElementById('pc_seal_info').style.top = (pos[1] + 80) + 'px';
	},
	handleSealOut: function() {
		this.hideInfo();
	},
	handleInfo: function() {
		this.cancelTimeout();		
	},
	handleInfoOut: function() {
		this.hideInfo();
	},
	util: {
		findPos: function(obj) {
			var curleft = curtop = 0;
			if (obj.offsetParent) {
				do {
					curleft += obj.offsetLeft;
					curtop += obj.offsetTop;
				} while (obj = obj.offsetParent);
			}
			return [curleft, curtop];
		}
	}
}
