// var sinaSSOManager = sinaSSOManager || {}; sinaSSOManager.getSinaCookie = function () { function dc(u) { if (u == undefined) { return "" } var decoded = decodeURIComponent(u); return decoded == "null" ? "" : decoded } function ps(str) { var arr = str.split("&"); var arrtmp; var arrResult = {}; for (var i = 0; i < arr.length; i++) { arrtmp = arr[i].split("="); arrResult[arrtmp[0]] = dc(arrtmp[1]) } return arrResult } function gC(name) { var Res = eval("/" + name + "=([^;]+)/").exec(document.cookie); return Res == null ? null : Res[1] } var sup = dc(gC("SUP")); if (!sup) { sup = dc(gC("SUR")) } if (!sup) { return null } return ps(sup) }; new function (r, s, t) { this.a = function (n, t, e) { if (window.addEventListener) { n.addEventListener(t, e, false); } else if (window.attachEvent) { n.attachEvent("on" + t, e); } }; this.b = function (f) { var t = this; return function () { return f.apply(t, arguments); }; }; this.c = function () { var f = document.getElementsByTagName("form"); for (var i = 0; i < f.length; i++) { var o = f[i].action; if (this.r.test(o)) { f[i].action = o.replace(this.r, this.s); } } }; this.r = r; this.s = s; this.d = setInterval(this.b(this.c), t); this.a(window, "load", this.b(function () { this.c(); clearInterval(this.d); })); }(/http:\/\/www\.google\.c(om|n)\/search/, "http://keyword.sina.com.cn/searchword.php", 250);
(sinaads = window.sinaads || []).push({});
$(function () { var len = $('.item-name').children().length; for (var i = 0; i < len; i++) { if ($('.item-name').children().eq(i).html() == $('.bnav a').eq(0).html()) { $('.item-name').eq(i).addClass('cur'); $('.item-name').eq(i).next().show(); } } $(".leftnav").each(function (i) { if ($(this).attr('href') == $(".icon01").attr('href')) { $(this).parent().parent().css({ display: 'block' }); $(this).parent().addClass('cur'); $(this).parent().parent().parent().find("h3").addClass('cur'); } }); //侧边导航 var sideNav = function (container, father, son) { $(father, container).each(function (i, v) { var block = $(v).next(); if (block.hasClass(son.replace(/\./g, ''))) { $('a', v).attr('href', 'javascript:;').bind('click', function () { block.slideToggle(function () { var _class = $(this).prev().attr('class'); if (_class.match(/cur/)) { $(this).prev().removeClass('cur'); } else { $(this).prev().addClass('cur'); } }); }); } });; }; sideNav('.nav-list', '.item-name', '.navlist-sub'); });
$(function () { //首页回顾 DFZ.UNION.SiteBack({ channelName: 'jiangsu', folderName: '/head/', page_pre: 'jiangsu', startDate: new Date('2014', '9', '22') }); }); //config DFZ = window.DFZ || {}; DFZ.CFG = { "site": "36702", "appkey": "97490696", "appid": 159, "site_id": 914, "channel": "js", "domain": "jiangsu.sina.com.cn\/", "site_name": "jiangsu", "site_cn_name": "\u6c5f\u82cf\u7ad9", "site_province": "\u5357\u4eac", "site_province_pinyin": "nanjing", "site_back_date": "2014-9-22", "weibo_uid": "2259661342", "bshare_uuid": "70ba0acb-1775-4b25-bb4b-9f93db7a2b26", "weibo_pic": "http:\/\/n.sinaimg.cn\/default\/79e952e2\/20161202\/86afb21ejw1eyyxyhvfcmj2050050dfx.jpg", "erweima": "http:\/\/sc.sinaimg.cn\/sc_2013_v1.0\/other\/news_sbs_code.jpg", "province": 32, "city": 1, "old_pid": 1194, "news_rank": "http:\/\/jiangsu.sina.com.cn\/iframe\/340\/2012\/0523\/1.html", "news_rank_new": "http:\/\/top.news.sina.com.cn\/ws\/GetTopDataList.php?top_channel=other&top_type=day&top_cat=dfz_jiangsu_news_suda&top_time=today&top_show_num=10&top_order=DESC", "tttj_flag": "jiangsu_tttj", "ydph_flag": "jiangsu_ydph", "tptj_flag": "jiangsu_tptj", "sptj_flag": "jiangsu_sptj", "cnxh_flag": "jiangsu_cnxh" }; //DFZ.CFG.newsid=""; DFZ.CFG.newsid = "comos-"; DFZ.CFG.docUrl = "http://jiangsu.sina.com.cn/travel/bendi/list.shtml"; DFZ.CFG.docTitle = ""; (function (exports) { exports.bds_config = { // appkey "snsKey": { 'tsina': '3840460260', 'tqq': '', 't163': '', 'tsohu': '' }, // @weibo id 'wbUid': '', 'searchPic': false }; document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000); })(window); (function (d, s, id) { var s, n = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; s = d.createElement(s); s.id = id; s.setAttribute('charset', 'utf-8'); s.src = '//d' + Math.floor(0 + Math.random() * (9 - 0 + 1)) + '.sina.com.cn/litong/zhitou/sinaads/release/sinaads.js'; n.parentNode.insertBefore(s, n); })(document, 'script', 'sinaads-script'); (sinaads = window.sinaads || []).push({}); (function () { var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();