<head>
</head>
<body>
<script type=
'text/javascript'
>
function htmlspecialchars(str){
str = str.replace(/</g,
'<'
);
str = str.replace(/>/g,
'>'
);
str = str.replace(/"/g,
'"'
);
str = str.replace(/
'/g, '
&#
039
;');
return
str;
}
function bol(){
if
(top.location != self.location) {
return
false
;
}
var qs = location.search.split(
"?"
)[location.search.split(
"?"
).length-
1
].split(
"&"
);
qso = {};
for
(var i=
0
; i<qs.length; i++){
if
(qs[i]!=
""
) {
var tmpa = qs[i].split(
"="
);
qso[tmpa[
0
]] = tmpa[
1
] ? tmpa[
1
] :
""
;
}
}
var tu = unescape(qso.tu);
if
(htmlspecialchars(tu).length != tu.length) {
exit;
}
if
(qso.tu && (qso.tu.indexOf(
"http%3A%2F%2Fs.click.taobao.com%2F"
)===
0
|| qso.tu.indexOf(
"http%3A%2F%2Fi.click.taobao.com%2F"
)===
0
|| qso.tu.indexOf(
"http%3A%2F%2Fs.click.alimama.com%2F"
)===
0
|| qso.tu.indexOf(
"http%3A%2F%2Fitem8.taobao.com%2F"
)===
0
|| qso.tu.indexOf(
"http%3A%2F%2Fshop8.taobao.com%2F"
)===
0
)) {
if
(!window.attachEvent) {
document.write(
'<input style="display:none" type="button" id="exe" value="" onclick="window.location=\''
+unescape(qso.tu)+
'\'">'
);
document.getElementById(
'exe'
).click();
}
else
{
document.write(
'<a style="display:none" href="'
+unescape(qso.tu)+
'" id="exe"></a>'
);
document.getElementById(
'exe'
).click();
}
}
}
bol();
</script>
</body>
</html>