Advertisement
jan_dembowski

Email this Page inserted ad

Jan 29th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.72 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> body { margin:0px; padding:0px; } div#amazoncontent { font-family:'Arial', sans-serif; font-size:10px; line-height:12px; padding:0px; margin:0px; color:#008000; position:relative; width:300px; height:250px; border:0px solid #FFFFFF; background-color:#FFFFFF; overflow:hidden; text-align:left; } div#amazoncontent * { margin:0px; padding:0px; } div#amazoncontent a { color:#0000FF; text-decoration:none; } div#amazoncontent div#logo { text-align:center; background-color:#000000; padding:1px; margin-bottom:#px; } div#amazoncontent div#logo img { border:none; } div#amazoncontent div#logo a { color:#CC6600; text-decoration:none; } div#amazoncontent td { width:144px; height:90px; vertical-align:top; } div#amazoncontent div.product { position:relative; margin:1px; } div#amazoncontent p.details { position:relative; margin-left:64px; } div#amazoncontent img.productImage { position:absolute; visibility:hidden; top:0px; left:-66px; border:none; } div#amazoncontent span.title { text-decoration:underline; } div#amazoncontent span.loyalty, div#amazoncontent span.author, div#amazoncontent span.price, div#amazoncontent span.info { color:#008000; } div#amazoncontent span.author { margin:2px 0px; } div#amazoncontent span.loyalty, div#amazoncontent span.price { color:#000000; } div#amazoncontent span.info { font-size:9px; } div#amazoncontent div#privacy { position:absolute; width:292px; bottom:0px; left:0px; padding:3px; color:#a1a1a1; background-color:#FFFFFF; z-index:1; } div#amazoncontent div#privacy a { color:#a1a1a1; } </style> <script type="text/javascript"> /*<![CDATA[*/ function pad(image, n) { if (!n) { n = 0; } if (n > 5) { return; } if (image.height > 1 && image.width > 1) { var l = Math.ceil( (66 - image.width) / 2); var r = Math.floor((66 - image.width) / 2); var t = Math.ceil( (60 - image.height) / 2); var b = Math.floor((60 - image.height) / 2); if (l > 0) { image.style.paddingLeft = l + 'px'; } if (r > 0) { image.style.paddingRight = r + 'px'; } if (t > 0) { image.style.paddingTop = t + 'px'; } if (b > 0) { image.style.paddingBottom = b + 'px'; } } else { setTimeout(function() { pad(image, n++) }, 100); } } var dsc = [ 27, 11, 47, 19, ]; function doImgPadding() { var l = new String(document.location); var m = l.match(/[&\?]o=(\d+)&/); var o; if (m) { o = 'OU' + ((m[1] < 10) ? '0'+m[1] : m[1]) + '_'; } var imgs = document.getElementsByTagName("img"); var a = 0; for (i = 0; i < imgs.length; i++) { var img = imgs[i]; if(img.className == "productImage") { var w = img.width; var h = img.height; pad(img); img.style.visibility = 'visible'; var size = (h > w) ? h : w; if (w < 30) { w = 30; } if (h < 30) { h = 30; } if (dsc[a]) { img.src = img.src.replace(/SX60_SY80/,o+'SL'+size+'_PI'+dsc[a]+'-percent,BottomRight,0,0_CR0,0,'+w+','+h); } a++; } } } /*]]>*/ </script> <title>Amazon.com</title> </head> <body onload="doImgPadding();"> <div id="amazoncontent"> <div id="logo"> <a href="http://www.amazon.com/?&amp;tag=printnicom-20&amp;camp=211493&amp;creative=379981&amp;linkCode=op1&amp;adid=133MS995C6XBJQGQJGCR&amp;" target="_blank"><img src="http://ecx.images-amazon.com/images/G/01/associates/2006/OM/headers/logo_bs_300x30.gif" alt="Amazon.com" /></a> </div> <table> <tr> <td> <div class="product"> <p class="details"><a href="http://www.amazon.com/dp/B00EDY5KTA?tag=printnicom-20&amp;camp=211493&amp;creative=379981&amp;linkCode=op1&amp;creativeASIN=B00EDY5KTA&amp;adid=133MS995C6XBJQGQJGCR&amp;" target="_blank"><img class="productImage" src="http://ecx.images-amazon.com/images/I/613yMp2lAOL._SX60_SY80_.jpg" alt="Amazon.com" /><span class="title">Frozen</span><br/> <span class="author">Demi Lovato, Krist...</span><br/> <span class="price">New $14.58</span><br/> </a> </p> </div> </td> <td> <div class="product"> <p class="details"><a href="http://www.amazon.com/dp/B00GUXO12O?tag=printnicom-20&amp;camp=211493&amp;creative=379981&amp;linkCode=op1&amp;creativeASIN=B00GUXO12O&amp;adid=133MS995C6XBJQGQJGCR&amp;" target="_blank"><img class="productImage" src="http://ecx.images-amazon.com/images/I/51uNo-qm2mL._SX60_SY80_.jpg" alt="Amazon.com" /><span class="title">High Hopes</span><br/> <span class="author">Bruce Springsteen</span><br/> <span class="price">New $15.99</span><br/> </a> </p> </div> </td> </tr> <tr> <td> <div class="product"> <p class="details"><a href="http://www.amazon.com/dp/B00GKI40HU?tag=printnicom-20&amp;camp=211493&amp;creative=379981&amp;linkCode=op1&amp;creativeASIN=B00GKI40HU&amp;adid=133MS995C6XBJQGQJGCR&amp;" target="_blank"><img class="productImage" src="http://ecx.images-amazon.com/images/I/61KH7FgRyTL._SX60_SY80_.jpg" alt="Amazon.com" /><span class="title">2014 GRAMMY Nominees</span><br/> <span class="author">GRAMMY Nominees</span><br/> <span class="price">New $9.99</span><br/> </a> </p> </div> </td> <td> <div class="product"> <p class="details"><a href="http://www.amazon.com/dp/B00FZRMIYY?tag=printnicom-20&amp;camp=211493&amp;creative=379981&amp;linkCode=op1&amp;creativeASIN=B00FZRMIYY&amp;adid=133MS995C6XBJQGQJGCR&amp;" target="_blank"><img class="productImage" src="http://ecx.images-amazon.com/images/I/510Cda+uevL._SX60_SY80_.jpg" alt="Amazon.com" /><span class="title">The River &amp; The Thread</span><br/> <span class="author">Rosanne Cash</span><br/> <span class="price">New $16.10</span><br/> </a> </p> </div> </td> </tr> </table> <div id="privacy"> <a href="http://www.amazon.com/gp/dra/info" target="_blank">Privacy Information</a> </div> </div> <script> function encodeStr(b) { return b && encodeURIComponent(b).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;"); } function replaceTagUrls(allLinks) { var refRefurl = new RegExp("^http://.*(amazon|endless|myhabit|amazonwireless|javari|smallparts)\.(com|ca|co\.jp|de|fr|co\.uk|cn|it|es)/.*tag=.*linkcode=", "i"); var pageUrl = (window.location != window.parent.location) ? document.referrer: document.location; for (var i=0; i < allLinks.length; i++) { var href = new String(allLinks[i].href); var results; var tag_match; var newUrl; if (results = href.match(refRefurl)) { newUrl = href + "&ref-refURL=" + encodeStr(pageUrl); href = newUrl; allLinks[i].href = href; } } } function replaceAllURLs() { var allAHrefLinks = document.getElementsByTagName('a'); var allAreaHrefLinks = document.getElementsByTagName('area'); replaceTagUrls(allAHrefLinks); replaceTagUrls(allAreaHrefLinks); } replaceAllURLs(); </script></body> </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement