<!-- /* <[CDATA[ */
function findXPos(o) {
var n = 0;
if (o.offsetParent) {
while (1) {
n += o.offsetLeft;
if (!o.offsetParent) { break; }
o = o.offsetParent;
}
} else if (o.x) {
n += o.x;
}
return n;
}
function findYPos(o) {
var n = 0;
if (o.offsetParent) {
while (1) {
n += o.offsetTop;
if (!o.offsetParent) { break; }
o = o.offsetParent;
}
} else if (o.y) {
n += o.y;
}
return n;
}
function is_mac() {
var agt = navigator.userAgent.toLowerCase();
return (agt.indexOf("mac") != -1);
}
function setPos(n) {
var h = document.getElementById('h'+n);
var i = document.getElementById('i'+n);
var m = document.getElementById('m'+n);
var d = document.documentElement;
var b = document.body;
var x = findXPos(m);
var y = findYPos(m);
var ww = 0;
if (window.innerWidth) { ww = window.innerWidth - 18; }
else if (d && d.clientWidth) { ww = d.clientWidth; }
else if (b && b.clientWidth) { ww = b.clientWidth; }
var wh = 0;
if (window.innerHeight) { wh = window.innerHeight - 18; }
else if (d && d.clientHeight) { wh = d.clientHeight; }
else if (b && b.clientHeight) { wh = b.clientHeight; }
var sx = 0;
if (typeof window.pageXOffset == "number") { sx = window.pageXOffset; }
else if (d && d.scrollLeft) { sx = d.scrollLeft; }
else if (b && b.scrollLeft) { sx = b.scrollLeft; }
else if (window.scrollX) { sx = window.scrollX; }
var sy = 0;    
if (typeof window.pageYOffset == "number") { sy = window.pageYOffset; }
else if (d && d.scrollTop) { sy = d.scrollTop; }
else if (b && b.scrollTop) { sy = b.scrollTop; }
else if (window.scrollY) { sy = window.scrollY; }
var hw = 326;
var hh = 144;
var mw = i.width;
var mh = i.height;
if (ww - (x - sx + mw) < (x - sx)) {
h.style.left = (-hw-3) + 'px';
} else {
h.style.left = mw + 1 + 'px';
}
if (wh - (y - sy) < (y - sy + mh)) {
if (n==1 || n==2) {
h.style.top = (-hh + mh + 3) + 'px';
if (is_mac()) { h.style.top = (-hh + mh + 10) + 'px'; }
} else {
h.style.top = (-mh + 4) + 'px';
if (is_mac()) { h.style.top = (-mh + 11) + 'px'; }
}
} else {
if (n == 1) {
h.style.top = 9 + 'px';
} else if (n == 2) {
h.style.top = 7 + 'px';
} else {
h.style.top = 0 + 'px';
}
}
}
function showHide(n) {
setPos(n);
var h = document.getElementById('h'+n);
h.style.display = (h.style.display == "none") ? "block" : "none";  
}
function showMark(n) {
document.write('<div id="google_amark_b" style="width:92px; height:88px;"><div id="m'+n+'" class="m"><a href="javascript:showHide('+n+')"><img src="images/google/st.gif" width="92" height="88" id="i'+n+'" alt="Google Checkout Acceptance Mark" />');
document.write('</a></div><div id="h'+n+'" class="h" style="display:none;"><div id="t"><img src="images/google/gl.gif"  width="154" height="28" id="l" alt="Google Checkout logo" /><div id="x"><a href="javascript:showHide('+n+')"><img src="images/google/x.gif" width="16" height="16" alt="" /></a></div></div><div id="c"><p>Google Checkout is a fast, secure way to buy from stores across the web.</p><p class="p">When it\'s time to buy, look for the <img src="images/google/gcb.gif" width="104" height="19" alt="Google Checkout button image" /> button.</p><p>Use it once and stop creating new accounts every time you buy. <a href="http://checkout.google.com/buyer/tour.html" target="_blank">Learn more</a></p></div></div></div>');
}
/* ]]> */ //-->