rem: b.strokeStyle="#FFF";b.textAlign="left";b.textBaseline="middle";b.save();b.beginPath();b.rect(u*v*p/2,u*v*p/2-1,g-(a?36:74)*h-u*v*p,f-u*v*p/2);b.clip();b.scale(c.scale,1);b.fillText(e,u*v*p,f/2+1);b.restore()}}function Ha(){var a=c.name+"_cb"+j.timertick,b="",g;if(c.hasOwnProperty("item")&&(g=c.item,g.hasOwnProperty("getArray"))){var f=g.getArray();g=f.length;var e="";Ma&&(e="background: -webkit-gradient(linear, 0% 5%, 0% 80%, from(rgba(250,250,250,1.0)), to(rgba(220,220,220,0.9))); border-radius:4px; border:1px solid rgba(100,100,100,1.0);"); c.html5style&&(e+=c.html5style);b+="<select name='"+a+" size='1' style='margin:0;padding:0;"+e+"'>";for(a=0;a<g;a++)e=f[a],b+="<option name='"+e.name+"'>"+e.caption+"</option>";c.sprite.innerHTML=b+"</select>";setTimeout(function(){var a,b,e=c.sprite.childNodes[0];e.onchange=function(){var a=c.item.getItem(this.selectedIndex);a&&j.call(a.onclick,c)};a=c.sprite.childNodes[0].offsetWidth;b=c.sprite.childNodes[0].offsetHeight;a/=j.stagescale;b/=j.stagescale;0<c.pixelwidth&&(a=c.pixelwidth,e.style.width= a+"px");c.registercontentsize(a,b);c.updatepluginpos()},0)}}function Ua(a,b){ta(null,a,b)}function ta(a,b,g){if(null==a||""==a)a=Number(j.get(c.getfullpath()+".item.count")),a=isNaN(a)?"item1":"item"+(a+1);j.set(c.getfullpath()+".item["+a+"].caption",b);j.set(c.getfullpath()+".item["+a+"].onclick",g);ra&&(c._width=null);1==z.count&&(T=0);H(!0);s&&Ha()}function Va(){j.set(c.getfullpath()+".item.count",0);H()}function Wa(a){a=String(a).toLowerCase();var b=Number(j.get(c.getfullpath()+".item.count")); 
add: function Ha() { var a = c.name + "_cb" + j.timertick, b = "", g; if (c.hasOwnProperty("item") && (g = c.item, g.hasOwnProperty("getArray"))) { var f = g.getArray(); g = f.length; var e = ""; Ma && (e = "background: -webkit-gradient(linear, 0% 5%, 0% 80%, from(rgba(250,250,250,1.0)), to(rgba(220,220,220,0.9))); border-radius:4px; border:1px solid rgba(100,100,100,1.0);"); c.html5style && (e += c.html5style); b += "<select name='" + a + " size='1' style='margin:0;padding:0;" + e + "'>"; for (a = 0; a < g; a++) e = f[a], b += "<option name='" + e.name + "'>" + e.caption + "</option>"; c.sprite.innerHTML = b + "</select>"; setTimeout(function() { var a, b, e = c.sprite.childNodes[0]; e.onchange = function() { var a = c.item.getItem(this.selectedIndex); a && j.call(a.onclick, c) }; a = c.sprite.childNodes[0].offsetWidth; b = c.sprite.childNodes[0].offsetHeight; a /= j.stagescale; b /= j.stagescale; 0 < c.pixelwidth && (a = c.pixelwidth, e.style.width = a + "px"); c.registercontentsize(a, b); c.updatepluginpos() }, 0) } } 
context: b.strokeStyle="#FFF";b.textAlign="left";b.textBaseline="middle";b.save();b.beginPath();b.rect(u*v*p/2,u*v*p/2-1,g-(a?36:74)*h-u*v*p,f-u*v*p/2);b.clip();b.scale(c.scale,1);b.fillText(e,u*v*p,f/2+1);b.restore()}}function Ha(){var a=c.name+"_cb"+j.timertick,b="",g;if(c.hasOwnProperty("item")&&(g=c.item,g.hasOwnProperty("getArray"))){var f=g.getArray();g=f.length;var e="";Ma&&(e="background: -webkit-gradient(linear, 0% 5%, 0% 80%, from(rgba(250,250,250,1.0)), to(rgba(220,220,220,0.9))); border-radius:4px; border:1px solid rgba(100,100,100,1.0);");c.html5style&&(e+=c.html5style);b+="<select name='"+a+" size='1' style='margin:0;padding:0;"+e+"'>";for(a=0;a<g;a++)e=f[a],b+="<option name='"+e.name+"'>"+e.caption+"</option>";c.sprite.innerHTML=b+"</select>";setTimeout(function(){var a,b,e=c.sprite.childNodes[0];e.onchange=function(){var a=c.item.getItem(this.selectedIndex);a&&j.call(a.onclick,c)};a=c.sprite.childNodes[0].offsetWidth;b=c.sprite.childNodes[0].offsetHeight;a/=j.stagescale;b/=j.stagescale;0<c.pixelwidth&&(a=c.pixelwidth,e.style.width=a+"px");c.registercontentsize(a,b);c.updatepluginpos()},0)}}function Ua(a,b){ta(null,a,b)}function ta(a,b,g){if(null==a||""==a)a=Number(j.get(c.getfullpath()+".item.count")),a=isNaN(a)?"item1":"item"+(a+1);j.set(c.getfullpath()+".item["+a+"].caption",b);j.set(c.getfullpath()+".item["+a+"].onclick",g);ra&&(c._width=null);1==z.count&&(T=0);H(!0);s&&Ha()}function Va(){j.set(c.getfullpath()+".item.count",0);H()}function Wa(a){a=String(a).toLowerCase();var b=Number(j.get(c.getfullpath()+".item.count"));
meta: 8161	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8161/5e662936c67491895fae4768ed7f4394486f2ad5/combobox.js/clean/demo/huifengshangxueyuan/plugins/combobox.js