var globelVary={languageId:1,sessionTimeBool:0,//1暗示超時,0暗示未超時timeMashine:""};$(function(){var maxWidth =$(window).width();var fwmainwidth = $(".fwtop,.fwmain,.fwbottom").width();var result2 = -((maxWidth - fwmainwidth)/2);if(result2>0){result2 = 0;maxWidth = fwmainwidth;$(".tLan").css({"width" : "100%"});}else{$(".tLan").css({"left" : result2 + "px", "width" : maxWidth + "px"});}if(isNaN($("#itemLanguage").val()))globelVary.languageId=1;elseglobelVary.languageId=parseInt($("#itemLanguage").val());})$.fn.smint = function( options ) {// adding a class to users div$(this).addClass('smint')var settings = $.extend({'scrollSpeed ' : 500}, options);return $('.smint a').each( function() {if ( settings.scrollSpeed ) {var scrollSpeed = settings.scrollSpeed}// get initial top offset for the menuvar stickyTop = $('.smint').offset().top;var fwtop_mainNavwd = $('.fwtop_mainNav').width();if (fwtop_mainNavwd>1300){// check position and make sticky if neededvar stickyMenu = function(){// current distance topvar scrollTop = $(window).scrollTop();// if we scroll more than the navigation, change its position to fixed and add class 'fxd', otherwise change it back to absolute and remove the classif (scrollTop > stickyTop) {$('.smint').css({ 'position': 'fixed', 'top':0,'z-index':'500','width':'100%'}).addClass('fxd');} else {$('.smint').css({ 'position': 'absolute','z-index':'500','top':stickyTop,'width':'100%'}).removeClass('fxd');}};}else {var fwtop_mainNavWidth = "-"+fwtop_mainNavwd/2+"px";$('.fwtop_mainNav').css({'left':'50%','marginLeft':fwtop_mainNavWidth});// check position and make sticky if neededvar stickyMenu = function(){// current distance topvar scrollTop = $(window).scrollTop();// if we scroll more than the navigation, change its position to fixed and add class 'fxd', otherwise change it back to absolute and remove the classif (scrollTop > stickyTop) { $('.smint').css({ 'position': 'fixed', 'top':0,'z-index':'500','left':'50%','marginLeft':fwtop_mainNavWidth }).addClass('fxd');} else {$('.smint').css({ 'position': 'absolute','z-index':'500','top':stickyTop,'left':'50%','marginLeft':fwtop_mainNavWidth }).removeClass('fxd'); }};}// run functionstickyMenu();// run function every time you scroll$(window).scroll(function() {stickyMenu();});});}/********計較折曡標簽容器高度************/function calcFoldingDisplayHeight(userLabelId){var foldingDisplayHeightTemp = $(".foldingDisplay"+userLabelId).height();var foldingDisplayHeight = foldingDisplayHeightTemp - 36;$(".foldingDisplayContent"+userLabelId).height(foldingDisplayHeight);}/********豎形菜單************/function ShowMenu(obj,noid){if($(obj).hasClass("selected") && $("#"+noid).css('display')=="inline"){$(obj).removeClass("selected");$("#"+noid).css("display","none");}else if(!$(obj).hasClass("selected") && $("#"+noid).css('display')=="inline" ){$("#"+noid).css("display","none");}else{$(obj).addClass("selected");$("#"+noid).css("display","inline");}}//豎形導航function ShowMenu1(obj,noid,id){if($(obj).hasClass("selected") && $("#"+noid).css('display')=="inline"){$(obj).removeClass("selected");$("#"+noid).css("display","none");}else if(!$(obj).hasClass("selected") && $("#"+noid).css('display')=="inline" ){$("#"+noid).css("display","none");}else{$(".verticalNav"+id+" h1").removeClass("selected");$(".verticalNav"+id+" span").css("display","none");$(obj).addClass("selected");$("#"+noid).css("display","inline");}}function ShowMenu11(obj,noid,id){if($(obj).hasClass("selected") && $("#"+noid).css('display')=="inline"){$(obj).removeClass("selected");$("#"+noid).css("display","none");}else if(!$(obj).hasClass("selected") && $("#"+noid).css('display')=="inline" ){$("#"+noid).css("display","none");}else{$(obj).addClass("selected");$("#"+noid).css("display","inline");}}function ShowMenu2(id){$(".verticalNav"+id+" span").css("display","none");}/******避免mouseover和mouseout屢次觸發******/function checkHover(e,target){if (getEvent(e).type == "mouseover"){return !contains(target, getEvent(e).relatedTarget|| getEvent(e).fromElement)&& !((getEvent(e).relatedTarget || getEvent(e).fromElement) === target);}else{return !contains(target, getEvent(e).relatedTarget|| getEvent(e).toElement)&& !((getEvent(e).relatedTarget || getEvent(e).toElement) === target);}}function contains(parentNode, childNode){if (parentNode.contains){return parentNode != childNode && parentNode.contains(childNode);}else{return !!(parentNode.compareDocumentPosition(childNode) & 16);}}//獲得以後window對象的事宜function getEvent(e) {return e || window.event;}/********文章列表結果2************/function item_list2(idName){$(".id"+idName+ " ul>li:first-child").addClass("over");$(".id"+idName+ " ul>li").on("mouseover",function(){$(this).siblings().andSelf().removeClass("over");$(this).addClass("over");});}/********文章列表結果3************/function item_list3(idName){$(".id"+idName+ " ul>li").on("mouseover",function(){$(this).addClass("p02");});$(".id"+idName+ " ul>li").on("mouseout",function(){$(this).removeClass("p02");});}/********文章列表結果5************/function item_list5(idName){$(".id"+idName+ " ul>li").on("mouseover",function(){$("#img"+idName).show();});$(".id"+idName+ " ul>li").on("mouseout",function(){$("#img"+idName).css("display","none");});}var sweetTitles = {x : 10,y : 20,init : function(idName) {$(".id"+idName+ " ul>li a").on("mouseover",function(e){this.myTitle = this.title;this.myHref = this.href;this.myHref = (this.myHref.length > 200 ? this.myHref.toString().substring(0,200)+"..." : this.myHref);this.title = "";var tooltip = "";if(this.myTitle == ""){tooltip = "";}else{tooltip = "

"+this.myTitle+"

";}$('body').append(tooltip);$('#tooltip').css({"opacity":"0.8","top":(e.pageY+20)+"px","left":(e.pageX+10)+"px"}).show('fast');}).on("mouseout",function(){this.title = this.myTitle;$('#tooltip').remove();}).on("mousemove",function(e){$('#tooltip').css({"top":(e.pageY+20)+"px","left":(e.pageX+10)+"px"});});}};/****頭部搜索分類顯示*****/function displaySiteSearch(obj){var objSpanFirst=obj.find("span:first");//var offset=objSpanFirst.offset();var offset=objSpanFirst.position();var top=offset.top;var left=offset.left;var inputH=objSpanFirst.outerHeight();top+=inputH;$("#select_siteSearch").css({"display":"block","top":top+"px","left":left+"px"});}/****頭部搜索分類隱蔽香港今晚六给彩开奖结果 今天晚上*****/function hideSiteSearch(event,obj){$("#select_siteSearch").hide();}/****言語顯示*****/function displayLanguage(obj){var objSpanFirst=obj.find("span:first");var offset=objSpanFirst.position();var top=offset.top;var left=offset.left;var inputH=objSpanFirst.outerHeight();top+=inputH;$("#select_language").css({"top":top+"px","left":left+"px"}).show();}/****言語隱蔽*****/function hideLanguage(event,obj){$("#select_language").hide();//.css({"display":"none"});}$(function(){$("#select_language,#select_siteSearch ul>li").on("click",function(){$("#select_language,#select_siteSearch").hide();});})/******頭部搜索******/function siteSearch(){$("#siteSearchSubmit").click(function(){var siteSearchClass = $("#siteSelect_info").find("a").attr("rel");var siteSearchContent = $("#siteSearchContent").val(); window.open("/search/"+siteSearchClass+"/"+siteSearchContent); //跳轉新頁靣})$("#select_siteSearch").find("a").click(function(){var sitePageName = $(this).attr("rel");$("#siteSelect_info").children().replaceWith(""+sitePageName+"");})}/******多語******/function siteLanguage(){$("#select_language").find("a").click(function(){var languageId = $(this).attr("rel");window.location.href="/siteLanguage="+languageId; //跳轉本頁靣})}/******通用******/function commonSearch(userLabelId,searchStra){var searchStr = searchStra;$("#searchContent"+userLabelId).on('keyup',function(e){var e=e||window.event;var keycode=e.keyCode||e.which||e.charCode;if(keycode==13){var searchContent = $(this).val();var searchClass = $("#select_info"+userLabelId).find("a").attr("rel");window.open("/search/"+searchClass+"/"+searchContent+"/"+searchStr); //跳轉新頁靣}})$("#searchSubmit"+userLabelId).click(function(){var searchContent = $("#searchContent"+userLabelId).val();var searchClass = $("#select_info"+userLabelId).find("a").attr("rel");window.open("/search/"+searchClass+"/"+searchContent+"/"+searchStr); //跳轉新頁靣})var obj=$("#select_search"+userLabelId);$("a",obj).click(function(){var pageName = $(this).attr("rel");$("#select_info"+userLabelId).children().replaceWith(""+pageName+"");obj.hide();})}function commonSearchNew(userLabelId,searchBegin,searchStra){var searchStr = searchStra;var searchClass = searchBegin;$("#searchContent"+userLabelId).on('keyup',function(e){var e=e||window.event;var keycode=e.keyCode||e.which||e.charCode;if(keycode==13){var searchContent = $(this).val();window.open("/search/"+searchClass+"/"+searchContent+"/"+searchStr); //跳轉新頁靣}})$("#searchSubmit"+userLabelId).click(function(){var searchContent = $("#searchContent"+userLabelId).val();window.open("/search/"+searchClass+"/"+searchContent+"/"+searchStr); //跳轉新頁靣})}/****公共搜索分類顯示*****/function displaySearch(obj,userLabelId){var objSpanFirst=obj.find("span:first");var position=objSpanFirst.position();var top=position.top;var left=position.left;var inputH=objSpanFirst.outerHeight();top+=inputH;$("#select_search"+userLabelId).css({"display":"block","top":top+"px","left":left+"px"});}/****公共搜索分類隱蔽*****/function hideSearch(event,obj,userLabelId){$("#select_search"+userLabelId).css({"display":"none"});}/** * jQuery jPages v0.4 * Client side pagination with jQuery * http://luis-almeida.github.com/jPages * * Licensed under the MIT license. * Copyright 2012 Luís Almeida * https://github.com/luis-almeida */(function ( $, window, document, undefined ) {var name = "jPages",instance = null,defaults = {containerID : "",first : false,previous : "← previous",next : "next →",last : false,links : "numeric", // blank || titlestartPage : 1,perPage : 10,midRange : 5,startRange : 1,endRange : 1,keyBrowse : false,scrollBrowse : false,pause : 0,clickStop : false,delay : 50,direction : "forward", // backwards || auto || random ||animation : "", // http://daneden.me/animate/ - any entrance animationsfallback : 400,minHeight : true,callback : undefined // function( pages, items ) { }};function Plugin( element, options ) {this.options = $.extend( {}, defaults, options );this.options.perPage=(this.options.perPage==0?1:this.options.perPage);this._container = $( "#" + this.options.containerID );if ( !this._container.length ) { return; }this.jQwindow = $(window);this.jQdocument = $(document);this._holder = $( element );this._nav = {};this._first = $( this.options.first );this._previous = $( this.options.previous );this._next = $( this.options.next );this._last = $( this.options.last );//this._items = this._container.children(":visible");this._items = this._container.children();this._itemsShowing = $([]);this._itemsHiding = $([]);this._numPages = Math.ceil( this._items.length / this.options.perPage );this._currentPageNum = this.options.startPage;this._clicked = false;this._cssAnimSupport = this.getCSSAnimationSupport();this.init();}Plugin.prototype.getCSSAnimationSupport = function () {var animation = false,animationstring = 'animation',keyframeprefix = '',domPrefixes = 'Webkit Moz O ms Khtml'.split(' '),pfx = '',elm = this._container.get(0);if( elm.style.animationName ) { animation = true; } if( animation === false ) {for( var i = 0; i < domPrefixes.length; i++ ) {if( elm.style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {pfx = domPrefixes[ i ];animationstring = pfx + 'Animation';keyframeprefix = '-' + pfx.toLowerCase() + '-';animation = true;break;}}}return animation;};Plugin.prototype.init = function () {this.setStyles();this.setNav();this.paginate( this._currentPageNum );this.setMinHeight();};Plugin.prototype.setStyles = function () {var requiredStyles = "";$( requiredStyles ).appendTo("head");if ( this._cssAnimSupport && this.options.animation.length ) {this._items.addClass("animated jp-hidden");} else {this._items.hide();}};Plugin.prototype.setNav = function () {var navhtml = this.writeNav();this._holder.each( this.bind( function( index, element ) {var holder = $( element );holder.html( navhtml );this.cacheNavElements( holder, index );this.bindNavHandlers( index );this.disableNavSelection( element );}, this) );if ( this.options.keyBrowse ) this.bindNavKeyBrowse();if ( this.options.scrollBrowse ) this.bindNavScrollBrowse();};Plugin.prototype.writeNav = function () {var i = 1, navhtml;navhtml = this.writeBtn( "first" ) + this.writeBtn( "previous" );for ( ; i <= this._numPages; i++ ) {if ( i === 1 && this.options.startRange === 0 ) {navhtml += "...";}if ( i > this.options.startRange && i <= this._numPages - this.options.endRange ) {navhtml += "";} else {navhtml += "";}switch ( this.options.links ) {case "numeric" :navhtml += i;break;case "blank" :break;case "title" :var title = this._items.eq(i-1).attr("data-title");navhtml += title !== undefined ? title : "";break;}navhtml += "";if ( i === this.options.startRange || i === this._numPages - this.options.endRange ) {navhtml += "...";}}navhtml += this.writeBtn( "next" ) + this.writeBtn( "last" ) + "";return navhtml;};Plugin.prototype.writeBtn = function ( which ) {return this.options[which] !== false && !$( this[ "_" + which ] ).length ? "" + this.options[which] + "" : "";};Plugin.prototype.cacheNavElements = function ( holder, index ) {this._nav[index] = {};this._nav[index].holder = holder;this._nav[index].first = this._first.length ? this._first : this._nav[index].holder.find("a.jp-first");this._nav[index].previous = this._previous.length ? this._previous : this._nav[index].holder.find("a.jp-previous");this._nav[index].next = this._next.length ? this._next : this._nav[index].holder.find("a.jp-next");this._nav[index].last = this._last.length ? this._last : this._nav[index].holder.find("a.jp-last");this._nav[index].fstBreak = this._nav[index].holder.find("span:first");this._nav[index].lstBreak = this._nav[index].holder.find("span:last");this._nav[index].pages = this._nav[index].holder.find("a").not(".jp-first, .jp-previous, .jp-next, .jp-last");this._nav[index].permPages = this._nav[index].pages.slice(0, this.options.startRange).add( this._nav[index].pages.slice(this._numPages - this.options.endRange, this._numPages) );this._nav[index].pagesShowing = $([]);this._nav[index].currentPage = $([]);};Plugin.prototype.bindNavHandlers = function ( index ) {var nav = this._nav[index];// default navnav.holder.bind( "click.jPages", this.bind( function( evt ) {var newPage = this.getNewPage( nav, $(evt.target) );if ( this.validNewPage( newPage ) ) {this._clicked = true;this.paginate( newPage );}evt.preventDefault();}, this ) );// custom firstif ( this._first.length ) {this._first.bind( "click.jPages", this.bind( function() {if ( this.validNewPage( 1 ) ) {this._clicked = true;this.paginate( 1 );}}, this ) );}// custom previousif ( this._previous.length ) {this._previous.bind( "click.jPages", this.bind( function() {var newPage = this._currentPageNum - 1;if ( this.validNewPage( newPage ) ) {this._clicked = true;this.paginate( newPage );}}, this ) );}// custom nextif ( this._next.length ) {this._next.bind( "click.jPages", this.bind( function() {var newPage = this._currentPageNum + 1;if ( this.validNewPage( newPage ) ) {this._clicked = true;this.paginate( newPage );}}, this ) );}// custom lastif ( this._last.length ) {this._last.bind( "click.jPages", this.bind( function() {if ( this.validNewPage( this._numPages ) ) {this._clicked = true;this.paginate( this._numPages );}}, this ) );}};Plugin.prototype.disableNavSelection = function ( element ) {if ( typeof element.onselectstart != "undefined" ) {element.onselectstart = function() {return false;};} else if (typeof element.style.MozUserSelect != "undefined") {element.style.MozUserSelect = "none";} else {element.onmousedown = function() {return false;};}};Plugin.prototype.bindNavKeyBrowse = function () {this.jQdocument.bind( "keydown.jPages", this.bind( function( evt ) {var target = evt.target.nodeName.toLowerCase();if ( this.elemScrolledIntoView() && target !== "input" && target != "textarea" ) {var newPage = this._currentPageNum;if ( evt.which == 37 ) newPage = this._currentPageNum - 1;if ( evt.which == 39 ) newPage = this._currentPageNum + 1;if ( this.validNewPage( newPage ) ) {this._clicked = true;this.paginate( newPage );}}}, this ) );};Plugin.prototype.elemScrolledIntoView = function () {var docViewTop, docViewBottom, elemTop, elemBottom;docViewTop = this.jQwindow.scrollTop();docViewBottom = docViewTop + this.jQwindow.height();elemTop = this._container.offset().top;elemBottom = elemTop + this._container.height();return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom));// comment above and uncomment below if you want keyBrowse to happen// only when container is completely visible in the page};Plugin.prototype.bindNavScrollBrowse = function () {this._container.bind( "mousewheel.jPages DOMMouseScroll.jPages", this.bind( function( evt ) {var newPage = ( evt.wheelDelta || -evt.detail ) > 0 ? ( this._currentPageNum - 1 ) : ( this._currentPageNum + 1 );if ( this.validNewPage( newPage ) ) {this._clicked = true;this.paginate( newPage );}return false;}, this ) );};Plugin.prototype.getNewPage = function ( nav, target ) {if ( target.is( nav.currentPage ) ) return this._currentPageNum;if ( target.is( nav.pages ) ) return nav.pages.index(target) + 1;if ( target.is( nav.first ) ) return 1;if ( target.is( nav.last ) ) return this._numPages;if ( target.is( nav.previous ) ) return nav.pages.index(nav.currentPage);if ( target.is( nav.next ) ) return nav.pages.index(nav.currentPage) + 2;};Plugin.prototype.validNewPage = function ( newPage ) {return newPage !== this._currentPageNum && newPage > 0 && newPage <= this._numPages ? true : false;};Plugin.prototype.paginate = function ( page ) {var itemRange, pageInterval;itemRange = this.updateItems( page );pageInterval = this.updatePages( page );this._currentPageNum = page;if ( $.isFunction( this.options.callback ) ) {this.callback( page, itemRange, pageInterval );}this.updatePause();};Plugin.prototype.updateItems = function ( page ) {var range = this.getItemRange( page );this._itemsHiding = this._itemsShowing;this._itemsShowing = this._items.slice(range.start, range.end);if ( this._cssAnimSupport && this.options.animation.length ) { this.cssAnimations( page );} else {this.jQAnimations( page );}return range;};Plugin.prototype.getItemRange = function ( page ) {var range = {};range.start = ( page - 1 ) * this.options.perPage;range.end = range.start + this.options.perPage;if ( range.end > this._items.length ) {range.end = this._items.length;}return range;};Plugin.prototype.cssAnimations = function ( page ) {clearInterval( this._delay );this._itemsHiding.removeClass( this.options.animation + " jp-invisible" ).addClass("jp-hidden");this._itemsShowing.removeClass("jp-hidden").addClass("jp-invisible");this._itemsOriented = this.getDirectedItems( page );this._index = 0;this._delay = setInterval( this.bind( function() {if ( this._index === this._itemsOriented.length ) {clearInterval( this._delay );} else {this._itemsOriented.eq(this._index).removeClass("jp-invisible").addClass(this.options.animation);}this._index = this._index + 1;}, this ), this.options.delay );};Plugin.prototype.jQAnimations = function ( page ) {clearInterval( this._delay );this._itemsHiding.addClass("jp-hidden");this._itemsShowing.fadeTo(0, 0).removeClass("jp-hidden");this._itemsOriented = this.getDirectedItems( page );this._index = 0;this._delay = setInterval( this.bind( function() {if ( this._index === this._itemsOriented.length ) {clearInterval( this._delay );} else {this._itemsOriented.eq(this._index).fadeTo(this.options.fallback, 1);}this._index = this._index + 1;}, this ), this.options.delay );};Plugin.prototype.getDirectedItems = function ( page ) {var itemsToShow;switch ( this.options.direction ) {case "backwards" : itemsToShow = $( this._itemsShowing.get().reverse() );break;case "random" :itemsToShow = $( this._itemsShowing.get().sort( function() { return ( Math.round( Math.random() ) - 0.5 );} ) );break;case "auto" :itemsToShow = page >= this._currentPageNum ? this._itemsShowing : $( this._itemsShowing.get().reverse() );break;default :itemsToShow = this._itemsShowing;}return itemsToShow;};Plugin.prototype.updatePages = function ( page ) {var interval, index, nav;interval = this.getInterval( page );for( index in this._nav ) {if ( this._nav.hasOwnProperty( index ) ) {nav = this._nav[index];this.updateBtns( nav, page );this.updateCurrentPage( nav, page );this.updatePagesShowing( nav, interval );this.updateBreaks( nav, interval );}}return interval;};Plugin.prototype.getInterval = function ( page ) {var neHalf, upperLimit, start, end;neHalf = Math.ceil( this.options.midRange / 2 );upperLimit = this._numPages - this.options.midRange;start = page > neHalf ? Math.max( Math.min( page - neHalf, upperLimit ), 0 ) : 0;end = page > neHalf ? Math.min( page + neHalf - ( this.options.midRange % 2 > 0 ? 1 : 0 ), this._numPages ) : Math.min( this.options.midRange, this._numPages );return { start: start, end: end };};Plugin.prototype.updateBtns = function ( nav, page ) {if ( page === 1 ) {nav.first.addClass("jp-disabled");nav.previous.addClass("jp-disabled");}if ( page === this._numPages ) {nav.next.addClass("jp-disabled");nav.last.addClass("jp-disabled");}if ( this._currentPageNum === 1 && page > 1 ) {nav.first.removeClass("jp-disabled");nav.previous.removeClass("jp-disabled");}if ( this._currentPageNum === this._numPages && page < this._numPages ) {nav.next.removeClass("jp-disabled");nav.last.removeClass("jp-disabled");}};Plugin.prototype.updateCurrentPage = function ( nav, page ) {nav.currentPage.removeClass("jp-current");nav.currentPage = nav.pages.eq( page - 1 ).addClass("jp-current");};Plugin.prototype.updatePagesShowing = function ( nav, interval ) {var newRange = nav.pages.slice( interval.start, interval.end ).not( nav.permPages );nav.pagesShowing.not( newRange ).addClass("jp-hidden");newRange.not( nav.pagesShowing ).removeClass("jp-hidden");nav.pagesShowing = newRange;};Plugin.prototype.updateBreaks = function ( nav, interval ) {if ( interval.start > this.options.startRange || ( this.options.startRange === 0 && interval.start > 0 ) ) { nav.fstBreak.removeClass("jp-hidden");} else { nav.fstBreak.addClass("jp-hidden");}if ( interval.end < this._numPages - this.options.endRange ) {nav.lstBreak.removeClass("jp-hidden");} else { nav.lstBreak.addClass("jp-hidden");}};Plugin.prototype.callback = function ( page, itemRange, pageInterval ) {var pages = {current : page,interval : pageInterval,count : this._numPages},items = {showing : this._itemsShowing,oncoming : this._items.slice( itemRange.start + this.options.perPage, itemRange.end + this.options.perPage ),range : itemRange,count : this._items.length};pages.interval.start = pages.interval.start + 1;items.range.start = items.range.start + 1;this.options.callback( pages, items );};Plugin.prototype.updatePause = function () {if ( this.options.pause && this._numPages > 1) {clearTimeout( this._pause );if ( this.options.clickStop && this._clicked ) {return;} else {this._pause = setTimeout( this.bind( function() {this.paginate( this._currentPageNum !== this._numPages ? this._currentPageNum + 1 : 1 );}, this ), this.options.pause );}}};Plugin.prototype.setMinHeight = function () {if ( this.options.minHeight && !this._container.is("table, tbody") ) { setTimeout( this.bind( function() {this._container.css({"min-height" : this._container.css("height")});}, this ), 1000 );}};Plugin.prototype.bind = function ( fn, me ) {return function () { return fn.apply(me, arguments);}; };Plugin.prototype.destroy = function () {this.jQdocument.unbind("keydown.jPages");this._container.unbind( "mousewheel.jPages DOMMouseScroll.jPages");if ( this.options.minHeight ) {this._container.css("min-height", "");}if ( this._cssAnimSupport && this.options.animation.length ) { this._items.removeClass("animated jp-hidden jp-invisible " + this.options.animation);} else {this._items.removeClass("jp-hidden").fadeTo(0, 1);}this._holder.unbind("click.jPages").empty();};$.fn[name] = function ( arg ) {var type = $.type( arg );if ( type === "object" ) {if ( this.length && !$.data( this, name ) ) {instance = new Plugin( this, arg );this.each( function() {$.data( this, name, instance );} );}return this;}if ( type === "string" && arg === "destroy" ) {instance.destroy();this.each( function() {$.removeData( this, name );} );return this;}if ( type === 'number' && arg % 1 === 0 ) {if ( instance.validNewPage( arg ) ) {instance.paginate( arg );}return this;}return this;};})( jQuery, window, document );//導航欄$(function(){var url = window.location.pathname;var boardUrl = url.match(/([^\/]*\/){1}([^\/]*)/)[2];var boardUrl_a = "/"+boardUrl$(".navBarUlStyle li a").each(function(){var v = $(this).attr("href");if (v == boardUrl_a){if ($(this).parent().parent().hasClass('m')){//二級---主導航$(this).parent().parent().addClass('on');}else{if ($(this).parent().hasClass('m')){//一級$(this).parent().addClass('on');}else {//三級if ($(this).parent().parent().parent().parent().hasClass('m')){$(this).parent().parent().parent().parent().addClass('on');}else{if ($(this).parent().parent().parent().hasClass('m')){//二級-子導航$(this).parent().parent().parent().addClass('on');}else{//三級-子導航$(this).parent().parent().parent().parent().parent().addClass('on');}}}}}});$(".navBarUlStyle li a").each(function(){var dh=$(this).parent().parent().parent().attr('dh');var bid=$(this).attr('bid');if(!dh){return;}if(dh==bid){$(this).parent().addClass('on');}})var nav = $(".navBarUlStyle");var init = $(".navBarUlStyle .m").eq(ind);var block = $(".navBarUlStyle .block");block.css({"left": init.position() - 3});nav.hover(function() {},function() {block.stop().animate({"left": init.position() - 3},100);});$(".navBarUlStyle").slide({type: "menu",titCell: ".m",targetCell: ".sub",delayTime: 300,triggerTime: 0,returnDefault: true,defaultIndex: ind,startFun: function(i, c, s, tit) {block.stop().animate({"left": tit.eq(i).position() - 3},100);}});});var ind;//導航欄完畢香港今晚六给彩开奖结果 今天晚上$(function(){$(".liShare").hover(function(){ $(".shareShow").show();var shareTop=$(".share").offset().top,shareLeft=$(".share").offset().left,bsPanelW=$("#bsPanel").outerWidth(),bsPanelTop=shareTop,bsPanelLeft=shareLeft-bsPanelW;$("#bsPanel").css({"top":bsPanelTop+"px","left":bsPanelLeft+"px"}).show(); //$(".bdshare_popup_bg,.bdshare_popup_box").show();},function(){$('.shareShow').hide();//$(".bdshare_popup_bg,.bdshare_popup_box").hide();});});function erweimaOver(obj){var offset=obj.offset();var top=offset.top;var left=offset.left;var divW=$(".erweimaImg").outerWidth();var addLeft=left-divW;var addTop=top-$(document).scrollTop();$(".erweimaImg").css({"left":addLeft+"px","top":addTop+"px","z-index":"999999"}).show();}function erweimaOut(){$(".erweimaImg").hide();}/****後台言語顯示*****/function displayAdminLanguageSw(obj){$("#select_adminLanguage_switchLan").css({"display":"block"});}/****後台言語隱蔽*****/function hideAdminLanguageSw(event,obj){$("#select_adminLanguage_switchLan").css({"display":"none"});}/****點擊購物車結果*****/$(function(){$(".shoppingCart").click(function(){openShoppingCar();});});//界說檢測函數,前往0/1/2/3離別代表有效/差/普通/強function getResult(s){if(s.length < 4){return 0;}var ls = 0;if (s.match(/[a-z]/ig)){ls++;}if (s.match(/[0-9]/ig)){ls++;}if (s.match(/(.[^a-z0-9])/ig)){ls++;}if (s.length < 6 && ls > 0){ls--;}return ls}/****************************************有繙譯Benin**************************************************************//******在線表單******/function messageOperate1(userLabelId,idStr,num,radioName){var num=parseInt(num);$("#msgSubmit"+userLabelId).click(function(){var data = {userLabelId:userLabelId};if($(".onlineFormshow .paraName:input[submit=no]").length>0){layer.msg('參數毛病香港今晚六给彩开奖结果 今天晚上');return;}data["number"]=num; var msgCheckcode = $("#msgCheckcode"+userLabelId).val();if(msgCheckcode==undefined){}else if(!msgCheckcode){layer.msg('驗證碼為空!');return;}data["msgCheckcode"]=msgCheckcode;for(var i=1;i<=num;i++){if($("#"+idStr+" .paraName"+i+"").length!=0){var type = $("#"+idStr+" .paraName"+i+"").attr("type");if(type=="text"||type=="textarea"||type=="password"){data["parameter"+i]=$("#"+idStr+" .paraName"+i+"").val();}else if(type=="radio"){ data["parameter"+i]=$("#"+idStr+" .paraName"+i+"").filter(':checked').val();}else if(type=="checkbox"){data["parameter"+i]=$('input[type=checkbox]:checked').map(function(){return this.value}).get().join(',');}else{data["parameter"+i]=$("#"+idStr+" .paraName"+i+"").val();}//alert(data["parameter"+i]);}}$.ajax({type: "POST",url: "/apply/messages/onlineForm_add.asp",data:data,cache:false,error:function(){layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;},success: function(data){try{var dataMsg=eval("("+data+")");if(dataMsg.status=="failed"){layer.alert(dataMsg.msg, {icon:2,zIndex : 2147483641,title : ['提醒2023年香港港六+彩开奖号码' , true],btn: ['肯定']});return false;}}catch(error){$("#"+userLabelId).replaceWith(data);var ccImg = document.getElementById("imgcheckcode"+userLabelId);//刷新驗證碼if (ccImg){ccImg.src = "/inc/checkcode.asp?t="+(new Date().getTime());}layer.alert('宣布香港今晚六给彩开奖结果 今天晚上勝利香港今晚六给彩开奖结果 今天晚上', {icon:1,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}}});})}/**表單驗證**/function onlineFormValidata(className){$("."+className).each(function() {var type=$(this).attr("type");if(typeof type=="undefined"){type=$(this).get(0).tagName;}if(type=="text"||type=="TEXTAREA"){var regtype=$(this).attr("regtype");var data={};var isCheck=$(this).attr("isCheck");if(isCheck==0)//非必填{}else if(isCheck==1)//必填data.empty="為必填項";//純數字花樣if(regtype==5){data.type="number";data.error="不是數字";data.right="填寫準確香港今晚六给彩开奖结果 今天晚上";data.width=200;$(this).fwValidateText(data);}//純字母花樣else if(regtype==6){data.type="english";data.error="不是字母";data.right="填寫準確香港今晚六给彩开奖结果 今天晚上";data.width=200;$(this).fwValidateText(data);}//電話花樣else if(regtype==7){data.type="tel";data.error="電話花樣香港今晚六给彩开奖结果 今天晚上有誤";data.right="填寫準確";data.width=200;$(this).fwValidateText(data);}//手機花樣else if(regtype==8){data.type="phone";data.error="手機花樣香港今晚六给彩开奖结果 今天晚上有誤";data.right="填寫準確";data.width=200;$(this).fwValidateText(data);}//郵箱花樣else if(regtype==9){data.type="email";data.error="請準確香港今晚六给彩开奖结果 今天晚上填寫郵箱花樣香港今晚六给彩开奖结果 今天晚上";data.right="填寫準確";data.width=200;$(this).fwValidateText(data);}}});}/********購物産品數目********/function shopingCount(obj,type){var changeObj=obj.siblings(".text_shoping");var count=changeObj.val();if(isNaN(count)){layer.alert('請準確填寫購物數目', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}if(type=="add")changeObj.val(++count);else if(type=="remove"){if(count<=0)return;else changeObj.val(--count);}}/******宣布澳门小鱼儿最快开奖结果52期畱言******/function messageOperate(userLabelId){$("#msgSubmit"+userLabelId).click(function(){var msgUser = $("#msgUser"+userLabelId).val();var msgContent = $("#msgContent"+userLabelId).val();var msgUserTel = $("#msgUserTel"+userLabelId).val();var msgUserEmail = $("#msgUserEmail"+userLabelId).val();var msgSex = $("input[name=msgSex"+userLabelId+"]:checked").val();var msgCheckcode = $("#msgCheckcode"+userLabelId).val();var data = {msgUser:msgUser,msgContent:msgContent,msgUserTel:msgUserTel,msgUserEmail:msgUserEmail,msgSex:msgSex,msgCheckcode:msgCheckcode,userLabelId:userLabelId};$.ajax({type: "POST",url: "/apply/messages/message_add.asp",data:data,cache:false,error:function(){layer.alert('效勞澳门小鱼儿最快开奖结果52期器銜接掉敗', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;},success: function(data){try{var dataMsg=eval("("+data+")");if(dataMsg.status=="failed"){layer.alert(dataMsg.msg, {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;}}catch(error){$("#"+userLabelId).replaceWith(data);var ccImg = document.getElementById("imgcheckcode"+userLabelId);//刷新驗證碼if (ccImg){ccImg.src = "/inc/checkcode.asp?t="+(new Date().getTime());}layer.alert('畱言勝利', {icon:1,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});window.location.reload();}}});})$("#msgReset"+userLabelId).click(function(){$("#msgUser"+userLabelId).attr("value","");$("#msgContent"+userLabelId).attr("value","");$("#msgUserTel"+userLabelId).attr("value","");$("#msgUserEmail"+userLabelId).attr("value","");$("#msgCheckcode"+userLabelId).attr("value","");})}/******宣布評論******/function discussOperate(userLabelId,distype,disId){var disContentObj=$("#saytext"+userLabelId+"dis"+disId);var disContent =$.trim(disContentObj.html());if(disContent==="")return;var disCheckcodeObj=$("#disCheckCode"+userLabelId+"dis"+disId);var disCheckcode =$.trim(disCheckcodeObj.val());if(disCheckcode==="") {//layer.alert($.i18n.prop('identifying code is null'), {title:$.i18n.prop('message'), btn:[$.i18n.prop('confirm')],icon: 2,zIndex : 2147483641});layer.alert('驗證碼為空', {icon:2,zIndex : 2147483641,title : ['提醒2023年香港港六+彩开奖号码今晚' , true],btn: ['肯定']});return;}var data = {userLabelId:userLabelId,disType:distype,disId:disId,disContent:disContent,disCheckcode:disCheckcode}; $.ajax({type: "POST",url: "/apply/discuss/discuss_add.asp",data:data,cache:false,error:function(){layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接香港今晚六给彩开奖结果 今天晚上毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;},success: function(data){try{var dataMsg=eval("("+data+")");if(dataMsg.status=="failed"){layer.alert(dataMsg.msg, {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;}}catch(error){disContentObj.html("");disCheckcodeObj.attr("value","");var disImg = document.getElementById("imgcheckcode"+userLabelId+"dis"+disId);//刷新驗證碼if (disImg){disImg.src = "/inc/checkcode.asp?t="+(new Date().getTime());}layer.alert('評論勝利免费澳门六网站资料查询,守候免费澳门六网站资料查询審核', {icon: 1,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}}});}///******會員注冊******//******會員登岸******/function userLogin(userLabelId){$("#userSubmitLogin"+userLabelId).click(function(){var userNameLogin = $("#userNameLogin"+userLabelId).val();var passwordLogin = $.md5($("#passwordLogin"+userLabelId).val());var userLoginCheckcode = $("#userLoginCheckcode"+userLabelId).val();var data = {userNameLogin:userNameLogin,passwordLogin:passwordLogin,userLoginCheckcode:userLoginCheckcode,userLabelId:userLabelId};$.ajax({type: "POST",url: "/apply/member/userLogin.asp",data:data,cache:false,error:function(){layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接香港今晚六给彩开奖结果 今天晚上毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;},success: function(data){try{var dataMsg=eval("("+data+")");if(dataMsg.status=="failed"){layer.alert(dataMsg.msg, {icon:2,zIndex : 2147483641,title : ['提醒', true],btn: ['肯定']});return false; }}catch(error){$(".user_login_sub2").replaceWith(data);var ccImg = document.getElementById("imgcheckcode"+userLabelId);//刷新驗證碼if (ccImg){ccImg.src = "/inc/checkcode.asp?t="+(new Date().getTime());}layer.alert('登岸勝利', {icon:1,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});//setTimeout("openMen2()",3000);location.reload();}}});})}// QQ臉色插件(function($){$.fn.qqFace = function(options){var defaults = {id : 'facebox',path : '/manager/images/qqface/',assign : 'content',tip : 'em_'};var option = $.extend(defaults, options);var assign = $('#'+option.assign);var id = option.id;var path = option.path;var tip = option.tip;if(assign.length<=0){alert('缺乏臉色賦值對象');return false;}$(this).click(function(e){var strFace, labFace;if($('#'+id).length<=0){strFace = '
' +'';for(var i=1; i<=75; i++){labFace = '['+tip+i+']';//strFace += '';strFace += '';if( i % 15 == 0 ) strFace += '';}strFace += '
';}$(".discuss_report").parent().append(strFace);var offset = $(this).position();var top = offset.top + $(this).outerHeight();$('#'+id).css('top',top);$('#'+id).css('left',offset.left);$('#'+id).show();e.stopPropagation();});$(document).click(function(){$('#'+id).hide();$('#'+id).remove();});};})(jQuery);/*************************獲得控件的值******************************************/; (function ($) {$.Control = function (json) {var defaults = {checked: 1,//0暗示全體獲得,1暗示衹獲得選中的radio: 1,//0暗示2023年香港港六+彩开奖号码今晚全體獲得,1暗示衹獲得選中的type:"get",//get暗示獲得值,reset暗示重置myVar:"myVar",//控件的屬性,用來保管香港今晚六给彩开奖结果 今天晚上變量名的split:","//多個值在變量中的分隔符}json = $.extend(defaults, json);var result = {};var radio = {};var con={text: "text",password:"password",hidden:"hidden",checkbox:"checkbox",textarea: "textarea",radio:"radio",select: "select"}function getVar(obj) {return obj.attr(json.myVar);}if (json.type == "reset") {//重置json.objs.each(function () {//臨時香港今晚六给彩开奖结果 今天晚上不寫});}else if (json.type == "get") {//獲得json.objs.each(function () {var attrVar= getVar($(this));if(!attrVar){return true;}if ($(this).is(":"+con.text)) { //文本框result[attrVar] = $(this).val();}else if ($(this).is(":" + con.password)) {//暗碼香港今晚六给彩开奖结果 今天晚上框result[attrVar] = $(this).val();}else if ($(this).is(":"+con.hidden)) { //隱蔽框result[attrVar] = $(this).val();}else if ($(this).is(":"+con.checkbox)) {//複選框.若是澳门小鱼儿最快开奖结果52期指定了value的屬性,前往value屬性值,不然前往值on;前往的值以","朋分的字符串if (json.checked == 1) {//衹獲得選中的複選框if ($(this).is(":checked")) {if(result[attrVar]){result[attrVar]+= json.split+ $(this).val();}else {//不存在result[attrVar] = $(this).val();}}}else if (json.checked == 0) {//不論有無選中都獲得if (result[attrVar]) {//若是2023年香港港六+彩开奖号码存在result[attrVar] +=json.split + $(this).val();}else {//不存在result[attrVar] = $(this).val();}}else {alert('參數異常');//json.checked參數異常}}else if ($(this).is(con.textarea)) {//多行文本框result[attrVar]= $(this).val();}else if ($(this).is(":"+con.radio) && $(this).is(":checked")) {//單選按鈕而且香港今晚六给彩开奖结果 今天晚上被選中 result[attrVar] = $(this).val();}else if ($(this).is(con.select)) {//下拉框result[attrVar]= $("option:selected", $(this)).val(); //若是香港今晚六给彩开奖结果 今天晚上指定了value屬性,獲得指定的value值,不然獲得option中的文本內容}});}return result;}})(jQuery);/*************************獲得控件的值*end*****************************************/jQuery.extend({ unselectContents: function(){if(window.getSelection)window.getSelection().removeAllRanges();else if(document.selection)document.selection.empty();}});jQuery.fn.extend({selectContents: function(){$(this).each(function(i){var node = this;var selection, range, doc, win;if ((doc = node.ownerDocument) && (win = doc.defaultView) && typeof win.getSelection != 'undefined' && typeof doc.createRange != 'undefined' && (selection = window.getSelection()) && typeof selection.removeAllRanges != 'undefined'){range = doc.createRange();range.selectNode(node);if(i == 0){selection.removeAllRanges();}selection.addRange(range);} else if (document.body && typeof document.body.createTextRange != 'undefined' && (range = document.body.createTextRange())){range.moveToElementText(node);range.select();}});},setCaret: function(){if(! $.support.msie) return;var initSetCaret = function(){var textObj = $(this).get(0);textObj.caretPos = document.selection.createRange().duplicate();};$(this).click(initSetCaret).select(initSetCaret).keyup(initSetCaret);},insertAtCaret: function(textFeildValue){var textObj = $(this).get(0);if(document.all && textObj.createTextRange && textObj.caretPos){var caretPos=textObj.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length-1) == '' ?textFeildValue+'' : textFeildValue;} else if(textObj.setSelectionRange){var rangeStart=textObj.selectionStart;var rangeEnd=textObj.selectionEnd;var tempStr1=textObj.value.substring(0,rangeStart);var tempStr2=textObj.value.substring(rangeEnd);textObj.value=tempStr1+textFeildValue+tempStr2;textObj.focus();var len=textFeildValue.length;textObj.setSelectionRange(rangeStart+len,rangeStart+len);textObj.blur();}else{$(textObj).append(textFeildValue);}}});/**div加載ajax結果香港今晚六给彩开奖结果 今天晚上***/function fwajaxStar(str){//str提醒信息var html=""; html+="
"; html+="
";html+= ""; if(str)html+=""+str+""; html+="
";$("body").append(html);var divH=$(document).height();//-$("#admin_topbj").height();$("#fwajaxLoadDiv").height(divH).css({"top":0,"opacity":0.5,"left":0});var iconTop=$(window).height()/2;iconTop=iconTop+$(document).scrollTop();$(".fwajaxLoadIcon").css({"top":iconTop+"px"});getSessionTimeBool();}/****封閉ajax遮罩*****/function fwajaxClose(){$("#fwajaxLoadDiv").remove();$(".fwajaxLoadIcon").remove();}/********文本框的驗證的封裝************/$.fn.extend({fwValidateText:function(json){var pdMeth=function(obj,rightOrErr){//rightOrErr=rightOrErr;var con=$.trim(obj.val());if(json.min){if(con.length>=json.min) rightOrErr=true;else rightOrErr=false; }else rightOrErr=true if(rightOrErr){if(json.max){if(con.length<=json.max) rightOrErr=true;else rightOrErr=false;}else rightOrErr=true;}if(rightOrErr){insertStr(obj,json.right,"right");if(!json.type) return;}else {insertStr(obj,json.error,"error");return;}if(json.reg){rightOrErr=json.reg.test(con);if(rightOrErr)insertStr(obj,json.right,"right");elseinsertStr(obj,json.error,"error");return;}var tel=/^(([0\+]\d{2,3}-)?(0\d{2,3})-)(\d{7,8})(-(\d{3,}))?$/,phone=/^(13|14|15|17|18)[0-9]{9}$/,url=new RegExp("^http[s]?:\\/\\/([\\w-]+\\.)+[\\w-]+([\\w-./?%&=:]*)?$"), english=/^[A-Za-z]+$/,dEngiish=/^[A-Z]+$/,xEngiish=/^[a-z]+$/,chinese=/^[\u4E00-\u9FA5\uF900-\uFA2D]+$/,//漢字number=/^([+-]?)\d*\.?\d+$/,//數字判定香港今晚六给彩开奖结果 今天晚上ChEnNum=/^[\u4e00-\u9fa5 a-z A-Z 0-9 \'\_\.\(\)\-]+$/,//中文+英文+數字+_+'+(+)判定EnNum=/^[a-z A-Z 0-9 \'\_\.\(\)\-]+$/,//英文+數字+_+'+(+)判定香港今晚六给彩开奖结果 今天晚上EnNumNoU=/^[a-z A-Z 0-9]+$/,//英文+數字pic=/(.*)\.(jpg|bmp|gif|ico|pcx|jpeg|tif|png|raw|tga)$/,//圖片花樣香港今晚六给彩开奖结果 今天晚上判定music=/(.*)\.(mp3|wma)$/,//音樂判定QQ=/^[1-9]*[1-9][0-9]*$/,//釦釦號判定2023年香港港六+彩开奖号码email=/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/,//郵箱花樣int=/^-?[1-9]\d*$/,//整數fint=/^-[1-9]\d*$/,//負整數,不包含0zint=/^[1-9]\d*$/,//正整數,不包含2023年香港港六+彩开奖号码今晚0fint0=/^((-\d+)|(0+))$/,//負整數+0zint0=/^\d*$/,idCard=/^[1-9]([0-9]{14}|[0-9]{17})$/,//身份證color=/^#[a-fA-F0-9]{6}$/;if(typeof eval(json.type)=="underfined")alert("underfined");rightOrErr=eval(json.type).test(con);if(rightOrErr)insertStr(obj,json.right,"right");elseinsertStr(obj,json.error,"error");};var getPdTSPosition=function(obj){var position=obj.position();var top=position.top;var left=position.left;var inputH=obj.outerHeight();var inputW=obj.outerWidth()*2/3;top=top+inputH;left=left+inputW;return {"top":top,"left":left};};var insertStr=function (obj,Con,type){if(obj.next().is(".fwPdBox"))obj.next().remove();var html="";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";if(type=="right"){obj.attr("submit","yes").removeClass("fwpdTextErrColor");html+="
"+Con+"
";}else if(type=="error"){obj.attr("submit","no").addClass("fwpdTextErrColor");html+="
"+Con+"
";}else if(type=="empty"){html+="
"+Con+"
";}html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";html+="
";obj.after(html);var pdLeftToDingWidth=$(".pdDingJiao").outerWidth();var pos=getPdTSPosition(obj);pos.left=pos.left-pdLeftToDingWidth+10;$(".fwPdBox").css({"top":pos.top,"left":pos.left});if(json.width)$(".fwPdBox").width(json.width);if(json.height)$(".fwPdBox").height(json.height);}var rightOrErr=false;var obj=$(this);$(this).on("focus",function(){if(json.empty&&$(this).val()==""){insertStr($(this),json.empty,"empty"); }else if(!json.error&&!json.right&&json.empty)insertStr($(this),json.empty,"empty");elsepdMeth($(this),rightOrErr);});$(this).on('blur',function(){if(json.empty&&$(this).val()==""){$(this).removeAttr("submit").removeClass("fwpdTextErrColor");}if($(this).next().is(".fwPdBox"))$(this).next().remove(); });$(this).on("keyup",function(){if(json.empty&&$(this).val()=="") insertStr($(this),json.empty,"empty");else if(!json.error&&!json.right) return;else pdMeth($(this),rightOrErr)});}});/********文本框的驗證的封裝*end***********//**************QQ功用香港今晚六给彩开奖结果 今天晚上************************/;(function($){$.fn.Sonline = function(options){var opts = $.extend({}, $.fn.Sonline.defualts, options); $.fn.setList(opts); //挪用列表設置$.fn.Sonline.styleType(opts);if(opts.DefaultsOpen == false){$.fn.Sonline.closes(opts.Position,0);}//睜開香港今晚六给彩开奖结果 今天晚上$("#SonlineBox > .openTrigger").on("click",function(){$.fn.Sonline.opens(opts);});//封閉2023年香港港六+彩开奖号码$("#SonlineBox > .contentBox > .closeTrigger").on("click",function(){$.fn.Sonline.closes(opts.Position,"fast");});//Ie6兼容或轉動體例顯示if ( $.support.msie && ( $.support.version == "6.0") && !$.support.style||opts.Effect==1) {$.fn.Sonline.scrollType();}else if(opts.Effect==0){$("#SonlineBox").css({position:"fixed"});}}$.fn.Sonline.defualts ={Position:"left",//left或rightTop:200,//頂部間隔,默許200pxEffect:0, //轉動香港今晚六给彩开奖结果 今天晚上或固定兩種體例,1.轉動,0暗示固定Width:170,//頂部間隔,默許200pxDefaultsOpen:false, //默許澳门小鱼儿最快开奖结果52期睜開澳门小鱼儿最快开奖结果52期:true,默許膨脹:falseStyle:1,//圖標的顯示作風,默許顯示:1Tel:"",//效勞香港今晚六给彩开奖结果 今天晚上熱線Qqlist:"" //多個QQ用','離隔,QQ和客服名用'|'離隔}//睜開香港今晚六给彩开奖结果 今天晚上$.fn.Sonline.opens = function(opts){var positionType = opts.Position;$("#SonlineBox").css({width:opts.Width+4});if(positionType=="left"){$("#SonlineBox > .contentBox").animate({left: 0},"fast");}else if(positionType=="right"){$("#SonlineBox > .contentBox").animate({right: 0},"fast");}$("#SonlineBox > .openTrigger").hide();}//封閉$.fn.Sonline.closes = function(positionType,speed){$("#SonlineBox > .openTrigger").show();var widthValue =$("#SonlineBox > .openTrigger").width();var allWidth =(-($("#SonlineBox > .contentBox").width())-6);if(positionType=="left"){$("#SonlineBox > .contentBox").animate({left: allWidth},speed);}else if(positionType=="right"){$("#SonlineBox > .contentBox").animate({right: allWidth},speed);}$("#SonlineBox").animate({width:widthValue},speed);}//作風選擇$.fn.Sonline.styleType = function(opts){var typeNum = 1;switch(opts.Style){ case 1:typeNum = 41;breakcase 2:typeNum = 42;breakcase 3:typeNum = 44;breakcase 4:typeNum = 45;breakcase 5:typeNum = 46;breakcase 6:typeNum = 47;breakdefault:typeNum = 41;}return typeNum;}//子插件:設置列表參數$.fn.setList = function(opts){if(opts.Qqlist=="") return;$("body").append("
客服中心
"+opts.Tel+"
");$("#SonlineBox > .contentBox").width(opts.Width)if(opts.Qqlist==""){$("#SonlineBox > .contentBox >.listBox").append("

暫無在線客服。

")}else{var qqListHtml = $.fn.Sonline.splitStr(opts);$("#SonlineBox > .contentBox > .listBox").append(qqListHtml);}if(opts.Position=="left"){$("#SonlineBox").css({left:0});}else if(opts.Position=="right"){$("#SonlineBox").css({right:0})}$("#SonlineBox").css({top:opts.Top,width:opts.Width+4});var allHeights=0;if($("#SonlineBox >.contentBox").height()< $("#SonlineBox > .openTrigger").height()){allHeights = $("#SonlineBox > .openTrigger").height()+4;} else{allHeights = $("#SonlineBox > .contentBox").height()+40;}$("#SonlineBox").height(allHeights);if(opts.Position=="left"){$("#SonlineBox > .openTrigger").css({left:0});}else if(opts.Position=="right"){$("#SonlineBox > .openTrigger").css({right:0});}}//滑動式結果2023年香港港六+彩开奖号码$.fn.Sonline.scrollType = function(){$("#SonlineBox").css({position:"absolute"});var topNum = parseInt($("#SonlineBox").css("top")+"");$(window).scroll(function(){var scrollTopNum = $(window).scrollTop();//獲得網頁被卷去的高$("#SonlineBox").stop(true,false).delay(200).animate({top:scrollTopNum+topNum},"slow");});}//朋分QQ$.fn.Sonline.splitStr = function(opts){var strs= new Array(); //界說一數組var QqlistText = opts.Qqlist;strs=QqlistText.split(","); //字符朋分var QqHtml=""for (var i=0;i"+subStrs[1]+":
點擊這裡
"}return QqHtml;}})(jQuery);$(function(){var obj=$("#QQInfo"),position=obj.attr("position"), qqTop=parseFloat(obj.attr("qqTop")), effect=parseInt(obj.attr("effect")), defaultsOpen=parseInt(obj.attr("defaultsOpen")), qqList=obj.attr("qqList"); $().Sonline({ Position:position,//left或right Top:qqTop,//頂部間隔香港今晚六给彩开奖结果 今天晚上,默許香港今晚六给彩开奖结果 今天晚上200px Width:165,//頂部間隔,默許200px Style:6,//圖標的顯示作風免费澳门六网站资料查询共6種作風免费澳门六网站资料查询,默許顯示******種:1 Effect:effect,//effect==1?true:false, //轉動或固定兩種體例,0固定1轉動DefaultsOpen:defaultsOpen==1?true:false, //默許香港今晚六给彩开奖结果 今天晚上睜開香港今晚六给彩开奖结果 今天晚上:true,默許膨脹:false // Tel:"400-555-6565",//其它信息圖片等 Qqlist:qqList //多個QQ用','離隔香港今晚六给彩开奖结果 今天晚上,QQ和客服名用'|'離隔 */}); })$(function(){$(".nav > ul > li").hover(function(){$(this).addClass("current");var subHeight = ($(this).find(".subNav").find("a").length)*42;$(this).find(".subNav").stop(true,true).animate({height:subHeight},"fast");},function(){$(this).removeClass("current");$(this).find(".subNav").animate({height:0},"fast");});})/*****************春聯告白**********************************/ $.extend({dLAdv:function(options){var defaults={leftType:0,//左側告白圖片結果0穩定不動,1遲緩複位rightType:0,//左邊香港今晚六给彩开奖结果 今天晚上告白香港今晚六给彩开奖结果 今天晚上圖片的結果0穩定不動,1遲緩複位leftTime:300,//左側複位時候rightTime:300,//左邊2023年香港港六+彩开奖号码複位時候2023年香港港六+彩开奖号码leftCloseTime:1000,//左側封閉時候rightCloseTime:1000,//左邊香港今晚六给彩开奖结果 今天晚上封閉時候leftToTop:200,//左側告白topleftToLeft:0,//左側2023年香港港六+彩开奖号码告白2023年香港港六+彩开奖号码離閱讀器左側間隔rightToTop:200,//左邊告白toprightToRight:0,//左邊香港今晚六给彩开奖结果 今天晚上告白香港今晚六给彩开奖结果 今天晚上離閱讀器有變間隔leftAdvStr:0,//左側的告白,1有,0無rightAdvStr:0,//左邊澳门小鱼儿最快开奖结果52期的告白澳门小鱼儿最快开奖结果52期,1有,0無leftWidth:140,//左側告白寬度leftHeight:200,//左側香港今晚六给彩开奖结果 今天晚上告白高度rightWidth:140,//左邊告白寬度rightHeight:200,//左邊免费澳门六网站资料查询告白高度leftSrc:"/manager/images/dlAdvPic.jpg",//左側圖片途徑leftAlt:"advertising",//左側香港今晚六给彩开奖结果 今天晚上告白香港今晚六给彩开奖结果 今天晚上圖片的alt值rightSrc:"/manager/images/dlAdvPic.jpg",//左邊圖片途徑rightAlt:"advertising",//左邊2023年香港港六+彩开奖号码告白圖片的alt值leftZindex:800,//左側層級rightZindex:800,//左邊香港今晚六给彩开奖结果 今天晚上層級leftHref:"http://www.nftoutcome.com/",//左側單擊鏈接rightHref:"http://www.nftoutcome.com/",//左邊2023年香港港六+彩开奖号码今晚單擊鏈接//上面項不做參數給出leftClass:"dlBoxLeft",//左側香港今晚六给彩开奖结果 今天晚上classrightClass:"dlBoxRight"//左邊class}options= $.extend(defaults,options);var html="";if(options.leftAdvStr===1){html+="
";html+="
+options.leftAlt+
";html+="";html+="
";}if(options.rightAdvStr===1){html+="
";html+="
+options.rightAlt+
";html+="";html+="
";}$("body").append(html);$(".dlAdvLeftClose,.dlAdvRightClose").on("click",function(){if($(this).is(".dlAdvLeftClose"))$("."+options.leftClass).fadeOut(options.leftCloseTime,function(){$(this).remove();});else if($(this).is(".dlAdvRightClose"))$("."+options.rightClass).fadeOut(options.rightCloseTime,function(){$(this).remove();});})var leftAdv=$("."+options.leftClass),rightAdv=$("."+options.rightClass),dlAdvCloseHeight=$(".dlAdvCloseDiv").eq(0).outerHeight();leftAdv.css({"z-index":options.leftZindex});rightAdv.css({"z-index":options.rightZindex});function changeImgSize(imgObj,width,height){height-=dlAdvCloseHeight;imgObj.parent().width(width).height(height);imgObj.css({height:"100%",width:"100%"});} function getAdvTop(pos,type){//pos,左,右,type,結果香港今晚六给彩开奖结果 今天晚上if(type===0){if(pos==="left"){ return {top:options.leftToTop+"px"};}else if(pos==="right"){return {top:options.rightToTop+"px"};}} else if(type===1){var scrollTop=$(window).scrollTop();var top=0;if(pos==="left"){ top=options.leftToTop+scrollTop;return {top:top+"px"};}else if(pos==="right"){ top=options.rightToTop+scrollTop;return {top:top+"px"};}}else{alert("error")}//方式香港今晚六给彩开奖结果 今天晚上getAdvTop的type有誤}var leftAdvSize={width:options.leftWidth+"px",height:options.leftHeight+"px"};var rightAdvSize={width:options.rightWidth+"px",height:options.rightHeight+"px"};var leftAdvPos={left:options.leftToLeft+"px"};var rightAdvPos={right:options.rightToRight+"px"};changeImgSize($(".dlAdvleftImg"),options.leftWidth,options.leftHeight);changeImgSize($(".dlAdvRightImg"),options.rightWidth,options.rightHeight);function scrollMove(num){//num是數值,分歧香港今晚六给彩开奖结果 今天晚上的數值暗示的分歧的遲緩恢複的對象$(window).scroll(function(){var scrollTop=$(window).scrollTop(),top=0;if(num===-1){//左側 top=scrollTop+options.leftToTop;setTimeout(function(){leftAdv.css({top:top+"px"});},options.leftTime);}else if(num===1){//左邊top=options.rightToTop+scrollTop;// rightAdv.animate({top:top+"px"},1000)setTimeout(function(){//rightAdv.animate({top:top+"px"},1000)rightAdv.css({top:top+"px"});},options.rightTime)}else if(num===2){//雙方var leftTop=scrollTop+options.leftToTop;var rightTop=scrollTop+options.rightToTop;setTimeout(function(){leftAdv.css({top:leftTop+"px"});},options.leftTime)setTimeout(function(){rightAdv.css({top:rightTop+"px"});},options.rightTime);}});} var whoMove=0;//0,都不遲緩挪動,-1,左側遲緩挪動,1暗示左邊遲緩挪動,2暗示都挪動if(options.leftType===0){//穩定澳门小鱼儿最快开奖结果52期不動leftAdv.css({"position":"fixed"}).css(getAdvTop("left",options.leftType)).css(leftAdvSize).css(leftAdvPos);}else if(options.leftType===1){//遲緩恢複leftAdv.css({"position":"absolute"}).css(getAdvTop("left",options.leftType)).css(leftAdvSize).css(leftAdvPos);whoMove=-1;}else {alert('左春聯澳门小鱼儿最快开奖结果52期告白澳门小鱼儿最快开奖结果52期的結果參數傳遞有誤');}if(options.rightType===0){rightAdv.css({"position":"fixed"}).css(getAdvTop("right",options.rightType)).css(rightAdvSize).css(rightAdvPos);}else if(options.rightType===1){rightAdv.css({"position":"absolute"}).css(getAdvTop("right",options.rightType)).css(rightAdvSize).css(rightAdvPos);whoMove=(whoMove===0?1:2);}else {alert('右春聯香港今晚六给彩开奖结果 今天晚上告白香港今晚六给彩开奖结果 今天晚上的結果參數傳遞有誤');}if(whoMove===0){}//都不遲緩2023年香港港六+彩开奖号码恢複else if(whoMove===-1){//左側遲緩挪動scrollMove(whoMove);}else if(whoMove===1){//左邊澳门小鱼儿最快开奖结果52期遲緩挪動scrollMove(whoMove) }else if(whoMove===2){//閣下都遲緩挪動scrollMove(whoMove)}}});/*****************春聯告白**end********************************//*******************漂浮告白香港今晚六给彩开奖结果 今天晚上***************************************/$.extend({pfAdv:function(options){var defaults={count:1,startTop:200,startLeft:200,width:140,//圖片巨細height:180,imageSrc:"pfAdvPic.jpg",step:1,delay:30,href:"http://www.nftoutcome.com/",//單擊的鏈接idStr:"pfAdv"}options= $.extend(defaults,options);var html="";html+="
";html+="
";html+="
";html+="
";$("body").append(html);//插足告白htmlvar advBoxObj=$("#"+options.idStr);//告白2023年香港港六+彩开奖号码今晚對象advBoxObj.css({"position":"absolute","z-index":998}).width(options.width).height(options.height);//給告白定位$("img",advBoxObj).width(options.width).height(options.height);var advH=advBoxObj.outerHeight();//告白的高度var advW=advBoxObj.outerWidth();//告白2023年香港港六+彩开奖号码的寬度var advMaxTop=0;//告白的******topvar advMaxLeft=0;//告白香港今晚六给彩开奖结果 今天晚上的******leftvar stepMashionX=1;//1,暗示程度偏向加step,-1暗示程度偏向減stepvar stepMashionY=1;//1,暗示澳门小鱼儿最快开奖结果52期垂直偏向澳门小鱼儿最快开奖结果52期加step,-1暗示垂直偏向減stepvar currentX=0;//以後地位var currentY=0;var divToBrowTop=options.startTop;var divToBrowLeft=options.startLeft;function getScroll(){var scrollTop=$(window).scrollTop();//轉動香港今晚六给彩开奖结果 今天晚上條脫離高度var scrollLeft=$(window).scrollLeft();//轉動條左間隔return {x:scrollLeft,y:scrollTop};}function move(){var browW=$(window).width();//閱讀器寬度var browH=$(window).height();//閱讀2023年香港港六+彩开奖号码器高度var scroll=getScroll();currentX=divToBrowLeft+scroll.x;//計較香港今晚六给彩开奖结果 今天晚上告白香港今晚六给彩开奖结果 今天晚上的topcurrentY=divToBrowTop+scroll.y;//計較出告白的leftadvMaxTop=browH-advH+scroll.y;//告白免费澳门六网站资料查询的******top,不包含轉動條advMaxLeft=browW-advW+scroll.x;//告白的******left,不包含轉動條if(currentY>=advMaxTop){stepMashionY=-1;currentY=divToBrowTop-options.step;}else if(currentY>scroll.y&¤tY=advMaxLeft){stepMashionX=-1;currentX=divToBrowLeft-options.step;}else if(currentX>scroll.x&¤tX" + imgStr + "";$("body").append(html);$("img", $(".gysFdjBox[" + fdAttr + "=" + fdCount + "]")).width(objWidth*options.zoom).height(objHeight*options.zoom);var objFdjcamera = null;if ($("#gysFdjcamera").length == 0) {var pointBlock = "";$("body").append(pointBlock);}objFdjcamera = $("#gysFdjcamera");var nowLeft = 0, nowTop = 0;obj.on("mouseover", function (event) {objFdjcamera.show().attr(fdAttr, fdCount);$(".gysFdjBox["+fdAttr+"="+fdCount+"]").show();$(document).on("mousemove", function (event) {var pointX = event.clientX+$(document).scrollLeft();var pointY = event.clientY+$(document).scrollTop();nowLeft = pointX - options.cameraW / 2;nowTop = pointY - options.cameraH / 2;if (nowLeft <= objLeft) { nowLeft = objLeft; }else if (nowLeft >= cameraMaxLeft) { nowLeft = cameraMaxLeft; }if (nowTop <= objTop) { nowTop = objTop; }else if (nowTop >= cameraMaxTop) { nowTop=cameraMaxTop;}objFdjcamera.css({ left: nowLeft + "px", top: nowTop + "px" });nowLeft=(nowLeft-objLeft)*options.zoom;nowTop=(nowTop-objTop)*options.zoom;$("img",$(".gysFdjBox[" + fdAttr + "=" + fdCount + "]")).css({ "margin-top": -nowTop + "px", "margin-left": -nowLeft + "px" });});});objFdjcamera.on("mouseleave", function () {$(document).off("mousemove");objFdjcamera.hide();$(".gysFdjBox["+fdAttr+"="+fdCount+"]").hide();});}})(jQuery);/***********縮小鏡插件(一):運用單張圖片的思緒***end***************//************縮小鏡插件(二):運用二張圖片的思緒*****************/; (function ($) {$.fn.bnFdjTwo = function (options) {var defaults = {cameraW: 100, //鏡頭寬度cameraH: 100, //鏡頭高度cameraBjColor: "#000", //鏡頭後臺色zoomIndex: 10, //縮小香港今晚六给彩开奖结果 今天晚上框div的層級cameraOpacity: 0.6, //鏡頭通明度zoomPos: 10, //縮小澳门小鱼儿最快开奖结果52期框間隔澳门小鱼儿最快开奖结果52期源框的地位cameraIndex: 10//鏡頭的層級}var opt = $.extend({}, defaults, options); //歸並參數 if (!opt.ori) { alert('你沒有指定源圖框'); return; }if (!opt.zoom) { alert('你沒有指定縮小香港今晚六给彩开奖结果 今天晚上框'); return; }var obj = $(this); //以後******框對象if(obj.css("position")=="static"){obj.css("position","relative");}var objOriDiv = $(opt.ori, obj); //源div var objOriDivOffset = objOriDiv.offset();var objOriDivLeft = objOriDivOffset.left; //源框的leftvar objOriDivTop = objOriDivOffset.top; //源框的topvar objZoomDiv = $(opt.zoom, obj); //縮小的div框var objOriImg = $("img", objOriDiv); //源圖框 var objZoomImg = $("img", objZoomDiv); //縮小框var objOriImgW = objOriImg.width();var objOriImgH = objOriImg.height();objOriDiv.width(objOriImgW).height(objOriImgH);obj.width(objOriImgW).height(objOriImgH);var objOriDivW = objOriDiv.width();var objOriDivH = objOriDiv.height();var cameraMaxLeft = objOriDivW - opt.cameraW; //鏡頭的******leftvar cameraMaxTop = objOriDivH - opt.cameraH; //鏡頭的做大topvar cameraCSs = { width: opt.cameraW, height: opt.cameraH, "background-color": opt.cameraBjColor, opacity: opt.cameraOpacity, filter: "alpha(opacity=" + opt.cameraOpacity * 100 + ")", "position": "absolute", display: "none",cursor: "crosshair", "z-index": opt.cameraIndex }; //鏡頭css obj.append("
"); //填充鏡頭var objCamera = $(".camera", obj);objCamera.css(cameraCSs); //添加款式 var zoom = objZoomImg.width() / objOriImgW; //縮小倍數objZoomDiv.width(opt.cameraW * zoom).height(opt.cameraH * zoom).css({ position: "absolute", left: (objOriDivW + opt.zoomPos) + "px", top: "0px", overflow: "hidden", "z-index": opt.zoomIndex, display: "none" }); //設置縮小2023年香港港六+彩开奖号码的div框var nowLeft = 0, nowTop = 0;objOriDiv.on("mouseover", function () {objCamera.show(); //顯示鏡頭,objZoomDiv.show(); //顯示縮小框 $(document).on("mousemove", function (e) {nowLeft = e.clientX - objOriDivLeft - opt.cameraW / 2+ $(document).scrollLeft();nowTop = e.clientY-objOriDivTop - opt.cameraH / 2 + $(document).scrollTop();if (nowLeft <= 0) nowLeft = 0; else if (nowLeft >= cameraMaxLeft) nowLeft = cameraMaxLeft;if (nowTop <= 0) nowTop = 0;else if (nowTop >= cameraMaxTop) nowTop = cameraMaxTop;objCamera.css({ left: nowLeft + "px", top: nowTop + "px" }); //鏡頭的挪動nowLeft = nowLeft * zoom;nowTop = nowTop * zoom;objZoomImg.css({ "margin-left": -nowLeft + "px", "margin-top": -nowTop + "px" });});});objCamera.on("mouseout", function (e) {$(this).hide();$(document).off("mousemove");$(opt.zoom, obj).hide();});}})(jQuery);/************縮小澳门小鱼儿最快开奖结果52期鏡插件(二):運用澳门小鱼儿最快开奖结果52期二張圖片的思緒*end****************//***************************前台的會員,購物*********************************//**********會員****************/function loadContentAjax(obj){var html="
數據正在獲得中......
";obj.html(html);}function closeContentAjax(obj){obj.html("");}//會員登錄界靣$("#passWord,#msgCheckcode").on("keyup",function(e){var code=e.which;if(code==13){if($(".systemDialog ").length>=2)return;else memLog();}});function openMen(id,type){fwajaxStar();$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"",userLabelId:id,type:type},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接香港今晚六给彩开奖结果 今天晚上毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){//console.log(data);fwajaxClose();layer.open({title: '',area :'auto',offset :'auto',zIndex : 1001,btn: [],skin: 'layui-layer-molv', //加上邊框content:data});}});}//支付2023年香港港六+彩开奖号码今晚優惠券會員登錄界靣function openMen1(id,type){fwajaxStar();$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"",couponID:id,type:type},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){//console.log(data);fwajaxClose();layer.open({title: '',area :'auto',offset :'auto',zIndex : 1001,btn: [],skin: 'layui-layer-molv', //加上邊框content:data});}});}//購置澳门小鱼儿最快开奖结果52期時會員登錄界靣function buyOpenMen(id,type){fwajaxStar();$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"",proId:id,type:type},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){//console.log(data);fwajaxClose();layer.open({title: '',area :'auto',offset :'auto',zIndex : 1001,btn: [],skin: 'layui-layer-molv', //加上邊框content:data});}});}//小我澳门小鱼儿最快开奖结果52期中心界靣function openMen2(){fwajaxStar();$.ajax({url:"/apply/member/new_member/index.asp",data:{},type:"POST",dataType:"html",cache:"false",error:function(){fwajaxClose();console.log("error");},success:function(data){fwajaxClose();layer.open({type: 1,title: '小我中心',area: ['1100px', '600px'],closeBtn: 1,skin: 'layui-layer-molv',shadeClose: false,scrollbar: false,content:data});}});}function openMen3(cid){fwajaxStar();$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"success",couponID:cid},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接香港今晚六给彩开奖结果 今天晚上毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){//console.log(data);fwajaxClose();layer.open({title: '',area :'auto',offset :'auto',zIndex : 1001,btn: ['肯定香港今晚六给彩开奖结果 今天晚上'],skin: 'layui-layer-molv', //加上邊框content:data});}});}//會員的驗證碼function msgCheckcodeFocus(){var src='/inc/checkcode.asp?t='+(new Date().getTime());$("#imgcheckcode").attr("src",src).show();;}//會員登錄方式function memLog(isCode){var memberName = $.trim($("#memberName").val());var couponID = $.trim($("#couponID").val());var passWord = $.trim($("#passWord").val());var RadCode = $.trim($(".RadCode").val());if(memberName==""){layer.alert('請準確香港今晚六给彩开奖结果 今天晚上填寫登岸賬號', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}if(passWord==""){layer.alert('暗碼為空沒法登岸', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}if(RadCode=="" && isCode==1){layer.alert('驗證碼為空', {icon:2,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定']});return;}$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"memLog",memberName:memberName,passWord:passWord,RadCode:RadCode,couponID:couponID},type:"POST",dataType:"json",error:function(){layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接香港今晚六给彩开奖结果 今天晚上掉敗', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;},success:function(data){if(data.status=="failed")layer.alert(data.msg, {icon:2,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定香港今晚六给彩开奖结果 今天晚上']});else if(data.status=="success"){$("#timeSessionMashine").val("guoyansi");controlTimeMashine();//openMen2();openMen1(couponID);}else layer.alert(transKeyWords(globelVary.languageId,13), {icon:2,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true]});}})}//會員登錄方式香港今晚六给彩开奖结果 今天晚上二function MemLog2(isCode){var memberName = $.trim($("#memberName").val());var passWord = $.trim($("#passWord").val());var RadCode = $.trim($(".RadCode").val());if(memberName==""){layer.alert('請準確填寫登岸賬號', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}if(passWord==""){layer.alert('暗碼2023年香港港六+彩开奖号码今晚為空沒法登岸', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}if(RadCode=="" && isCode==1){layer.alert('驗證碼為空', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"memLog",memberName:memberName,passWord:passWord,RadCode:RadCode},type:"POST",dataType:"json",error:function(){layer.alert('效勞器銜接掉敗', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;},success:function(data){if(data.status=="failed"){layer.alert(data.msg, {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}else if(data.status=="success"){$("#timeSessionMashine").val("guoyansi");controlTimeMashine();layer.alert(data.msg, {icon:1,zIndex : 2147483641,title : ['提醒2023年香港港六+彩开奖号码今晚' , true],btn: ['肯定2023年香港港六+彩开奖号码今晚']});location.reload();}else {layer.alert(transKeyWords(globelVary.languageId,13), {icon:2,zIndex : 2147483641,title : ['提醒澳门小鱼儿最快开奖结果52期' , true],btn: ['肯定澳门小鱼儿最快开奖结果52期']});}}})}//會員支付香港今晚六给彩开奖结果 今天晚上優惠券function checkLevel(cid){var data = {sType:"checkLevel",couponId:cid};$.ajax({url:"/apply/member/new_member/login1.asp",type:"POST",data:data,dataType:"json",cache:false,error:function(data) {layer.alert('效勞免费澳门六网站资料查询器銜接免费澳门六网站资料查询掉敗!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){if(data.status=="success"){openMen3(cid);//layer.alert(data.msg, {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}else if(data.status=="failed"){layer.alert(data.msg, {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}else {//console.log("1"+data.msg);layer.alert('參數異常!', {icon:2,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定香港今晚六给彩开奖结果 今天晚上']});}}});}//會員注冊,會員信息提交function memberInfo_submit(className,type){var data=getRegData(className);if(data==0)return;var url;if(type=="add"){url="/apply/member/new_member/memberReg.asp";data.sType="add";}else if(type=="save"){url="/apply/member/new_member/memberInfo.asp";data.sType="save";}fwajaxStar();$.ajax({url:url,data:data,dataType:"json",type:"POST",cache:false,error: function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title:['提醒',true],btn: ['肯定']});},success: function(data){fwajaxClose();if(data.status=="success")layer.alert(data.msg, {icon:1,zIndex : 2147483641,title : ['提醒免费澳门六网站资料查询',true],btn: ['肯定']});else if(data.status=="failed")layer.alert(data.msg, {icon:2,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上',true],btn: ['肯定']});else layer.alert('參數異常', {icon:2,zIndex : 2147483641,title : ['提醒2023年香港港六+彩开奖号码',true],btn: ['肯定']});}});}function getRegData(className){var data={};//={sType:"add"};var getStr=function(name,con){con=$.trim(con);if(!data[name])data[name]=con;else{data[name]+=","+con;}}var n=0;var titles="";$("."+className).each(function() {var name=$(this).attr("name");var type=$(this).attr("type");titles=$(this).attr("titles");if(type=="text"||type=="textarea"||type=="password"){var con=$.trim($(this).val());if(con=="system_null"){n=1;return false;}//關頭字if($(this).attr("submit")=="no"){n=3;return false;}//驗證毛病香港今晚六给彩开奖结果 今天晚上if($(this).attr("regischeck")==1&&con==""){n=4;return false;}//必填項getStr(name,con);}else if(type=="radio"||type=="checkbox"){if(this.checked == true)getStr(name,$(this).val());}else if(type=="select"){getStr(name,$("option:selected", $(this)).val());}else{n=2;return false;}});if(!memberNotice(n,titles))return 0;for(var i=1;i<=10;i++){if(!data["regMem"+i])data["regMem"+i]="system_null";}return data;}function memberNotice(n,titles){var con="";var bool=true;if(n==1) {con='system_null是關頭免费澳门六网站资料查询字,沒法提交';bool=false;}else if(n==2){con='有未知類型控件';bool=false;}else if(n==3) {con=titles+'填寫毛病香港今晚六给彩开奖结果 今天晚上';bool=false;}else if(n==4){con=titles+'為必填項';bool=false;}if(!bool){layer.alert(con, {icon:2,zIndex : 2147483641,title : ['提醒2023年香港港六+彩开奖号码今晚',true],btn: ['肯定']});return false;}return true;}//會員資料驗證function memberRegValidata(className){$("."+className,$(".user_login_form")).each(function() {var type=$(this).attr("type");if(typeof type=="undefined")type=$(this).get(0).tagName;if(type=="text"||type=="TEXTAREA"){var regtype=$(this).attr("regtype");var data={};var regischeck=$(this).attr("regischeck");if(regischeck==0)//非必填data.empty='不是必填項';else if(regischeck==1)//必填{//data.empty="為必填項";}//純數字花樣2023年香港港六+彩开奖号码今晚if(regtype==5){data.type="number";data.error='不是數字';data.right='填寫準確';data.width=200;$(this).fwValidateText(data);}//純字母花樣香港今晚六给彩开奖结果 今天晚上else if(regtype==6){data.type="english";data.error='不是字母';data.right='填寫準確';data.width=200;$(this).fwValidateText(data);}//電話花樣2023年香港港六+彩开奖号码else if(regtype==7){data.type="tel";data.error='電話花樣有誤';data.right='填寫準確';data.width=200;$(this).fwValidateText(data);}//手機花樣香港今晚六给彩开奖结果 今天晚上else if(regtype==8){data.type="phone";data.error='手機花樣有誤';data.right='填寫準確';data.width=200;$(this).fwValidateText(data);}//郵箱花樣澳门小鱼儿最快开奖结果52期else if(regtype==9){data.type="email";data.error='請準確填寫郵箱花樣';data.right='填寫準確';data.width=200;$(this).fwValidateText(data);}}});}//收費香港今晚六给彩开奖结果 今天晚上注冊function freeReg(){fwajaxStar();$.ajax({url:"/apply/member/new_member/memberReg.asp",data:{sType:""},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();layer.open({title: '',offset :'auto',zIndex : 1001,btn: [],btn1 : function(index, layero){ memberInfo_submit('regType','add','');},skin: 'layui-layer-molv', //加上邊框content:data});}});}function freeReg1(){layer.alert('請進級香港今晚六给彩开奖结果 今天晚上版本', {icon:2,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定']});}//會員暗碼香港今晚六给彩开奖结果 今天晚上找囘function forget_pw(){fwajaxStar();$.ajax({url:"/apply/member/new_member/forgetPW.asp",data:{sType:""},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();layer.alert(data, {icon:1,zIndex : 2147483641});}});}function forget_pw1(){fwajaxStar();$.ajax({url:"/apply/member/new_member/forgetPW.asp",data:{sType:""},type:"POST",dataType:'html',cache:"false",error: function(data){console.log(data.responseText);fwajaxClose();layer.alert('效勞2023年香港港六+彩开奖号码今晚器銜接2023年香港港六+彩开奖号码今晚毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();layer.open({title: '',area :'auto',offset :'auto',zIndex : 1001,btn: [],//skin: 'layui-layer-molv', //加上邊框content:data});//layer.alert(data, {icon:1,zIndex : 2147483641});}});}/**********會員**end**************//**********購物車****************///購物車無登岸澳门小鱼儿最快开奖结果52期狀況function openMenuShoppingCart(){fwajaxStar();$.ajax({url:"/apply/member/new_member/login1.asp",type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接香港今晚六给彩开奖结果 今天晚上毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();layer.open({title: '',area :'auto',offset :'auto',zIndex : 1001,btn: [],skin: 'layui-layer-molv', //加上邊框content:data});}});}//選擇配送體例function changeSendPrice(obj){if(obj.prop("checked")==true){var price=obj.attr("price");if(isNaN(price)){layer.alert(price+'沒法澳门小鱼儿最快开奖结果52期完成計較澳门小鱼儿最快开奖结果52期', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}$(".sendPriceTotal").html(price);//$(".ft_c01").html(parseFloat($(".totalPrice").html())+parseFloat(price));var totalPrice = $(".totalPrice").html();var couponPrice = $(".sendCouponPrice").html();totalPrice=totalPrice.replace(",","")total=parseFloat(totalPrice)+parseFloat(price)-parseFloat(couponPrice);$(".ft_c01").html(total.toFixed(2));}}//選擇優惠券function changeCoupon(){var selectOne = $("#select option:selected").val();//0$(".sendCouponPrice").html(selectOne);var totalPrice = $(".totalPrice").html();var sendPrice = $(".sendPriceTotal").html();var couponPrice = $(".sendCouponPrice").html();totalPrice=totalPrice.replace(",","")var total=parseFloat(totalPrice)+parseFloat(sendPrice)-parseFloat(couponPrice);$(".ft_c01").html(total.toFixed(2)); }//選擇付款體例function changePayType(obj){var currency=obj.attr("currency");$(".moneyCoin").html(currency);}//前往2023年香港港六+彩开奖号码今晚購物車頁靣function returnCart(){fwajaxStar();$.ajax({url:"/apply/shopping/shoppingCar.asp",data:{sType:""},type:"POST",dataType:"html",cache:"false",error:function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 199311160693});},success:function(data){fwajaxClose();layer.closeAll();layer.open({type: 1,title: "",closeBtn: 1,content: data,zIndex :199211160693})}})}//獲得2023年香港港六+彩开奖号码購物的數目或添加到購物車的數目function getShoppingCount(){var proNum=$(".text_shoping",$(".product_summary")).val();if(isNaN(proNum)){layer.alert('請準確填寫購物數目', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return "stop";}proNum=parseInt(proNum);if(proNum==0) return "stop";return proNum;}//購物車購置免费澳门六网站资料查询function payCart(){var name=$(".deliveryAddr_name").val();var address=$(".deliveryAddr_addr").val();var post=$(".deliveryAddr_post").val();var phone=$(".deliveryAddr_phone").val();var userinfo=$(".userinfo").val();var couponID = $("#select option:selected").attr("cId");var finalPrice = $(".ft_c01").html();var data={sType:"pay",name:name,address:address,post:post,phone:phone,userinfo:userinfo,shoppingStr:window["shoppingCountAndIdStr"],couponID:couponID,finalPrice:finalPrice};$("input[name=sendSelect]").each(function() {if(this.checked == true){data.sendType=$(this).val();return false;}});if($(".deliveryAddr_name").val()==""){layer.alert('收貨人不克不及為空', {icon:2,zIndex : 199311160693,title : ['提醒' , true],btn: ['肯定']});return;}if($(".deliveryAddr_addr").val()==""){layer.alert('收貨地址不克不及2023年香港港六+彩开奖号码今晚為空', {icon:2,zIndex : 199311160693,title : ['提醒2023年香港港六+彩开奖号码今晚' , true],btn: ['肯定']});return;}if($(".deliveryAddr_phone").val()==""){layer.alert('聯系體例不克不及為空', {icon:2,zIndex : 199311160693,title : ['提醒' , true],btn: ['肯定']});return;}if(!data.sendType){layer.alert('請選擇配送體例', {icon:2,zIndex : 199311160693,title : ['提醒' , true],btn: ['肯定']});return;}$("input[name=payType]").each(function() {if(this.checked == true){data.payType=$(this).val();return false;}});if(!data.payType){layer.alert('請選擇付款體例', {icon:2,zIndex : 199311160693,title : ['提醒' , true],btn: ['肯定']});return;}fwajaxStar();$.ajax({url:"/apply/shopping/shopFinish.asp",data:data,cache:false,dataType:"html",type:"POST",error: function(){fwajaxClose();layer.alert('效勞2023年香港港六+彩开奖号码今晚器銜接毛病', {icon:2,zIndex : 199311160693,title : ['提醒' , true],btn: ['肯定']})},success:function(data){fwajaxClose();try{data=eval("("+data+")");if (data.status=="error"){layer.alert(data.msg, {icon:2,zIndex : 199311160693,title : ['提醒' , true],btn: ['肯定']})}}catch(e){$(".systemDialog").remove();layer.closeAll();layer.open({type: 1,title: "",closeBtn: 0,content: data,zIndex :199211160693})window["shoppingCountAndIdStr"]=null;}}});}//産品展現2023年香港港六+彩开奖号码今晚的立刻購置function nowShopping(proId){var reg=/[\d*,*]{0,}\d{1,}\.*\d*/gi;var buyObj=$(".buy",$(".admin_tool"));var proNum = $('.text_shoping').prop('value');var proPrice = $('.price_Detail').html();proPrice=proPrice.match(reg)[0];var pro_S_Value='';var inventory=$('.ck').html();$('.cpgg').each(function(){if($(this).hasClass('cpgg-selected')){pro_S_Value+=$(this).html();pro_S_Value+=',';}})if(proNum=="stop")return;var data={sType:"buyNow",proNum:proNum,proId:proId,proPrice:proPrice,pro_S_Value:pro_S_Value,inventory:inventory};fwajaxStar();$.ajax({url:"/apply/shopping/buyNow.asp",//dataType:"html",cache:false,type:"POST",data:data,error: function(){fwajaxClose();layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']})},success:function(data){fwajaxClose();if(data=="login"){buyOpenMen(proId,"buyShopping");}else layer.open({type: 1,title: "",closeBtn: 1, skin: 'demo-class',content: data,zIndex :10000})}});}//購物出以後2023年香港港六+彩开奖号码的立刻2023年香港港六+彩开奖号码購置確function payNow(){var name=$(".deliveryAddr_name").val();var address=$(".deliveryAddr_addr").val();var post=$(".deliveryAddr_post").val();var phone=$(".deliveryAddr_phone").val();var userinfo=$(".userinfo").val();var proId=$(".buyNowshoppingTr").attr("proId");var orderPrice = $(".buyNowshoppingTr .shoppingName:eq(1)").html();var proNum=$(".buyNowshoppingTr .shoppingName:eq(2)").html();var pro_S_Value=$(".buyNowshoppingTr .shoppingName:eq(3)").html();var couponID = $("#select option:selected").attr("cId");var finalPrice = $(".ft_c01").html();var data={sType:"payNow",name:name,address:address,post:post,phone:phone,userinfo:userinfo,proId:proId,proNum:proNum,orderPrice:orderPrice,pro_S_Value:pro_S_Value,couponID:couponID,finalPrice:finalPrice};if($(".deliveryAddr_name").val()==""){layer.alert('收貨人不克不及為空', {icon:2,zIndex : 199511160693,title : ['提醒' , true],btn: ['肯定']});return;}if($(".deliveryAddr_addr").val()==""){layer.alert('收貨地址不克不及香港今晚六给彩开奖结果 今天晚上為空', {icon:2,zIndex : 199511160693,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定']});return;}if($(".deliveryAddr_phone").val()==""){layer.alert('聯系體例不克不及為空', {icon:2,zIndex : 199511160693,title : ['提醒' , true],btn: ['肯定']});return;}$("input[name=sendSelect]").each(function() {if(this.checked == true){data.sendType=$(this).val();return false;}});if(!data.sendType){layer.alert('請選擇郵遞體例香港今晚六给彩开奖结果 今天晚上', {icon:2,zIndex : 199511160693,title : ['提醒' , true],btn: ['肯定']});return;}$("input[name=payType]").each(function() {if(this.checked == true){data.payType=$(this).val();return false;}});if(!data.payType){layer.alert('請選擇付款體例', {icon:2,zIndex : 199511160693,title : ['提醒' , true],btn: ['肯定']});return;}fwajaxStar();$.ajax({url:"/apply/shopping/shopFinish.asp",data:data,cache:false,dataType:"html",type:"POST",error: function(){fwajaxClose();layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接毛病', {icon:2,zIndex : 199511160693,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();try{data=eval("("+data+")");if (data.status=="error"){layer.alert(data.msg, {icon:2,zIndex : 199511160693,title : ['提醒' , true],btn: ['肯定']});}}catch(e){ $(".systemDialog").remove();layer.open({ type: 1,title: "",closeBtn: 0,content: data});}}});}//轉變購物車的價錢function changeTotalPrice(commonTr,count){var shoppPrice=parseFloat(commonTr.find(".shoppPrice").html());var shoppingOneTotalPrice=(count*shoppPrice).toFixed(2);commonTr.find(".shopingOneTotalPrice").html(shoppingOneTotalPrice);}//轉變購物車的價錢function changeShopPrice(proNum,shoppTotalPrice){shoppPrice = $(".product_summary .price").attr('rel');realTotalPrice = $("#shoppingCart").find("b").eq(1).attr('rel');proNumcount = proNumcount+proNum;shoppTotalPrice = (parseInt(proNumcount)*parseFloat(shoppPrice)+ parseFloat(realTotalPrice)).toFixed(2);$("#shoppingCart").find("b").eq(1).html(shoppTotalPrice);}//産品展現的購物車var proNumcount = 0;function addShoppingToCart(obj,proId){var reg=/[\d*,*]{0,}\d{1,}\.*\d*/gi;var buyObj=$(".buy",$(".admin_tool"));var proNum = $('.text_shoping').prop('value');var proPrice = $('.price_Detail').html();proPrice=proPrice.match(reg)[0];var pro_S_Value='';$('.cpgg').each(function(){if($(this).hasClass('cpgg-selected')){pro_S_Value+=$(this).html();pro_S_Value+=',';}})if(document.getElementById('shoppingCart')) { if (document.getElementById('shoppingCart_notlogin')){layer.alert('請登錄!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}else{if(proNum=="stop")return;var data={proNum:proNum,proId:proId,pro_S_Value:pro_S_Value,proPrice:proPrice};$.ajax({url:"/apply/shopping/addCart.asp",dataType:"json",cache:false,type:"POST",data:data,error: function(){fwajaxClose();layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){ if(data.status=="success"){$("body").append("
+"+proNum+"
");changeShopPrice(proNum);var originOffset=obj.offset();$(".addShoppingToCartCount").css({"top":originOffset.top+"px",left:originOffset.left+"px"});var offset=buyObj.offset();var targetTop = $("#shoppingCart").offset().top;var targetLeft = $("#shoppingCart").offset().left + 15;var time=1000;$(".addShoppingToCartCount").animate({left:targetLeft,top:targetTop},time,'swing');setTimeout(function(){$(".addShoppingToCartCount").remove();},time);}else if(data.status=="failed")layer.alert('添加商品到購物車掉敗!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});elselayer.alert(transKeyWords(globelVary.languageId,13), {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}});}} else {if (document.getElementById('shoppingCart_notlogin')){layer.alert('請登錄!', {icon:2,zIndex : 2147483641,title : ['提醒免费澳门六网站资料查询' , true],btn: ['肯定']});return;}else{layer.alert('請添加購物車標簽到頁靣!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}}}/**********購物車**end**************/function memberCenterShow(url) {loadContentAjax($(".user_center_sub2"));$.ajax({url:url,dataType:"html",cache:false,error: function(){closeContentAjax($(".user_center_sub2"));layer.alert('效勞器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){closeContentAjax($(".user_center_sub2"));$(".user_center_sub2").html(data);}});}function memberCenterShow1(url) {loadContentAjax($("#Umian"));$.ajax({url:url,dataType:"html",cache:false,error: function(){closeContentAjax($("#Umian"));layer.alert('效勞2023年香港港六+彩开奖号码今晚器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){closeContentAjax($("#Umian"));$("#Umian").html(data);}});}//定單列表(未領取)function memberCenterShow3(url) {loadContentAjax($(".cupBox"));$.ajax({url:url,dataType:"html",cache:false,error: function(){closeContentAjax($(".cupBox"));layer.alert('效勞免费澳门六网站资料查询器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){closeContentAjax($(".cupBox"));$(".cupBox").html(data);}});}//定單列表(未收貨)function memberCenterShow5(url) {loadContentAjax($(".cupBox1"));$.ajax({url:url,dataType:"html",cache:false,error: function(){closeContentAjax($(".cupBox1"));layer.alert('效勞免费澳门六网站资料查询器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){closeContentAjax($(".cupBox1"));$(".cupBox1").html(data);}});}//購物車function memberCenterShow4(url) {loadContentAjax($(".shoppingCar"));$.ajax({url:url,dataType:"html",cache:false,error: function(){closeContentAjax($(".shoppingCar"));layer.alert('效勞2023年香港港六+彩开奖号码器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){closeContentAjax($(".shoppingCar"));$(".shoppingCar").html(data);}});}function memberCenterShow2(url) {loadContentAjax($("#LoginBox"));$.ajax({url:url,dataType:"html",cache:false,error: function(){closeContentAjax($("#LoginBox"));layer.alert('效勞器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){closeContentAjax($("#LoginBox"));$("#LoginBox").html(data +"
12341564
");}});}function memberLogout(){$.ajax({url:"/apply/member/new_member/login1.asp",data:{sType:"loginOut"},type:"POST",dataType:"json",cache:"false",error: function(){},success:function(data){if(data.status=="success"){closeDialog("all");window.location.reload();}else if(data.status=="falied"){layer.alert(data.msg, {icon:2,zIndex : 2147483641,title : ['提醒免费澳门六网站资料查询' , true],btn: ['肯定免费澳门六网站资料查询']});}else {layer.alert('參數異常!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}}});}//購物車function openShoppingCar(){fwajaxStar()$.ajax({url:"/apply/shopping/shoppingCar.asp",data:{sType:""},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose()layer.alert('效勞器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();layer.open({type: 1,title: "",closeBtn: 1,content: data,zIndex: 2147483641})}});}//超時處置2023年香港港六+彩开奖号码function controlTimeMashine(){//登錄後挪用,最先計時clearTimeout(globelVary.timeMashine);globelVary.timeMashine=setTimeout(function(){globelVary.sessionTimeBool=1;$("#timeSessionMashine").val("");},1000*60*20-20);//超時}function getSessionTimeBool(){//每次ajax要求香港今晚六给彩开奖结果 今天晚上時挪用香港今晚六给彩开奖结果 今天晚上,前往false前面的ajax不在挪用,前往true暗示未超時,可以持續履行前面的代碼 if(globelVary.sessionTimeBool==1){ //bool=false; window["destroySessionAjax"]=1;$.ajax({url:"/apply/member/logout.asp",type:"GET",cache:false,error: function(){layer.alert('效勞器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(){if(confirm('登錄超時,請從新香港今晚六给彩开奖结果 今天晚上登岸?'))window.top.location.reload();else window.top.location.reload();}});}}/**縮小鏡**/(function($){$.fn.imagezoom=function(options){var settings={xzoom:310,yzoom:310,offset:10,position:"BTR",preload:1};if(options){$.extend(settings,options);}var self=this;$(this).bind("mouseenter",function(ev){var imageLeft=$(this).offset().left;var imageTop=$(this).offset().top;var imageWidth=$(this).get(0).offsetWidth;var imageHeight=$(this).get(0).offsetHeight;var boxLeft=$(this).parent().offset().left;var boxTop=$(this).parent().offset().top;var boxWidth=$(this).parent().width();var boxHeight=$(this).parent().height();var bigimage=$(this).attr("rel");$(this).attr("alt",'');if($("div.zoomDiv").get().length==0){$(document.body).append("
 
");}if(settings.position=="BTR"){if(boxLeft+boxWidth+settings.offset+settings.xzoom>screen.width){leftpos=boxLeft-settings.offset-settings.xzoom;}else{leftpos=boxLeft+boxWidth+settings.offset;}}else{leftpos=imageLeft-settings.xzoom-settings.offset;if(leftpos<0){leftpos=imageLeft+imageWidth+settings.offset;}}$("div.zoomDiv").css({top:boxTop,left:leftpos});$("div.zoomDiv").width(settings.xzoom);$("div.zoomDiv").height(settings.yzoom);$("div.zoomDiv").show();$(this).css('cursor','crosshair');$(document.body).mousemove(function(e){mouse=new MouseEvent(e);if(mouse.ximageLeft+imageWidth||mouse.yimageTop+imageHeight){mouseOutImage();return;}var bigwidth=$(".bigimg").get(0).offsetWidth;var bigheight=$(".bigimg").get(0).offsetHeight;var scaley='x';var scalex='y';if(isNaN(scalex)|isNaN(scaley)){var scalex=(bigwidth/imageWidth);var scaley=(bigheight/imageHeight);var zoomMaskWidth=((settings.xzoom)/scalex>$(".jqzoom").width())?$(".jqzoom").width():(settings.xzoom)/scalexvar zoomMaskHeight=((settings.yzoom)/scaley>$(".jqzoom").height())?$(".jqzoom").height():(settings.yzoom)/scaley;$("div.zoomMask").width(zoomMaskWidth);$("div.zoomMask").height(zoomMaskHeight);$("div.zoomMask").css('visibility','visible');}xpos=mouse.x-$("div.zoomMask").width()/2;ypos=mouse.y-$("div.zoomMask").height()/2;xposs=mouse.x-$("div.zoomMask").width()/2-imageLeft;yposs=mouse.y-$("div.zoomMask").height()/2-imageTop;xpos=(mouse.x-$("div.zoomMask").width()/2imageWidth+imageLeft)?(imageWidth+imageLeft-$("div.zoomMask").width()):xpos;ypos=(mouse.y-$("div.zoomMask").height()/2imageHeight+imageTop)?(imageHeight+imageTop-$("div.zoomMask").height()):ypos;$("div.zoomMask").css({top:ypos,left:xpos});$("div.zoomDiv").get(0).scrollLeft=xposs*scalex;$("div.zoomDiv").get(0).scrollTop=yposs*scaley;});});function mouseOutImage(){$(document.body).unbind("mousemove");$("div.zoomMask").remove();$("div.zoomDiv").remove();}count=0;if(settings.preload){$('body').append("");$(this).each(function(){var imagetopreload=$(this).attr("rel");var content=jQuery('div.jqPreload'+count+'').html();jQuery('div.jqPreload'+count+'').html(content+'');});}}})(jQuery);function MouseEvent(e){this.x=e.pageX;this.y=e.pageY;}/**發送郵箱驗證碼**/function getCode(){var memberMail = $("input[name='regMem5']").val();if(memberMail=="" ||!(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/).test(memberMail)){layer.alert('請準確香港今晚六给彩开奖结果 今天晚上填寫郵箱花樣!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return;}fwajaxStar();$.ajax({url:"/apply/member/mailVerification.asp",data:{"memberMail":memberMail},type:"POST",dataType:"html",cache:"false",error: function(){fwajaxClose();layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){fwajaxClose();layer.alert('驗證碼已發送到郵箱!', {icon:1,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定']});}});}/**驗證郵箱**/function checkCode(){var mailCode = $("#mailCode").val();$.ajax({type:"post",url:"/apply/member/memberReg.asp",data:{"sType":"maicheck","mailCode":mailCode},dataType:"json",cache:"false",error:function(){layer.alert('效勞香港今晚六给彩开奖结果 今天晚上器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},})}/**投票**/function vote(userLabelId){var voteNameChecked="";$('input[name="voteName'+userLabelId+'"]:checked').each(function(){voteNameChecked+=$(this).val()+",";})if (voteNameChecked === ""){layer.alert('填寫毛病2023年香港港六+彩开奖号码今晚!', {icon:2,zIndex : 2147483641,title : ['提醒2023年香港港六+彩开奖号码今晚' , true],btn: ['肯定']});return false;}else{$.ajax({type: "POST",url: "/apply/vote/vote_add.asp",data:{"userLabelId":userLabelId,"voteNameChecked":voteNameChecked},cache:false,error:function(){layer.alert('效勞器銜接毛病!', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;}, success: function(data){var dataMsg=eval("("+data+")");if(dataMsg.status=="failed"){layer.alert(dataMsg.msg, {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;}else if(dataMsg.status=="success"){layer.alert(dataMsg.msg, {icon:1,zIndex : 2147483641,title : ['提醒香港今晚六给彩开奖结果 今天晚上' , true],btn: ['肯定']});}} });}}/**檢查香港今晚六给彩开奖结果 今天晚上投票成績香港今晚六给彩开奖结果 今天晚上**/function voteResult(userLabelId){$.ajax({type: "POST",url: "/apply/vote/vote_result.asp",data:{"userLabelId":userLabelId},cache:false,error:function(){layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});return false;},success: function(data){layer.alert(data, {icon:1,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});}});}/**分頁(layPage)**/function lay_page(userLabelId,totalpageno,className,listShowPageNum,curr){laypage({cont: document.getElementById("pager" + userLabelId),pages: totalpageno, //總頁數//skin: '#CCC', //加載內置皮膚,也能夠直接賦值16進制色彩值,如:#c00first: '<<',//首頁 如 1,last:'>>',//末頁 如 totalpageno,prev: '<',//上一頁 如'<', next: '>',//下一頁 如'>',curr: curr, //以後香港今晚六给彩开奖结果 今天晚上頁groups: listShowPageNum, //持續顯示分頁數"jump: function(obj,first){if(!first){document.cookie="beforeCUU="+obj.curr;document.cookie="userLabelId="+userLabelId;//console.log(document.cookie);var data={"pageno":obj.curr,"userLabelId": userLabelId,"className":className };$.ajax({url:"/inc/pageContent.asp",data:data,type:"POST",dataType:"html",cache:false,error:function(){layer.alert('效勞器銜接毛病', {icon:2,zIndex : 2147483641,title : ['提醒' , true],btn: ['肯定']});},success:function(data){{$("#" + userLabelId).replaceWith(data);}}});}}});}/****************************************有繙譯 End**************************************************************//****************買賣類型産品圖片展現**************************/function tradeproImg(){function G(s){return document.getElementById(s);}function getStyle(obj, attr){if(obj.currentStyle){return obj.currentStyle[attr];}else{return getComputedStyle(obj, false)[attr];}}function Animate(obj, json){if(obj.timer){clearInterval(obj.timer);}obj.timer = setInterval(function(){for(var attr in json){var iCur = parseInt(getStyle(obj, attr));iCur = iCur ? iCur : 0;var iSpeed = (json[attr] - iCur) / 5;iSpeed = iSpeed > 0 ? Math.ceil(iSpeed) : Math.floor(iSpeed);obj.style[attr] = iCur + iSpeed + 'px';if(iCur == json[attr]){clearInterval(obj.timer);}}}, 30);}var oPic = G("picBox");var oList = G("listBox");var oPrev = G("prev");var oNext = G("next");var oPicLi = oPic.getElementsByTagName("li");var oListLi = oList.getElementsByTagName("li");var len1 = oPicLi.length;var len2 = oListLi.length;var oPicUl = oPic.getElementsByTagName("ul")[0];var oListUl = oList.getElementsByTagName("ul")[0];var w1 = oPicLi[0].offsetWidth;var w2 = oListLi[0].offsetWidth;oPicUl.style.width = w1 * len1 + "px";oListUl.style.width = w2 * len2 + "px";var index = 0;var num = 9;var num2 = Math.ceil(num /2);function Change(){Animate(oPicUl, {left: - index * w1});if(index < num2){Animate(oListUl, {left: 0});}else if(index + num2 <= len2){Animate(oListUl, {left: - (index - num2 + 1) * w2});}else{Animate(oListUl, {left: - (len2 - num2) * w2});}for (var i = 0; i < len2; i++) {oListLi[i].className = "";if(i == index){oListLi[i].className = "on";}}}if($(".listBox li").length<=5){for (var i = 0; i < len2; i++) {oListLi[i].index = i;oListLi[i].onmouseover = function(){index = this.index;Change();}}}else{oNext.onclick = oNext.onclick = function(){index ++;index = index == len2 ? 0 : index;Change();}oPrev.onclick = oPrev.onclick = function(){index --;index = index == -1 ? len2 -1 : index;Change();}} for (var i = 0; i < len2; i++) {oListLi[i].index = i;oListLi[i].onmouseover = function(){index = this.index;Change();}}}function closeLayer(e){e.parents('.layui-layer').remove();$("body").find(".layui-layer-shade").eq(1).remove();}//動畫結果 vigrofunction animatev(){$('.'+arguments[0]+arguments[1]).addClass(arguments[2]).one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){$(this).removeClass(arguments[2])});$('.'+arguments[0]+arguments[1]).attr({'data-wow-duration':arguments[3]+'s','data-wow-delay':arguments[4]+'s','data-wow-offset':arguments[5],'data-wow-iteration':arguments[6]});$('.'+arguments[0]+arguments[1]).css({'animation-duration':arguments[7],'animation-delay':arguments[8],'animation-iteration-count':arguments[6],'animation-fill-mode':'both'})for(i in arguments){}}//計較通欄外面的left vigrofunction tlancv(){var screenWidth = $(window).width();var labelWidth = $("#" +arguments[0]).width();if (labelWidth == 0){labelWidth = screenWidth;}var halfScreenWidth = screenWidth/2;var bodyWidth = $(".fwtop,.fwmain,.fwbottom").width();var x1 = (screenWidth - bodyWidth)/2;var labelLeft = arguments[1];if(labelLeft.indexOf('%')<0){labelLeft = $("#" + arguments[0]).position().left;}else{labelLeft=$("#" + arguments[0]).parent().width()*labelLeft}var left=0;if(x1>0){left = x1 + labelLeft;}else{if(labelLeft<0){left = 0;}else{left = labelLeft;}}if ($("#" + arguments[0]).parent().hasClass("tLan")){if (labelWidth == screenWidth){$("#" + arguments[0]).css({"left":"0px"});}else{if (labelLeft == halfScreenWidth){$("#" + arguments[0]).css({"left":"50%"});}else if (labelLeft == 0){$("#" + arguments[0]).css({"left":"0"});}else{$("#" + arguments[0]).css({"left":left + "px"});}}}}