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.
62 lines
4.3 KiB
JavaScript
62 lines
4.3 KiB
JavaScript
6 years ago
|
// JavaScript Document
|
||
|
$(function() {
|
||
|
var html = '';
|
||
|
html += "<div class=\"footerContent\">";
|
||
|
html += " <span class=\"chSlogan\"></span>";
|
||
|
html += " <ul class=\"withBorder\">";
|
||
|
html += " <li><a href=\"//www.chinahighlights.com/aboutus/\" rel=\"nofollow\">About us</a></li>";
|
||
|
html += " <li><a href=\"//www.chinahighlights.com/contactus/\" rel=\"nofollow\"><b>Contact us</b></a></li>";
|
||
|
html += " <li><a href=\"//www.chinahighlights.com/faq/\" rel=\"nofollow\">FAQ/Help</a></li>";
|
||
|
html += " <li><a target=\"_blank\" href=\"http://community.chinahighlights.com/\" rel=\"nofollow\">Community</a></li>";
|
||
|
html += " <li><a href=\"//www.chinahighlights.com/privacy.htm\" rel=\"nofollow\">Privacy & Statement</a></li>";
|
||
|
html += " <li><a href=\"//www.chinahighlights.com/aboutus/terms.htm\" target=\"_blank\" rel=\"nofollow\">Terms & Conditions</a></li>";
|
||
|
html += " <li class=\"socialM\">Follow us on <span class=\"socialLink\"><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></li>";
|
||
|
html += " </ul>";
|
||
|
html += "<div class=\"footPhone\">";
|
||
|
html += "<b>7x24 Support:</b> 800-2682918 (USA&CA); 1800-764678 (Australia); 0800-0327753 (UK); +86-773-2831999 (all)";
|
||
|
html += "</div>";
|
||
|
html += " <ul class=\"withBorder\">";
|
||
|
html += " <div class=\"viplogo\"> <a rel=\"nofollow\" target=\"_blank\" href=\"https://www.mcafeesecure.com/RatingVerify?ref=www.chinahighlights.com\" class=\"mcafee\"></a><a rel=\"nofollow\" href=\"//privacy.truste.com/privacy-seal/Guilin-China-International-Travel-Service-Co--Ltd/validation?rid=358c7a26-950a-4838-a8fe-f50b42b4efae\" title=\"TRUSTe online privacy certification\" target=\"_blank\" class=\"truste\"></a><span class=\"iata\"></span><span class=\"asta\"></span><span class=\"ust\"></span><span class=\"pata\"></span> <span class=\"atta\"><a href=\"http://www.adventuretravel.biz/about/atta-members/\" rel=\"nofollow\" target=\"_blank\"></a></span> </div>";
|
||
|
html += " </ul>";
|
||
|
html += " <div class=\"copyright\">Copyright © 1998. All rights reserved to China Highlights.</p>";
|
||
|
html += "<div class=\"taICON\">";
|
||
|
html += "<div id=\"TA_rated134\" class=\"TA_rated\">";
|
||
|
html += "<ul id=\"gJ2R6jeirab\" class=\"TA_links rAaAfr\">";
|
||
|
html += "<li id=\"OWkfZwPwb\" class=\"2T4pK5mIs2\">";
|
||
|
html += "<a target=\"_blank\" href=\"http://www.tripadvisor.com/\"><img src=\"http://www.tripadvisor.com/img/cdsi/img2/badges/recommended_en-11424-2.gif\" alt=\"TripAdvisor\"/></a>";
|
||
|
html += "</li>";
|
||
|
html += "</ul>";
|
||
|
html += "</div>";
|
||
|
html += "</div>";
|
||
|
html += " </div>";
|
||
|
$("#footer").html(html);
|
||
|
});
|
||
|
document.writeln("<script src=\"http://www.jscache.com/wejs?wtype=rated&uniq=134&locationId=4418151&lang=en_US\"></script>");
|
||
|
/*
|
||
|
$(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&send=false&layout=standard&width=300&show_faces=false&font&colorscheme=light&action=like&height=35&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, " "));
|
||
|
}
|