if(typeof window.jQuery=="undefined"){
window.undefined=window.undefined;
var jQuery=function(a,c){
if(window==this){
return new jQuery(a,c);
}
a=a||document;
if(jQuery.isFunction(a)){
return new jQuery(document)[jQuery.fn.ready?"ready":"load"](a);
}
if(typeof a=="string"){
var m=/^[^<]*(<(.|\s)+>)[^>]*$/.exec(a);
if(m){
a=jQuery.clean([m[1]]);
}else{
return new jQuery(c).find(a);
}
}
return this.setArray(a.constructor==Array&&a||(a.jquery||a.length&&a!=window&&!a.nodeType&&a[0]!=undefined&&a[0].nodeType)&&jQuery.makeArray(a)||[a]);
};
if(typeof $!="undefined"){
jQuery._$=$;
}
var $=jQuery;
jQuery.fn=jQuery.prototype={jquery:"1.1.2",size:function(){
return this.length;
},length:0,get:function(_4){
return _4==undefined?jQuery.makeArray(this):this[_4];
},pushStack:function(a){
var _6=jQuery(a);
_6.prevObject=this;
return _6;
},setArray:function(a){
this.length=0;
[].push.apply(this,a);
return this;
},each:function(fn,_9){
return jQuery.each(this,fn,_9);
},index:function(_a){
var _b=-1;
this.each(function(i){
if(this==_a){
_b=i;
}
});
return _b;
},attr:function(_d,_e,_f){
var obj=_d;
if(_d.constructor==String){
if(_e==undefined){
return this.length&&jQuery[_f||"attr"](this[0],_d)||undefined;
}else{
obj={};
obj[_d]=_e;
}
}
return this.each(function(_11){
for(var _12 in obj){
jQuery.attr(_f?this.style:this,_12,jQuery.prop(this,obj[_12],_f,_11,_12));
}
});
},css:function(key,_14){
return this.attr(key,_14,"curCSS");
},text:function(e){
if(typeof e=="string"){
return this.empty().append(document.createTextNode(e));
}
var t="";
jQuery.each(e||this,function(){
jQuery.each(this.childNodes,function(){
if(this.nodeType!=8){
t+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);
}
});
});
return t;
},wrap:function(){
var a=jQuery.clean(arguments);
return this.each(function(){
var b=a[0].cloneNode(true);
this.parentNode.insertBefore(b,this);
while(b.firstChild){
b=b.firstChild;
}
b.appendChild(this);
});
},append:function(){
return this.domManip(arguments,true,1,function(a){
this.appendChild(a);
});
},prepend:function(){
return this.domManip(arguments,true,-1,function(a){
this.insertBefore(a,this.firstChild);
});
},before:function(){
return this.domManip(arguments,false,1,function(a){
this.parentNode.insertBefore(a,this);
});
},after:function(){
return this.domManip(arguments,false,-1,function(a){
this.parentNode.insertBefore(a,this.nextSibling);
});
},end:function(){
return this.prevObject||jQuery([]);
},find:function(t){
return this.pushStack(jQuery.map(this,function(a){
return jQuery.find(t,a);
}),t);
},clone:function(_1f){
return this.pushStack(jQuery.map(this,function(a){
var a=a.cloneNode(_1f!=undefined?_1f:true);
a.$events=null;
return a;
}));
},filter:function(t){
return this.pushStack(jQuery.isFunction(t)&&jQuery.grep(this,function(el,_24){
return t.apply(el,[_24]);
})||jQuery.multiFilter(t,this));
},not:function(t){
return this.pushStack(t.constructor==String&&jQuery.multiFilter(t,this,true)||jQuery.grep(this,function(a){
return (t.constructor==Array||t.jquery)?jQuery.inArray(a,t)<0:a!=t;
}));
},add:function(t){
return this.pushStack(jQuery.merge(this.get(),t.constructor==String?jQuery(t).get():t.length!=undefined&&(!t.nodeName||t.nodeName=="FORM")?t:[t]));
},is:function(_28){
return _28?jQuery.filter(_28,this).r.length>0:false;
},val:function(val){
return val==undefined?(this.length?this[0].value:null):this.attr("value",val);
},html:function(val){
return val==undefined?(this.length?this[0].innerHTML:null):this.empty().append(val);
},domManip:function(_2b,_2c,dir,fn){
var _2f=this.length>1;
var a=jQuery.clean(_2b);
if(dir<0){
a.reverse();
}
return this.each(function(){
var obj=this;
if(_2c&&jQuery.nodeName(this,"table")&&jQuery.nodeName(a[0],"tr")){
obj=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));
}
jQuery.each(a,function(){
fn.apply(obj,[_2f?this.cloneNode(true):this]);
});
});
}};
jQuery.extend=jQuery.fn.extend=function(){
var _32=arguments[0],a=1;
if(arguments.length==1){
_32=this;
a=0;
}
var _33;
while(_33=arguments[a++]){
for(var i in _33){
_32[i]=_33[i];
}
}
return _32;
};
jQuery.extend({noConflict:function(){
if(jQuery._$){
$=jQuery._$;
}
return jQuery;
},isFunction:function(fn){
return !!fn&&typeof fn!="string"&&!fn.nodeName&&typeof fn[0]=="undefined"&&/function/i.test(fn+"");
},isXMLDoc:function(_36){
return _36.tagName&&_36.ownerDocument&&!_36.ownerDocument.body;
},nodeName:function(_37,_38){
return _37.nodeName&&_37.nodeName.toUpperCase()==_38.toUpperCase();
},each:function(obj,fn,_3b){
if(obj.length==undefined){
for(var i in obj){
fn.apply(obj[i],_3b||[i,obj[i]]);
}
}else{
for(var i=0,ol=obj.length;i<ol;i++){
if(fn.apply(obj[i],_3b||[i,obj[i]])===false){
break;
}
}
}
return obj;
},prop:function(_3e,_3f,_40,_41,_42){
if(jQuery.isFunction(_3f)){
_3f=_3f.call(_3e,[_41]);
}
var _43=/z-?index|font-?weight|opacity|zoom|line-?height/i;
return _3f&&_3f.constructor==Number&&_40=="curCSS"&&!_43.test(_42)?_3f+"px":_3f;
},className:{add:function(_44,c){
jQuery.each(c.split(/\s+/),function(i,cur){
if(!jQuery.className.has(_44.className,cur)){
_44.className+=(_44.className?" ":"")+cur;
}
});
},remove:function(_48,c){
_48.className=c?jQuery.grep(_48.className.split(/\s+/),function(cur){
return !jQuery.className.has(c,cur);
}).join(" "):"";
},has:function(t,c){
t=t.className||t;
c=c.replace(/([\.\\\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1");
return t&&new RegExp("(^|\\s)"+c+"(\\s|$)").test(t);
}},swap:function(e,o,f){
for(var i in o){
e.style["old"+i]=e.style[i];
e.style[i]=o[i];
}
f.apply(e,[]);
for(var i in o){
e.style[i]=e.style["old"+i];
}
},css:function(e,p){
if(p=="height"||p=="width"){
var old={},oHeight,oWidth,d=["Top","Bottom","Right","Left"];
jQuery.each(d,function(){
old["padding"+this]=0;
old["border"+this+"Width"]=0;
});
jQuery.swap(e,old,function(){
if(jQuery.css(e,"display")!="none"){
oHeight=e.offsetHeight;
oWidth=e.offsetWidth;
}else{
e=jQuery(e.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(e.parentNode)[0];
var _55=jQuery.css(e.parentNode,"position");
if(_55==""||_55=="static"){
e.parentNode.style.position="relative";
}
oHeight=e.clientHeight;
oWidth=e.clientWidth;
if(_55==""||_55=="static"){
e.parentNode.style.position="static";
}
e.parentNode.removeChild(e);
}
});
return p=="height"?oHeight:oWidth;
}
return jQuery.curCSS(e,p);
},curCSS:function(_56,_57,_58){
var ret;
if(_57=="opacity"&&jQuery.browser.msie){
return jQuery.attr(_56.style,"opacity");
}
if(_57=="float"||_57=="cssFloat"){
_57=jQuery.browser.msie?"styleFloat":"cssFloat";
}
if(!_58&&_56.style[_57]){
ret=_56.style[_57];
}else{
if(document.defaultView&&document.defaultView.getComputedStyle){
if(_57=="cssFloat"||_57=="styleFloat"){
_57="float";
}
_57=_57.replace(/([A-Z])/g,"-$1").toLowerCase();
var cur=document.defaultView.getComputedStyle(_56,null);
if(cur){
ret=cur.getPropertyValue(_57);
}else{
if(_57=="display"){
ret="none";
}else{
jQuery.swap(_56,{display:"block"},function(){
var c=document.defaultView.getComputedStyle(this,"");
ret=c&&c.getPropertyValue(_57)||"";
});
}
}
}else{
if(_56.currentStyle){
var _5c=_57.replace(/\-(\w)/g,function(m,c){
return c.toUpperCase();
});
ret=_56.currentStyle[_57]||_56.currentStyle[_5c];
}
}
}
return ret;
},clean:function(a){
var r=[];
jQuery.each(a,function(i,arg){
if(!arg){
return;
}
if(arg.constructor==Number){
arg=arg.toString();
}
if(typeof arg=="string"){
var s=jQuery.trim(arg),div=document.createElement("div"),tb=[];
var _64=!s.indexOf("<opt")&&[1,"<select>","</select>"]||(!s.indexOf("<thead")||!s.indexOf("<tbody")||!s.indexOf("<tfoot"))&&[1,"<table>","</table>"]||!s.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!s.indexOf("<td")||!s.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||[0,"",""];
div.innerHTML=_64[1]+s+_64[2];
while(_64[0]--){
div=div.firstChild;
}
if(jQuery.browser.msie){
if(!s.indexOf("<table")&&s.indexOf("<tbody")<0){
tb=div.firstChild&&div.firstChild.childNodes;
}else{
if(_64[1]=="<table>"&&s.indexOf("<tbody")<0){
tb=div.childNodes;
}
}
for(var n=tb.length-1;n>=0;--n){
if(jQuery.nodeName(tb[n],"tbody")&&!tb[n].childNodes.length){
tb[n].parentNode.removeChild(tb[n]);
}
}
}
arg=[];
for(var i=0,l=div.childNodes.length;i<l;i++){
arg.push(div.childNodes[i]);
}
}
if(arg.length===0&&!jQuery.nodeName(arg,"form")){
return;
}
if(arg[0]==undefined||jQuery.nodeName(arg,"form")){
r.push(arg);
}else{
r=jQuery.merge(r,arg);
}
});
return r;
},attr:function(_67,_68,_69){
var fix=jQuery.isXMLDoc(_67)?{}:{"for":"htmlFor","class":"className","float":jQuery.browser.msie?"styleFloat":"cssFloat",cssFloat:jQuery.browser.msie?"styleFloat":"cssFloat",innerHTML:"innerHTML",className:"className",value:"value",disabled:"disabled",checked:"checked",readonly:"readOnly",selected:"selected"};
if(_68=="opacity"&&jQuery.browser.msie&&_69!=undefined){
_67.zoom=1;
return _67.filter=_67.filter.replace(/alpha\([^\)]*\)/gi,"")+(_69==1?"":"alpha(opacity="+_69*100+")");
}else{
if(_68=="opacity"&&jQuery.browser.msie){
return _67.filter?parseFloat(_67.filter.match(/alpha\(opacity=(.*)\)/)[1])/100:1;
}
}
if(_68=="opacity"&&jQuery.browser.mozilla&&_69==1){
_69=0.9999;
}
if(fix[_68]){
if(_69!=undefined){
_67[fix[_68]]=_69;
}
return _67[fix[_68]];
}else{
if(_69==undefined&&jQuery.browser.msie&&jQuery.nodeName(_67,"form")&&(_68=="action"||_68=="method")){
return _67.getAttributeNode(_68).nodeValue;
}else{
if(_67.tagName){
if(_69!=undefined){
_67.setAttribute(_68,_69);
}
if(jQuery.browser.msie&&/href|src/.test(_68)&&!jQuery.isXMLDoc(_67)){
return _67.getAttribute(_68,2);
}
return _67.getAttribute(_68);
}else{
_68=_68.replace(/-([a-z])/ig,function(z,b){
return b.toUpperCase();
});
if(_69!=undefined){
_67[_68]=_69;
}
return _67[_68];
}
}
}
},trim:function(t){
return t.replace(/^\s+|\s+$/g,"");
},makeArray:function(a){
var r=[];
if(a.constructor!=Array){
for(var i=0,al=a.length;i<al;i++){
r.push(a[i]);
}
}else{
r=a.slice(0);
}
return r;
},inArray:function(b,a){
for(var i=0,al=a.length;i<al;i++){
if(a[i]==b){
return i;
}
}
return -1;
},merge:function(_74,_75){
var r=[].slice.call(_74,0);
for(var i=0,sl=_75.length;i<sl;i++){
if(jQuery.inArray(_75[i],r)==-1){
_74.push(_75[i]);
}
}
return _74;
},grep:function(_78,fn,inv){
if(typeof fn=="string"){
fn=new Function("a","i","return "+fn);
}
var _7b=[];
for(var i=0,el=_78.length;i<el;i++){
if(!inv&&fn(_78[i],i)||inv&&!fn(_78[i],i)){
_7b.push(_78[i]);
}
}
return _7b;
},map:function(_7d,fn){
if(typeof fn=="string"){
fn=new Function("a","return "+fn);
}
var _7f=[],r=[];
for(var i=0,el=_7d.length;i<el;i++){
var val=fn(_7d[i],i);
if(val!==null&&val!=undefined){
if(val.constructor!=Array){
val=[val];
}
_7f=_7f.concat(val);
}
}
var r=_7f.length?[_7f[0]]:[];
check:
for(var i=1,rl=_7f.length;i<rl;i++){
for(var j=0;j<i;j++){
if(_7f[i]==r[j]){
continue check;
}
}
r.push(_7f[i]);
}
return r;
}});
new function(){
var b=navigator.userAgent.toLowerCase();
jQuery.browser={safari:/webkit/.test(b),opera:/opera/.test(b),msie:/msie/.test(b)&&!/opera/.test(b),mozilla:/mozilla/.test(b)&&!/(compatible|webkit)/.test(b)};
jQuery.boxModel=!jQuery.browser.msie||document.compatMode=="CSS1Compat";
};
jQuery.each({parent:"a.parentNode",parents:"jQuery.parents(a)",next:"jQuery.nth(a,2,'nextSibling')",prev:"jQuery.nth(a,2,'previousSibling')",siblings:"jQuery.sibling(a.parentNode.firstChild,a)",children:"jQuery.sibling(a.firstChild)"},function(i,n){
jQuery.fn[i]=function(a){
var ret=jQuery.map(this,n);
if(a&&typeof a=="string"){
ret=jQuery.multiFilter(a,ret);
}
return this.pushStack(ret);
};
});
jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after"},function(i,n){
jQuery.fn[i]=function(){
var a=arguments;
return this.each(function(){
for(var j=0,al=a.length;j<al;j++){
jQuery(a[j])[n](this);
}
});
};
});
jQuery.each({removeAttr:function(key){
jQuery.attr(this,key,"");
this.removeAttribute(key);
},addClass:function(c){
jQuery.className.add(this,c);
},removeClass:function(c){
jQuery.className.remove(this,c);
},toggleClass:function(c){
jQuery.className[jQuery.className.has(this,c)?"remove":"add"](this,c);
},remove:function(a){
if(!a||jQuery.filter(a,[this]).r.length){
this.parentNode.removeChild(this);
}
},empty:function(){
while(this.firstChild){
this.removeChild(this.firstChild);
}
}},function(i,n){
jQuery.fn[i]=function(){
return this.each(n,arguments);
};
});
jQuery.each(["eq","lt","gt","contains"],function(i,n){
jQuery.fn[n]=function(num,fn){
return this.filter(":"+n+"("+num+")",fn);
};
});
jQuery.each(["height","width"],function(i,n){
jQuery.fn[n]=function(h){
return h==undefined?(this.length?jQuery.css(this[0],n):null):this.css(n,h.constructor==String?h:h+"px");
};
});
jQuery.extend({expr:{"":"m[2]=='*'||jQuery.nodeName(a,m[2])","#":"a.getAttribute('id')==m[2]",":":{lt:"i<m[3]-0",gt:"i>m[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","nth-child":"jQuery.nth(a.parentNode.firstChild,m[3],'nextSibling',a)==a","first-child":"jQuery.nth(a.parentNode.firstChild,1,'nextSibling')==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"jQuery.sibling(a.parentNode.firstChild).length==1",parent:"a.firstChild",empty:"!a.firstChild",contains:"jQuery.fn.text.apply([a]).indexOf(m[3])>=0",visible:"a.type!=\"hidden\"&&jQuery.css(a,\"display\")!=\"none\"&&jQuery.css(a,\"visibility\")!=\"hidden\"",hidden:"a.type==\"hidden\"||jQuery.css(a,\"display\")==\"none\"||jQuery.css(a,\"visibility\")==\"hidden\"",enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected||jQuery.attr(a,'selected')",text:"a.type=='text'",radio:"a.type=='radio'",checkbox:"a.type=='checkbox'",file:"a.type=='file'",password:"a.type=='password'",submit:"a.type=='submit'",image:"a.type=='image'",reset:"a.type=='reset'",button:"a.type==\"button\"||jQuery.nodeName(a,\"button\")",input:"/input|select|textarea|button/i.test(a.nodeName)"},".":"jQuery.className.has(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z&&!z.indexOf(m[4])","$=":"z&&z.substr(z.length - m[4].length,m[4].length)==m[4]","*=":"z&&z.indexOf(m[4])>=0","":"z",_resort:function(m){
return ["",m[1],m[3],m[2],m[5]];
},_prefix:"z=a[m[3]];if(!z||/href|src/.test(m[3]))z=jQuery.attr(a,m[3]);"},"[":"jQuery.find(m[2],a).length"},parse:[/^\[ *(@)([a-z0-9_-]*) *([!*$^=]*) *('?"?)(.*?)\4 *\]/i,/^(\[)\s*(.*?(\[.*?\])?[^[]*?)\s*\]/,/^(:)([a-z0-9_-]*)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/i,/^([:.#]*)([a-z0-9_*-]*)/i],token:[/^(\/?\.\.)/,"a.parentNode",/^(>|\/)/,"jQuery.sibling(a.firstChild)",/^(\+)/,"jQuery.nth(a,2,'nextSibling')",/^(~)/,function(a){
var s=jQuery.sibling(a.parentNode.firstChild);
return s.slice(jQuery.inArray(a,s)+1);
}],multiFilter:function(_9f,_a0,not){
var old,cur=[];
while(_9f&&_9f!=old){
old=_9f;
var f=jQuery.filter(_9f,_a0,not);
_9f=f.t.replace(/^\s*,\s*/,"");
cur=not?_a0=f.r:jQuery.merge(cur,f.r);
}
return cur;
},find:function(t,_a5){
if(typeof t!="string"){
return [t];
}
if(_a5&&!_a5.nodeType){
_a5=null;
}
_a5=_a5||document;
if(!t.indexOf("//")){
_a5=_a5.documentElement;
t=t.substr(2,t.length);
}else{
if(!t.indexOf("/")){
_a5=_a5.documentElement;
t=t.substr(1,t.length);
if(t.indexOf("/")>=1){
t=t.substr(t.indexOf("/"),t.length);
}
}
}
var ret=[_a5],done=[],last=null;
while(t&&last!=t){
var r=[];
last=t;
t=jQuery.trim(t).replace(/^\/\//i,"");
var _a8=false;
var re=/^[\/>]\s*([a-z0-9*-]+)/i;
var m=re.exec(t);
if(m){
jQuery.each(ret,function(){
for(var c=this.firstChild;c;c=c.nextSibling){
if(c.nodeType==1&&(jQuery.nodeName(c,m[1])||m[1]=="*")){
r.push(c);
}
}
});
ret=r;
t=t.replace(re,"");
if(t.indexOf(" ")==0){
continue;
}
_a8=true;
}else{
for(var i=0;i<jQuery.token.length;i+=2){
var re=jQuery.token[i];
var m=re.exec(t);
if(m){
r=ret=jQuery.map(ret,jQuery.isFunction(jQuery.token[i+1])?jQuery.token[i+1]:function(a){
return eval(jQuery.token[i+1]);
});
t=jQuery.trim(t.replace(re,""));
_a8=true;
break;
}
}
}
if(t&&!_a8){
if(!t.indexOf(",")){
if(ret[0]==_a5){
ret.shift();
}
jQuery.merge(done,ret);
r=ret=[_a5];
t=" "+t.substr(1,t.length);
}else{
var re2=/^([a-z0-9_-]+)(#)([a-z0-9\\*_-]*)/i;
var m=re2.exec(t);
if(m){
m=[0,m[2],m[3],m[1]];
}else{
re2=/^([#.]?)([a-z0-9\\*_-]*)/i;
m=re2.exec(t);
}
if(m[1]=="#"&&ret[ret.length-1].getElementById){
var oid=ret[ret.length-1].getElementById(m[2]);
if(jQuery.browser.msie&&oid&&oid.id!=m[2]){
oid=jQuery("[@id=\""+m[2]+"\"]",ret[ret.length-1])[0];
}
ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[];
}else{
if(m[1]=="."){
var rec=new RegExp("(^|\\s)"+m[2]+"(\\s|$)");
}
jQuery.each(ret,function(){
var tag=m[1]!=""||m[0]==""?"*":m[2];
if(jQuery.nodeName(this,"object")&&tag=="*"){
tag="param";
}
jQuery.merge(r,m[1]!=""&&ret.length!=1?jQuery.getAll(this,[],m[1],m[2],rec):this.getElementsByTagName(tag));
});
if(m[1]=="."&&ret.length==1){
r=jQuery.grep(r,function(e){
return rec.test(e.className);
});
}
if(m[1]=="#"&&ret.length==1){
var tmp=r;
r=[];
jQuery.each(tmp,function(){
if(this.getAttribute("id")==m[2]){
r=[this];
return false;
}
});
}
ret=r;
}
t=t.replace(re2,"");
}
}
if(t){
var val=jQuery.filter(t,r);
ret=r=val.r;
t=jQuery.trim(val.t);
}
}
if(ret&&ret[0]==_a5){
ret.shift();
}
jQuery.merge(done,ret);
return done;
},filter:function(t,r,not){
while(t&&/^[a-z[({<*:.#]/i.test(t)){
var p=jQuery.parse,m;
jQuery.each(p,function(i,re){
m=re.exec(t);
if(m){
t=t.substring(m[0].length);
if(jQuery.expr[m[1]]._resort){
m=jQuery.expr[m[1]]._resort(m);
}
return false;
}
});
if(m[1]==":"&&m[2]=="not"){
r=jQuery.filter(m[3],r,true).r;
}else{
if(m[1]=="."){
var re=new RegExp("(^|\\s)"+m[2]+"(\\s|$)");
r=jQuery.grep(r,function(e){
return re.test(e.className||"");
},not);
}else{
var f=jQuery.expr[m[1]];
if(typeof f!="string"){
f=jQuery.expr[m[1]][m[2]];
}
eval("f = function(a,i){"+(jQuery.expr[m[1]]._prefix||"")+"return "+f+"}");
r=jQuery.grep(r,f,not);
}
}
}
return {r:r,t:t};
},getAll:function(o,r,_c3,_c4,re){
for(var s=o.firstChild;s;s=s.nextSibling){
if(s.nodeType==1){
var add=true;
if(_c3=="."){
add=s.className&&re.test(s.className);
}else{
if(_c3=="#"){
add=s.getAttribute("id")==_c4;
}
}
if(add){
r.push(s);
}
if(_c3=="#"&&r.length){
break;
}
if(s.firstChild){
jQuery.getAll(s,r,_c3,_c4,re);
}
}
}
return r;
},parents:function(_c8){
var _c9=[];
var cur=_c8.parentNode;
while(cur&&cur!=document){
_c9.push(cur);
cur=cur.parentNode;
}
return _c9;
},nth:function(cur,_cc,dir,_ce){
_cc=_cc||1;
var num=0;
for(;cur;cur=cur[dir]){
if(cur.nodeType==1){
num++;
}
if(num==_cc||_cc=="even"&&num%2==0&&num>1&&cur==_ce||_cc=="odd"&&num%2==1&&cur==_ce){
return cur;
}
}
},sibling:function(n,_d1){
var r=[];
for(;n;n=n.nextSibling){
if(n.nodeType==1&&(!_d1||n!=_d1)){
r.push(n);
}
}
return r;
}});
jQuery.event={add:function(_d3,_d4,_d5,_d6){
if(jQuery.browser.msie&&_d3.setInterval!=undefined){
_d3=window;
}
if(_d6){
_d5.data=_d6;
}
if(!_d5.guid){
_d5.guid=this.guid++;
}
if(!_d3.$events){
_d3.$events={};
}
var _d7=_d3.$events[_d4];
if(!_d7){
_d7=_d3.$events[_d4]={};
if(_d3["on"+_d4]){
_d7[0]=_d3["on"+_d4];
}
}
_d7[_d5.guid]=_d5;
_d3["on"+_d4]=this.handle;
if(!this.global[_d4]){
this.global[_d4]=[];
}
this.global[_d4].push(_d3);
},guid:1,global:{},remove:function(_d8,_d9,_da){
if(_d8.$events){
var i,j,k;
if(_d9&&_d9.type){
_da=_d9.handler;
_d9=_d9.type;
}
if(_d9&&_d8.$events[_d9]){
if(_da){
delete _d8.$events[_d9][_da.guid];
}else{
for(i in _d8.$events[_d9]){
delete _d8.$events[_d9][i];
}
}
}else{
for(j in _d8.$events){
this.remove(_d8,j);
}
}
for(k in _d8.$events[_d9]){
if(k){
k=true;
break;
}
}
if(!k){
_d8["on"+_d9]=null;
}
}
},trigger:function(_dc,_dd,_de){
_dd=jQuery.makeArray(_dd||[]);
if(!_de){
jQuery.each(this.global[_dc]||[],function(){
jQuery.event.trigger(_dc,_dd,this);
});
}else{
var _df=_de["on"+_dc],val,fn=jQuery.isFunction(_de[_dc]);
if(_df){
_dd.unshift(this.fix({type:_dc,target:_de}));
if((val=_df.apply(_de,_dd))!==false){
this.triggered=true;
}
}
if(fn&&val!==false){
_de[_dc]();
}
this.triggered=false;
}
},handle:function(_e0){
if(typeof jQuery=="undefined"||jQuery.event.triggered){
return;
}
_e0=jQuery.event.fix(_e0||window.event||{});
var _e1;
var c=this.$events[_e0.type];
var _e3=[].slice.call(arguments,1);
_e3.unshift(_e0);
for(var j in c){
_e3[0].handler=c[j];
_e3[0].data=c[j].data;
if(c[j].apply(this,_e3)===false){
_e0.preventDefault();
_e0.stopPropagation();
_e1=false;
}
}
if(jQuery.browser.msie){
_e0.target=_e0.preventDefault=_e0.stopPropagation=_e0.handler=_e0.data=null;
}
return _e1;
},fix:function(_e5){
if(!_e5.target&&_e5.srcElement){
_e5.target=_e5.srcElement;
}
if(_e5.pageX==undefined&&_e5.clientX!=undefined){
var e=document.documentElement,b=document.body;
_e5.pageX=_e5.clientX+(e.scrollLeft||b.scrollLeft);
_e5.pageY=_e5.clientY+(e.scrollTop||b.scrollTop);
}
if(jQuery.browser.safari&&_e5.target.nodeType==3){
var _e7=_e5;
_e5=jQuery.extend({},_e7);
_e5.target=_e7.target.parentNode;
_e5.preventDefault=function(){
return _e7.preventDefault();
};
_e5.stopPropagation=function(){
return _e7.stopPropagation();
};
}
if(!_e5.preventDefault){
_e5.preventDefault=function(){
this.returnValue=false;
};
}
if(!_e5.stopPropagation){
_e5.stopPropagation=function(){
this.cancelBubble=true;
};
}
return _e5;
}};
jQuery.fn.extend({bind:function(_e8,_e9,fn){
return this.each(function(){
jQuery.event.add(this,_e8,fn||_e9,_e9);
});
},one:function(_eb,_ec,fn){
return this.each(function(){
jQuery.event.add(this,_eb,function(_ee){
jQuery(this).unbind(_ee);
return (fn||_ec).apply(this,arguments);
},_ec);
});
},unbind:function(_ef,fn){
return this.each(function(){
jQuery.event.remove(this,_ef,fn);
});
},trigger:function(_f1,_f2){
return this.each(function(){
jQuery.event.trigger(_f1,_f2,this);
});
},toggle:function(){
var a=arguments;
return this.click(function(e){
this.lastToggle=this.lastToggle==0?1:0;
e.preventDefault();
return a[this.lastToggle].apply(this,[e])||false;
});
},hover:function(f,g){
function handleHover(e){
var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;
while(p&&p!=this){
try{
p=p.parentNode;
}
catch(e){
p=this;
}
}
if(p==this){
return false;
}
return (e.type=="mouseover"?f:g).apply(this,[e]);
}
return this.mouseover(handleHover).mouseout(handleHover);
},ready:function(f){
if(jQuery.isReady){
f.apply(document,[jQuery]);
}else{
jQuery.readyList.push(function(){
return f.apply(this,[jQuery]);
});
}
return this;
}});
jQuery.extend({isReady:false,readyList:[],ready:function(){
if(!jQuery.isReady){
jQuery.isReady=true;
if(jQuery.readyList){
jQuery.each(jQuery.readyList,function(){
this.apply(document);
});
jQuery.readyList=null;
}
if(jQuery.browser.mozilla||jQuery.browser.opera){
document.removeEventListener("DOMContentLoaded",jQuery.ready,false);
}
}
}});
new function(){
jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,o){
jQuery.fn[o]=function(f){
return f?this.bind(o,f):this.trigger(o);
};
});
if(jQuery.browser.mozilla||jQuery.browser.opera){
document.addEventListener("DOMContentLoaded",jQuery.ready,false);
}else{
if(jQuery.browser.msie){
document.write("<scr"+"ipt id=__ie_init defer=true "+"src=//:></script>");
var _fd=document.getElementById("__ie_init");
if(_fd){
_fd.onreadystatechange=function(){
if(this.readyState!="complete"){
return;
}
this.parentNode.removeChild(this);
jQuery.ready();
};
}
_fd=null;
}else{
if(jQuery.browser.safari){
jQuery.safariTimer=setInterval(function(){
if(document.readyState=="loaded"||document.readyState=="complete"){
clearInterval(jQuery.safariTimer);
jQuery.safariTimer=null;
jQuery.ready();
}
},10);
}
}
}
jQuery.event.add(window,"load",jQuery.ready);
};
if(jQuery.browser.msie){
jQuery(window).one("unload",function(){
var _fe=jQuery.event.global;
for(var _ff in _fe){
var els=_fe[_ff],i=els.length;
if(i&&_ff!="unload"){
do{
jQuery.event.remove(els[i-1],_ff);
}while(--i);
}
}
});
}
jQuery.fn.extend({loadIfModified:function(url,_102,_103){
this.load(url,_102,_103,1);
},load:function(url,_105,_106,_107){
if(jQuery.isFunction(url)){
return this.bind("load",url);
}
_106=_106||function(){
};
var type="GET";
if(_105){
if(jQuery.isFunction(_105)){
_106=_105;
_105=null;
}else{
_105=jQuery.param(_105);
type="POST";
}
}
var self=this;
jQuery.ajax({url:url,type:type,data:_105,ifModified:_107,complete:function(res,_10b){
if(_10b=="success"||!_107&&_10b=="notmodified"){
self.attr("innerHTML",res.responseText).evalScripts().each(_106,[res.responseText,_10b,res]);
}else{
_106.apply(self,[res.responseText,_10b,res]);
}
}});
return this;
},serialize:function(){
return jQuery.param(this);
},evalScripts:function(){
return this.find("script").each(function(){
if(this.src){
jQuery.getScript(this.src);
}else{
jQuery.globalEval(this.text||this.textContent||this.innerHTML||"");
}
}).end();
}});
if(!window.XMLHttpRequest){
XMLHttpRequest=function(){
return new ActiveXObject("Microsoft.XMLHTTP");
};
}
jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){
jQuery.fn[o]=function(f){
return this.bind(o,f);
};
});
jQuery.extend({get:function(url,data,_111,type,_113){
if(jQuery.isFunction(data)){
_111=data;
data=null;
}
return jQuery.ajax({url:url,data:data,success:_111,dataType:type,ifModified:_113});
},getIfModified:function(url,data,_116,type){
return jQuery.get(url,data,_116,type,1);
},getScript:function(url,_119){
return jQuery.get(url,null,_119,"script");
},getJSON:function(url,data,_11c){
return jQuery.get(url,data,_11c,"json");
},post:function(url,data,_11f,type){
if(jQuery.isFunction(data)){
_11f=data;
data={};
}
return jQuery.ajax({type:"POST",url:url,data:data,success:_11f,dataType:type});
},ajaxTimeout:function(_121){
jQuery.ajaxSettings.timeout=_121;
},ajaxSetup:function(_122){
jQuery.extend(jQuery.ajaxSettings,_122);
},ajaxSettings:{global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null},lastModified:{},ajax:function(s){
s=jQuery.extend({},jQuery.ajaxSettings,s);
if(s.data){
if(s.processData&&typeof s.data!="string"){
s.data=jQuery.param(s.data);
}
if(s.type.toLowerCase()=="get"){
s.url+=((s.url.indexOf("?")>-1)?"&":"?")+s.data;
s.data=null;
}
}
if(s.global&&!jQuery.active++){
jQuery.event.trigger("ajaxStart");
}
var _124=false;
var xml=new XMLHttpRequest();
xml.open(s.type,s.url,s.async);
if(s.data){
xml.setRequestHeader("Content-Type",s.contentType);
}
if(s.ifModified){
xml.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");
}
xml.setRequestHeader("X-Requested-With","XMLHttpRequest");
if(xml.overrideMimeType){
xml.setRequestHeader("Connection","close");
}
if(s.beforeSend){
s.beforeSend(xml);
}
if(s.global){
jQuery.event.trigger("ajaxSend",[xml,s]);
}
var _126=function(_127){
if(xml&&(xml.readyState==4||_127=="timeout")){
_124=true;
if(ival){
clearInterval(ival);
ival=null;
}
var _128;
try{
_128=jQuery.httpSuccess(xml)&&_127!="timeout"?s.ifModified&&jQuery.httpNotModified(xml,s.url)?"notmodified":"success":"error";
if(_128!="error"){
var _129;
try{
_129=xml.getResponseHeader("Last-Modified");
}
catch(e){
}
if(s.ifModified&&_129){
jQuery.lastModified[s.url]=_129;
}
var data=jQuery.httpData(xml,s.dataType);
if(s.success){
s.success(data,_128);
}
if(s.global){
jQuery.event.trigger("ajaxSuccess",[xml,s]);
}
}else{
jQuery.handleError(s,xml,_128);
}
}
catch(e){
_128="error";
jQuery.handleError(s,xml,_128,e);
}
if(s.global){
jQuery.event.trigger("ajaxComplete",[xml,s]);
}
if(s.global&&!--jQuery.active){
jQuery.event.trigger("ajaxStop");
}
if(s.complete){
s.complete(xml,_128);
}
if(s.async){
xml=null;
}
}
};
var ival=setInterval(_126,13);
if(s.timeout>0){
setTimeout(function(){
if(xml){
xml.abort();
if(!_124){
_126("timeout");
}
}
},s.timeout);
}
try{
xml.send(s.data);
}
catch(e){
jQuery.handleError(s,xml,null,e);
}
if(!s.async){
_126();
}
return xml;
},handleError:function(s,xml,_12e,e){
if(s.error){
s.error(xml,_12e,e);
}
if(s.global){
jQuery.event.trigger("ajaxError",[xml,s,e]);
}
},active:0,httpSuccess:function(r){
try{
return !r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||jQuery.browser.safari&&r.status==undefined;
}
catch(e){
}
return false;
},httpNotModified:function(xml,url){
try{
var _133=xml.getResponseHeader("Last-Modified");
return xml.status==304||_133==jQuery.lastModified[url]||jQuery.browser.safari&&xml.status==undefined;
}
catch(e){
}
return false;
},httpData:function(r,type){
var ct=r.getResponseHeader("content-type");
var data=!type&&ct&&ct.indexOf("xml")>=0;
data=type=="xml"||data?r.responseXML:r.responseText;
if(type=="script"){
jQuery.globalEval(data);
}
if(type=="json"){
eval("data = "+data);
}
if(type=="html"){
jQuery("<div>").html(data).evalScripts();
}
return data;
},param:function(a){
var s=[];
if(a.constructor==Array||a.jquery){
jQuery.each(a,function(){
s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));
});
}else{
for(var j in a){
if(a[j]&&a[j].constructor==Array){
jQuery.each(a[j],function(){
s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));
});
}else{
s.push(encodeURIComponent(j)+"="+encodeURIComponent(a[j]));
}
}
}
return s.join("&");
},globalEval:function(data){
if(window.execScript){
window.execScript(data);
}else{
if(jQuery.browser.safari){
window.setTimeout(data,0);
}else{
eval.call(window,data);
}
}
}});
jQuery.fn.extend({show:function(_13c,_13d){
var _13e=this.filter(":hidden");
_13c?_13e.animate({height:"show",width:"show",opacity:"show"},_13c,_13d):_13e.each(function(){
this.style.display=this.oldblock?this.oldblock:"";
if(jQuery.css(this,"display")=="none"){
this.style.display="block";
}
});
return this;
},hide:function(_13f,_140){
var _141=this.filter(":visible");
_13f?_141.animate({height:"hide",width:"hide",opacity:"hide"},_13f,_140):_141.each(function(){
this.oldblock=this.oldblock||jQuery.css(this,"display");
if(this.oldblock=="none"){
this.oldblock="block";
}
this.style.display="none";
});
return this;
},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){
var args=arguments;
return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle(fn,fn2):this.each(function(){
jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"].apply(jQuery(this),args);
});
},slideDown:function(_145,_146){
return this.animate({height:"show"},_145,_146);
},slideUp:function(_147,_148){
return this.animate({height:"hide"},_147,_148);
},slideToggle:function(_149,_14a){
return this.each(function(){
var _14b=jQuery(this).is(":hidden")?"show":"hide";
jQuery(this).animate({height:_14b},_149,_14a);
});
},fadeIn:function(_14c,_14d){
return this.animate({opacity:"show"},_14c,_14d);
},fadeOut:function(_14e,_14f){
return this.animate({opacity:"hide"},_14e,_14f);
},fadeTo:function(_150,to,_152){
return this.animate({opacity:to},_150,_152);
},animate:function(prop,_154,_155,_156){
return this.queue(function(){
this.curAnim=jQuery.extend({},prop);
var opt=jQuery.speed(_154,_155,_156);
for(var p in prop){
var e=new jQuery.fx(this,opt,p);
if(prop[p].constructor==Number){
e.custom(e.cur(),prop[p]);
}else{
e[prop[p]](prop);
}
}
});
},queue:function(type,fn){
if(!fn){
fn=type;
type="fx";
}
return this.each(function(){
if(!this.queue){
this.queue={};
}
if(!this.queue[type]){
this.queue[type]=[];
}
this.queue[type].push(fn);
if(this.queue[type].length==1){
fn.apply(this);
}
});
}});
jQuery.extend({speed:function(_15c,_15d,fn){
var opt=_15c&&_15c.constructor==Object?_15c:{complete:fn||!fn&&_15d||jQuery.isFunction(_15c)&&_15c,duration:_15c,easing:fn&&_15d||_15d&&_15d.constructor!=Function&&_15d};
opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:{slow:600,fast:200}[opt.duration])||400;
opt.old=opt.complete;
opt.complete=function(){
jQuery.dequeue(this,"fx");
if(jQuery.isFunction(opt.old)){
opt.old.apply(this);
}
};
return opt;
},easing:{},queue:{},dequeue:function(elem,type){
type=type||"fx";
if(elem.queue&&elem.queue[type]){
elem.queue[type].shift();
var f=elem.queue[type][0];
if(f){
f.apply(elem);
}
}
},fx:function(elem,_164,prop){
var z=this;
var y=elem.style;
var _168=jQuery.css(elem,"display");
y.overflow="hidden";
z.a=function(){
if(_164.step){
_164.step.apply(elem,[z.now]);
}
if(prop=="opacity"){
jQuery.attr(y,"opacity",z.now);
}else{
if(parseInt(z.now)){
y[prop]=parseInt(z.now)+"px";
}
}
y.display="block";
};
z.max=function(){
return parseFloat(jQuery.css(elem,prop));
};
z.cur=function(){
var r=parseFloat(jQuery.curCSS(elem,prop));
return r&&r>-10000?r:z.max();
};
z.custom=function(from,to){
z.startTime=(new Date()).getTime();
z.now=from;
z.a();
z.timer=setInterval(function(){
z.step(from,to);
},13);
};
z.show=function(){
if(!elem.orig){
elem.orig={};
}
elem.orig[prop]=this.cur();
_164.show=true;
z.custom(0,elem.orig[prop]);
if(prop!="opacity"){
y[prop]="1px";
}
};
z.hide=function(){
if(!elem.orig){
elem.orig={};
}
elem.orig[prop]=this.cur();
_164.hide=true;
z.custom(elem.orig[prop],0);
};
z.toggle=function(){
if(!elem.orig){
elem.orig={};
}
elem.orig[prop]=this.cur();
if(_168=="none"){
_164.show=true;
if(prop!="opacity"){
y[prop]="1px";
}
z.custom(0,elem.orig[prop]);
}else{
_164.hide=true;
z.custom(elem.orig[prop],0);
}
};
z.step=function(_16c,_16d){
var t=(new Date()).getTime();
if(t>_164.duration+z.startTime){
clearInterval(z.timer);
z.timer=null;
z.now=_16d;
z.a();
if(elem.curAnim){
elem.curAnim[prop]=true;
}
var done=true;
for(var i in elem.curAnim){
if(elem.curAnim[i]!==true){
done=false;
}
}
if(done){
y.overflow="";
y.display=_168;
if(jQuery.css(elem,"display")=="none"){
y.display="block";
}
if(_164.hide){
y.display="none";
}
if(_164.hide||_164.show){
for(var p in elem.curAnim){
if(p=="opacity"){
jQuery.attr(y,p,elem.orig[p]);
}else{
y[p]="";
}
}
}
}
if(done&&jQuery.isFunction(_164.complete)){
_164.complete.apply(elem);
}
}else{
var n=t-this.startTime;
var p=n/_164.duration;
z.now=_164.easing&&jQuery.easing[_164.easing]?jQuery.easing[_164.easing](p,n,_16c,(_16d-_16c),_164.duration):((-Math.cos(p*Math.PI)/2)+0.5)*(_16d-_16c)+_16c;
z.a();
}
};
}});
}
var hasFlash=function(){
var _174=6;
if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){
document.write("<script language=\"VBScript\"> \non error resume next \nhasFlash = (IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" & "+_174+"))) \n</script> \n");
if(window.hasFlash!=null){
return window.hasFlash;
}
}
if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
var _175=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;
return parseInt(_175.charAt(_175.indexOf(".")-1))>=_174;
}
return false;
}();
String.prototype.normalize=function(){
return this.replace(/\s+/g," ");
};
if(Array.prototype.push==null){
Array.prototype.push=function(){
var i=0,index=this.length,limit=arguments.length;
while(i<limit){
this[index++]=arguments[i++];
}
return this.length;
};
}
if(!Function.prototype.apply){
Function.prototype.apply=function(_177,args){
var sarg=[];
var rtrn,call;
if(!_177){
_177=window;
}
if(!args){
args=[];
}
for(var i=0;i<args.length;i++){
sarg[i]="args["+i+"]";
}
call="oScope.__applyTemp__("+sarg.join(",")+");";
_177.__applyTemp__=this;
rtrn=eval(call);
_177.__applyTemp__=null;
return rtrn;
};
}
var parseSelector=function(){
var _17c=/^([^#.>`]*)(#|\.|\>|\`)(.+)$/;
function parseSelector(_17d,_17e){
var _17f=_17d.split(/\s*\,\s*/);
var _180=[];
for(var i=0;i<_17f.length;i++){
_180=_180.concat(doParse(_17f[i],_17e));
}
return _180;
}
function doParse(_182,_183,_184){
_182=_182.replace(" ","`");
var _185=_182.match(_17c);
var node,listNodes,listSubNodes,subselector,i,limit;
var _187=[];
if(_185==null){
_185=[_182,_182];
}
if(_185[1]==""){
_185[1]="*";
}
if(_184==null){
_184="`";
}
if(_183==null){
_183=document;
}
switch(_185[2]){
case "#":
subselector=_185[3].match(_17c);
if(subselector==null){
subselector=[null,_185[3]];
}
node=document.getElementById(subselector[1]);
if(node==null||(_185[1]!="*"&&!matchNodeNames(node,_185[1]))){
return _187;
}
if(subselector.length==2){
_187.push(node);
return _187;
}
return doParse(subselector[3],node,subselector[2]);
case ".":
if(_184!=">"){
listNodes=getElementsByTagName(_183,_185[1]);
}else{
listNodes=_183.childNodes;
}
for(i=0,limit=listNodes.length;i<limit;i++){
node=listNodes[i];
if(node.nodeType!=1){
continue;
}
subselector=_185[3].match(_17c);
if(subselector!=null){
if(node.className==null||node.className.match("(\\s|^)"+subselector[1]+"(\\s|$)")==null){
continue;
}
listSubNodes=doParse(subselector[3],node,subselector[2]);
_187=_187.concat(listSubNodes);
}else{
if(node.className!=null&&node.className.match("(\\s|^)"+_185[3]+"(\\s|$)")!=null){
_187.push(node);
}
}
}
return _187;
case ">":
if(_184!=">"){
listNodes=getElementsByTagName(_183,_185[1]);
}else{
listNodes=_183.childNodes;
}
for(i=0,limit=listNodes.length;i<limit;i++){
node=listNodes[i];
if(node.nodeType!=1){
continue;
}
if(!matchNodeNames(node,_185[1])){
continue;
}
listSubNodes=doParse(_185[3],node,">");
_187=_187.concat(listSubNodes);
}
return _187;
case "`":
listNodes=getElementsByTagName(_183,_185[1]);
for(i=0,limit=listNodes.length;i<limit;i++){
node=listNodes[i];
listSubNodes=doParse(_185[3],node,"`");
_187=_187.concat(listSubNodes);
}
return _187;
default:
if(_184!=">"){
listNodes=getElementsByTagName(_183,_185[1]);
}else{
listNodes=_183.childNodes;
}
for(i=0,limit=listNodes.length;i<limit;i++){
node=listNodes[i];
if(node.nodeType!=1){
continue;
}
if(!matchNodeNames(node,_185[1])){
continue;
}
_187.push(node);
}
return _187;
}
}
function getElementsByTagName(_188,_189){
if(_189=="*"&&_188.all!=null){
return _188.all;
}
return _188.getElementsByTagName(_189);
}
function matchNodeNames(node,_18b){
if(_18b=="*"){
return true;
}
return node.nodeName.toLowerCase().replace("html:","")==_18b.toLowerCase();
}
return parseSelector;
}();
function named(_18c){
return new named.Arguments(_18c);
}
named.Arguments=function(_18d){
this.oArgs=_18d;
};
named.Arguments.prototype.constructor=named.Arguments;
named.extract=function(_18e,_18f){
var _190,passedArg;
var i=_18e.length;
while(i--){
passedArg=_18e[i];
if(passedArg!=null&&passedArg.constructor!=null&&passedArg.constructor==named.Arguments){
_190=_18e[i].oArgs;
break;
}
}
if(_190==null){
return;
}
for(sName in _190){
if(_18f[sName]!=null){
_18f[sName](_190[sName]);
}
}
return;
};
var sIFR=function(){
var _192="http://www.w3.org/1999/xhtml";
var _193=false;
var _194=false;
var _195=false;
var _196;
var _197=[];
var UA=function(){
var sUA=navigator.userAgent.toLowerCase();
var _19a={bIsWebKit:sUA.indexOf("applewebkit")>-1,bIsSafari:sUA.indexOf("safari")>-1,bIsKonq:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,bIsOpera:sUA.indexOf("opera")>-1,bIsXML:document.contentType!=null&&document.contentType.indexOf("xml")>-1,bHasTransparencySupport:true,bUseDOM:true,nFlashVersion:null,nOperaVersion:null,nGeckoBuildDate:null,nWebKitVersion:null};
_19a.bIsKHTML=_19a.bIsWebKit||_19a.bIsKonq;
_19a.bIsGecko=!_19a.bIsWebKit&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";
if(_19a.bIsGecko&&sUA.match(/.*gecko\/(\d{8}).*/)){
_19a.nGeckoBuildDate=new Number(sUA.match(/.*gecko\/(\d{8}).*/)[1]);
}
if(_19a.bIsOpera&&sUA.match(/.*opera(\s|\/)(\d+\.\d+)/)){
_19a.nOperaVersion=new Number(sUA.match(/.*opera(\s|\/)(\d+\.\d+)/)[2]);
}
_19a.bIsIE=sUA.indexOf("msie")>-1&&!_19a.bIsOpera&&!_19a.bIsKHTML&&!_19a.bIsGecko;
_19a.bIsIEMac=_19a.bIsIE&&sUA.match(/.*mac.*/)!=null;
if(_19a.bIsIE||(_19a.bIsOpera&&_19a.nOperaVersion<7.6)){
_19a.bUseDOM=false;
}
if(_19a.bIsWebKit&&sUA.match(/.*applewebkit\/(\d+).*/)){
_19a.nWebKitVersion=new Number(sUA.match(/.*applewebkit\/(\d+).*/)[1]);
}
if(window.hasFlash&&(!_19a.bIsIE||_19a.bIsIEMac)){
var _19b=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;
_19a.nFlashVersion=parseInt(_19b.charAt(_19b.indexOf(".")-1));
}
if(sUA.match(/.*(windows|mac).*/)==null||_19a.bIsIEMac||_19a.bIsKonq||(_19a.bIsOpera&&_19a.nOperaVersion<7.6)||(_19a.bIsSafari&&_19a.nFlashVersion<7)||(!_19a.bIsSafari&&_19a.bIsWebKit&&_19a.nWebKitVersion<312)||(_19a.bIsGecko&&_19a.nGeckoBuildDate<20020523)){
_19a.bHasTransparencySupport=false;
}
if(!_19a.bIsIEMac&&!_19a.bIsGecko&&document.createElementNS){
try{
document.createElementNS(_192,"i").innerHTML="";
}
catch(e){
_19a.bIsXML=true;
}
}
_19a.bUseInnerHTMLHack=_19a.bIsKonq||(_19a.bIsWebKit&&_19a.nWebKitVersion<312);
return _19a;
}();
if(window.hasFlash==false||!document.createElement||!document.getElementById||(UA.bIsXML&&(UA.bUseInnerHTMLHack||UA.bIsIE))){
return {UA:UA};
}
function sIFR(e){
if((!self.bAutoInit&&(window.event||e)!=null)||!mayReplace(e)){
return;
}
_193=true;
for(var i=0,limit=_197.length;i<limit;i++){
replaceElement.apply(null,_197[i]);
}
_197=[];
}
var self=sIFR;
function mayReplace(e){
if(_194==false||self.bIsDisabled==true||((UA.bIsXML&&UA.bIsGecko||UA.bIsKHTML)&&e==null&&_193==false)||(document.body==null||document.getElementsByTagName("body").length==0)){
return false;
}
return true;
}
function escapeHex(sHex){
if(UA.bIsIE){
return sHex.replace(new RegExp("%d{0}","g"),"%25");
}
return sHex.replace(new RegExp("%(?!d)","g"),"%25");
}
function matchNodeNames(node,_1a2){
if(_1a2=="*"){
return true;
}
return node.nodeName.toLowerCase().replace("html:","")==_1a2.toLowerCase();
}
function fetchContent(node,_1a4,_1a5,_1a6,_1a7){
var _1a8="";
var _1a9=node.firstChild;
var _1aa,nodeRemoved,oResult,sValue;
if(_1a6==null){
_1a6=0;
}
if(_1a7==null){
_1a7="";
}
while(_1a9){
if(_1a9.nodeType==3){
sValue=_1a9.nodeValue.replace("<","&lt;");
switch(_1a5){
case "lower":
_1a8+=sValue.toLowerCase();
break;
case "upper":
_1a8+=sValue.toUpperCase();
break;
default:
_1a8+=sValue;
}
}else{
if(_1a9.nodeType==1){
if(matchNodeNames(_1a9,"a")&&!_1a9.getAttribute("href")==false){
if(_1a9.getAttribute("target")){
_1a7+="&sifr_url_"+_1a6+"_target="+_1a9.getAttribute("target");
}
_1a7+="&sifr_url_"+_1a6+"="+escapeHex(_1a9.getAttribute("href")).replace(/&/g,"%26");
_1a8+="<a href=\"asfunction:_root.launchURL,"+_1a6+"\">";
_1a6++;
}else{
if(matchNodeNames(_1a9,"br")){
_1a8+="<br/>";
}
}
if(_1a9.hasChildNodes()){
oResult=fetchContent(_1a9,null,_1a5,_1a6,_1a7);
_1a8+=oResult.sContent;
_1a6=oResult.nLinkCount;
_1a7=oResult.sLinkVars;
}
if(matchNodeNames(_1a9,"a")){
_1a8+="</a>";
}
}
}
_1aa=_1a9;
_1a9=_1a9.nextSibling;
if(_1a4!=null){
nodeRemoved=_1aa.parentNode.removeChild(_1aa);
_1a4.appendChild(nodeRemoved);
}
}
return {"sContent":_1a8,"nLinkCount":_1a6,"sLinkVars":_1a7};
}
function createElement(_1ab){
if(document.createElementNS&&UA.bUseDOM){
return document.createElementNS(_192,_1ab);
}else{
return document.createElement(_1ab);
}
}
function createObjectParameter(_1ac,_1ad,_1ae){
var node=createElement("param");
node.setAttribute("name",_1ad);
node.setAttribute("value",_1ae);
_1ac.appendChild(node);
}
function appendToClassName(node,_1b1){
var _1b2=node.className;
if(_1b2==null){
_1b2=_1b1;
}else{
_1b2=_1b2.normalize()+(_1b2==""?"":" ")+_1b1;
}
node.className=_1b2;
}
function prepare(bNow){
var node=document.documentElement;
if(self.bHideBrowserText==false){
node=document.getElementsByTagName("body")[0];
}
if((self.bHideBrowserText==false||bNow)&&node){
if(node.className==null||node.className.match(/\bsIFR\-hasFlash\b/)==null){
appendToClassName(node,"sIFR-hasFlash");
}
}
}
function replaceElement(_1b5,_1b6,_1b7,_1b8,_1b9,_1ba,_1bb,_1bc,_1bd,_1be,_1bf,_1c0,_1c1){
if(!mayReplace()){
return _197.push(arguments);
}
prepare();
named.extract(arguments,{sSelector:function(_1c2){
_1b5=_1c2;
},sFlashSrc:function(_1c3){
_1b6=_1c3;
},sColor:function(_1c4){
_1b7=_1c4;
},sLinkColor:function(_1c5){
_1b8=_1c5;
},sHoverColor:function(_1c6){
_1b9=_1c6;
},sBgColor:function(_1c7){
_1ba=_1c7;
},nPaddingTop:function(_1c8){
_1bb=_1c8;
},nPaddingRight:function(_1c9){
_1bc=_1c9;
},nPaddingBottom:function(_1ca){
_1bd=_1ca;
},nPaddingLeft:function(_1cb){
_1be=_1cb;
},sFlashVars:function(_1cc){
_1bf=_1cc;
},sCase:function(_1cd){
_1c0=_1cd;
},sWmode:function(_1ce){
_1c1=_1ce;
}});
var _1cf=parseSelector(_1b5);
if(_1cf.length==0){
return false;
}
if(_1bf!=null){
_1bf="&"+_1bf.normalize();
}else{
_1bf="";
}
if(_1b7!=null){
_1bf+="&textcolor="+_1b7;
}
if(_1b9!=null){
_1bf+="&hovercolor="+_1b9;
}
if(_1b9!=null||_1b8!=null){
_1bf+="&linkcolor="+(_1b8||_1b7);
}
if(_1bb==null){
_1bb=0;
}
if(_1bc==null){
_1bc=0;
}
if(_1bd==null){
_1bd=0;
}
if(_1be==null){
_1be=0;
}
if(_1ba==null){
_1ba="#FFFFFF";
}
if(_1c1=="transparent"){
if(!UA.bHasTransparencySupport){
_1c1="opaque";
}else{
_1ba="transparent";
}
}
if(_1c1==null){
_1c1="";
}
var node,sWidth,sHeight,sMargin,sPadding,sVars,nodeAlternate,nodeFlash,oContent;
var _1d1=null;
for(var i=0,limit=_1cf.length;i<limit;i++){
node=_1cf[i];
if(node.className!=null&&node.className.match(/\bsIFR\-replaced\b/)!=null){
continue;
}
sWidth=node.offsetWidth-_1be-_1bc;
sHeight=node.offsetHeight-_1bb-_1bd;
if(isNaN(sWidth)||isNaN(sHeight)){
self.bIsDisabled=true;
document.documentElement.className=document.documentElement.className.replace(/\bsIFR\-hasFlash\b/,"");
return;
}
nodeAlternate=createElement("span");
nodeAlternate.className="sIFR-alternate";
oContent=fetchContent(node,nodeAlternate,_1c0);
sVars="txt="+escapeHex(oContent.sContent).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+_1bf+"&w="+sWidth+"&h="+sHeight+oContent.sLinkVars;
appendToClassName(node,"sIFR-replaced");
if(_1d1==null||!UA.bUseDOM){
if(!UA.bUseDOM){
if(!UA.bIsIE){
node.innerHTML=["<embed class=\"sIFR-flash\" type=\"application/x-shockwave-flash\" src=\"",_1b6,"\" quality=\"best\" wmode=\"",_1c1,"\" bgcolor=\"",_1ba,"\" flashvars=\"",sVars,"\" width=\"",sWidth,"\" height=\"",sHeight,"\" sifr=\"true\"></embed>"].join("");
}else{
node.innerHTML=["<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" sifr=\"true\" width=\"",sWidth,"\" height=\"",sHeight,"\" class=\"sIFR-flash\">","<param name=\"movie\" value=\"",_1b6,"?",sVars,"\"></param>","<param name=\"quality\" value=\"best\"></param>","<param name=\"wmode\" value=\"",_1c1,"\"></param>","<param name=\"bgcolor\" value=\"",_1ba,"\"></param>","</object>"].join("");
}
}else{
if(UA.bIsOpera){
nodeFlash=createElement("object");
nodeFlash.setAttribute("data",_1b6);
createObjectParameter(nodeFlash,"quality","best");
createObjectParameter(nodeFlash,"wmode",_1c1);
createObjectParameter(nodeFlash,"bgcolor",_1ba);
}else{
nodeFlash=createElement("embed");
nodeFlash.setAttribute("src",_1b6);
nodeFlash.setAttribute("quality","best");
nodeFlash.setAttribute("flashvars",sVars);
nodeFlash.setAttribute("wmode",_1c1);
nodeFlash.setAttribute("bgcolor",_1ba);
nodeFlash.setAttribute("pluginspace","http://www.macromedia.com/go/getflashplayer");
nodeFlash.setAttribute("scale","noscale");
}
nodeFlash.setAttribute("sifr","true");
nodeFlash.setAttribute("type","application/x-shockwave-flash");
nodeFlash.className="sIFR-flash";
if(!UA.bIsKHTML||!UA.bIsXML){
_1d1=nodeFlash.cloneNode(true);
}
}
}else{
nodeFlash=_1d1.cloneNode(true);
}
if(UA.bUseDOM){
if(UA.bIsOpera){
createObjectParameter(nodeFlash,"flashvars",sVars);
}else{
nodeFlash.setAttribute("flashvars",sVars);
}
nodeFlash.setAttribute("width",sWidth);
nodeFlash.setAttribute("height",sHeight);
nodeFlash.style.width=sWidth+"px";
nodeFlash.style.height=sHeight+"px";
node.appendChild(nodeFlash);
}
node.appendChild(nodeAlternate);
if(UA.bUseInnerHTMLHack){
node.innerHTML+="";
}
}
if(UA.bIsIE&&self.bFixFragIdBug){
setTimeout(function(){
document.title=_196;
},0);
}
}
function updateDocumentTitle(){
_196=document.title;
}
function setup(){
if(self.bIsDisabled==true){
return;
}
_194=true;
if(self.bHideBrowserText){
prepare(true);
}
if(window.attachEvent){
window.attachEvent("onload",sIFR);
}else{
if(!UA.bIsKonq&&(document.addEventListener||window.addEventListener)){
if(document.addEventListener){
document.addEventListener("load",sIFR,false);
}
if(window.addEventListener){
window.addEventListener("load",sIFR,false);
}
}else{
if(typeof window.onload=="function"){
var fOld=window.onload;
window.onload=function(){
fOld();
sIFR();
};
}else{
window.onload=sIFR;
}
}
}
if(!UA.bIsIE||window.location.hash==""){
self.bFixFragIdBug=false;
}else{
updateDocumentTitle();
}
}
function debug(){
prepare(true);
}
debug.replaceNow=function(){
setup();
sIFR();
};
self.UA=UA;
self.bAutoInit=true;
self.bFixFragIdBug=true;
self.replaceElement=replaceElement;
self.updateDocumentTitle=updateDocumentTitle;
self.appendToClassName=appendToClassName;
self.setup=setup;
self.debug=debug;
self.bIsDisabled=false;
self.bHideBrowserText=true;
return self;
}();
if(typeof sIFR=="function"&&!sIFR.UA.bIsIEMac){
sIFR.setup();
}
var Spry;
if(!Spry){
Spry={};
}
if(!Spry.Widget){
Spry.Widget={};
}
Spry.Widget.TabbedPanels=function(_1d4,opts){
this.element=this.getElement(_1d4);
this.defaultTab=0;
this.bindings=[];
this.tabSelectedClass="TabbedPanelsTabSelected";
this.tabHoverClass="TabbedPanelsTabHover";
this.tabFocusedClass="TabbedPanelsTabFocused";
this.panelVisibleClass="TabbedPanelsContentVisible";
this.focusElement=null;
this.hasFocus=false;
this.currentTabIndex=0;
this.enableKeyboardNavigation=true;
Spry.Widget.TabbedPanels.setOptions(this,opts);
if(typeof (this.defaultTab)=="number"){
if(this.defaultTab<0){
this.defaultTab=0;
}else{
var _1d6=this.getTabbedPanelCount();
if(this.defaultTab>=_1d6){
this.defaultTab=(_1d6>1)?(_1d6-1):0;
}
}
this.defaultTab=this.getTabs()[this.defaultTab];
}
if(this.defaultTab){
this.defaultTab=this.getElement(this.defaultTab);
}
this.attachBehaviors();
};
Spry.Widget.TabbedPanels.prototype.getElement=function(ele){
if(ele&&typeof ele=="string"){
return document.getElementById(ele);
}
return ele;
};
Spry.Widget.TabbedPanels.prototype.getElementChildren=function(_1d8){
var _1d9=[];
var _1da=_1d8.firstChild;
while(_1da){
if(_1da.nodeType==1){
_1d9.push(_1da);
}
_1da=_1da.nextSibling;
}
return _1d9;
};
Spry.Widget.TabbedPanels.prototype.addClassName=function(ele,_1dc){
if(!ele||!_1dc||(ele.className&&ele.className.search(new RegExp("\\b"+_1dc+"\\b"))!=-1)){
return;
}
ele.className+=(ele.className?" ":"")+_1dc;
};
Spry.Widget.TabbedPanels.prototype.removeClassName=function(ele,_1de){
if(!ele||!_1de||(ele.className&&ele.className.search(new RegExp("\\b"+_1de+"\\b"))==-1)){
return;
}
ele.className=ele.className.replace(new RegExp("\\s*\\b"+_1de+"\\b","g"),"");
};
Spry.Widget.TabbedPanels.setOptions=function(obj,_1e0,_1e1){
if(!_1e0){
return;
}
for(var _1e2 in _1e0){
if(_1e1&&_1e0[_1e2]==undefined){
continue;
}
obj[_1e2]=_1e0[_1e2];
}
};
Spry.Widget.TabbedPanels.prototype.getTabGroup=function(){
if(this.element){
var _1e3=this.getElementChildren(this.element);
if(_1e3.length){
return _1e3[0];
}
}
return null;
};
Spry.Widget.TabbedPanels.prototype.getTabs=function(){
var tabs=[];
var tg=this.getTabGroup();
if(tg){
tabs=this.getElementChildren(tg);
}
return tabs;
};
Spry.Widget.TabbedPanels.prototype.getContentPanelGroup=function(){
if(this.element){
var _1e6=this.getElementChildren(this.element);
if(_1e6.length>1){
return _1e6[1];
}
}
return null;
};
Spry.Widget.TabbedPanels.prototype.getContentPanels=function(){
var _1e7=[];
var pg=this.getContentPanelGroup();
if(pg){
_1e7=this.getElementChildren(pg);
}
return _1e7;
};
Spry.Widget.TabbedPanels.prototype.getIndex=function(ele,arr){
ele=this.getElement(ele);
if(ele&&arr&&arr.length){
for(var i=0;i<arr.length;i++){
if(ele==arr[i]){
return i;
}
}
}
return -1;
};
Spry.Widget.TabbedPanels.prototype.getTabIndex=function(ele){
var i=this.getIndex(ele,this.getTabs());
if(i<0){
i=this.getIndex(ele,this.getContentPanels());
}
return i;
};
Spry.Widget.TabbedPanels.prototype.getCurrentTabIndex=function(){
return this.currentTabIndex;
};
Spry.Widget.TabbedPanels.prototype.getTabbedPanelCount=function(ele){
return Math.min(this.getTabs().length,this.getContentPanels().length);
};
Spry.Widget.TabbedPanels.addEventListener=function(_1ef,_1f0,_1f1,_1f2){
try{
if(_1ef.addEventListener){
_1ef.addEventListener(_1f0,_1f1,_1f2);
}else{
if(_1ef.attachEvent){
_1ef.attachEvent("on"+_1f0,_1f1);
}
}
}
catch(e){
}
};
Spry.Widget.TabbedPanels.prototype.onTabClick=function(e,tab){
this.showPanel(tab);
};
Spry.Widget.TabbedPanels.prototype.onTabMouseOver=function(e,tab){
this.addClassName(tab,this.tabHoverClass);
};
Spry.Widget.TabbedPanels.prototype.onTabMouseOut=function(e,tab){
this.removeClassName(tab,this.tabHoverClass);
};
Spry.Widget.TabbedPanels.prototype.onTabFocus=function(e,tab){
this.hasFocus=true;
this.addClassName(this.element,this.tabFocusedClass);
};
Spry.Widget.TabbedPanels.prototype.onTabBlur=function(e,tab){
this.hasFocus=false;
this.removeClassName(this.element,this.tabFocusedClass);
};
Spry.Widget.TabbedPanels.ENTER_KEY=13;
Spry.Widget.TabbedPanels.SPACE_KEY=32;
Spry.Widget.TabbedPanels.prototype.onTabKeyDown=function(e,tab){
var key=e.keyCode;
if(!this.hasFocus||(key!=Spry.Widget.TabbedPanels.ENTER_KEY&&key!=Spry.Widget.TabbedPanels.SPACE_KEY)){
return true;
}
this.showPanel(tab);
if(e.stopPropagation){
e.stopPropagation();
}
if(e.preventDefault){
e.preventDefault();
}
return false;
};
Spry.Widget.TabbedPanels.prototype.preorderTraversal=function(root,func){
var _202=false;
if(root){
_202=func(root);
if(root.hasChildNodes()){
var _203=root.firstChild;
while(!_202&&_203){
_202=this.preorderTraversal(_203,func);
try{
_203=_203.nextSibling;
}
catch(e){
_203=null;
}
}
}
}
return _202;
};
Spry.Widget.TabbedPanels.prototype.addPanelEventListeners=function(tab,_205){
var self=this;
Spry.Widget.TabbedPanels.addEventListener(tab,"click",function(e){
return self.onTabClick(e,tab);
},false);
Spry.Widget.TabbedPanels.addEventListener(tab,"mouseover",function(e){
return self.onTabMouseOver(e,tab);
},false);
Spry.Widget.TabbedPanels.addEventListener(tab,"mouseout",function(e){
return self.onTabMouseOut(e,tab);
},false);
if(this.enableKeyboardNavigation){
var _20a=null;
var _20b=null;
this.preorderTraversal(tab,function(node){
if(node.nodeType==1){
var _20d=tab.attributes.getNamedItem("tabindex");
if(_20d){
_20a=node;
return true;
}
if(!_20b&&node.nodeName.toLowerCase()=="a"){
_20b=node;
}
}
return false;
});
if(_20a){
this.focusElement=_20a;
}else{
if(_20b){
this.focusElement=_20b;
}
}
if(this.focusElement){
Spry.Widget.TabbedPanels.addEventListener(this.focusElement,"focus",function(e){
return self.onTabFocus(e,tab);
},false);
Spry.Widget.TabbedPanels.addEventListener(this.focusElement,"blur",function(e){
return self.onTabBlur(e,tab);
},false);
Spry.Widget.TabbedPanels.addEventListener(this.focusElement,"keydown",function(e){
return self.onTabKeyDown(e,tab);
},false);
}
}
};
Spry.Widget.TabbedPanels.prototype.showPanel=function(_211){
var _212=-1;
if(typeof _211=="number"){
_212=_211;
}else{
_212=this.getTabIndex(_211);
}
if(!_212<0||_212>=this.getTabbedPanelCount()){
return;
}
var tabs=this.getTabs();
var _214=this.getContentPanels();
var _215=Math.max(tabs.length,_214.length);
for(var i=0;i<_215;i++){
if(i!=_212){
if(tabs[i]){
this.removeClassName(tabs[i],this.tabSelectedClass);
}
if(_214[i]){
this.removeClassName(_214[i],this.panelVisibleClass);
_214[i].style.display="none";
}
}
}
this.addClassName(tabs[_212],this.tabSelectedClass);
this.addClassName(_214[_212],this.panelVisibleClass);
_214[_212].style.display="block";
this.currentTabIndex=_212;
};
Spry.Widget.TabbedPanels.prototype.attachBehaviors=function(_217){
var tabs=this.getTabs();
var _219=this.getContentPanels();
var _21a=this.getTabbedPanelCount();
for(var i=0;i<_21a;i++){
this.addPanelEventListeners(tabs[i],_219[i]);
}
this.showPanel(this.defaultTab);
};
if(typeof deconcept=="undefined"){
var deconcept=new Object();
}
if(typeof deconcept.util=="undefined"){
deconcept.util=new Object();
}
if(typeof deconcept.SWFObjectUtil=="undefined"){
deconcept.SWFObjectUtil=new Object();
}
deconcept.SWFObject=function(swf,id,w,h,ver,c,_222,_223,_224,_225){
if(!document.getElementById){
return;
}
this.DETECT_KEY=_225?_225:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(swf){
this.setAttribute("swf",swf);
}
if(id){
this.setAttribute("id",id);
}
if(w){
this.setAttribute("width",w);
}
if(h){
this.setAttribute("height",h);
}
if(ver){
this.setAttribute("version",new deconcept.PlayerVersion(ver.toString().split(".")));
}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(!window.opera&&document.all&&this.installedVer.major>7){
deconcept.SWFObject.doPrepUnload=true;
}
if(c){
this.addParam("bgcolor",c);
}
var q=_222?_222:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",false);
this.setAttribute("doExpressInstall",false);
var xir=(_223)?_223:window.location;
this.setAttribute("xiRedirectUrl",xir);
this.setAttribute("redirectUrl","");
if(_224){
this.setAttribute("redirectUrl",_224);
}
};
deconcept.SWFObject.prototype={useExpressInstall:function(path){
this.xiSWFPath=!path?"expressinstall.swf":path;
this.setAttribute("useExpressInstall",true);
},setAttribute:function(name,_22a){
this.attributes[name]=_22a;
},getAttribute:function(name){
return this.attributes[name];
},addParam:function(name,_22d){
this.params[name]=_22d;
},getParams:function(){
return this.params;
},addVariable:function(name,_22f){
this.variables[name]=_22f;
},getVariable:function(name){
return this.variables[name];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _231=new Array();
var key;
var _233=this.getVariables();
for(key in _233){
_231[_231.length]=key+"="+_233[key];
}
return _231;
},getSWFHTML:function(){
var _234="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");
this.setAttribute("swf",this.xiSWFPath);
}
_234="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";
_234+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _235=this.getParams();
for(var key in _235){
_234+=[key]+"=\""+_235[key]+"\" ";
}
var _237=this.getVariablePairs().join("&");
if(_237.length>0){
_234+="flashvars=\""+_237+"\"";
}
_234+="/>";
}else{
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","ActiveX");
this.setAttribute("swf",this.xiSWFPath);
}
_234="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";
_234+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _238=this.getParams();
for(var key in _238){
_234+="<param name=\""+key+"\" value=\""+_238[key]+"\" />";
}
var _23a=this.getVariablePairs().join("&");
if(_23a.length>0){
_234+="<param name=\"flashvars\" value=\""+_23a+"\" />";
}
_234+="</object>";
}
return _234;
},write:function(_23b){
if(this.getAttribute("useExpressInstall")){
var _23c=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_23c)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);
}
}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _23b=="string")?document.getElementById(_23b):_23b;
n.innerHTML=this.getSWFHTML();
return true;
}else{
if(this.getAttribute("redirectUrl")!=""){
document.location.replace(this.getAttribute("redirectUrl"));
}
}
return false;
}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){
var _23e=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){
_23e=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));
}
}else{
if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){
var axo=1;
var _241=3;
while(axo){
try{
_241++;
axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_241);
_23e=new deconcept.PlayerVersion([_241,0,0]);
}
catch(e){
axo=null;
}
}
}else{
try{
var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
}
catch(e){
try{
var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
_23e=new deconcept.PlayerVersion([6,0,21]);
axo.AllowScriptAccess="always";
}
catch(e){
if(_23e.major==6){
return _23e;
}
}
try{
axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
}
catch(e){
}
}
if(axo!=null){
_23e=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
}
}
}
return _23e;
};
deconcept.PlayerVersion=function(_244){
this.major=_244[0]!=null?parseInt(_244[0]):0;
this.minor=_244[1]!=null?parseInt(_244[1]):0;
this.rev=_244[2]!=null?parseInt(_244[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){
return false;
}
if(this.major>fv.major){
return true;
}
if(this.minor<fv.minor){
return false;
}
if(this.minor>fv.minor){
return true;
}
if(this.rev<fv.rev){
return false;
}
return true;
};
deconcept.util={getRequestParameter:function(_246){
var q=document.location.search||document.location.hash;
if(_246==null){
return q;
}
if(q){
var _248=q.substring(1).split("&");
for(var i=0;i<_248.length;i++){
if(_248[i].substring(0,_248[i].indexOf("="))==_246){
return _248[i].substring((_248[i].indexOf("=")+1));
}
}
}
return "";
}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){
var _24a=document.getElementsByTagName("OBJECT");
for(var i=_24a.length-1;i>=0;i--){
_24a[i].style.display="none";
for(var x in _24a[i]){
if(typeof _24a[i][x]=="function"){
_24a[i][x]=function(){
};
}
}
}
};
if(deconcept.SWFObject.doPrepUnload){
if(!deconcept.unloadSet){
deconcept.SWFObjectUtil.prepUnload=function(){
__flash_unloadHandler=function(){
};
__flash_savedUnloadHandler=function(){
};
window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);
};
window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);
deconcept.unloadSet=true;
}
}
if(!document.getElementById&&document.all){
document.getElementById=function(id){
return document.all[id];
};
}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;

