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.
58 lines
4.4 KiB
JavaScript
58 lines
4.4 KiB
JavaScript
// JavaScript Document
|
|
$(function() {
|
|
var reval = "";
|
|
reval += " <div class=\"hidden-xs container\"> ";
|
|
reval += " <div class=\"footerContent cht-relative\">";
|
|
reval += " <span class=\"chSlogan\"> </span>";
|
|
reval += " <ul class=\"withBorder\">";
|
|
reval += " <li><a href=\"//www.chinahighlights.com/aboutus/\" rel=\"nofollow\">About us</a></li>";
|
|
reval += " <li><a href=\"//www.chinahighlights.com/contactus/\" rel=\"nofollow\"><b>Contact us</b></a></li>";
|
|
reval += " <li><a href=\"//www.chinahighlights.com/faq/\" rel=\"nofollow\">FAQ/Help</a></li>";
|
|
reval += " <li><a target=\"_blank\" href=\"http://community.chinahighlights.com/\" rel=\"nofollow\">Community</a></li>";
|
|
reval += " <li><a href=\"//www.chinahighlights.com/privacy.htm\" rel=\"nofollow\">Privacy & Statement</a></li>";
|
|
reval += " <li><a href=\"//www.chinahighlights.com/aboutus/terms.htm\" target=\"_blank\" rel=\"nofollow\">Terms</a></li>";
|
|
reval += " <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>";
|
|
reval += " </ul>";
|
|
reval += " <ul class=\"withBorder\">";
|
|
reval += " <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\"></span> </div>";
|
|
reval += " </ul>";
|
|
reval += " <div class=\"copyright\"> Copyright © 1998. All rights reserved to China Highlights.</div>";
|
|
reval += " <div class=\"taICON\">";
|
|
reval += " <div id=\"TA_rated134\" class=\"TA_rated\">";
|
|
reval += " <ul id=\"gJ2R6jeirab\" class=\"TA_links rAaAfr\">";
|
|
reval += " <li id=\"OWkfZwPwb\" class=\"2T4pK5mIs2\">";
|
|
reval += " <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>";
|
|
reval += " </li>";
|
|
reval += " </ul>";
|
|
reval += " </div>";
|
|
reval += " <script src=\"http://www.jscache.com/wejs?wtype=rated&uniq=134&locationId=4418151&lang=en_US\"></script>";
|
|
reval += " </div>";
|
|
reval += " </div>";
|
|
reval += " </div>";
|
|
reval += " <div class=\"visible-xs\" id=\"xsfooter\">";
|
|
reval += " <div class=\"container topspace15 footPhone\">";
|
|
reval += " <p> <strong>7x24 Support:</strong> 800-2682918 (USA&CA); +86-773-2831999 (all) <span>or <a href=\"/contactus/\"><strong>contact us</strong></a></span></p>";
|
|
reval += " <p>© 1998. All rights reserved to China Highlights. </p></div>";
|
|
reval += " </div>";
|
|
$("#footer").html(reval);
|
|
});
|
|
|
|
(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, " "));
|
|
}
|