forked from ibanknatoPrad/db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcm.htm
129 lines (124 loc) · 15.4 KB
/
cm.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<PRE>
</PRE>
<PRE>
</PRE>
<PRE>
</PRE>
<PRE>
</PRE>
<PRE>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9">
<style>
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:11px}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}a:focus,a:active{border:0;outline:0}.amzn-ad-container{background:#fff;width:118px;overflow:hidden;height:231px;border:1px solid #ddd;padding:3px 0}.amzn-ad-container a{text-decoration:none}.amzn-ad-logo-holder{margin:0;padding:0;text-align:center}button{border:0;padding:0;font-family:arial;color:#333;cursor:pointer}button:focus{outline:0}.amzn-ad-white-background{background:#fff}.amzn-ad-container .amzn-ad-logo-holder{text-align:center}.amzn-ad-container .amzn-ad-logo-holder a{display:block}.amzn-ad-logo-holder{margin:0;padding:0}.amzn-ad-image-holder{padding:0;margin:7px 0;text-align:center}.amzn-ad-image-holder img{border:0 !important}.amzn-ad-image-holder a{display:inline-block}.amzn-ad-prod-detail{text-align:left;padding:3px 9px;margin:0;height:34px}.amzn-ad-price-block{text-align:left;padding:0 9px;margin-bottom:9px}.amzn-ad-price-block a{float:left}.amzn-ad-price-block .prime{display:inline-block;float:right}.amzn-ad-privacy{text-align:center;padding:5px 0}.amzn-ad-privacy-link{font:normal 10px/11px Tahoma,Genava,sans-serif;color:#888;text-decoration:none}.amzn-ad-primary-btn{width:100%;display:block;padding:6px 0;margin-bottom:3px;border-width:1px 0}.amzn-ad-primary-btn span{display:block}.amazon .amzn-ad-primary-btn.logo span{text-align:left;height:25px;vertical-align:middle;display:table-cell;padding-left:30px;background-repeat:no-repeat;font-size:11.4px}.amazon.amzn-ad-container{border-top:2px solid #f90}.amazon .amzn-ad-price-block .price,.amazon .amzn-ad-prod-detail #title a,.amazon .amzn-ad-primary-btn .shop{font:normal 13px/17px Arial,Helvetica,sans-serif;color:#333}.amazon .amzn-ad-prod-detail #title a{color:#0066c0}.amazon .amzn-ad-prod-detail{padding:5px 10px 5px}.amazon .amzn-ad-primary-btn{background:#f8e6b8;padding:3px;background:-moz-linear-gradient(top,#f8e6b8 0,#f3d686 6%,#ebb62c 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f8e6b8),color-stop(6%,#f3d686),color-stop(100%,#ebb62c));background:-webkit-linear-gradient(top,#f8e6b8 0,#f3d686 6%,#ebb62c 100%);background:-o-linear-gradient(top,#f8e6b8 0,#f3d686 6%,#ebb62c 100%);background:-ms-linear-gradient(top,#f8e6b8 0,#f3d686 6%,#ebb62c 100%);background:linear-gradient(to bottom,#f8e6b8 0,#f3d686 6%,#ebb62c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8e6b8',endColorstr='#ebb62c',GradientType=0)}.amazon .amzn-ad-primary-btn:hover{background:#f4f2ed;background:-moz-linear-gradient(top,#f4f2ed 0,#efdeb3 6%,#e8bb4a 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f4f2ed),color-stop(6%,#efdeb3),color-stop(100%,#e8bb4a));background:-webkit-linear-gradient(top,#f4f2ed 0,#efdeb3 6%,#e8bb4a 100%);background:-o-linear-gradient(top,#f4f2ed 0,#efdeb3 6%,#e8bb4a 100%);background:-ms-linear-gradient(top,#f4f2ed 0,#efdeb3 6%,#e8bb4a 100%);background:linear-gradient(to bottom,#f4f2ed 0,#efdeb3 6%,#e8bb4a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f2ed',endColorstr='#e8bb4a',GradientType=0)}.amazon .amzn-ad-primary-btn span{color:#111;font-size:14px;background-position:0 0}.amazon .amzn-ad-price-block{height:17px}.amzn-ad-container .amzn-ad-privacy-link-light{color:#ddd}.smallparts .amzn-ad-prod-detail{height:42px}.smallparts.amzn-ad-container{border-top:2px solid #2161d4}.smallparts .amzn-ad-price-block .price,.smallparts .amzn-ad-prod-detail #title a,.smallparts .amzn-ad-primary-btn .shop{font:normal 11px/14px Tahoma,Geneva,sans-serif;color:#111}.smallparts .amzn-ad-prod-detail #title a{color:#2161d4}.smallparts .amzn-ad-primary-btn{border-color:#ccc #ddd #111;background:#666;background:-moz-linear-gradient(top,#666 0,#333 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#666),color-stop(100%,#333));background:-webkit-linear-gradient(top,#666 0,#333 100%);background:-o-linear-gradient(top,#666 0,#333 100%);background:-ms-linear-gradient(top,#666 0,#333 100%);background:linear-gradient(to bottom,#666 0,#333 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666',endColorstr='#333333',GradientType=0)}.smallparts .amzn-ad-primary-btn:hover{background:#777;background:-moz-linear-gradient(top,#777 0,#444 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#777),color-stop(100%,#444));background:-webkit-linear-gradient(top,#777 0,#444 100%);background:-o-linear-gradient(top,#777 0,#444 100%);background:-ms-linear-gradient(top,#777 0,#444 100%);background:linear-gradient(to bottom,#777 0,#444 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#777777',endColorstr='#444444',GradientType=0)}.smallparts .amzn-ad-primary-btn .shop{text-align:center;color:#fff;font-size:14px;line-height:16px;display:block}.smallparts .amzn-ad-prod-detail #title a{color:#2161d4;text-decoration:none}.smallparts .amzn-ad-prod-detail #title a:hover{color:#cc7a00;text-decoration:underline}.amazon.amzn-ad-container-thin-border,.smallparts.amzn-ad-container-thin-border{border-top:1px solid #ddd;height:232px}.smallparts .amzn-ad-price-block{height:12px}
</style>
</head>
<body >
<script type="text/javascript">
var height = 40;
function checktext(){
var titleNode = document.getElementById("title");
var hrefNode = document.getElementById("titlehref");
var title = hrefNode.innerHTML;
var oldLength = title.length;
var newLength;
while(titleNode.scrollHeight>height ){
title=title.replace(/\s(\S)*$/,'');
newLength = title.length;
if(newLength>=oldLength){
title = title.substring(0,newLength - 5);
title=title+'...';
oldLength=title.length;
hrefNode.innerHTML = title;
}
else{
title=title+'...';
oldLength=title.length;
hrefNode.innerHTML = title;
}
}
if (titleNode.scrollWidth>110){
var width = titleNode.scrollWidth;
while(titleNode.scrollWidth>110){
var newTitle =title.substring(0,newLength - 1);
newLength = newLength - 1 ;
newTitle = newTitle + '...' ;
hrefNode.innerHTML = newTitle ;
}
}
}
function encodehtml(text){
var encodedtext=
String(text).replace(/&/g,'\u0026').replace(/</g,'\u003C').replace(/>/g,'\u003E').replace(/"/g, '\u0022');
document.getElementById("titlehref").title=encodedtext;
document.getElementById("prod-image").title=encodedtext;
}
</script>
<div class="amazon amzn-ad-container " style = "">
<div class="amzn-ad-white-background">
<div class="amzn-ad-logo-holder">
<a rel="nofollow" href=https://www.amazon.com/dp/0947593438/ref=as_sl_pc_tf_til?tag=internetsacredte&linkCode=w00&linkId=&creativeASIN=0947593438 target="_blank">
<img class="" src="//wms-na.amazon-adsystem.com/panda/20070822/US/img/a-logo-amazon.png"/>
</a>
</div>
<div class="amzn-ad-image-holder">
<a rel="nofollow" href=https://www.amazon.com/dp/0947593438/ref=as_sl_pc_tf_til?tag=internetsacredte&linkCode=w00&linkId=&creativeASIN=0947593438 target="_blank">
<img src="https://m.media-amazon.com/images/I/51R8F1aviIL._AC_AC_SR98,95_.jpg" id="prod-image"/>
</a>
</div>
</div>
<div style="background:#ffffff;">
<div class="amzn-ad-prod-detail">
<div id="title" >
<a rel="nofollow" id="titlehref" href=https://www.amazon.com/dp/0947593438/ref=as_sl_pc_tf_til?tag=internetsacredte&linkCode=w00&linkId=&creativeASIN=0947593438 style="color:#6633ff;" target="_blank" ">The Man in the Panther's Skin (Royal Asiatic Society Books)</a>
</div>
<script type="text/javascript">
checktext();
encodehtml("The Man in the Panther's Skin (Royal Asiatic Society Books)");
</script>
</div>
<div class="amzn-ad-price-block">
<a rel="nofollow" id="titlehref" href=https://www.amazon.com/dp/0947593438/ref=as_sl_pc_tf_til?tag=internetsacredte&linkCode=w00&linkId=&creativeASIN=0947593438 target="_blank">
<span class="price" style="color:#000000;">$79.95</span></a>
<span class="prime"><img src="//wms-na.amazon-adsystem.com/panda/20070822/US/img/prime.png" /></span>
</div>
<div class="amzn-ad-primary-btn logo">
<a rel="nofollow" href=https://www.amazon.com/dp/0947593438/ref=as_sl_pc_tf_til?tag=internetsacredte&linkCode=w00&linkId=&creativeASIN=0947593438 target="_blank">
<span style="background-image:url(//wms-na.amazon-adsystem.com/panda/20070822/US/img/cart.gif)" class="shop" id="amzn_assoc_shop_now"></span>
</a>
</div>
</div>
<img id="track" style="width:0px;heigh:0px"/>
<script type="text/javascript">
var img =document.getElementById("track");
var shopNow = document.getElementById("amzn_assoc_shop_now");
if(shopNow) {
shopNow.innerText = "Shop now";
shopNow.textContent = "Shop now";
}
var amazon_assoc_ir_f_call_associates_ads = function(map) {
var logTypeStr = "", foresterURL, json;
if(typeof JSON !== 'undefined') json = JSON.stringify(map);
else if(typeof amzn_assoc_utils !== 'undefined') json = amzn_assoc_utils.stringify(map);
else return;
if(typeof map.logType !== "undefined") logTypeStr = "&logType=" + map.logType;
// forester URLs are of format //<end_point>/<api_version>/<channel_id>/<channel_version>/<OPERATION>/
// Depending on operation, we either pass the data in the URI or we pass them as query parameters
// if operation is OP, data must be in query parameters while if operation is TOP,
// data must be in the URI itself
foresterURL = "//fls-na.amazon-adsystem.com/1/associates-ads/1/OP/r/json";
foresterURL = foresterURL + "?cb=" + (new Date()).getTime() + logTypeStr + "&p=" + encodeURIComponent(json);
(new Image()).src = foresterURL;
};
var amazon_assoc_ir_f_call = amazon_assoc_ir_f_call_associates_ads;
amazon_assoc_ir_f_call({"program": "1", "linkCode": "w00", "panda": true ,
"tag": "internetsacredte", "refUrl": ((window.location != window.parent.location)? document.referrer:document.location.href)});
</script>
</body>
</html>
</PRE>