You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
4.4 KiB
JavaScript

// JavaScript Document
document.writeln("<script type=\"text/javascript\" language=\"javascript\" src=\"http://data.chinahighlights.com/js/community/jsbase.js?201304241005\"></script>");
document.writeln("<div class=\"footerInfo\">");
document.writeln("<div class=\"linkLeft\">");
document.writeln("<div class=\"mgLogo\"><a href=\"http://www.mekongguru.com/\" rel=\"nofollow\" target=\"_blank\"><img src=\"/pic/mekong-guru-277x59.png\"></a></div>");
document.writeln("<ul>");
document.writeln("<li><a rel=\"nofollow\" href=\"//www.chinahighlights.com/aboutus/\">About us</a></li> <li><a rel=\"nofollow\" href=\"//www.chinahighlights.com/contactus/\"><b>Contact us</b></a></li> <li><a rel=\"nofollow\" href=\"//www.chinahighlights.com/faq/\">FAQ</a></li> <li><a rel=\"nofollow\" href=\"//www.chinahighlights.com/feedback/\">Feedback</a></li> <li><a rel=\"nofollow\" href=\"//www.chinahighlights.com/news/\">News</a></li> <li><a rel=\"nofollow\" target=\"_blank\" href=\"//www.chinahighlights.com/partner/\">I'm a travel agent</a></li>");
document.writeln("</ul>");
document.writeln("</div>");
document.writeln("<div class=\"footerRight\">");
document.writeln("<div class=\"followUs\">");
document.writeln("<span class=\"followTitle\">Follow us on</span> <span class=\"socialLink\"><div id=\"TA_logoWidget223\" class=\"TA_logoWidget\"><ul id=\"tiW0GxJ3dNG5\" class=\"TA_links w2NaLXE4THnL\"><li id=\"M9JU6T4Zf\" class=\"piEol1S\"><a href=\"http://www.tripadvisor.com/Attraction_Review-g298556-d4418151-Reviews-China_Highlights_Guilin_Private_One_day_Tours-Guilin_Guangxi_Zhuang.html\" target=\"_blank\" rel=\"nofollow\">China Highlights-Guilin Private One-day Tours</a></li></ul></div> <a href=\"https://twitter.com/Chinahighlights\" rel=\"nofollow\" title=\"Share us on Twitter\" class=\"tw\"></a> <a href=\"https://plus.google.com/115440226907925048044\" rel=\"nofollow\" title=\"Follow us on Google Plus\" class=\"g\"></a> <a href=\"http://www.linkedin.com/company/china-highlights/\" rel=\"nofollow\" title=\"Follow us on Linkedin\" class=\"linkin\"></a> <a href=\"http://www.facebook.com/Chinahighlights\" rel=\"nofollow\" title=\"Follow us on Facebook\" class=\"fb\"></a> </span>");
document.writeln("<script src=\"http://www.jscache.com/wejs?wtype=logoWidget&amp;uniq=223&amp;lang=en_US&amp;locationId=4418151&amp;size=med\"></script>");
document.writeln("</div>");
document.writeln("<div class=\"ourMembers\">");
document.writeln(" <a rel=\"nofollow\" href=\"//privacy-policy.truste.com/click-with-confidence/wps/en/www.chinahighlights.com/seal_m\" title=\"TRUSTe online privacy certification\" target=\"_blank\" class=\"truste\"></a> <a rel=\"nofollow\" target=\"_blank\" href=\"https://www.mcafeesecure.com/RatingVerify?ref=www.chinahighlights.com\" class=\"mcafee\"></a>");
document.writeln(" <span class=\"iata\"></span><span class=\"ustoa\"></span><span class=\"pata\"></span>");
document.writeln(" <span class=\"visa\"></span>");
document.writeln(" <span class=\"paypal\"></span> <span class=\"moneybookers\"></span>");
document.writeln(" </div>");
document.writeln(" <p>Copyright &copy; 1998. All rights reserved to China Highlights.</p>");
document.writeln("</div>");
document.writeln("");
document.writeln("</div>");
$(function(){
$.get("/uc-client/AspHttp_Accept_Language.asp", function(data){
if ("zh-ch" != data) {
$(".followUs .socialLink").append("<span class=\"likeUs\"><iframe src=\"//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fchinahighlights&amp;send=false&amp;layout=standard&amp;width=300&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=35&amp;appId=127371147346105\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:300px; height:25px;\" allowTransparency=\"true\"></iframe></span>");
}
});
});
(function() {
var _ref = document.referrer;
var q = getParameterByName("q", _ref);
if ( q.length > 0 ) {
var _keyworkds = getParameterByName("q", _ref);
var _date = new Date();
_date.setDate(_date.getDate()+30);
var exp = _date.toGMTString();
document.cookie='inquireTrackAG='+_keyworkds.replace(/(\s+)/g, '_')+';path=/;expires='+exp;
}
})();
function getParameterByName(name, url) {
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(url);
return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}