(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context)};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1]){selector=jQuery.clean([match[1]],context)}else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3]){return jQuery().find(selector)}return jQuery(elem)}selector=[]}}else{return jQuery(context).find(selector)}}else{if(jQuery.isFunction(selector)){return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector)}}return this.setArray(jQuery.makeArray(selector))},jquery:"1.2.6",size:function(){return this.length},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num]},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this},each:function(callback,args){return jQuery.each(this,callback,args)},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this)},attr:function(name,value,type){var options=name;if(name.constructor==String){if(value===undefined){return this[0]&&jQuery[type||"attr"](this[0],name)}else{options={};options[name]=value}}return this.each(function(i){for(name in options){jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name))}})},css:function(key,value){if((key=="width"||key=="height")&&parseFloat(value)<0){value=undefined}return this.attr(key,value,"curCSS")},text:function(text){if(typeof text!="object"&&text!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text))}var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8){ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this])}})});return ret},wrapAll:function(html){if(this[0]){jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild){elem=elem.firstChild}return elem}).append(this)}return this},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html)})},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html)})},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1){this.appendChild(elem)}})},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1){this.insertBefore(elem,this.firstChild)}})},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this)})},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)})},end:function(){return this.prevObject||jQuery([])},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem)});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems)},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0]}else{return this.cloneNode(true)}});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined){this[expando]=null}});if(events===true){this.find("*").andSelf().each(function(i){if(this.nodeType==3){return}var events=jQuery.data(this,"events");for(var type in events){for(var handler in events[type]){jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data)}}})}return ret},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i)})||jQuery.multiFilter(selector,this))},not:function(selector){if(selector.constructor==String){if(isSimple.test(selector)){return this.pushStack(jQuery.multiFilter(selector,this,true))}else{selector=jQuery.multiFilter(selector,this)}}var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector})},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=="string"?jQuery(selector):jQuery.makeArray(selector))))},is:function(selector){return !!selector&&jQuery.multiFilter(selector,this).length>0},hasClass:function(selector){return this.is("."+selector)},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0){return null}for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one){return value}values.push(value)}}return values}else{return(this[0].value||"").replace(/\r/g,"")}}return undefined}if(value.constructor==Number){value+=""}return this.each(function(){if(this.nodeType!=1){return}if(value.constructor==Array&&/radio|checkbox/.test(this.type)){this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0)}else{if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0)});if(!values.length){this.selectedIndex=-1}}else{this.value=value}}})},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value)},replaceWith:function(value){return this.after(value).remove()},eq:function(i){return this.slice(i,i+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments))},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},andSelf:function(){return this.add(this.prevObject)},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length){data=jQuery.data(this[0],key)}return data===undefined&&parts[1]?this.data(parts[0]):data}else{return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value)})}},removeData:function(key){return this.each(function(){jQuery.removeData(this,key)})},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse){elems.reverse()}}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr")){obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"))}var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script")){scripts=scripts.add(elem)}else{if(elem.nodeType==1){scripts=scripts.add(jQuery("script",elem).remove())}callback.call(obj,elem)}});scripts.each(evalScript)})}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src){jQuery.ajax({url:elem.src,async:false,dataType:"script"})}else{jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"")}if(elem.parentNode){elem.parentNode.removeChild(elem)}}function now(){return +new Date}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2}if(typeof target!="object"&&typeof target!="function"){target={}}if(length==i){target=this;--i}for(;i<length;i++){if((options=arguments[i])!=null){for(var name in options){var src=target[name],copy=options[name];if(target===copy){continue}if(deep&&copy&&typeof copy=="object"&&!copy.nodeType){target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy)}else{if(copy!==undefined){target[name]=copy}}}}}return target};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep){window.jQuery=_jQuery}return jQuery},isFunction:function(fn){return !!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/^[\s[]?function/.test(fn+"")},isXMLDoc:function(elem){return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body},globalEval:function(data){data=jQuery.trim(data);if(data){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.browser.msie){script.text=data}else{script.appendChild(document.createTextNode(data))}head.insertBefore(script,head.firstChild);head.removeChild(script)}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase()},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id){id=elem[expando]=++uuid}if(name&&!jQuery.cache[id]){jQuery.cache[id]={}}if(data!==undefined){jQuery.cache[id][name]=data}return name?jQuery.cache[id][name]:id},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id]){break}if(!name){jQuery.removeData(elem)}}}else{try{delete elem[expando]}catch(e){if(elem.removeAttribute){elem.removeAttribute(expando)}}delete jQuery.cache[id]}},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length==undefined){for(name in object){if(callback.apply(object[name],args)===false){break}}}else{for(;i<length;){if(callback.apply(object[i++],args)===false){break}}}}else{if(length==undefined){for(name in object){if(callback.call(object[name],name,object[name])===false){break}}}else{for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}}return object},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value)){value=value.call(elem,i)}return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className)){elem.className+=(elem.className?" ":"")+className}})},remove:function(elem,classNames){if(elem.nodeType==1){elem.className=classNames!=undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return !jQuery.className.has(classNames,className)}).join(" "):""}},has:function(elem,className){return jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name]}callback.call(elem);for(var name in options){elem.style[name]=old[name]}},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0});val-=Math.round(padding+border)}if(jQuery(elem).is(":visible")){getWH()}else{jQuery.swap(elem,props,getWH)}return Math.max(0,val)}return jQuery.curCSS(elem,name,force)},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari){return false}var ret=defaultView.getComputedStyle(elem,null);return !ret||ret.getPropertyValue("color")==""}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save}if(name.match(/float/i)){name=styleFloat}if(!force&&style&&style[name]){ret=style[name]}else{if(defaultView.getComputedStyle){if(name.match(/float/i)){name="float"}name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem)){ret=computedStyle.getPropertyValue(name)}else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode){stack.unshift(a)}for(;i<stack.length;i++){if(color(stack[i])){swap[i]=stack[i].style.display;stack[i].style.display="block"}}ret=name=="display"&&swap[stack.length-1]!=null?"none":(computedStyle&&computedStyle.getPropertyValue(name))||"";for(i=0;i<swap.length;i++){if(swap[i]!=null){stack[i].style.display=swap[i]}}}if(name=="opacity"&&ret==""){ret="1"}}else{if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase()});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft}}}}return ret},clean:function(elems,context){var ret=[];context=context||document;if(typeof context.createElement=="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document}jQuery.each(elems,function(i,elem){if(!elem){return}if(elem.constructor==Number){elem+=""}if(typeof elem=="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">"});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--){div=div.lastChild}if(jQuery.browser.msie){var tbody=!tags.indexOf("<table")&&tags.indexOf("<tbody")<0?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&tags.indexOf("<tbody")<0?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j])}}if(/^\s/.test(elem)){div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild)}}elem=jQuery.makeArray(div.childNodes)}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select"))){return}if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options){ret.push(elem)}else{ret=jQuery.merge(ret,elem)}});return ret},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8){return undefined}var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari){elem.parentNode.selectedIndex}if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode){throw"type property can't be changed"}elem[name]=value}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name)){return elem.getAttributeNode(name).nodeValue}return elem[name]}if(msie&&notxml&&name=="style"){return jQuery.attr(elem.style,"cssText",value)}if(set){elem.setAttribute(name,""+value)}var attr=msie&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+""=="NaN"?"":"alpha(opacity="+value*100+")")}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase()});if(set){elem[name]=value}return elem[name]},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"")},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call){ret[0]=array}else{while(i){ret[--i]=array[i]}}}return ret},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++){if(array[i]===elem){return i}}return -1},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++]){if(elem.nodeType!=8){first[pos++]=elem}}}else{while(elem=second[i++]){first[pos++]=elem}}return first},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i])}}}catch(e){ret=array}return ret},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++){if(!inv!=!callback(elems[i],i)){ret.push(elems[i])}}return ret},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null){ret[ret.length]=value}}return ret.concat.apply([],ret)}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function(elem){return elem.parentNode},parents:function(elem){return jQuery.dir(elem,"parentNode")},next:function(elem){return jQuery.nth(elem,2,"nextSibling")},prev:function(elem){return jQuery.nth(elem,2,"previousSibling")},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem)},children:function(elem){return jQuery.sibling(elem.firstChild)},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string"){ret=jQuery.multiFilter(selector,ret)}return this.pushStack(jQuery.unique(ret))}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(){var args=arguments;return this.each(function(){for(var i=0,length=args.length;i<length;i++){jQuery(args[i])[original](this)}})}});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1){this.removeAttribute(name)}},addClass:function(classNames){jQuery.className.add(this,classNames)},removeClass:function(classNames){jQuery.className.remove(this,classNames)},toggleClass:function(classNames){jQuery.className[jQuery.className.has(this,classNames)?"remove":"add"](this,classNames)},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){jQuery(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments)}});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px")}});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2])},"#":function(a,i,m){return a.getAttribute("id")==m[2]},":":{lt:function(a,i,m){return i<m[3]-0},gt:function(a,i,m){return i>m[3]-0},nth:function(a,i,m){return m[3]-0==i},eq:function(a,i,m){return m[3]-0==i},first:function(a,i){return i==0},last:function(a,i,m,r){return i==r.length-1},even:function(a,i){return i%2==0},odd:function(a,i){return i%2},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a},"only-child":function(a){return !jQuery.nth(a.parentNode.lastChild,2,"previousSibling")},parent:function(a){return a.firstChild},empty:function(a){return !a.firstChild},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden"},enabled:function(a){return !a.disabled},disabled:function(a){return a.disabled},checked:function(a){return a.checked},selected:function(a){return a.selected||jQuery.attr(a,"selected")},text:function(a){return"text"==a.type},radio:function(a){return"radio"==a.type},checkbox:function(a){return"checkbox"==a.type},file:function(a){return"file"==a.type},password:function(a){return"password"==a.type},submit:function(a){return"submit"==a.type},image:function(a){return"image"==a.type},reset:function(a){return"reset"==a.type},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button")},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},has:function(a,i,m){return jQuery.find(m[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem}).length}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r)}return cur},find:function(t,context){if(typeof t!="string"){return[t]}if(context&&context.nodeType!=1&&context.nodeType!=9){return[]}context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++){for(var c=ret[i].firstChild;c;c=c.nextSibling){if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName)){r.push(c)}}}ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0){continue}foundToken=true}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j<rl;j++){var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;for(;n;n=n.nextSibling){if(n.nodeType==1){var id=jQuery.data(n);if(m=="~"&&merge[id]){break}if(!nodeName||n.nodeName.toUpperCase()==nodeName){if(m=="~"){merge[id]=true}r.push(n)}if(m=="+"){break}}}}ret=r;t=jQuery.trim(t.replace(re,""));foundToken=true}}if(t&&!foundToken){if(!t.indexOf(",")){if(context==ret[0]){ret.shift()}done=jQuery.merge(done,ret);r=ret=[context];t=" "+t.substr(1,t.length)}else{var re2=quickID;var m=re2.exec(t);if(m){m=[0,m[2],m[3],m[1]]}else{re2=quickClass;m=re2.exec(t)}m[2]=m[2].replace(/\\/g,"");var elem=ret[ret.length-1];if(m[1]=="#"&&elem&&elem.getElementById&&!jQuery.isXMLDoc(elem)){var oid=elem.getElementById(m[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2]){oid=jQuery('[@id="'+m[2]+'"]',elem)[0]}ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[]}else{for(var i=0;ret[i];i++){var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object"){tag="param"}r=jQuery.merge(r,ret[i].getElementsByTagName(tag))}if(m[1]=="."){r=jQuery.classFilter(r,m[2])}if(m[1]=="#"){var tmp=[];for(var i=0;r[i];i++){if(r[i].getAttribute("id")==m[2]){tmp=[r[i]];break}}r=tmp}ret=r}t=t.replace(re2,"")}}if(t){var val=jQuery.filter(t,r);ret=r=val.r;t=jQuery.trim(val.t)}}if(t){ret=[]}if(ret&&context==ret[0]){ret.shift()}done=jQuery.merge(done,ret);return done},classFilter:function(r,m,not){m=" "+m+" ";var tmp=[];for(var i=0;r[i];i++){var pass=(" "+r[i].className+" ").indexOf(m)>=0;if(!not&&pass||not&&!pass){tmp.push(r[i])}}return tmp},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break}}if(!m){break}if(m[1]==":"&&m[2]=="not"){r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3])}else{if(m[1]=="."){r=jQuery.classFilter(r,m[2],not)}else{if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2])){z=jQuery.attr(a,m[2])||""}if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not){tmp.push(a)}}r=tmp}else{if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling){if(n.nodeType==1){n.nodeIndex=c++}}merge[id]=true}var add=false;if(first==0){if(node.nodeIndex==last){add=true}}else{if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0){add=true}}if(add^not){tmp.push(node)}}r=tmp}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object"){fn=fn[m[2]]}if(typeof fn=="string"){fn=eval("false||function(a,i){return "+fn+";}")}r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r)},not)}}}}}return{r:r,t:t}},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1){matched.push(cur)}cur=cur[dir]}return matched},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir]){if(cur.nodeType==1&&++num==result){break}}return cur},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem){r.push(n)}}return r}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8){return}if(jQuery.browser.msie&&elem.setInterval){elem=window}if(!handler.guid){handler.guid=this.guid++}if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments)});handler.data=data}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered){return jQuery.event.handle.apply(arguments.callee.elem,arguments)}});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener){elem.addEventListener(type,handle,false)}else{if(elem.attachEvent){elem.attachEvent("on"+type,handle)}}}}handlers[handler.guid]=handler;jQuery.event.global[type]=true});elem=null},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8){return}var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)==".")){for(var type in events){this.remove(elem,type+(types||""))}}else{if(types.type){handler=types.handler;types=types.type}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler){delete events[type][handler.guid]}else{for(handler in events[type]){if(!parts[1]||events[type][handler].type==parts[1]){delete events[type][handler]}}}for(ret in events[type]){break}if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener){elem.removeEventListener(type,jQuery.data(elem,"handle"),false)}else{if(elem.detachEvent){elem.detachEvent("on"+type,jQuery.data(elem,"handle"))}}}ret=null;delete events[type]}}})}for(ret in events){break}if(!ret){var handle=jQuery.data(elem,"handle");if(handle){handle.elem=null}jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle")}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true}if(!elem){if(this.global[type]){jQuery("*").add([window,document]).trigger(type,data)}}else{if(elem.nodeType==3||elem.nodeType==8){return undefined}var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true}data[0].type=type;if(exclusive){data[0].exclusive=true}var handle=jQuery.data(elem,"handle");if(handle){val=handle.apply(elem,data)}if((!fn||(jQuery.nodeName(elem,"a")&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false){val=false}if(event){data.shift()}if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined){val=ret}}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,"a")&&type=="click")){this.triggered=true;try{elem[type]()}catch(e){}}this.triggered=false}return val},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false){val=ret}if(ret===false){event.preventDefault();event.stopPropagation()}}}return val},fix:function(event){if(event[expando]==true){return event}var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--){event[props[i]]=originalEvent[props[i]]}event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault){originalEvent.preventDefault()}originalEvent.returnValue=false};event.stopPropagation=function(){if(originalEvent.stopPropagation){originalEvent.stopPropagation()}originalEvent.cancelBubble=true};event.timeStamp=event.timeStamp||now();if(!event.target){event.target=event.srcElement||document}if(event.target.nodeType==3){event.target=event.target.parentNode}if(!event.relatedTarget&&event.fromElement){event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement}if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0)}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode)){event.which=event.charCode||event.keyCode}if(!event.metaKey&&event.ctrlKey){event.metaKey=event.ctrlKey}if(!event.which&&event.button){event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)))}return event},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy},special:{ready:{setup:function(){bindReady();return},teardown:function(){return}},mouseenter:{setup:function(){if(jQuery.browser.msie){return false}jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true},teardown:function(){if(jQuery.browser.msie){return false}jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true},handler:function(event){if(withinElement(event,this)){return true}event.type="mouseenter";return jQuery.event.handle.apply(this,arguments)}},mouseleave:{setup:function(){if(jQuery.browser.msie){return false}jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true},teardown:function(){if(jQuery.browser.msie){return false}jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true},handler:function(event){if(withinElement(event,this)){return true}event.type="mouseleave";return jQuery.event.handle.apply(this,arguments)}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data)})},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments)});return this.each(function(){jQuery.event.add(this,type,one,fn&&data)})},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn)})},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn)})},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn)},toggle:function(fn){var args=arguments,i=1;while(i<args.length){jQuery.event.proxy(fn,args[i++])}return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false}))},hover:function(fnOver,fnOut){return this.bind("mouseenter",fnOver).bind("mouseleave",fnOut)},ready:function(fn){bindReady();if(jQuery.isReady){fn.call(document,jQuery)}else{jQuery.readyList.push(function(){return fn.call(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.call(document)});jQuery.readyList=null}jQuery(document).triggerHandler("ready")}}});var readyBound=false;function bindReady(){if(readyBound){return}readyBound=true;if(document.addEventListener&&!jQuery.browser.opera){document.addEventListener("DOMContentLoaded",jQuery.ready,false)}if(jQuery.browser.msie&&window==top){(function(){if(jQuery.isReady){return}try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return}jQuery.ready()})()}if(jQuery.browser.opera){document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady){return}for(var i=0;i<document.styleSheets.length;i++){if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return}}jQuery.ready()},false)}if(jQuery.browser.safari){var numStyles;(function(){if(jQuery.isReady){return}if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return}if(numStyles===undefined){numStyles=jQuery("style, link[rel=stylesheet]").length}if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return}jQuery.ready()})()}jQuery.event.add(window,"load",jQuery.ready)}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,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name)}});var withinElement=function(event,elem){var parent=event.relatedTarget;while(parent&&parent!=elem){try{parent=parent.parentNode}catch(error){parent=elem}}return parent==elem};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind()});jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!="string"){return this._load(url)}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off)}callback=callback||function(){};var type="GET";if(params){if(jQuery.isFunction(params)){callback=params;params=null}else{params=jQuery.param(params);type="POST"}}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified"){self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText)}self.each(callback,[res.responseText,status,res])}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val}}):{name:elem.name,value:val}}).get()}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)}});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type})},getScript:function(url,callback){return jQuery.get(url,null,callback,"script")},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={}}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type})},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings)},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string"){s.data=jQuery.param(s.data)}if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre)){s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?"}}else{if(!s.data||!s.data.match(jsre)){s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?"}}s.dataType="json"}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data){s.data=(s.data+"").replace(jsre,"="+jsonp+"$1")}s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp]}catch(e){}if(head){head.removeChild(script)}}}if(s.dataType=="script"&&s.cache==null){s.cache=false}if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"")}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null}if(s.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart")}var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset){script.charset=s.scriptCharset}if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script)}}}head.appendChild(script);return undefined}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username){xhr.open(type,s.url,s.async,s.username,s.password)}else{xhr.open(type,s.url,s.async)}try{if(s.data){xhr.setRequestHeader("Content-Type",s.contentType)}if(s.ifModified){xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default)}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false}if(s.global){jQuery.event.trigger("ajaxSend",[xhr,s])}var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter)}catch(e){status="parsererror"}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified")}catch(e){}if(s.ifModified&&modRes){jQuery.lastModified[s.url]=modRes}if(!jsonp){success()}}else{jQuery.handleError(s,xhr,status)}complete();if(s.async){xhr=null}}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0){setTimeout(function(){if(xhr){xhr.abort();if(!requestDone){onreadystatechange("timeout")}}},s.timeout)}}try{xhr.send(s.data)}catch(e){jQuery.handleError(s,xhr,null,e)}if(!s.async){onreadystatechange()}function success(){if(s.success){s.success(data,status)}if(s.global){jQuery.event.trigger("ajaxSuccess",[xhr,s])}}function complete(){if(s.complete){s.complete(xhr,status)}if(s.global){jQuery.event.trigger("ajaxComplete",[xhr,s])}if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")}}return xhr},handleError:function(s,xhr,status,e){if(s.error){s.error(xhr,status,e)}if(s.global){jQuery.event.trigger("ajaxError",[xhr,s,e])}},active:0,httpSuccess:function(xhr){try{return !xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined}catch(e){}return false},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined}catch(e){}return false},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror"){throw"parsererror"}if(filter){data=filter(data,type)}if(type=="script"){jQuery.globalEval(data)}if(type=="json"){data=eval("("+data+")")}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(jQuery.isFunction(a[j])?a[j]():a[j]))}}}return s.join("&").replace(/%20/g,"+")}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none"){this.style.display="block"}elem.remove()}}).end()},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none"}).end()},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]()})},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback)},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback)},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback)},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback)},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback)},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback)},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1){return false}var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden){return opt.complete.call(this)}if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow}}if(opt.overflow!=null){this.style.overflow="hidden"}opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val)){e[val=="toggle"?hidden?"show":"hide":val](prop)}else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit}if(parts[1]){end=((parts[1]=="-="?-1:1)*end)+start}e.custom(start,end,unit)}else{e.custom(start,val,"")}}});return true})},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx"}if(!type||(typeof type=="string"&&!fn)){return queue(this[0],type)}return this.each(function(){if(fn.constructor==Array){queue(this,type,fn)}else{queue(this,type).push(fn);if(queue(this,type).length==1){fn.call(this)}}})},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue){this.queue([])}this.each(function(){for(var i=timers.length-1;i>=0;i--){if(timers[i].elem==this){if(gotoEnd){timers[i](true)}timers.splice(i,1)}}});if(!gotoEnd){this.dequeue()}return this}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array){q=jQuery.data(elem,type+"queue",jQuery.makeArray(array))}}return q};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length){q[0].call(this)}})};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false){jQuery(this).dequeue()}if(jQuery.isFunction(opt.old)){opt.old.call(this)}};return opt},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig){options.orig={}}}});jQuery.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width"){this.elem.style.display="block"}},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null){return this.elem[this.prop]}var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd)}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++){if(!timers[i]()){timers.splice(i--,1)}}if(!timers.length){clearInterval(jQuery.timerId);jQuery.timerId=null}},13)}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height"){this.elem.style[this.prop]="1px"}jQuery(this.elem).show()},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(gotoEnd){var t=now();if(gotoEnd||t>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim){if(this.options.curAnim[i]!==true){done=false}}if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){this.elem.style.display="none"}if(this.options.hide||this.options.show){for(var p in this.options.curAnim){jQuery.attr(this.elem.style,p,this.options.orig[p])}}}if(done){this.options.complete.call(this.elem)}return false}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now},scrollTop:function(fx){fx.elem.scrollTop=fx.now},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now)},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem){with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop)}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2){border(offsetParent)}if(!fixed&&css(offsetParent,"position")=="fixed"){fixed=true}offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display"))){add(-parent.scrollLeft,-parent.scrollTop)}if(mozilla&&css(parent,"overflow")!="visible"){border(parent)}parent=parent.parentNode}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute")){add(-doc.body.offsetLeft,-doc.body.offsetTop)}if(fixed){add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop))}}results={top:top,left:left}}}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true))}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0}return results};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,"marginTop");offset.left-=num(this,"marginLeft");parentOffset.top+=num(offsetParent,"borderTopWidth");parentOffset.left+=num(offsetParent,"borderLeftWidth");results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}}return results},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,"position")=="static")){offsetParent=offsetParent.offsetParent}return jQuery(offsetParent)}});jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;jQuery.fn[method]=function(val){if(!this[0]){return}return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val}):this[0]==window||this[0]==document?self[i?"pageYOffset":"pageXOffset"]||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method]}});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br)};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0)}})})();
function DFonlyThisChars(a,c,b,d){if(window.event){key=window.event.keyCode}else{if(d){key=d.which}else{return true}}S=(b)?b:"";if(a){S+="0123456789"}if(c){S+="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"}if(key==null||key==0||key==8||key==9||key==13||key==27){return true}else{if(S.indexOf(String.fromCharCode(key))!=-1){return true}else{return false}}}function DFnotOnlyThisChars(b,a){if(window.event){key=window.event.keyCode}else{if(a){key=a.which}else{return true}}if(!b){return false}else{if(key==null||key==0||key==8||key==9||key==13||key==27){return true}else{if(b.indexOf(String.fromCharCode(key))!=-1){return false}else{return true}}}}function DFchangeField(c,b,a){if(window.event){key=window.event.keyCode}else{if(b){key=b.which}else{return true}}if(key==9||key==2||key==16){return false}if(a<=2&&c.value.length==c.maxLength){for(var f=0;f<c.form.length;f++){if(c.form[f]==c&&c.form[f+1]){c.form[f+1].focus();break}}}if(a>1&&c.value.length==0&&key==8){for(var f=0;f<c.form.length;f++){if(c.form[f]==c&&c.form[f-1]){c.form[f-1].focus();c.form[f-1].value=c.form[f-1].value;break}}}};
if(jQuery.browser.mozilla){$(function(){$("form.cmxform").hide().find("p/label:not(.nocmx):not(.error)").each(function(){var b=$(this);var a=b.html();var c=document.defaultView.getComputedStyle(this,"").getPropertyValue("width");var d=$("<span>").css("display","block").width(c).html(a);b.css("display","-moz-inline-box").empty().append(d)}).end().show()})};
(function(a){a.extend(a.fn,{validate:function(b){if(!this.length){b&&b.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return}var c=a.data(this[0],"validator");if(c){return c}c=new a.validator(b,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){c.cancelSubmit=true});this.submit(function(e){if(c.settings.debug){e.preventDefault()}function d(){if(c.settings.submitHandler){c.settings.submitHandler.call(c,c.currentForm);return false}return true}if(c.cancelSubmit){c.cancelSubmit=false;return d()}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false}return d()}else{c.focusInvalid();return false}})}return c},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var b=false;var c=a(this[0].form).validate();this.each(function(){b|=c.element(this)});return b}},removeAttrs:function(b){var c={},d=this;a.each(b.split(/\s/),function(){c[this]=d.attr(this);d.removeAttr(this)});return c},rules:function(f,e){var c=this[0];if(f){var g=a.data(c.form,"validator").settings.rules;var b=a.validator.staticRules(c);switch(f){case"add":a.extend(b,a.validator.normalizeRule(e));g[c.name]=b;break;case"remove":if(!e){delete g[c.name];return b}var h={};a.each(e.split(/\s/),function(k,j){h[j]=b[j];delete b[j]});return h}}var d=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(c),a.validator.classRules(c),a.validator.attributeRules(c),a.validator.staticRules(c)),c);if(d.required){var i=d.required;delete d.required;d=a.extend({required:i},d)}return d},push:function(b){return this.setArray(this.add(b).get())}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(b.value)},filled:function(b){return !!a.trim(b.value)},unchecked:function(b){return !b.checked}});a.format=function(b,c){if(arguments.length==1){return function(){var d=a.makeArray(arguments);d.unshift(b);return a.format.apply(this,d)}}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1)}if(c.constructor!=Array){c=[c]}a.each(c,function(d,e){b=b.replace(new RegExp("\\{"+d+"\\}","g"),e)});return b};a.validator=function(c,b){this.settings=a.extend({},a.validator.defaults,c);this.currentForm=b;this.init()};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",errorElement:"span",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:[],onfocusin:function(b){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass);this.errorsFor(b).hide()}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b)}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b)}},onclick:function(b){if(b.name in this.submitted){this.element(b)}},highlight:function(c,b){a(c).addClass(b)},unhighlight:function(c,b){a(c).removeClass(b);a(c).parents("fieldset").find("div.txt-error").hide();a(c).parents("p").removeClass("error");a(c).parents("p").find("span.alt").show();a(c).parents("p").find("span.error").hide()}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",cpf:"Please enter a valid CPF.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateBR:"Please enter a valid date.",dateUS:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",dateDE:"Bitte geben Sie ein gültiges Datum ein.",number:"Please enter a valid number.",numberDE:"Bitte geben Sie eine Nummer ein.",digits:"Please enter only digits",creditcard:"Please enter a valid credit card.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.format("Please enter no more than {0} characters."),minlength:a.format("Please enter at least {0} characters."),rangelength:a.format("Please enter a value between {0} and {1} characters long."),range:a.format("Please enter a value between {0} and {1}."),max:a.format("Please enter a value less than or equal to {0}."),min:a.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=(this.groups={});a.each(this.settings.groups,function(e,f){a.each(f.split(/\s/),function(h,g){b[g]=e})});var c=this.settings.rules;a.each(c,function(e,f){c[e]=a.validator.normalizeRule(f)});function d(e){var f=a.data(this[0].form,"validator");f.settings["on"+e.type]&&f.settings["on"+e.type].call(f,this[0])}a(this.currentForm).delegate("focusin focusout keyup",":text, :password, :file, select, textarea",d).delegate("click",":radio, :checkbox",d)},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);if(!this.valid()){a(this.currentForm).triggerHandler("invalid-form.validate",[this])}this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var b=0,c=(this.currentElements=this.elements());c[b];b++){this.check(c[b])}return this.valid()},element:function(c){c=this.clean(c);this.lastElement=c;this.prepareElement(c);this.currentElements=a(c);var b=this.check(c);if(b){delete this.invalid[c.name]}else{this.invalid[c.name]=true}if(!this.numberOfInvalids()){this.toHide.push(this.containers)}this.showErrors();return b},showErrors:function(b){if(b){a.extend(this.errorMap,b);this.errorList=[];for(var c in b){this.errorList.push({message:b[c],element:this.findByName(c)[0]})}this.successList=a.grep(this.successList,function(d){return !(d.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){if(a.fn.resetForm){a(this.currentForm).resetForm()}this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(d){var b=0;for(var c in d){b++}return b},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus()}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name}).length==1&&b},elements:function(){var b=this,c={};return a([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in c||!b.objectLength(a(this).rules())){return false}c[this.name]=true;return true})},clean:function(b){return a(b)[0]},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.formSubmitted=false;this.currentElements=a([])},prepareForm:function(){this.reset();this.toHide=this.errors().push(this.containers)},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b)},check:function(h){h=this.clean(h);if(this.checkable(h)){h=this.findByName(h.name)[0]}var c=a(h).rules();var f=false;for(method in c){var b={method:method,parameters:c[method]};try{var g=a.validator.methods[method].call(this,a.trim(h.value),h,b.parameters);if(g=="dependency-mismatch"){f=true;continue}f=false;if(g=="pending"){this.toHide=this.toHide.not(this.errorsFor(h));return}if(!g){this.formatAndAdd(h,b);return false}}catch(d){this.settings.debug&&window.console&&console.log("exception occured when checking element "+h.id+", check the '"+b.method+"' method");throw d}}if(f){return}if(this.objectLength(c)){this.successList.push(h)}return true},customMetaMessage:function(d,c){if(!a.metadata){return}var b=this.settings.meta?a(d).metadata()[this.settings.meta]:a(d).metadata();return b.messages&&b.messages[c]},customMessage:function(b,c){var d=this.settings.messages[b];return d&&(d.constructor==String?d:d[c])},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b]}}return undefined},defaultMessage:function(c,b){return this.findDefined(this.customMessage(c.name,b),this.customMetaMessage(c,b),c.title||undefined,a.validator.messages[b],"<strong>Warning: No message defined for "+c.name+"</strong>")},formatAndAdd:function(c,b){var d=this.defaultMessage(c,b.method);if(typeof d=="function"){d=d.call(this,b.parameters,c)}this.errorList.push({message:d,element:c});this.errorMap[c.name]=d;this.submitted[c.name]=d},addWrapper:function(b){if(this.settings.wrapper){b.push(b.parents(this.settings.wrapper))}return b},defaultShowErrors:function(){for(var b=0;this.errorList[b];b++){var d=this.errorList[b];this.settings.highlight&&this.settings.highlight.call(this,d.element,this.settings.errorClass);this.showLabel(d.element,d.message)}if(this.errorList.length){this.toShow.push(this.containers)}if(this.settings.success){for(var b=0;this.successList[b];b++){this.showLabel(this.successList[b])}}if(this.settings.unhighlight){for(var b=0,c=this.validElements();c[b];b++){this.settings.unhighlight.call(this,c[b],this.settings.errorClass)}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(c,d){var b=this.errorsFor(c);if(b.length){b.removeClass().addClass(this.settings.errorClass);b.attr("generated")&&b.html(d)}else{b=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(c),generated:true}).addClass(this.settings.errorClass).html(d||"");if(this.settings.wrapper){b=b.hide().show().wrap("<"+this.settings.wrapper+">").parent()}if(!this.labelContainer.append(b).length){this.settings.errorPlacement?this.settings.errorPlacement(b,a(c)):b.insertAfter(c)}}if(!d&&this.settings.success){b.text("");typeof this.settings.success=="string"?b.addClass(this.settings.success):this.settings.success(b)}this.toShow.push(b);a(c).parents("fieldset").find("div.txt-error").show();a(c).parents("p").addClass("error");a(c).parents("p").find("span.alt").hide();a(c).parents("p").find("span.error").show()},errorsFor:function(b){return this.errors().filter("[@for='"+this.idOrName(b)+"']")},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},checkable:function(b){return/radio|checkbox/i.test(b.type)},findByName:function(c){var b=this.currentForm;return a(document.getElementsByName(c)).map(function(d,e){return e.form==b&&e.name==c&&e||null})},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c)){return this.findByName(c.name).filter(":checked").length}}return b.length},depend:function(b,c){return this.dependTypes[typeof b]?this.dependTypes[typeof b](b,c):true},dependTypes:{"boolean":function(b,c){return b},string:function(b,c){return !!a(b,c.form).length},"function":function(b,c){return b(c)}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(c,b){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[c.name];if(b&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit()}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",previous={old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},cpf:{cpf:true},url:{url:true},date:{date:true},dateBR:{dateBR:true},dateUS:{dateUS:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(b,c){b.constructor==String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(c){var b={};var d=a(c).attr("class");d&&a.each(d.split(" "),function(){if(this in a.validator.classRuleSettings){a.extend(b,a.validator.classRuleSettings[this])}});return b},attributeRules:function(e){var c={};var b=a(e);for(method in a.validator.methods){var d=b.attr(method);if(d){c[method]=d}}if(c.maxlength&&/-1|2147483647|524288/.test(c.maxlength)){delete c.maxlength}return c},metadataRules:function(c){if(!a.metadata){return{}}var b=a.data(c.form,"validator").settings.meta;return b?a(c).metadata()[b]:a(c).metadata()},staticRules:function(d){var b={};var c=a.data(d.form,"validator");if(c.settings.rules){b=a.validator.normalizeRule(c.settings.rules[d.name])||{}}return b},normalizeRules:function(b,c){a.each(b,function(d,f){if(f===false){delete b[d];return}if(f.param||f.depends){var e=true;switch(typeof f.depends){case"string":e=!!a(f.depends,c.form).length;break;case"function":e=f.depends.call(c,c);break}if(e){b[d]=f.param!==undefined?f.param:true}else{delete b[d]}}});a.each(b,function(d,e){b[d]=a.isFunction(e)?e(c):e});a.each(["minlength","maxlength","min","max"],function(){if(b[this]){b[this]=Number(b[this])}});a.each(["rangelength","range"],function(){if(b[this]){b[this]=[Number(b[this][0]),Number(b[this][1])]}});if(a.validator.autoCreateRanges){if(b.min&&b.max){b.range=[b.min,b.max];delete b.min;delete b.max}if(b.minlength&&b.maxlength){b.rangelength=[b.minlength,b.maxlength];delete b.minlength;delete b.maxlength}}if(b.messages){delete b.messages}return b},normalizeRule:function(c){if(typeof c=="string"){var b={};a.each(c.split(/\s/),function(){b[this]=true});c=b}return c},addMethod:function(b,c,d){a.validator.methods[b]=c;a.validator.messages[b]=d;if(c.length<3){a.validator.addClassRules(b,a.validator.normalizeRule(b))}},methods:{required:function(d,e,c){if(!this.depend(c,e)){return"dependency-mismatch"}switch(e.nodeName.toLowerCase()){case"select":var b=a("option:selected",e);return b.length>0&&(e.type=="select-multiple"||(a.browser.msie&&!(b[0].attributes.value.specified)?b[0].text:b[0].value).length>0);case"input":if(this.checkable(e)){return this.getLength(d,e)>0}default:return d.length>0}},remote:function(d,e,b){if(this.optional(e)){return"dependency-mismatch"}var c=this.previousValue(e);if(!this.settings.messages[e.name]){this.settings.messages[e.name]={}}this.settings.messages[e.name].remote=typeof c.message=="function"?c.message(d):c.message;if(c.old!==d){c.old=d;var f=this;this.startRequest(e);var g={};g[e.name]=d;a.ajax({url:b,mode:"abort",port:"validate"+e.name,dataType:"json",data:g,success:function(j){if(!j){var h={};h[e.name]=j||f.defaultMessage(e,"remote");f.showErrors(h)}else{var i=f.formSubmitted;f.prepareElement(e);f.formSubmitted=i;f.successList.push(e);f.showErrors()}c.valid=j;f.stopRequest(e,j)}});return"pending"}else{if(this.pending[e.name]){return"pending"}}return c.valid},minlength:function(c,d,b){return this.optional(d)||this.getLength(c,d)>=b},maxlength:function(c,d,b){return this.optional(d)||this.getLength(c,d)<=b},rangelength:function(d,e,c){var b=this.getLength(d,e);return this.optional(e)||(b>=c[0]&&b<=c[1])},min:function(c,d,b){return this.optional(d)||c>=b},max:function(c,d,b){return this.optional(d)||c<=b},range:function(c,d,b){return this.optional(d)||(c>=b[0]&&c<=b[1])},email:function(b,c){return this.optional(c)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(c.value)},url:function(b,c){return this.optional(c)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(c.value)},date:function(b,c){return this.optional(c)||!/Invalid|NaN/.test(new Date(b))},dateBR:function(e,f){var g=(this.optional(f)||/^(([0-2]\d|[3][0-1])\/([0]\d|[1][0-2])\/[1-2][0-9]\d{2})$/.test(e));if(g){var c=e.substring(0,2);var d=e.substring(3,5);var b=e.substring(6,10);if((d==4||d==6||d==9||d==11)&&c>30){return false}if(b%4!=0&&d==2&&c>28){return false}if(b%4==0&&d==2&&c>29){return false}return true}else{return false}},dateUS:function(e,f){var g=(this.optional(f)||/^(([0]\d|[1][0-2])\/([0-2]\d|[3][0-1])\/[1-2][0-9]\d{2})$/.test(e));if(g){var d=e.substring(0,2);var c=e.substring(3,5);var b=e.substring(6,10);if((d==4||d==6||d==9||d==11)&&c>30){return false}if(b%4!=0&&d==2&&c>28){return false}if(b%4==0&&d==2&&c>29){return false}return true}else{return false}},dateISO:function(b,c){return this.optional(c)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(b)},dateDE:function(b,c){return this.optional(c)||/^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(b)},number:function(b,c){return this.optional(c)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(b)},numberDE:function(b,c){return this.optional(c)||/^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(b)},digits:function(b,c){return this.optional(c)||/^\d+$/.test(b)},creditcard:function(e,f){if(this.optional(f)){return"dependency-mismatch"}if(/[^0-9-]+/.test(e)){return false}var d=0,b=0,g=false;e=e.replace(/\D/g,"");for(n=e.length-1;n>=0;n--){var c=e.charAt(n);var b=parseInt(c,10);if(g){if((b*=2)>9){b-=9}}d+=b;g=!g}return(d%10)==0},accept:function(c,d,b){b=typeof b=="string"?b:"png|jpe?g|gif";return this.optional(d)||c.match(new RegExp(".("+b+")$","i"))},equalTo:function(c,d,b){return c==a(b).val()},cpf:function(e,f){if(this.optional(f)||/^([0-9]{3}\.){2}[0-9]{3}-[0-9]{2}$/.test(e)){var c=r=null;var d=e;d=d.replaceAll(".","");d=d.replaceAll("-","");if(d.length!=11||d.match(/1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}/)){return false}else{c=0;for(var b=0;b<9;b++){c+=parseInt(d.charAt(b))*(10-b)}r=11-(c%11);if(r==10||r==11){r=0}if(r!=parseInt(d.charAt(9))){return false}else{c=0;for(var b=0;b<10;b++){c+=parseInt(d.charAt(b))*(11-b)}r=11-(c%11);if(r==10||r==11){r=0}if(r!=parseInt(d.charAt(10))){return false}else{return true}}}}},cnpj:function(f,g){if(!this.optional(g)){return true}var c=f;var e=["543298765432","6543298765432"];var b=[0,0];for(var h=0;h<2;h++){for(x=0;x<13;x++){if((h==0&&x!=12)||h==1){b[h]+=(parseInt(c.slice(x,x+1))*parseInt(e[h].slice(x,x+1)))}}b[h]=(b[h]*10)%11;if(b[h]==10){b[h]=0}}return(b[0]==parseInt(c.slice(12,13))&&b[1]==parseInt(c.slice(13,14)))},fullname:function(b,c){if(!this.optional(c)){return true}if(b.indexOf(" ")==-1){return false}return true}}})})(jQuery);(function(c){var b=c.ajax;var a={};c.ajax=function(e){e=c.extend(e,c.extend({},c.ajaxSettings,e));var d=e.port;if(e.mode=="abort"){if(a[d]){a[d].abort()}return(a[d]=b.apply(this,arguments))}return b.apply(this,arguments)}})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(b,c){a.event.special[c]={setup:function(){if(a.browser.msie){return false}this.addEventListener(b,a.event.special[c].handler,true)},teardown:function(){if(a.browser.msie){return false}this.removeEventListener(b,a.event.special[c].handler,true)},handler:function(d){arguments[0]=a.event.fix(d);arguments[0].type=c;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(b,d,c){return this.bind(b,function(e){var f=a(e.target);if(f.is(d)){return c.apply(f,arguments)}})},triggerEvent:function(b,c){return this.triggerHandler(b,[a.event.fix({type:b,target:c})])}})})(jQuery);
eval(function(f,h,g,i,d,b){d=function(a){return(a<h?"":d(parseInt(a/h)))+((a=a%h)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(g--){b[d(g)]=i[g]||d(g)}i=[function(a){return b[a]}];d=function(){return"\\w+"};g=1}while(g--){if(i[g]){f=f.replace(new RegExp("\\b"+d(g)+"\\b","g"),i[g])}}return f}('(5($){$.K.w=5(b,c){2(3.7==0)6;2(14 b==\'15\'){c=(14 c==\'15\')?c:b;6 3.L(5(){2(3.M){3.N();3.M(b,c)}v 2(3.17){4 a=3.17();a.1x(O);a.1y(\'P\',c);a.18(\'P\',b);a.1z()}})}v{2(3[0].M){b=3[0].1A;c=3[0].1B}v 2(Q.R&&Q.R.19){4 d=Q.R.19();b=0-d.1C().18(\'P\',-1D);c=b+d.1E.7}6{t:b,S:c}}};4 q={\'9\':"[0-9]",\'a\':"[A-T-z]",\'*\':"[A-T-1a-9]"};$.1b={1F:5(c,r){q[c]=r}};$.K.U=5(){6 3.1G("U")};$.K.1b=5(m,n){n=$.1H({C:"1I",V:B},n);4 o=D W("^"+$.1J(m.1c(""),5(c,i){6 q[c]||((/[A-T-1a-9]/.1d(c)?"":"\\\\")+c)}).1e(\'\')+"$");6 3.L(5(){4 d=$(3);4 f=D 1f(m.7);4 g=D 1f(m.7);4 h=u;4 j=u;4 l=B;$.L(m.1c(""),5(i,c){g[i]=(q[c]==B);f[i]=g[i]?c:n.C;2(!g[i]&&l==B)l=i});5 X(){x();y();1g(5(){$(d[0]).w(h?m.7:l)},0)};5 Y(e){4 a=$(3).w();4 k=e.Z;j=(k<16||(k>16&&k<10)||(k>10&&k<1h));2((a.t-a.S)!=0&&(!j||k==8||k==1i)){E(a.t,a.S)}2(k==8){11(a.t-->=0){2(!g[a.t]){f[a.t]=n.C;2($.F.1K){s=y();d.G(s.1j(0,a.t)+" "+s.1j(a.t));$(3).w(a.t+1)}v{y();$(3).w(1k.1l(l,a.t))}6 u}}}v 2(k==1i){E(a.t,a.t+1);y();$(3).w(1k.1l(l,a.t));6 u}v 2(k==1L){E(0,m.7);y();$(3).w(l);6 u}};5 12(e){2(j){j=u;6(e.Z==8)?u:B}e=e||1M.1N;4 k=e.1O||e.Z||e.1P;4 a=$(3).w();2(e.1Q||e.1R){6 O}v 2((k>=1h&&k<=1S)||k==10||k>1T){4 p=13(a.t-1);2(p<m.7){2(D W(q[m.H(p)]).1d(1m.1n(k))){f[p]=1m.1n(k);y();4 b=13(p);$(3).w(b);2(n.V&&b==m.7)n.V.1U(d)}}}6 u};5 E(a,b){1o(4 i=a;i<b&&i<m.7;i++){2(!g[i])f[i]=n.C}};5 y(){6 d.G(f.1e(\'\')).G()};5 x(){4 a=d.G();4 b=0;1o(4 i=0;i<m.7;i++){2(!g[i]){f[i]=n.C;11(b++<a.7){4 c=D W(q[m.H(i)]);2(a.H(b-1).1p(c)){f[i]=a.H(b-1);1V}}}}4 s=y();2(!s.1p(o)){d.G("");E(0,m.7);h=u}v h=O};5 13(a){11(++a<m.7){2(!g[a])6 a}6 m.7};d.1W("U",5(){d.I("N",X);d.I("1q",x);d.I("1r",Y);d.I("1s",12);2($.F.1t)3.1u=B;v 2($.F.1v)3.1X(\'1w\',x,u)});d.J("N",X);d.J("1q",x);d.J("1r",Y);d.J("1s",12);2($.F.1t)3.1u=5(){1g(x,0)};v 2($.F.1v)3.1Y(\'1w\',x,u);x()})}})(1Z);',62,124,"||if|this|var|function|return|length||||||||||||||||||||||begin|false|else|caret|checkVal|writeBuffer|||null|placeholder|new|clearBuffer|browser|val|charAt|unbind|bind|fn|each|setSelectionRange|focus|true|character|document|selection|end|Za|unmask|completed|RegExp|focusEvent|keydownEvent|keyCode|32|while|keypressEvent|seekNext|typeof|number||createTextRange|moveStart|createRange|z0|mask|split|test|join|Array|setTimeout|41|46|substring|Math|max|String|fromCharCode|for|match|blur|keydown|keypress|msie|onpaste|mozilla|input|collapse|moveEnd|select|selectionStart|selectionEnd|duplicate|100000|text|addPlaceholder|trigger|extend|_|map|opera|27|window|event|charCode|which|ctrlKey|altKey|122|186|call|break|one|removeEventListener|addEventListener|jQuery".split("|"),0,{}));
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(n,j,b,g,i,k,f,d,m,l){if(!document.getElementById){return}this.DETECT_KEY=l?l:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(n){this.setAttribute("swf",n)}if(j){this.setAttribute("id",j)}if(b){this.setAttribute("width",b)}if(g){this.setAttribute("height",g)}if(i){this.setAttribute("version",new deconcept.PlayerVersion(i.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(k){this.addParam("bgcolor",k)}var a=f?f:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var e=(d)?d:window.location;this.setAttribute("xiRedirectUrl",e);this.setAttribute("redirectUrl","");if(m){this.setAttribute("redirectUrl",m)}};deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(b,a){this.attributes[b]=a},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=new Array();var b;var c=this.getVariables();for(b in c){a[a.length]=b+"="+c[b]}return a},getSWFHTML:function(){var f="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}f='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';f+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var d=this.getParams();for(var b in d){f+=[b]+'="'+d[b]+'" '}var a=this.getVariablePairs().join("&");if(a.length>0){f+='flashvars="'+a+'"'}f+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}f='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';f+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var b in c){f+='<param name="'+b+'" value="'+c[b]+'" />'}var e=this.getVariablePairs().join("&");if(e.length>0){f+='<param name="flashvars" value="'+e+'" />'}f+="</object>"}return f},write:function(c){if(this.getAttribute("useExpressInstall")){var b=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!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 a=(typeof c=="string")?document.getElementById(c):c;a.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var d=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var f=navigator.plugins["Shockwave Flash"];if(f&&f.description){d=new deconcept.PlayerVersion(f.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 a=1;var b=3;while(a){try{b++;a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+b);d=new deconcept.PlayerVersion([b,0,0])}catch(c){a=null}}}else{try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(c){try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d=new deconcept.PlayerVersion([6,0,21]);a.AllowScriptAccess="always"}catch(c){if(d.major==6){return d}}try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(c){}}if(a!=null){d=new deconcept.PlayerVersion(a.GetVariable("$version").split(" ")[1].split(","))}}}return d};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(b){var c=document.location.search||document.location.hash;if(b==null){return c}if(c){var d=c.substring(1).split("&");for(var a=0;a<d.length;a++){if(d[a].substring(0,d[a].indexOf("="))==b){return d[a].substring((d[a].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var a=document.getElementsByTagName("OBJECT");for(var b=a.length-1;b>=0;b--){a[b].style.display="none";for(var c in a[b]){if(typeof a[b][c]=="function"){a[b][c]=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(a){return document.all[a]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var c;var a;var b;try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");c=a.GetVariable("$version")}catch(b){}if(!c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c="WIN 6,0,21,0";a.AllowScriptAccess="always";c=a.GetVariable("$version")}catch(b){}}if(!c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");c=a.GetVariable("$version")}catch(b){}}if(!c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");c="WIN 3,0,18,0"}catch(b){}}if(!c){try{a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");c="WIN 2,0,0,11"}catch(b){c=-1}}return c}function GetSwfVer(){var c=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var e=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+e].description;var d=a.split(" ");var f=d[2].split(".");var g=f[0];var h=f[1];var b=d[3];if(b==""){b=d[4]}if(b[0]=="d"){b=b.substring(1)}else{if(b[0]=="r"){b=b.substring(1);if(b.indexOf("d")>0){b=b.substring(0,b.indexOf("d"))}}}var c=g+"."+h+"."+b}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){c=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){c=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){c=2}else{if(isIE&&isWin&&!isOpera){c=ControlVersion()}}}}}return c}function DetectFlashVer(e,c,d){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var b=versionArray[0];var a=versionArray[1];var f=versionArray[2];if(b>parseFloat(e)){return true}else{if(b==parseFloat(e)){if(a>parseFloat(c)){return true}else{if(a==parseFloat(c)){if(f>=parseFloat(d)){return true}}}}}return false}}}function AC_AddExtension(b,a){if(b.indexOf("?")!=-1){return b.replace(/\?/,a+"?")}else{return b+a}}function AC_Generateobj(a,e,c){var d="";if(isIE&&isWin&&!isOpera){d+="<object ";for(var b in a){d+=b+'="'+a[b]+'" '}d+=">";for(var b in e){d+='<param name="'+b+'" value="'+e[b]+'" /> '}d+="</object>"}else{d+="<embed ";for(var b in c){d+=b+'="'+c[b]+'" '}d+="> </embed>"}document.write(d)}function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_SW_RunContent(){var a=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_GetArgs(a,g,b,d,e){var h=new Object();h.embedAttrs=new Object();h.params=new Object();h.objAttrs=new Object();for(var f=0;f<a.length;f=f+2){var c=a[f].toLowerCase();switch(c){case"classid":break;case"pluginspage":h.embedAttrs[a[f]]=a[f+1];break;case"src":case"movie":a[f+1]=AC_AddExtension(a[f+1],g);h.embedAttrs.src=a[f+1];h.params[b]=a[f+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":h.objAttrs[a[f]]=a[f+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":h.embedAttrs[a[f]]=h.objAttrs[a[f]]=a[f+1];break;default:h.embedAttrs[a[f]]=h.params[a[f]]=a[f+1]}}h.objAttrs.classid=d;if(e){h.embedAttrs.type=e}return h};
var ZeroClipboard={version:"1.0.4",clients:{},moviePath:"ZeroClipboard.swf",nextId:1,$:function(a){if(typeof(a)=="string"){a=document.getElementById(a)}if(!a.addClass){a.hide=function(){this.style.display="none"};a.show=function(){this.style.display=""};a.addClass=function(b){this.removeClass(b);this.className+=" "+b};a.removeClass=function(b){this.className=this.className.replace(new RegExp("\\s*"+b+"\\s*")," ").replace(/^\s+/,"").replace(/\s+$/,"")};a.hasClass=function(b){return !!this.className.match(new RegExp("\\s*"+b+"\\s*"))}}return a},setMoviePath:function(a){this.moviePath=a},dispatch:function(d,a,b){var c=this.clients[d];if(c){c.receiveEvent(a,b)}},register:function(b,a){this.clients[b]=a},getDOMObjectPosition:function(a){var b={left:0,top:0,width:a.width?a.width:a.offsetWidth,height:a.height?a.height:a.offsetHeight};while(a){b.left+=a.offsetLeft;b.top+=a.offsetTop;a=a.offsetParent}return b},Client:function(a){this.handlers={};this.id=ZeroClipboard.nextId++;this.movieId="ZeroClipboardMovie_"+this.id;ZeroClipboard.register(this.id,this);if(a){this.glue(a)}}};ZeroClipboard.Client.prototype={id:0,ready:false,movie:null,clipText:"",handCursorEnabled:true,cssEffects:true,handlers:null,glue:function(c){this.domElement=ZeroClipboard.$(c);var a=99;if(this.domElement.style.zIndex){a=parseInt(this.domElement.style.zIndex)+1}var d=ZeroClipboard.getDOMObjectPosition(this.domElement);this.div=document.createElement("div");var e=this.div.style;e.position="absolute";e.left=""+d.left+"px";e.top=""+d.top+"px";e.width=""+d.width+"px";e.height=""+d.height+"px";e.zIndex=a;var b=document.getElementsByTagName("body")[0];b.appendChild(this.div);this.div.innerHTML=this.getHTML(d.width,d.height)},getHTML:function(e,b){var a="";var d="id="+this.id+"&width="+e+"&height="+b;if(navigator.userAgent.match(/MSIE/)){var c=location.href.match(/^https/i)?"https://":"http://";a+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+c+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+e+'" height="'+b+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+d+'"/><param name="wmode" value="transparent"/></object>'}else{a+='<embed id="'+this.movieId+'" src="'+ZeroClipboard.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+e+'" height="'+b+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+d+'" wmode="transparent" />'}return a},hide:function(){if(this.div){this.div.style.left="-2000px"}},show:function(){this.reposition()},destroy:function(){if(this.domElement&&this.div){this.hide();this.div.innerHTML="";var a=document.getElementsByTagName("body")[0];try{a.removeChild(this.div)}catch(b){}this.domElement=null;this.div=null}},reposition:function(b){if(b){this.domElement=ZeroClipboard.$(b);if(!this.domElement){this.hide()}}if(this.domElement&&this.div){var a=ZeroClipboard.getDOMObjectPosition(this.domElement);var c=this.div.style;c.left=""+a.left+"px";c.top=""+a.top+"px"}},setText:function(a){this.clipText=a;if(this.ready){this.movie.setText(a)}},addEventListener:function(b,a){b=b.toString().toLowerCase().replace(/^on/,"");if(!this.handlers[b]){this.handlers[b]=[]}this.handlers[b].push(a)},setHandCursor:function(a){this.handCursorEnabled=a;if(this.ready){this.movie.setHandCursor(a)}},setCSSEffects:function(a){this.cssEffects=!!a},receiveEvent:function(c,f){c=c.toString().toLowerCase().replace(/^on/,"");switch(c){case"load":this.movie=document.getElementById(this.movieId);if(!this.movie){var a=this;setTimeout(function(){a.receiveEvent("load",null)},1);return}if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/)){var a=this;setTimeout(function(){a.receiveEvent("load",null)},100);this.ready=true;return}this.ready=true;this.movie.setText(this.clipText);this.movie.setHandCursor(this.handCursorEnabled);break;case"mouseover":if(this.domElement&&this.cssEffects){this.domElement.addClass("hover");if(this.recoverActive){this.domElement.addClass("active")}}break;case"mouseout":if(this.domElement&&this.cssEffects){this.recoverActive=false;if(this.domElement.hasClass("active")){this.domElement.removeClass("active");this.recoverActive=true}this.domElement.removeClass("hover")}break;case"mousedown":if(this.domElement&&this.cssEffects){this.domElement.addClass("active")}break;case"mouseup":if(this.domElement&&this.cssEffects){this.domElement.removeClass("active");this.recoverActive=false}break}if(this.handlers[c]){for(var e=0,d=this.handlers[c].length;e<d;e++){var b=this.handlers[c][e];if(typeof(b)=="function"){b(this,f)}else{if((typeof(b)=="object")&&(b.length==2)){b[0][b[1]](this,f)}else{if(typeof(b)=="string"){window[b](this,f)}}}}}}};
$(document).ready(function(){try{formatFields();formatHeaders()}catch(a){}RunSuperSleight();var b=$(".prof_o_item .lnkImg img");if(b[0]){b.CenterImage()}});function formatHeaders(){$("form.frmLogin").hide();verifyPassword();$("input#txtSearch").click(function(){if(this.value==txtSearch){this.value=""}});$("input#txtLogin").click(function(){if(this.value==txtLogin){this.value=""}});$("input#txtEmail").click(function(){if(this.value==txtEmail){this.value=""}});$("input#txtPass").click(function(){$(this).parents("div.style-input").hide();$("input#pwdPass").parents("div.style-input").show();$("input#pwdPass").show();$("input#pwdPass").focus()});$("input#txtSearch").blur(function(){if(this.value==""){this.value=txtSearch}});$("input#txtLogin").blur(function(){if(this.value==""){this.value=txtLogin}});$("input#txtPass").focus(function(){$("input#txtPass").parents("div.style-input").hide();$("input#pwdPass").parents("div.style-input").show();$("input#pwdPass").show();$("input#pwdPass").focus()});$("input#pwdPass").blur(function(){verifyPassword()})}function formatFields(){$("input[type=text], input[type=password]").wrap('<div class="style-input"></div>');$("select").selectbox();$(".wrap input[type=checkbox],.wrap input[type=radio]").prettyCheckboxes({checkboxWidth:21,checkboxHeight:21})}function verifyPassword(){if($("input#pwdPass").val()==""){$("input#pwdPass").parents("div.style-input").hide();$("input#txtPass").parents("div.style-input").show()}else{$("input#pwdPass").parents("div.style-input").show();$("input#txtPass").parents("div.style-input").hide()}}function showLogin(){$("form.frmLogin").show()}var clearContent=function(a){if(a.hasChildNodes()){while(a.childNodes.length>0){a.removeChild(a.firstChild)}}};
eval(function(f,h,g,i,d,b){d=function(a){return(a<h?"":d(parseInt(a/h)))+((a=a%h)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(g--){b[d(g)]=i[g]||d(g)}i=[function(a){return b[a]}];d=function(){return"\\w+"};g=1}while(g--){if(i[g]){f=f.replace(new RegExp("\\b"+d(g)+"\\b","g"),i[g])}}return f}("q.D.E=5(a){a=q.F({j:r,s:r,t:'G',u:'H'},a);$(0).h(5(){$3=$('3[4='+$(0).1('d')+']');$3.I(\"<9 v='w'><9 v='x'></9></9>\");7($(0).k(':2')){$3.c('2')};$3.c(a.t).c($(0).1('l')).c(a.u);$3.i('9.w').y(a.j).J(a.s);$3.i('9.x').y(a.j);$(0).c('K');$3.z('8',5(){$('6#'+$(0).1('4')).L('8');7($('6#'+$(0).1('4')).k(':m')){$(0).A('2');$('6#'+$(0).1('4')).2=B}f{$n=$('6#'+$(0).1('4'));$('6[C='+$n.1('C')+']').h(5(){$('3[4='+$(0).1('d')+']').M('2')});$(0).c('2');$n.2=B}});$('6#'+$3.1('4')).z('N',5(e){7(e.O==P){7($.o.p){$('3[4='+$(0).1('d')+']').A(\"2\")}f{$(0).g('8')}Q R}})})};S=5(a,b){7($(a).k(':2')){$(b).i('6[l=m]:T(:2)').h(5(){$('3[4='+$(0).1('d')+']').g('8');7($.o.p){$(0).1('2','2')}f{$(0).g('8')}})}f{$(b).i('6[l=m]:2').h(5(){$('3[4='+$(0).1('d')+']').g('8');7($.o.p){$(0).1('2','')}f{$(0).g('8')}})}};",56,56,"this|attr|checked|label|for|function|input|if|click|span|||addClass|id||else|trigger|each|find|checkboxWidth|is|type|checkbox|toCheck|browser|msie|jQuery|17|checkboxHeight|className|display|class|holderWrap|holder|width|bind|toggleClass|true|name|fn|prettyCheckboxes|extend|prettyCheckbox|list|prepend|height|hiddenCheckbox|triggerHandler|removeClass|keypress|keyCode|32|return|false|checkAllPrettyCheckboxes|not".split("|"),0,{}));jQuery.fn.extend({selectbox:function(a){return this.each(function(){new jQuery.SelectBox(this,a)})}});if(!window.console){var console={log:function(a){}}}jQuery.SelectBox=function(h,p){if($("#"+h.id+"_input")[0]){$("#"+h.id+"_input").parent().remove()}if($("#"+h.id+"_container")[0]){$("#"+h.id+"_container").remove()}var g=p||{};g.inputClass=g.inputClass||"selectbox";g.containerClass=g.containerClass||"selectbox-wrapper";g.hoverClass=g.hoverClass||"current";g.currentClass=g.selectedClass||"selected";g.debug=g.debug||false;var i=h.id;var b=-1;var j=false;var q=0;var m=$(h);var e=t(g);var d=f(g);m.hide().before(d).before(e);r();d.wrap('<div class="wrap-selectbox"></div>');d.click(function(){if(!j){e.toggle()}}).focus(function(){if(e.not(":visible")){j=true;e.show()}}).keydown(function(u){switch(u.keyCode){case 38:u.preventDefault();c(-1);break;case 40:u.preventDefault();c(1);break;case 13:u.preventDefault();$("li."+g.hoverClass).trigger("click");break;case 27:k();break}}).blur(function(){if($.browser.msie){if(document.activeElement.getAttribute("id").indexOf("_container")==-1){k()}else{d.focus()}}else{if(e.is(":visible")&&q>0){if(g.debug){console.log("container visible and has focus")}}else{k()}}});function k(){q=0;e.hide()}function r(){e.append(n(d.attr("id"))).hide();var u=d.css("width");e.width(u)}function t(u){var v=document.createElement("div");e=$(v);e.attr("id",i+"_container");e.addClass(u.containerClass);return e}function f(v){var w=document.createElement("input");var u=$(w);u.attr("id",i+"_input");u.attr("type","text");u.addClass(v.inputClass);u.attr("autocomplete","off");u.attr("readonly","readonly");u.attr("tabIndex",m.attr("tabindex"));return u}function c(u){var v=$("li",e);if(!v){return}b+=u;if(b<0){b=0}else{if(b>=v.size()){b=v.size()-1}}v.removeClass(g.hoverClass);$(v[b]).addClass(g.hoverClass)}function l(){var w=$("li."+g.currentClass,e).get(0);var v=(""+w.id).split("_");var u=v[v.length-1];m.val(u);d.val($(w).text());if($("#selDocument_input")[0]){$("#selDocument_input").css({color:"#878787"})}return true}function o(){return m.val()}function a(){return d.val()}function n(u){var w=new Array();var v=document.createElement("ul");m.children("option").each(function(){var x=document.createElement("li");x.setAttribute("id",u+"_"+$(this).val());x.innerHTML=$(this).text();if($(this).is(":selected")){d.val($(this).text());$(x).addClass(g.currentClass)}v.appendChild(x);$(x).mouseover(function(y){q=1;if(g.debug){console.log("over on : "+this.id)}jQuery(y.target,e).addClass(g.hoverClass)}).mouseout(function(y){q=-1;if(g.debug){console.log("out on : "+this.id)}jQuery(y.target,e).removeClass(g.hoverClass)}).click(function(y){var z=$("li."+g.hoverClass,e).get(0);if(g.debug){console.log("click on :"+this.id)}$("li."+g.currentClass).removeClass(g.currentClass);$(this).addClass(g.currentClass);l();k();j=false})});return v}};var RunSuperSleight=function(a){if(jQuery.browser.msie&&parseInt(jQuery.browser.version)<=6){if(a){supersleight.limitTo(a)}supersleight.run()}};function showStep(a){$(".content-steps").hide();$("ol.nav-steps li").removeClass("on");$("."+a).show();$(".nav-"+a).addClass("on")}function styleTitles(){$(".preview h5").flash({src:"../swf/klavika.swf",flashvars:{css:["* { color: #00aeef}"].join(" ")}},{version:8},function(b){b.flashvars.txt=this.innerHTML;this.innerHTML="<div>"+this.innerHTML+"</div>";var a=$(this.firstChild);b.height=a.height();b.width=a.width();a.addClass("alt");$(this).addClass("flash-replaced").prepend($.fn.flash.transform(b))})}function changeTab(a){$(".nav-addons li").removeClass("on");$(".addons-content").hide();$(".nav-addons li.nav-"+a).addClass("on");$(".addons-"+a).show()}function displayNoneBusca(){$(".txt_refinarBusca").hide();$(".txt_dicaUse").hide();$("#cpoBusca").focus()}function TrocaAba(a){$(".nav-addons li a").removeClass("on");$(".addons-content").hide();$(".nav-addons li.nav-"+a+" a:eq(0)").addClass("on");$(".addons-"+a).show()}function OnlyNumbers(d){var a=/[0-9]/;var c;var b;if(d.keyCode){c=d.keyCode}else{if(d.which){c=d.which}}b=String.fromCharCode(c);if(c==8||c==9||(c==39&&b!="'")||(c==46&&b!=".")){return true}else{if(!a.test(b)){return false}else{return true}}}function isVisible(a){if(typeof a=="string"){a=xGetElementById(a)}while(a.nodeName.toLowerCase()!="body"&&a.style.display.toLowerCase()!="none"&&a.style.visibility.toLowerCase()!="hidden"){a=a.parentNode}if(a.nodeName.toLowerCase()=="body"){return true}else{return false}}jQuery.fn.Centralize=function(){var a=$(this).outerWidth(true);var e=$(this).outerHeight(true);var d=$("html").outerWidth(true);var c=$("html").outerHeight(true)<$("body").outerHeight(true)?$("body").outerHeight(true):$("html").outerHeight(true);var b=(d-a)/2;$(this).css({left:b})};var abrirCortina=function(f,c,e){var d=c?"0":"0.6";var b=e?e:4;var a=$("html").outerHeight(true)<$("body").outerHeight(true)?$("body").outerHeight(true):$("html").outerHeight(true);if(!$("#cortina"+b+"")[0]){$("body").append('<div id="cortina'+b+'" style="position:absolute;top:0;left:0;width:100%;background:#000;"></div>')}if(f){$("#cortina"+b+"").css({zIndex:b,opacity:d,height:a,display:"none"}).fadeIn(400)}else{$("#cortina"+b+"").fadeOut(400)}};var $get=function(a){return document.getElementById(a)};var alertLogin=function(c,b){var a=(jQuery.browser.msie&&parseInt(jQuery.browser.version)<=7)?0:400;if(!$("#alertLogin")[0]){$("body").prepend('<div id="alertLogin" class="box_area_alert" style="position:absolute;margin:20% auto;"><div class="msg_alert"><div class="cont"><p id="alertLoginMessage"></p><span class="btn_ok"><a id="lnkOk" class="r" href="javascript:void[0];" onclick="$(\'#alertLogin\').hide('+a+'); abrirCortina(false);" title="Ok">Ok</a></span></div><div class="bot"></div></div></div>')}abrirCortina(true);$("#alertLoginMessage").html(c);$("#alertLogin").show(a).center().css({left:"25%"});if(b){$("#lnkOk")[0].onclick=function(){window.location=RootUrl+"?e=expired&r="+window.location.href}}return false};var alertMessage=function(b){var a=(jQuery.browser.msie&&parseInt(jQuery.browser.version)<=7)?0:400;if(!$("#alertMessage")[0]){$("body").append('<div id="alertMessage" class="box_area_alert_azul" style="position:absolute;margin:20% auto;"><div class="msg_alert"><div class="cont"><p id="alertMessageText"></p><span class="btn_ok"><a id="lnkOkAlertMessage" class="r" href="javascript:void[0];" onclick="$(\'#alertMessage\').hide('+a+'); abrirCortina(false);" title="Ok">Ok</a></span></div><div class="bot"></div></div></div>')}abrirCortina(true);$("#alertMessageText").html(b);$("#alertMessage").show(a).center().css({left:"25%"});return false};window.alert=function(a){alertDebug(a)};var alertDebug=function(a){if(!$("#debugContainer")[0]){$("body").prepend('<div id="debugContainer" style="position:fixed;top:170px;left:5px;z-index:1000;border:1px solid #00f;background:#fff;min-width:200px;min-height:110px;padding:5px;color:#000;"><span>Debug Window</span><a href="javascript:void[0];" onclick="$(this).parent().hide();alertDebugClear(); return false;" style="position:absolute;top:2px;right:2px;color:#f00;font-weight:bold;">X</a><div id="debugContent" style="font-size:12px !important;"></div></div>')}$("#debugContainer").show();$("#debugContent").html($("#debugContent").html()+"<br />\n"+a);return false};var alertDebugClear=function(){if($("#debugContent")[0]){$("#debugContent").html("")}};function EfetuarLogin(){$.ajax({url:"AJAX/Login.aspx",type:"POST",data:"action=login&user="+$("#txtLogin").val()+"&password="+$("#pwdPass").val()+"&remember="+$("#chkRemember")[0].checked+"&firsttime=0",dataType:"json",error:function(a){alertLogin(loginErro)},success:function(b){if(!b.success){alertLogin(b.message)}else{var c=location.search.replace(/^\?/,"").replace(/\&$/,"").split("&r=");if(c[1]){if(c[1].indexOf("&mode=")==-1){window.location=unescape(c[1])}else{var a=c[1].split("&mode=");a=unescape(a[0]);if(a[0]=="/"){a=a.substring(1,a.length)}window.location=a}}else{window.location=window.location.href;return}}}})}function SignOut(){$.ajax({url:"AJAX/Login.aspx",type:"POST",data:"action=logout",dataType:"json",success:function(a){window.location=RootUrl}})}function InserirEmail(a){$("#frmLogin").show();if(a){$("#txtLogin").hide();$("#txtPass").hide();$("#txtEmail").show().show();$("#chkRemember").hide();$("#frmLogin > label").hide();$("#btEsqueciSenha").hide();$("p.bt-forgot").hide();$("#btnOk")[0].onclick=function(){EsqueciSenha()};OmnitureSettings("OTRA - Forget Password","0","","","")}else{window.setTimeout(function(){$("input#txtPass").parents("div.style-input").show()},1);$("#txtLogin").show();$("#txtPass").show();$("#txtEmail").hide();$("#chkRemember").show();$("#frmLogin > label").show();$("p.bt-forgot").show();$("#btEsqueciSenha").show();$("#btnOk")[0].onclick=function(){EfetuarLogin()}}}function EsqueciSenha(){var a=$("#txtEmail").value;$.ajax({url:"AJAX/Login.aspx",type:"POST",data:"action=esqueci_senha&Email="+$("#txtEmail").val(),dataType:"json",success:function(b){if(b.success){alertLogin(b.message);$("#alertLogin").removeClass("box_area_alert").addClass("box_area_sucesso");$("#lnkOk")[0].onclick=function(){window.location="Default.aspx"};OmnitureSettings("OTRA - Forget Password - Sent","2.5","2","","")}else{alertLogin(b.message);$("#alertLogin").removeClass("box_area_sucesso").addClass("box_area_alert")}},error:function(){alertLogin(json.message);$("#alertLogin").removeClass("box_area_alert_azul").addClass("box_area_alert")}})}jQuery.fn.center=function(){return this.each(function(){var c=jQuery(this);c.css({position:"fixed"});var b=c.width(),f=c.height(),e=parseInt(c.css("paddingLeft"),10)+parseInt(c.css("paddingRight"),10),i=parseInt(c.css("borderLeftWidth"),10)+parseInt(c.css("borderRightWidth"),10),d=parseInt(c.css("paddingTop"),10)+parseInt(c.css("paddingBottom"),10),g=parseInt(c.css("borderTopWidth"),10)+parseInt(c.css("borderBottomWidth"),10),a=(b+e+i)/2;topMargin=(f+d+g)/2;c.css({position:"fixed",left:"50%",top:"50%",marginLeft:"-"+a+"px",marginTop:"-"+topMargin+"px",zIndex:"99"});if($.browser.msie){if($.browser.version=="6.0"){c.css({position:"absolute",top:(jQuery(window).height()-jQuery(this).outerHeight())/2+jQuery(window).scrollTop()-200})}}})};jQuery.fn.CenterImage=function(){var a=function(c){if($(c).parent().is("DIV")||$(c).parent().is("SPAN")){return $(c).parent()}else{return a($(c).parent().get(0))}};var b=function(c){var d=0;var h=0;var g=a(c);var f=g.outerWidth();var e=g.outerHeight();if(c.width>f){d=(c.width-f)/2}if(c.height>e){var h=(c.height-e)/2}if(d>0||h>0){$(c).css({position:"relative",right:d+"px",bottom:h+"px"})}};return this.each(function(){b(this);$(this).load(function(){b(this)})})};jQuery.fn.CenterLoadedImage=function(){var a=function(b){if($(b).parent().is("DIV")||$(b).parent().is("SPAN")){return $(b).parent()}else{return a($(b).parent().get(0))}};return this.each(function(){var b=0;var g=0;var f=a(this);var e=$(this);var d=f.outerWidth();var c=f.outerHeight();if(e[0].width>d){b=(e[0].width-d)/2}if(e[0].height>c){var g=(e[0].height-c)/2}if(b>0||g>0){e.css({position:"relative",right:b+"px",bottom:g+"px"})}})};function textCounter2(b,a){if(b.value.length>a){b.value=b.value.substring(0,a)}return true}function OmnitureSettings(a,d,e,b,c){s.pageName=a;pageScore=d;engLevel=e;s.prop6=b;s.events=c;s.eVar2=s.prop6;s.eVar5=s.pageName;s.eVar6=s.channel;s.eVar7=s.prop1;s.eVar8=s.prop2;s.eVar9=s.prop3;s.eVar10=s.prop4;s.eVar11=s.prop5;s_code=s.t()}function createCookie(b,c,a){if(a){var d=new Date();d.setTime(d.getTime()+(a*24*60*60*1000));var e="; expires="+d.toGMTString()}else{var e=""}document.cookie=b+"="+c+e+"; path=/"}function getCookie(d){var b=d+"=";var f=document.cookie.split(";");for(var a=0;a<f.length;a++){var e=f[a];while(e.charAt(0)==" "){e=e.substring(1,e.length)}if(e.indexOf(b)==0){return e.substring(b.length,e.length)}}return null}function deleteCookie(a){createCookie(a,"",-1)}var SelectFirst=function(b){if(b.indexOf("#")==-1){b="#"+b}$(b+"_container > ul > li").removeClass("selected");var a=$(b+"_container > ul > li:eq(0)");a.addClass("selected");$(b+"_input").val(a.html())};var TextCounter=function(b,d,a){var c=b.val();if(c.length>d){c=c.substring(0,d);b.val(c)}if(a[0]){a.html(d-c.length)}return true};String.prototype.getDateStringFromISO=function(){if(this!=""){var a=[];if(this.indexOf("T")>-1){a=this.substring(0,10).split("-")}else{a=this.split("-")}switch(messages.FormatMask_Data){case"dd/mm/aaaa":return a[2]+"/"+a[1]+"/"+a[0];case"mm/dd/yyyy":return a[1]+"/"+a[2]+"/"+a[0]}}else{return""}};String.prototype.getISODateString=function(){if(this!=""){var a=this.split("/");switch(messages.FormatMask_Data){case"dd/mm/aaaa":return a[2]+"-"+a[1]+"-"+a[0];case"mm/dd/yyyy":return a[2]+"-"+a[0]+"-"+a[1]}}else{return""}};String.prototype.trim=function(){var a=this.toString();if(a.length>0){a=a.replace(/^\s+|\s+$/g,"")}return a};jQuery.fn.maxlength=function(b){if(typeof b=="string"){b={feedback:b}}b=$.extend({},$.fn.maxlength.defaults,b);function a(c){var d=c.value;if(b.words){d=c.value.length?d.split(/\s+/):{length:0}}return d.length}return this.each(function(){var h=this,f=$(h),d=$(h.form),i=b.useInput?d.find("input[name=maxlength]").val():f.attr("maxlength"),c=d.find(b.feedback);function g(k){var l=a(this),m=l>=i,j=k.keyCode;if(!m){return}switch(j){case 8:case 9:case 17:case 36:case 35:case 37:case 38:case 39:case 40:case 46:case 65:return;default:return b.words&&j!=32&&j!=13&&l==i}}var e=function(){var j=a(h),k=i-j;c.html(k||"0");if(b.hardLimit&&k<0){h.value=b.words?h.value.split(/(\s+)/,(i*2)-1).join(""):h.value.substr(0,i);e()}};f.keyup(e).change(e);if(b.hardLimit){f.keydown(g)}e()})};jQuery.fn.maxlength.defaults={useInput:false,hardLimit:true,feedback:".charsLeft",words:false};function CreateClearspringLink(a,b){$Launchpad.ShowMenu({wid:"4acf817d809230d5",unique:true,widgetName:"ON THE ROAD AGAIN",menuWidth:500,menuHeight:240,actionElement:b,bookmarkUrl:location.href,menuConfig:{style:{menubar:{alpha:100,background:6273502,foreground:16777215,hover:13421772,selected:16777215},menu:{chrome:15461355,alpha:100,background:16777215,foreground:3355443,link:26316,title:3355443,hover:6273502}}},config:{rid:a,pais:CurrentCulture}})};
var IsPostBack=false;var RotaNome="";var slideHome=function(h,e){var f=870;var g=612;var c=255;var b=1200;$(".container:eq(1)").css({borderRight:"none"});$(".cont_geral").css({borderRight:"0px solid #c8cacb"});var d,a;if($.browser.msie){d={marginLeft:"-"+g+"px"};a={marginLeft:"0px"}}else{d={marginLeft:"-"+g+"px",opacity:0};a={marginLeft:"0px",opacity:1}}$(h).animate({marginLeft:"-"+c+"px"},b,function(){$(this).hide()}).removeClass("box_open");$(".lnkSlideHome").fadeOut(b/2);$(".cont_geral").animate(d,b,function(){$(".cont_geral > div").hide();$(".box"+e).show();if(e>1){$(".lnkSlideHome").fadeIn(400);$(".lnkSlideHome").map(function(k,j){j.onclick=function(){slideHome(".sbox"+e,1)}})}$(".sbox"+e).css({marginLeft:"-"+c+"px"}).show().animate({marginLeft:"-0px"},b).addClass("box_open")}).animate(a,b);$(".flashBox2").animate({right:"5px"},b).animate({right:"-253px"},b,function(){$(".container:eq(1)").css({borderRight:"1px solid #c8cacb"})})};function fctAddFavorite(b,e,c,a,d){if(typeof(window.RotaNome)!="undefined"){OmnitureSettings("OTRA - View Road Trip - "+RotaNome+" - Add to Favorites","2.5","","","")}if(d==undefined){var d=""}$.post("AJAX/AcoesGenericas.aspx?method=addFavorite",{user_id:b,roteiro_id:e,tipo_id:c,confirm:d},function(f){switch(f.retorno){case 1:showAlertFavoritos(f,true,"sucesso");break;case 2:showAlertFavoritos(f,true,"alert_azul");break;case 3:showAlertFavoritos(f,true,"alert");break}},"json")}function showAlertFavoritos(d,b,c){var a='    <div id="alertFavoritos'+d.retorno+'" class="box_area_'+c+'">';a+='    <div class="msg_alert">';a+='    <div class="cont">';a+='        <p id="alertFavoritosMessage'+d.retorno+'"></p>';if(d.retorno==2){a+='        <p class="btns" >';a+="        <strong>";a+='            <a href="javascript:void[0];" class="yes" onclick="$(\'#alertFavoritos'+d.retorno+'\').hide(400);" title="'+d.btnSim+'">'+d.btnSim+"</a>";a+="        </strong>";a+="        <strong>";a+='            <a href="javascript:void[0];" class="no" onclick="$(\'#alertFavoritos'+d.retorno+'\').hide(400);" title="'+d.btnNao+'">'+d.btnNao+"</a>";a+="        </strong>";a+="        </p>"}else{a+='        <span class="btn_ok">';a+='            <a class="r" href="javascript:void[0];" onclick="$(\'#alertFavoritos'+d.retorno+'\').hide(400);" title="Ok">Ok</a>';a+="        </span>"}a+="    </div>";a+='    <div class="bot"></div>';a+="    </div>";a+="</div>";if(!$("#alertFavoritos"+d.retorno)[0]){$("body").append(a)}if(b){abrirCortina(true);if(d.retorno==2){$("#alertFavoritos"+d.retorno+" > div > div > p > strong > a.yes")[0].onclick=function(f){abrirCortina(false);$("#alertFavoritos"+d.retorno).hide(400);fctAddFavorite(d.userid,d.roteiroid,d.tipoid,"",true)};$("#alertFavoritos"+d.retorno+" > div > div > p > strong > a.no")[0].onclick=function(f){abrirCortina(false);$("#alertFavoritos"+d.retorno).hide(400)}}else{$("#alertFavoritos"+d.retorno+" > div > div > span > a")[0].onclick=function(f){abrirCortina(false);$("#alertFavoritos"+d.retorno).hide(400)}}}else{abrirCortina(true,true,6);if(d.retorno==2){$("#alertFavoritos"+d.retorno+" > div > div > strong > a.no")[0].onclick=function(f){abrirCortina(false,true,6);$("#alertFavoritos"+d.retorno).hide(400)}}else{$("#alertFavoritos"+d.retorno+" > div > div > span > a")[0].onclick=function(f){abrirCortina(false,true,6);$("#alertFavoritos"+d.retorno).hide(400)}}}jQuery("#alertFavoritos"+d.retorno).center();RunSuperSleight("alertFavoritos"+d.retorno);$("#alertFavoritos"+d.retorno).fadeIn(500);$("#alertFavoritosMessage"+d.retorno).text(d.mensagem)}function OpenFavoritos(c,a){var b=$("#"+c);var d=$("#"+a);b.show()}function CloseFavoritos(c,a){var b=$("#"+c);var d=$("#"+a);b.hide()}ZeroClipboard.setMoviePath("layout/js/ZeroClipboard.swf");function PopUpURL(c,f,e,d,g){var a=jQuery.browser.msie?0:300;if(c){if($("#urlPopUp"+e)[0]){$("#urlPopUp"+e).remove()}if(jQuery.browser.msie){$("#tour"+e+" > .icon_url").css({position:"relative",display:"block"}).prepend('<div class="poup_copie_url" id="urlPopUp'+e+'"><div class="f_l"><h3 class="r">'+d+'</h3><textarea id="txtCopyUrl'+e+"\" onmouseout=\"PopUpURL(false,'',"+e+');">'+f+'</textarea></div><span class="bg_bottom"></span></div>');window.setTimeout(function(){$("#txtCopyUrl"+e).click(function(){Copied=$("#txtCopyUrl"+e)[0].createTextRange();Copied.execCommand("Copy");$("#txtCopyUrl"+e).val(copiadoSucesso)})},1)}else{$("#tour"+e+" > .icon_url").css({position:"relative",display:"block"}).prepend('<div class="poup_copie_url" id="urlPopUp'+e+'"><div class="f_l"><h3 class="r">'+d+'</h3><textarea id="txtCopyUrl'+e+"\" onmouseout=\"PopUpURL(false,'',"+e+');">'+f+'</textarea></div><span class="bg_bottom"></span></div>');var h=new ZeroClipboard.Client();h.setText($("#txtCopyUrl"+e+"").val());h.addEventListener("mouseUp",function(i){h.hide();$("#txtCopyUrl"+e).val(copiadoSucesso)});h.addEventListener("mouseOut",function(i){h.hide();$("#urlPopUp"+e).hide(a)});window.setTimeout(function(){h.glue(document.getElementById("txtCopyUrl"+e))},1)}var b="";switch(g){case"roteiro":b={position:"absolute",top:"25px",left:"-41px"};$("#txtCopyUrl").bind("focus",function(){OmnitureSettings("OTRA - View Road Trip - "+RotaNome+" - Get URL","","3","","")});break;default:b={position:"absolute",top:"25px",left:"-41px"};break}$("#urlPopUp"+e).css(b);RunSuperSleight("urlPopUp"+e);$("#urlPopUp"+e).show(a)}else{$("#urlPopUp"+e).hide(a)}}function fctRating(e,b,d,c,a){$.ajax({url:"AJAX/AcoesGenericas.aspx?method=votar",type:"POST",data:{roteiro_id:e,user_id:b,nota:d,percent:c,isbig:a},dataType:"json",success:function(f){if(f.success){if(!$("#alertRating")[0]){$("body").append('<div id="alertRating" class="box_area_sucesso"><div class="msg_alert"><div class="cont"><p id="alertRatingMessage"></p><span class="btn_ok"><a class="r" href="javascript:void[0];" onclick="$(\'#alertRating\').hide(400);abrirCortina(false);" title="Ok">Ok</a></span></div><div class="bot"></div></div></div>')}$("#alertRatingMessage").text(f.message);$("#alertRating").fadeIn(400).center();abrirCortina(true);var g='<div style="height:32px;width:116px;background:url('+RootUrl+'layout/img/ajax-loader.gif) no-repeat center;">&nbsp;</div>';$(".rating").html(g).load("AJAX/AcoesGenericas.aspx?method=updateVote",{roteiro_id:e,user_id:b})}else{alertLogin(f.message)}}});return false}function fctRatingOver(a,b){$("#"+a).css({width:b+"%"})}function fctRatingOut(a,b){media=$("#"+a)[0].value;$("#"+b).css({width:media+"%"})}function trocarAba(a){if(a>0){SlideReset();RotaId=a;$.ajax({url:"AJAX/AcoesGenericas.aspx",type:"POST",data:"&method=getRoteiro&rotaId="+RotaId,dataType:"json",success:function(b){if(b.success){PopulateSlideShow(b)}}});sliding("",1,0,-1)}}function PopulateSlideShow(a){if(a.success){$("#rotLinkTitulo")[0].href=a.url;$("#rotLinkTitulo")[0].title=a.nome;$("#rotTitulo").html(a.nome);$("#rotLink")[0].href=a.url;$("#rotAutor").html(a.usuario);$("#rotKm").html(a.km+" km");$("#rotLinkMapa")[0].href=a.url;$("#rotTags").append(a.tagLinks);if(a.nome.length>30){a.nome=a.nome.substring(0,30)}while(a.nome.indexOf("'")>-1){a.nome=a.nome.replace("'","")}RotaNome=a.nome}}var ListOrdem="preferidas";function TrocarAbaLista(b){if(hasBackgroundImage){$("#divBusca").html('<div id="loaderSWF" class="loaderSWF"></div>');loaderSWF.write("loaderSWF")}else{$("#divBusca").html('<div class="loaderBig">&nbsp;</div>')}$("#linkRelevancia")[0].onclick=function(){ListOrdem="preferidas";TrocarAbaLista(b)};$("#linkDataPublicacao")[0].onclick=function(){ListOrdem="recentes";TrocarAbaLista(b)};$("#buscaLista .p_links a").removeClass("on");var a="OTRA – Explore – "+(b==0?"Road Trips - ":"Pictures, Videos and Tips – ");if(ListOrdem=="recentes"){$("#linkDataPublicacao").addClass("on");a+="Most Recent"}else{if(ListOrdem=="preferidas"){$("#linkRelevancia").addClass("on");a+="Favorites"}}$("#divBusca").load("AJAX/AcoesGenericas.aspx",{method:"getLista",aba:b,ordem:ListOrdem},function(){$("#divBusca img").CenterImage()});if(IsPostBack){OmnitureSettings(a,"0","","","")}}function SetBackground(a){$.get("AJAX/AcoesGenericas.aspx",{method:"setBackground",setImage:a},function(){window.location=window.location.href})}var OpenVideoClip=function(c){var b=RootUrl+"flash/PlayerRedimensionavel.swf";var e=RootUrl+"flash/flv/OTRA_"+c+".flv";var g=RootUrl+"download/OTRA_"+c+".zip";var f=screen.availWidth;var a=screen.availHeight;if(jQuery.browser.msie){f=f-20;a=a-40}var d=window.open("","GMOTRA","width="+f+",height="+a+",left=0,top=0,screenX=0,screenY=0,resizable=yes,location=no,menubar=no,scrollbars=no,status=no,toolbar=no");d.document.open();d.document.write('<html><head><title>On the Road Again - Clip</title></head><body style="margin:0;padding:0;width:100%;text-align:center;>\n<object width="100%" height="100%"><param name="movie" value="'+b+'" /><param name="flvPath" value="'+e+'" /><param name="clipPath" value="'+g+'" /><param name="mp3Path" value="'+RootUrl+'download/Sound_track.zip" />\n<embed src="'+b+'" flashvars="flvPath='+e+"&clipPath="+g+"&mp3Path="+RootUrl+'download/Sound_track.zip" width="100%" height="100%"></embed></object>\n</body></html>');d.document.close()};function tabClickHandler(a){$("#divFeatures > div").hide();$("#divFeatures > div:eq("+(a-1)+")").show();if($.browser.msie&&$("#divFeatures > div").length==a){$("#sliderContent div a:first").click()}};
