// To include the Styled popup, First copy this file (confimrBuy.js) into the site's js folder and include 
// this code in the site's header:
// 	<script language="javascript" src="../js/confirmBuy.js" type="text/javascript"></script>
// 
// Include this css code in the site's header somehow. Either in the page or linked will work (I just included it in the main css file):
// 
//	#confirmBuy{position:fixed; left: 600px; top: 300px;	border: 1px solid #99A4C4; text-align: center; margin: 0 0 15px 0; background:#FFFFFF; display:none;}
//	.callout-red {padding: 10px; background: #DB3B2E; color: #FFFFFF; font-size: 1.3em; text-align: center;}
// In order to get it to work in IE copy this into the header AFTER the css :
//	<!--[if IE]>
//	<style>
//		#confirmBuy{
//		position:absolute;
//		left: expression( ( 600 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
//		top: expression( ( 300 + ( ignoreMe = document.documentElement.scrollTop ? documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
//		}
//	</style>	 
//	<![endif]-->
//
// And also include in the site's footer this code:
// <div id="confirmBuy"><div class="callout-red" style="background:#6699FF;">Product Added!</div><!--callout-red--><div style="margin:10px;">Thank you for your business.</div><!--end <div style="--></div><!--confirmBuy-->
// 

// Then your going to want to call the confirmBuy(); function from the "Buy" or "Add" buttons. on incShowProductWithTemplate.asp and incShowProductsWithTemplate.asp 
// BE SURE to add a 9 before the version number on those two files.

function confirmBuy(){
	var confirmBuy = document.getElementById('confirmBuy');
	confirmBuy.style.display = "block";
	setTimeout("turnConirmfBuyOff()", 2000);
}
function turnConirmfBuyOff(){
	var confirmBuy = document.getElementById('confirmBuy');
	confirmBuy.style.display = "none";
}