document.write(""); document.write("
 
"); document.write("

北京

"); document.write("

南京

"); document.write("
"); function changeOnline(num) { if (isNaN(num) && num == "") return; for (var i = 1; i <= 6 ; i++) { if (i == num) { document.getElementById("onlineSort" + i).className = "online_bar expand"; document.getElementById("onlineType" + i).style.display = "block"; } else { document.getElementById("onlineSort" + i).className = "online_bar collapse"; document.getElementById("onlineType" + i).style.display = "none"; } } } jQuery(document).ready(function () { jQuery("#floatShow").bind("click", function () { jQuery('#onlineService').animate({ width: 'show', opacity: 'show' }, 'normal', function () { jQuery('#onlineService').show(); }); jQuery('#floatShow').attr('style', 'display:none'); jQuery('#floatHide').attr('style', 'display:block'); return false; }); jQuery("#floatHide").bind("click", function () { jQuery('#onlineService').animate({ width: 'hide', opacity: 'hide' }, 'normal', function () { jQuery('#onlineService').hide(); }); jQuery('#floatShow').attr('style', 'display:block'); jQuery('#floatHide').attr('style', 'display:none'); }); jQuery(document).bind("click", function (event) { if (jQuery(event.target).isChildOf("#online_qq_layer") == false) { jQuery('#onlineService').animate({ width: 'hide', opacity: 'hide' }, 'normal', function () { jQuery('#onlineService').hide(); }); jQuery('#floatShow').attr('style', 'display:block'); jQuery('#floatHide').attr('style', 'display:none'); } }); jQuery.fn.isChildAndSelfOf = function (b) { return (this.closest(b).length > 0); }; jQuery.fn.isChildOf = function (b) { return (this.parents(b).length > 0); }; //jQuery(window).scroll(function(){ //jQuery('#online_qq_layer').stop().animate({top:jQuery(document).scrollTop() + jQuery("#online_qq_layer").height()}, 100) //}); });