-九游官网入口

/*բ�dz����*/ (function(jquery){var style=document.createelement('div').style,moz=style['mozborderradius']!==undefined,webkit=style['webkitborderradius']!==undefined,radius=style['borderradius']!==undefined||style['borderradius']!==undefined,mode=document.documentmode||0,nobottomfold=jquery.browser.msie&&((jquery.browser.version<8&&!mode)||mode<8),expr=jquery.browser.msie&&(function(){var div=document.createelement('div');try{div.style.setexpression('width','0 0');div.style.removeexpression('width')}catch(e){return false};return true})();jquery.support=jquery.support||{};jquery.support.borderradius=moz||webkit||radius;function sz(el,p){return parseint(jquery.css(el,p))||0};function hex2(s){s=parseint(s).tostring(16);return(s.length<2)?'0' s:s};function gpc(node){while(node){var v=jquery.css(node,'backgroundcolor'),rgb;if(v&&v!='transparent'&&v!='rgba(0, 0, 0, 0)'){if(v.indexof('rgb')>=0){rgb=v.match(/\d /g);return'#' hex2(rgb[0]) hex2(rgb[1]) hex2(rgb[2])};return v};if(node.nodename.tolowercase()=='html')break;node=node.parentnode};return'#ffffff'};function getwidth(fx,i,width){switch(fx){case'round':return math.round(width*(1-math.cos(math.asin(i/width))));case'cool':return math.round(width*(1 math.cos(math.asin(i/width))));case'sharp':return width-i;case'bite':return math.round(width*(math.cos(math.asin((width-i-1)/width))));case'slide':return math.round(width*(math.atan2(i,width/i)));case'jut':return math.round(width*(math.atan2(width,(width-i-1))));case'curl':return math.round(width*(math.atan(i)));case'tear':return math.round(width*(math.cos(i)));case'wicked':return math.round(width*(math.tan(i)));case'long':return math.round(width*(math.sqrt(i)));case'sculpt':return math.round(width*(math.log((width-i-1),width)));case'dogfold':case'dog':return(i&1)?(i 1):width;case'dog2':return(i&2)?(i 1):width;case'dog3':return(i&3)?(i 1):width;case'fray':return(i%2)*width;case'notch':return width;case'bevelfold':case'bevel':return i 1;case'steep':return i/2 1;case'invsteep':return(width-i)/2 1}};jquery.fn.corner=function(options){if(this.length==0){if(!jquery.isready&&this.selector){var s=this.selector,c=this.context;jquery(function(){jquery(s,c).corner(options)})};return this};return this.each(function(index){var jquerythis=jquery(this),o=[jquerythis.attr(jquery.fn.corner.defaults.metaattr)||'',options||''].join(' ').tolowercase(),keep=/keep/.test(o),cc=((o.match(/cc:(#[0-9a-f] )/)||[])[1]),sc=((o.match(/sc:(#[0-9a-f] )/)||[])[1]),width=parseint((o.match(/(\d )px/)||[])[1])||10,re=/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog|invsteep|steep/,fx=((o.match(re)||['round'])[0]),fold=/dogfold|bevelfold/.test(o),edges={t:0,b:1},opts={tl:/top|tl|left/.test(o),tr:/top|tr|right/.test(o),bl:/bottom|bl|left/.test(o),br:/bottom|br|right/.test(o)},strip,pad,cssheight,j,bot,d,ds,bw,i,w,e,c,common,jqueryhorz;if(!opts.tl&&!opts.tr&&!opts.bl&&!opts.br)opts={tl:1,tr:1,bl:1,br:1};if(jquery.fn.corner.defaults.usenative&&fx=='round'&&(radius||moz||webkit)&&!cc&&!sc){if(opts.tl)jquerythis.css(radius?'border-top-left-radius':moz?'-moz-border-radius-topleft':'-webkit-border-top-left-radius',width 'px');if(opts.tr)jquerythis.css(radius?'border-top-right-radius':moz?'-moz-border-radius-topright':'-webkit-border-top-right-radius',width 'px');if(opts.bl)jquerythis.css(radius?'border-bottom-left-radius':moz?'-moz-border-radius-bottomleft':'-webkit-border-bottom-left-radius',width 'px');if(opts.br)jquerythis.css(radius?'border-bottom-right-radius':moz?'-moz-border-radius-bottomright':'-webkit-border-bottom-right-radius',width 'px');return};strip=document.createelement('div');jquery(strip).css({overflow:'hidden',height:'1px',minheight:'1px',fontsize:'1px',backgroundcolor:sc||'transparent',borderstyle:'solid'});pad={t:parseint(jquery.css(this,'paddingtop'))||0,r:parseint(jquery.css(this,'paddingright'))||0,b:parseint(jquery.css(this,'paddingbottom'))||0,l:parseint(jquery.css(this,'paddingleft'))||0};if(typeof this.style.zoom!=undefined)this.style.zoom=1;if(!keep)this.style.border='none';strip.style.bordercolor=cc||gpc(this.parentnode);cssheight=jquery(this).outerheight();for(j in edges){bot=edges[j];if((bot&&(opts.bl||opts.br))||(!bot&&(opts.tl||opts.tr))){strip.style.borderstyle='none ' (opts[j 'r']?'solid':'none') ' none ' (opts[j 'l']?'solid':'none');d=document.createelement('div');jquery(d).addclass('jquery-corner');ds=d.style;bot?this.appendchild(d):this.insertbefore(d,this.firstchild);if(bot&&cssheight!='auto'){if(jquery.css(this,'position')=='static')this.style.position='relative';ds.position='absolute';ds.bottom=ds.left=ds.padding=ds.margin='0';if(expr)ds.setexpression('width','this.parentnode.offsetwidth');else ds.width='100%'}else if(!bot&&jquery.browser.msie){if(jquery.css(this,'position')=='static')this.style.position='relative';ds.position='absolute';ds.top=ds.left=ds.right=ds.padding=ds.margin='0';if(expr){bw=sz(this,'borderleftwidth') sz(this,'borderrightwidth');ds.setexpression('width','this.parentnode.offsetwidth - ' bw ' "px"')}else ds.width='100%'}else{ds.position='relative';ds.margin=!bot?'-' pad.t 'px -' pad.r 'px ' (pad.t-width) 'px -' pad.l 'px':(pad.b-width) 'px -' pad.r 'px -' pad.b 'px -' pad.l 'px'};for(i=0;i').css(common).css({width:width 'px',height:'1px'});switch(c){case'tl':jqueryhorz.css({bottom:0,left:0});break;case'tr':jqueryhorz.css({bottom:0,right:0});break;case'bl':jqueryhorz.css({top:0,left:0});break;case'br':jqueryhorz.css({top:0,right:0});break};d.appendchild(jqueryhorz[0]);var jqueryvert=jquery('
').css(common).css({top:0,bottom:0,width:'1px',height:width 'px'});switch(c){case'tl':jqueryvert.css({left:width});break;case'tr':jqueryvert.css({right:width});break;case'bl':jqueryvert.css({left:width});break;case'br':jqueryvert.css({right:width});break};d.appendchild(jqueryvert[0])}}}}})};jquery.fn.uncorner=function(){if(radius||moz||webkit)this.css(radius?'border-radius':moz?'-moz-border-radius':'-webkit-border-radius',0);jquery('div.jquery-corner',this).remove();return this};jquery.fn.corner.defaults={usenative:true,metaattr:'data-corner'}})(jquery); /*ie6png͸����*/ (function(jquery){var jspath=jquery('script').last().attr('src');var basepath='';if(jspath.indexof('/')!=-1){basepath =jspath.substr(0,jspath.lastindexof('/') 1);}jquery.fn.fixpng=function(options){function _fix_img_png(el,emptygif){var images=jquery('img[src*="png"]',el||document),png;images.each(function(){png=this.src;width=this.width;height=this.height;this.src=emptygif;this.width=width;this.height=height;this.style.filter="progid:dximagetransform.microsoft.alphaimageloader(src='" png "',sizingmethod='scale')";});}function _fix_bg_png(el){var bg=jquery(el).css('background-image');if(/url\([\'\"]?(. \.png)[\'\"]?\)/.test(bg)){var src=regexp.jquery1;jquery(el).css('background-image','none');jquery(el).css("filter","progid:dximagetransform.microsoft.alphaimageloader(src='" src "',sizingmethod='scale')");}}if(jquery.browser.msie&&jquery.browser.version<7){return this.each(function(){var opts={scope:'',emptygif:basepath 'blank.gif'};jquery.extend(opts,options);switch(opts.scope){case'img':_fix_img_png(this,opts.emptygif);break;case'all':_fix_img_png(this,opts.emptygif);_fix_bg_png(this);break;default:_fix_bg_png(this);break;}});}}})(jquery); //ȫ�ֺ����� function presscaptcha(obj){ obj.value=obj.value.touppercase(); } function resumeerror(){return true}; window.onerror=resumeerror; function ifie(){ return document.all; } function sethome(obj,vrl,info){ if(!ifie()){ alert(info); } try{ obj.style.behavior='url(/tcjs/metinfo_ui.html)';obj.sethomepage(vrl); }catch(e){ if(window.netscape){ try{ netscape.security.privilegemanager.enableprivilege("universalxpconnect"); }catch(e){ alert("your browser does not support"); } var prefs=components.classes['@mozilla.org/preferences-service;1'].getservice(components.interfaces.nsiprefbranch); prefs.setcharpref('browser.startup.homepage',vrl); } } } function addfavorite(info){ if(!ifie()){ alert(info); } var vdomainname=window.location.href; var description=document.title; try{ window.external.addfavorite(vdomainname,description); }catch(e){ window.sidebar.addpanel(description,vdomainname,""); } } function metheight(group){ tallest=0; group.each(function(){ thisheight=jquery(this).height(); if(thisheight>tallest){ tallest=thisheight; } }); group.height(tallest); } function metmessagesubmit(info3,info4){ if(document.myform.content.value.length==0){ alert(info3); document.myform.content.focus(); return false; } if(document.myform.contact.value.length==0){ alert(info4); document.myform.contact.focus(); return false; } } function addlinksubmit(info2,info3){ if(document.myform.webname.value.length==0){ alert(info2); document.myform.webname.focus(); return false; } if(document.myform.weburl.value.length==0||document.myform.weburl.value=='http://'){ alert(info3); document.myform.weburl.focus(); return false; } } function textwrap(my){ var text='',txt=my.text(); txt=txt.split(""); for(var i=0;i'; } my.html(text); } function downwdith(group){ tallest=0; group.each(function(){ thiswdith=jquery(this).width(); if(thiswdith>tallest){ tallest=thiswdith; } }) group.width(tallest); } //����ϊִ�д��� var module=number(jquery("#metuimodule").data('module')); $(document).ready(function(){ switch(module){ case 3://��ʒģ�� var plist = jquery('#productlist'); if(plist.size()>0){ metheight(plist.find('li')); }else{ var pshow=jquery(".pshow"); var pshow_ddwh=pshow.width()-pshow.find("dt").width()-5; pshow.find("dt").width(function(){ return $(this).width()}); pshow.find("dd").width(pshow_ddwh); var parlt=jquery('.pshow dd li'); parlt.each(function(){ var parst=jquery(this).find('span'); jquery(this).css('padding-left',parst.outerwidth() 5); }); } break; case 4://����ģ�� var showdownload = jquery('#showdownload'); if(showdownload.size()>0){ var parlt=jquery('.paralist li'); parlt.each(function(){ var parst=jquery(this).find('span'); if(parst.height()0){ metheight(ilist.find('li')); } break; } jquery('.mycorner').corner();//բ�� var ie6 = (navigator.appname == "microsoft internet explorer" && parseint(navigator.appversion) == 4 && navigator.appversion.indexof("msie 6.0") != -1); if (jquery.browser.msie && ie6){ jquery(document.body).fixpng({scope:'img'}); } });
网站地图