<!--
var pqposterCost = 5.00;
var pqLnk	= 'A70-3176';
var pqPrice = 100.00;
var pqStatus = 0;
var pqOnline = 1;

function selPlaque(id) {
	if (id == '0') {
		document.getElementById('atc').href = atcOriginal;
		if(document.getElementById('atc2')) {
			if(atcOriginal) {
				document.getElementById('atc2').onclick = atcOriginal;
			}
		}
		document.getElementById('totalCost').innerHTML = pqposterCost.toFixed(2);
		hidediv('frinfo');
		pqStatus = 0;
	} else {
		pqStatus = 1;
		document.getElementById('atc').href = "javascript:addCartPlaque('" + pqLnk + "');";
		if(document.getElementById('atc2')) {
			document.getElementById('atc2').onclick = function() { 
				addCartPlaque(pqLnk); 
			};
		}
		if (document.getElementById) {
			document.getElementById('frinfo').innerHTML = '<br \/><span style="font-size:10px"><a href="http://www.movieposter.com/cgi-bin/mpw8/new_framing.pl#plaque">Learn more about Plaque Mounting.</a></span><br \/><br \/><b>Plaque Price: $'+(parseFloat(pqPrice)).toFixed(2)+' <\/b>(USD) <font color="#ff0000">free shipping</font> continental USA<br \/><b>Shipping Details<\/b>: FedEx ground delivery 2-3 weeks for all plaque orders<br \/><br \/><b>Total Price: <span style="color: #ff0000;">$' +(parseFloat(pqposterCost) + parseFloat(pqPrice)).toFixed(2) + '<\/font> <\/b>(USD) <br \/>';
			showdiv('frinfo');
		}
	}
}
function addCartPlaque(p_id) {
	var link='/cgi-bin/mpw8/addtocart2.cgi?pid='+p_id+'&pq=1';
	if (document.all!=null) { // ie
		var iev = /MSIE 5.2[123]/;
		var iep = /PowerPC/;
		var iestr = navigator.userAgent;
		if (iev.test(iestr) && iep.test(iestr)) {
			link = '/cgi-bin/mpw8/addtocartlite.cgi?pid='+p_id+'&pq=1';
			window.location = link;
		} else {
			document.all['shoppingcart'].style.display = 'block';
			document.all['shoppingcart'].style.top = (screen.height/2 + document.body.scrollTop - parseInt(document.getElementById('shoppingcart').clientHeight)) + 'px';
			document.all['shoppingcart'].style.left = '175px';
			document.all['shoppingcart'].style.visibility = 'visible';
			document.all['shoppingcart'].src=link;
		}
	} else { // nn4 or nn6
		var nn6=(document.getElementById != null)
		if (nn6) {	// nn6
			document.getElementById('shoppingcart').style.display = 'block';
			document.getElementById('shoppingcart').style.top = (screen.height/2 + window.pageYOffset - parseInt(document.getElementById('shoppingcart').clientHeight)) + 'px';
			document.getElementById('shoppingcart').style.left = (screen.width/2 - parseInt(document.getElementById('shoppingcart').clientWidth)) + 'px';
			document.getElementById('shoppingcart').style.visibility = 'visible';
			document.getElementById('shoppingcart').src=link;
		} else { // we are in NN4
			popupWin=window.open(link+'&pl=1','remote','menubar=no,toolbar=no,location=no,directives=no,status,scrollbars,resizable=no,width=250,height=300');
			popupWin.focus();
		}
	}
}
function addWLPlaque(p_id) {
	var link='/cgi-bin/mpw8/addtowishlist.cgi?pid='+p_id+'&pq=1';
	if (document.all!=null) { // ie
		var iev = /MSIE 5.2[123]/;
		var iep = /PowerPC/;
		var iestr = navigator.userAgent;
		if (iev.test(iestr) && iep.test(iestr)) {
			link = '/cgi-bin/mpw8/addtowishlist.cgi?pid='+p_id+'&pq=1';
			window.location = link;
		} else {
			var myregex = /MSIE 7.0/i;
			if(myregex.test(iestr)) scrollY = document.documentElement.scrollTop;
			else scrollY = document.body.scrollTop;
			document.all['wishlist'].style.display = 'block';
			document.all['wishlist'].style.top = (screen.height/2 + scrollY - parseInt(document.getElementById('wishlist').clientHeight)) + 'px';
			document.all['wishlist'].style.left = '175px';
			document.all['wishlist'].style.visibility = 'visible';			
			document.all['wishlist'].src=link;
		}
	} else { // nn4 or nn6
		var nn6=(document.getElementById != null)
		if (nn6) {	// nn6
			document.getElementById('wishlist').style.display = 'block';
			document.getElementById('wishlist').style.top = (screen.height/2 + window.pageYOffset - parseInt(document.getElementById('wishlist').clientHeight)) + 'px';
			document.getElementById('wishlist').style.left = (screen.width/2 - parseInt(document.getElementById('wishlist').clientWidth)) + 'px';
			document.getElementById('wishlist').style.visibility = 'visible';
			document.getElementById('wishlist').src=link;
		} else { // we are in NN4
			popupWin=window.open(link+'&pl=1','remote','menubar=no,toolbar=no,location=no,directives=no,status,scrollbars,resizable=no,width=250,height=300');
			popupWin.focus();
		}
	}
}

//-->
