var swCore = {}; /* * jQuery 1.2.6 - New Wave Javascript * * Copyright (c) 2008 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $ * $Rev: 5685 $ */ (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=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-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]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("",""]||!tags.indexOf("",""]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!tags.indexOf("",""]||(!tags.indexOf("",""]||!tags.indexOf("",""]||jQuery.browser.msie&&[1,"div
","
"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf(""&&tags.indexOf("=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&¬xml&&!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&¬xml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=msie&¬xml&&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*",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 im[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=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=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=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=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("
").append(res.responseText.replace(//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;ithis.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);};});})();/* * Interface elements for jQuery - http://interface.eyecon.ro * * Copyright (c) 2006 Stefan Petre * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * Including Compatibility Patch for jQuery 1.2.x * Copyright (c) 2008 Siteworks ApS * Compatibility patch not covered by MIT and/or GPL. */ //eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('4.1k={6E:o(e){6 x=0;6 y=0;6 28=V;6 C=e.1E;7(4(e).q(\'U\')==\'S\'){2p=C.1f;3g=C.K;C.1f=\'1e\';C.U=\'2z\';C.K=\'18\';28=1Y}6 d=e;3m(d){x+=d.4w+(d.2w&&!4.2g.4v?J(d.2w.4l)||0:0);y+=d.4z+(d.2w&&!4.2g.4v?J(d.2w.4k)||0:0);d=d.4s}d=e;3m(d&&d.4t&&d.4t.2E()!=\'Y\'){x-=d.2t||0;y-=d.1Z||0;d=d.3G}7(28){C.U=\'S\';C.K=3g;C.1f=2p}A{x:x,y:y}},6F:o(d){6 x=0,y=0;3m(d){x+=d.4w||0;y+=d.4z||0;d=d.4s}A{x:x,y:y}},2O:o(e){6 w=4.q(e,\'16\');6 h=4.q(e,\'1b\');6 1p=0;6 1n=0;6 C=e.1E;7(4(e).q(\'U\')!=\'S\'){1p=e.4b;1n=e.4c}D{2p=C.1f;3g=C.K;C.1f=\'1e\';C.U=\'2z\';C.K=\'18\';1p=e.4b;1n=e.4c;C.U=\'S\';C.K=3g;C.1f=2p}A{w:w,h:h,1p:1p,1n:1n}},6C:o(d){A{1p:d.4b||0,1n:d.4c||0}},5E:o(e){6 h,w,2v;7(e){w=e.2Q;h=e.2P}D{2v=u.1h;w=3q.4d||3b.4d||(2v&&2v.2Q)||u.Y.2Q;h=3q.45||3b.45||(2v&&2v.2P)||u.Y.2P}A{w:w,h:h}},3S:o(e){6 t,l,w,h,1D,1J;7(e&&e.3r.2E()!=\'Y\'){t=e.1Z;l=e.2t;w=e.4f;h=e.4e;1D=0;1J=0}D{7(u.1h&&u.1h.1Z){t=u.1h.1Z;l=u.1h.2t;w=u.1h.4f;h=u.1h.4e}D 7(u.Y){t=u.Y.1Z;l=u.Y.2t;w=u.Y.4f;h=u.Y.4e}1D=3b.4d||u.1h.2Q||u.Y.2Q||0;1J=3b.45||u.1h.2P||u.Y.2P||0}A{t:t,l:l,w:w,h:h,1D:1D,1J:1J}},4R:o(e,2u){6 d=4(e);6 t=d.q(\'2K\')||\'\';6 r=d.q(\'2J\')||\'\';6 b=d.q(\'2H\')||\'\';6 l=d.q(\'2I\')||\'\';7(2u)A{t:J(t)||0,r:J(r)||0,b:J(b)||0,l:J(l)};D A{t:t,r:r,b:b,l:l}},6H:o(e,2u){6 d=4(e);6 t=d.q(\'4E\')||\'\';6 r=d.q(\'4r\')||\'\';6 b=d.q(\'3Z\')||\'\';6 l=d.q(\'3t\')||\'\';7(2u)A{t:J(t)||0,r:J(r)||0,b:J(b)||0,l:J(l)};D A{t:t,r:r,b:b,l:l}},6M:o(e,2u){6 d=4(e);6 t=d.q(\'4k\')||\'\';6 r=d.q(\'4p\')||\'\';6 b=d.q(\'4U\')||\'\';6 l=d.q(\'4l\')||\'\';7(2u)A{t:J(t)||0,r:J(r)||0,b:J(b)||0,l:J(l)||0};D A{t:t,r:r,b:b,l:l}},6L:o(1z){6 x=1z.6K||(1z.6I+(u.1h.2t||u.Y.2t))||0;6 y=1z.6J||(1z.6z+(u.1h.1Z||u.Y.1Z))||0;A{x:x,y:y}},3V:o(1q,44){44(1q);1q=1q.4O;3m(1q){4.1k.3V(1q,44);1q=1q.6y}},6p:o(1q){4.1k.3V(1q,o(d){14(6 L 24 d){7(3u d[L]===\'o\'){d[L]=X}}})},6q:o(d,2N){6 1x=$.1k.3S();6 3U=$.1k.2O(d);7(!2N||2N==\'6o\')$(d).q({N:1x.t+((1c.1A(1x.h,1x.1J)-1x.t-3U.1n)/2)+\'B\'});7(!2N||2N==\'6n\')$(d).q({Q:1x.l+((1c.1A(1x.w,1x.1D)-1x.l-3U.1p)/2)+\'B\'})},6m:o(d,4C){6 3h=$(\'3B[@1Q*="2x"]\',d||u),2x;3h.3C(o(){2x=E.1Q;E.1Q=4C;E.1E.4Z="5b:5c.5m.6r(1Q=\'"+2x+"\')"})}};[].4g||(6s.6x.4g=o(v,n){n=(n==X)?0:n;6 m=E.1L;14(6 i=n;i-4m?r:(1l(4.q(G,M))||0);1a=1a==\'4o\'?(2o==\'S\'?\'1m\':\'1v\'):1a;f[1a]=1Y;I[M]=1a==\'1m\'?[0,G.1T[M]]:[G.1T[M],0];7(M!=\'1s\')y[M]=I[M][0]+(M!=\'29\'&&M!=\'3Q\'?\'B\':\'\');D 4.L(y,"1s",I[M][0])}D{I[M]=[1l(4.22(G,M)),1l(1a)||0]}}D 7(4.H.4q[M])I[M]=[4.H.1X(4.22(G,M)),4.H.1X(1a)];D 7(/^2d$|3p$|O$|3n$|3M$/i.3z(M)){6 m=1a.1U(/\\s+/g,\' \').1U(/2a\\s*\\(\\s*/g,\'2a(\').1U(/\\s*,\\s*/g,\',\').1U(/\\s*\\)/g,\')\').4W(/([^\\s]+)/g);52(M){T\'2d\':T\'3p\':T\'3M\':T\'3n\':m[3]=m[3]||m[1]||m[0];m[2]=m[2]||m[0];m[1]=m[1]||m[0];14(6 i=0;i<4.H.2R.1L;i++){6 1M=4.H.3P[M][0]+4.H.2R[i]+4.H.3P[M][1];I[1M]=M==\'3n\'?[4.H.1X(4.22(G,1M)),4.H.1X(m[i])]:[1l(4.22(G,1M)),1l(m[i])]}1B;T\'O\':14(6 i=0;if.1K+z.3D){5v(z.2V);z.2V=X;14(p 24 I){7(p=="1s")4.L(y,"1s",I[p][1]);D 7(3u I[p][1]==\'3J\')y[p]=\'2a(\'+I[p][1].r+\',\'+I[p][1].g+\',\'+I[p][1].b+\')\';D y[p]=I[p][1]+(p!=\'29\'&&p!=\'3Q\'?\'B\':\'\')}7(f.1v||f.1m)14(6 p 24 G.1T)7(p=="1s")4.L(y,p,G.1T[p]);D y[p]="";y.U=f.1v?\'S\':(2o!=\'S\'?2o:\'2z\');y.1F=5z;G.1I=X;7(4.5t(f.3v))f.3v.3e(G)}D{6 n=t-E.3D;6 2L=n/f.1K;14(p 24 I){7(3u I[p][1]==\'3J\'){y[p]=\'2a(\'+J(4.Z[f.Z](2L,n,I[p][0].r,(I[p][1].r-I[p][0].r),f.1K))+\',\'+J(4.Z[f.Z](2L,n,I[p][0].g,(I[p][1].g-I[p][0].g),f.1K))+\',\'+J(4.Z[f.Z](2L,n,I[p][0].b,(I[p][1].b-I[p][0].b),f.1K))+\')\'}D{6 3L=4.Z[f.Z](2L,n,I[p][0],(I[p][1]-I[p][0]),f.1K);7(p=="1s")4.L(y,"1s",3L);D y[p]=3L+(p!=\'29\'&&p!=\'3Q\'?\'B\':\'\')}}}};z.2V=5C(o(){z.1r()},13);G.1I=z},3K:o(G,1r){7(1r)G.1I.3D-=7S;D{3q.5v(G.1I.2V);G.1I=X;4.7R(G,"H")}}});4.3O=o(1N){6 1y={};7(3u 1N==\'7N\'){1N=1N.2E().56(\';\');14(6 i=0;i<1N.1L;i++){2h=1N[i].56(\':\');7(2h.1L==2){1y[4.5a(2h[0].1U(/\\-(\\w)/g,o(m,c){A c.8c()}))]=4.5a(2h[1])}}}A 1y};4.k={f:{O:10,5d:\'3h/8d.5l\',5p:\'<3B 1Q="3h/88.5k" />\',5n:0.8,5q:\'87 82\',5A:\'81\',2c:83},84:V,86:V,21:X,30:V,2T:V,4j:o(1z){7(!4.k.2T||4.k.30)A;6 51=1z.7s||1z.7r||-1;52(51){T 35:7(4.k.21)4.k.2e(X,4(\'a[@2U=\'+4.k.21+\']:7n\').P(0));1B;T 36:7(4.k.21)4.k.2e(X,4(\'a[@2U=\'+4.k.21+\']:7H\').P(0));1B;T 37:T 8:T 33:T 80:T 8h:6 3f=4(\'#2M\');7(3f.P(0).1u!=X){3f.P(0).1u.3e(3f.P(0))}1B;T 38:1B;T 39:T 34:T 32:T 8N:T 78:6 3d=4(\'#2G\');7(3d.P(0).1u!=X){3d.P(0).1u.3e(3d.P(0))}1B;T 40:1B;T 27:4.k.3y();1B}},8K:o(f){7(f)4.4i(4.k.f,f);7(3q.1z){4(\'Y\',u).2s(\'5e\',4.k.4j)}D{4(u).2s(\'5e\',4.k.4j)}4(\'a\').3C(o(){d=4(E);5F=d.L(\'2U\')||\'\';4Y=d.L(\'2Z\')||\'\';54=/\\.5k|\\.8M|\\.2x|\\.5l|\\.8G/g;7(4Y.2E().4W(54)!=X&&5F.2E().4g(\'5j\')==0){d.2s(\'4h\',4.k.2e)}});7(4.2g.3o){2B=u.1g(\'2B\');4(2B).L({19:\'4a\',1Q:\'8E:V;\',5V:\'4X\',5Z:\'4X\'}).q({U:\'S\',K:\'18\',N:\'0\',Q:\'0\',4Z:\'5b:5c.5m.5L(1s=0)\'});4(\'Y\').17(2B)}2C=u.1g(\'25\');4(2C).L(\'19\',\'49\').q({K:\'18\',U:\'S\',N:\'0\',Q:\'0\',1s:0}).17(u.2X(\' \')).2s(\'4h\',4.k.3y);1W=u.1g(\'25\');4(1W).L(\'19\',\'59\').q({3t:4.k.f.O+\'B\'}).17(u.2X(\' \'));41=u.1g(\'25\');4(41).L(\'19\',\'58\').q({3t:4.k.f.O+\'B\',3Z:4.k.f.O+\'B\'}).17(u.2X(\' \'));43=u.1g(\'a\');4(43).L({19:\'5K\',2Z:\'#\'}).q({K:\'18\',5o:4.k.f.O+\'B\',N:\'0\'}).17(4.k.f.5p).2s(\'4h\',4.k.3y);2b=u.1g(\'25\');4(2b).L(\'19\',\'48\').q({K:\'2W\',3X:\'Q\',2d:\'0 5g\',29:1}).17(1W).17(41).17(43);1d=u.1g(\'3B\');1d.1Q=4.k.f.5d;4(1d).L(\'19\',\'5r\').q({K:\'18\'});1j=u.1g(\'a\');4(1j).L({19:\'2M\',2Z:\'#\'}).q({K:\'18\',U:\'S\',1F:\'1e\',5f:\'S\'}).17(u.2X(\' \'));1i=u.1g(\'a\');4(1i).L({19:\'2G\',2Z:\'#\'}).q({K:\'18\',1F:\'1e\',5f:\'S\'}).17(u.2X(\' \'));1w=u.1g(\'25\');4(1w).L(\'19\',\'53\').q({U:\'S\',K:\'2W\',1F:\'1e\',3X:\'Q\',2d:\'0 5g\',N:\'0\',Q:\'0\',29:2}).17([1d,1j,1i]);1S=u.1g(\'25\');4(1S).L(\'19\',\'3s\').q({U:\'S\',K:\'18\',1F:\'1e\',N:\'0\',Q:\'0\',3X:\'5Q\',5i:\'5h\',5O:\'0\'}).17([1w,2b]);4(\'Y\').17(2C).17(1S)},2e:o(e,2S){d=2S?4(2S):4(E);31=d.L(\'2U\');6 20,1G,1j,1i;7(31!=\'5j\'){4.k.21=31;2Y=4(\'a[@2U=\'+31+\']\');20=2Y.6k();1G=2Y.73(2S?2S:E);1j=2Y.P(1G-1);1i=2Y.P(1G+1)}2A=d.L(\'2Z\');1W=d.L(\'7e\');12=4.1k.3S();2C=4(\'#49\');7(!4.k.2T){4.k.2T=1Y;7(4.2g.3o){4(\'#4a\').q(\'1b\',1c.1A(12.1J,12.h)+\'B\').q(\'16\',1c.1A(12.1D,12.w)+\'B\').1m()}2C.q(\'1b\',1c.1A(12.1J,12.h)+\'B\').q(\'16\',1c.1A(12.1D,12.w)+\'B\').1m().5w(5u,4.k.f.5n,o(){4.k.3T(2A,1W,12,20,1G,1j,1i)});4(\'#3s\').q(\'16\',1c.1A(12.1D,12.w)+\'B\')}D{4(\'#2M\').P(0).1u=X;4(\'#2G\').P(0).1u=X;4.k.3T(2A,1W,12,20,1G,1j,1i)}A V},3T:o(2A,6l,12,20,1G,1j,1i){4(\'#46\').5y();3F=4(\'#2M\');3F.1v();3l=4(\'#2G\');3l.1v();1d=4(\'#5r\');1w=4(\'#53\');1S=4(\'#3s\');2b=4(\'#48\').q(\'1f\',\'1e\');4(\'#59\').57(1W);4.k.30=1Y;7(20)4(\'#58\').57(4.k.f.5q+\' \'+(1G+1)+\' \'+4.k.f.5A+\' \'+20);7(1j){3F.P(0).1u=o(){E.5D();4.k.2e(X,1j);A V}}7(1i){3l.P(0).1u=o(){E.5D();4.k.2e(X,1i);A V}}1d.1m();2F=4.1k.2O(1w.P(0));1t=1c.1A(2F.1p,1d.P(0).16+4.k.f.O*2);1R=1c.1A(2F.1n,1d.P(0).1b+4.k.f.O*2);1d.q({Q:(1t-1d.P(0).16)/2+\'B\',N:(1R-1d.P(0).1b)/2+\'B\'});1w.q({16:1t+\'B\',1b:1R+\'B\'}).1m();5s=4.1k.5E();1S.q(\'N\',12.t+(5s.h/15)+\'B\');7(1S.q(\'U\')==\'S\'){1S.1m().5B(4.k.f.2c)}23=2r 6G;4(23).L(\'19\',\'46\').2s(\'6B\',o(){1t=23.16+4.k.f.O*2;1R=23.1b+4.k.f.O*2;1d.1v();1w.3k({1b:1R},2F.1n!=1R?4.k.f.2c:1,o(){1w.3k({16:1t},2F.1p!=1t?4.k.f.2c:1,o(){1w.6A(23);4(23).q({K:\'18\',Q:4.k.f.O+\'B\',N:4.k.f.O+\'B\'}).5B(4.k.f.2c,o(){5x=4.1k.2O(2b.P(0));7(1j){3F.q({Q:4.k.f.O+\'B\',N:4.k.f.O+\'B\',16:1t/2-4.k.f.O*3+\'B\',1b:1R-4.k.f.O*2+\'B\'}).1m()}7(1i){3l.q({Q:1t/2+4.k.f.O*2+\'B\',N:4.k.f.O+\'B\',16:1t/2-4.k.f.O*3+\'B\',1b:1R-4.k.f.O*2+\'B\'}).1m()}2b.q({16:1t+\'B\',N:-5x.1n+\'B\',1f:\'6D\'}).3k({N:-1},4.k.f.2c,o(){4.k.30=V})})})})});23.1Q=2A},3y:o(){4(\'#46\').5y();4(\'#3s\').1v();4(\'#48\').q(\'1f\',\'1e\');4(\'#49\').5w(5u,0,o(){4(E).1v();7(4.2g.3o){4(\'#4a\').1v()}});4(\'#2M\').P(0).1u=X;4(\'#2G\').P(0).1u=X;4.k.21=X;4.k.2T=V;4.k.30=V;A V}};',62,550,'||||jQuery||var|if||||||el||options|||||ImageBox||||function||css||||document||||||return|px|es|else|this|255|elem|fx|props|parseInt|position|attr|tp|top|border|get|left|oldStyle|none|case|display|false|result|null|body|easing||wrs|pageSize||for||width|append|absolute|id|vp|height|Math|loader|hidden|visibility|createElement|documentElement|nextImage|prevImage|iUtil|parseFloat|show|hb|color|wb|nodeEl|step|opacity|containerW|onclick|hide|container|clientScroll|newStyles|event|max|break|margins|iw|style|overflow|iteration|prop|animationHandler|ih|duration|length|nmp|styles|old|cs|src|containerH|outerContainer|orig|replace|128|captionText|parseColor|true|scrollTop|totalImages|currentRel|curCSS|imageEl|in|div|wr||restoreStyle|zIndex|rgb|captionEl|fadeDuration|margin|start|cssRules|browser|rule|np|speed|0x|F0|139|fA|oldDisplay|oldVisibility|0px|new|bind|scrollLeft|toInteger|de|currentStyle|png|namedColors|block|imageSrc|iframe|overlay|queue|toLowerCase|containerSize|ImageBoxNextImage|marginBottom|marginLeft|marginRight|marginTop|pr|ImageBoxPrevImage|axis|getSize|clientHeight|clientWidth|cssSides|elm|opened|rel|timer|relative|createTextNode|gallery|href|animationInProgress|linkRel|||||||||getValues|self|exec|nextEl|apply|prevEl|oldPosition|images|callback|opt|animate|nextImageEl|while|borderColor|msie|padding|window|nodeName|ImageBoxOuterContainer|paddingLeft|typeof|complete|styleSheets|sideEnd|hideImage|test|211|img|each|startTime|192|prevImageEl|parentNode|floatVal|pause|object|stopAnim|pValue|borderWidth|Color|parseStyle|cssSidesEnd|fontWeight|oldFloat|getScroll|loadImage|windowSize|traverseDOM|sizes|textAlign|169|paddingBottom||captionImages||closeEl|func|innerHeight|ImageBoxCurrentImage||ImageBoxCaption|ImageBoxOverlay|ImageBoxIframe|offsetWidth|offsetHeight|innerWidth|scrollHeight|scrollWidth|indexOf|click|extend|keyPressed|borderTopWidth|borderLeftWidth|10000|cssProps|toggle|borderRightWidth|colorCssProps|paddingRight|offsetParent|tagName|delta|opera|offsetLeft|firstNum|values|offsetTop|fxe|linear|emptyGIF|224|paddingTop|Width|245|144|230|240|107|165|insertBefore|notColor|firstChild|140|fxCheckTag|getMargins|styleFloat|wid|borderBottomWidth|className|match|no|hrefAttr|filter||pressedKey|switch|ImageBoxContainer|imageTypes||split|html|ImageBoxCaptionImages|ImageBoxCaptionText|trim|progid|DXImageTransform|loaderSRC|keyup|textDecoration|auto|transparent|backgroundColor|imagebox|jpg|gif|Microsoft|overlayOpacity|right|closeHTML|textImage|ImageBoxLoader|clientSize|isFunction|300|clearInterval|fadeTo|captionSize|remove|oldOverflow|textImageFrom|fadeIn|setInterval|blur|getClient|relAttr|Date|getTime|appendChild|darkred|ImageBoxClose|Alpha|233|fxWrapper|lineHeigt|ol|center|cssFloat|darksalmon|listStyle|204|frameborder|beige|darkgreen|dl|scrolling|darkorange|darkolivegreen|100|189|darkkhaki|183|darkmagenta|darkgrey|darkcyan|darkorchid|153|azure|aqua|220|black|darkblue|cyan|brown|blue|wrapper|size|captiontext|fixPNG|horizontally|vertically|purgeEvents|centerEl|AlphaImageLoader|Array|tbody|caption|td|tr|prototype|nextSibling|clientY|prepend|load|getSizeLite|visible|getPosition|getPositionLite|Image|getPadding|clientX|pageY|pageX|getPointer|getBorder|thead|tfoot|random|br|w_|float|buildWrapper|150|input|hr|form|table|button|textarea|select|removeChild|index|header||script|th||colgroup|col|frame|frameset|destroyWrapper|title|meta|optgroup|option|ul|122|Top|Right|outlineColor|last|borderTopColor|Bottom|Left|keyCode|charCode|stopAll|stop|fn|borderRightColor|borderLeftColor|maxHeight|maxWidth|lineHeight|letterSpacing|fontSize|minHeight|minWidth|textIndent|borderBottomColor|first|darkviolet|outlineOffset|cos|PI|outset|string|inset|ridge|groove|dequeue|100000000|RegExp|cssText|selectorText|rules|borderStyle|double|solid||from|image|400|imageLoaded||firstResize|Showing|close|dotted|dashed|isNaN|toUpperCase|loading|bottom|outlineWidth|182|112|lightpink|lightgrey|238|lightyellow|lime|olive|orange|navy|maroon|magenta|lightgreen|lightcyan|215|green|gold|fuchsia|148|indigo|130|173|216|lightblue|javascript|khaki|bmp|193|white|yellow|init|pink|jpeg|110|purple|203|silver|red'.split('|'),0,{})) eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('6.A={u:{U:10,5D:\'3r/6b.5U\',5x:\'<3j 1T="3r/6d.5H" />\',5M:0.8,5r:\'6j 5Z\',5z:\'6I\',2i:6J},6F:11,6S:11,21:14,2L:11,2K:11,4a:k(1G){f(!6.A.2K||6.A.2L)o;d 53=1G.6N||1G.6s||-1;4V(53){Z 35:f(6.A.21)6.A.2j(14,6(\'a[@2R=\'+6.A.21+\']:6n\').W(0));1K;Z 36:f(6.A.21)6.A.2j(14,6(\'a[@2R=\'+6.A.21+\']:6p\').W(0));1K;Z 37:Z 8:Z 33:Z 80:Z 6B:d 3Q=6(\'#2G\');f(3Q.W(0).1x!=14){3Q.W(0).1x.3v(3Q.W(0))}1K;Z 38:1K;Z 39:Z 34:Z 32:Z 6y:Z 78:d 3P=6(\'#2E\');f(3P.W(0).1x!=14){3P.W(0).1x.3v(3P.W(0))}1K;Z 40:1K;Z 27:6.A.3B();1K}},6v:k(u){f(u)6.3u(6.A.u,u);f(3I.1G){6(\'17\',C).2k(\'5L\',6.A.4a)}F{6(C).2k(\'5L\',6.A.4a)}6(\'a\').3F(k(){q=6(L);5g=q.S(\'2R\')||\'\';5S=q.S(\'2O\')||\'\';5R=/\\.5H|\\.6z|\\.31|\\.5U|\\.6m/g;f(5S.2C().4Y(5R)!=14&&5g.2C().4l(\'5B\')==0){q.2k(\'4q\',6.A.2j)}});f(6.22.3e){30=C.1i(\'30\');6(30).S({1g:\'43\',1T:\'6l:11;\',5Y:\'5t\',5W:\'5t\'}).B({18:\'12\',Q:\'1d\',T:\'0\',X:\'0\',4f:\'5c:52.57.6f(1j=0)\'});6(\'17\').1c(30)}2V=C.1i(\'28\');6(2V).S(\'1g\',\'48\').B({Q:\'1d\',18:\'12\',T:\'0\',X:\'0\',1j:0}).1c(C.2I(\' \')).2k(\'4q\',6.A.3B);1Z=C.1i(\'28\');6(1Z).S(\'1g\',\'5e\').B({3N:6.A.u.U+\'G\'}).1c(C.2I(\' \'));4s=C.1i(\'28\');6(4s).S(\'1g\',\'5u\').B({3N:6.A.u.U+\'G\',4w:6.A.u.U+\'G\'}).1c(C.2I(\' \'));4n=C.1i(\'a\');6(4n).S({1g:\'6e\',2O:\'#\'}).B({Q:\'1d\',5f:6.A.u.U+\'G\',T:\'0\'}).1c(6.A.u.5x).2k(\'4q\',6.A.3B);2l=C.1i(\'28\');6(2l).S(\'1g\',\'49\').B({Q:\'3d\',4p:\'X\',2e:\'0 5C\',2x:1}).1c(1Z).1c(4s).1c(4n);1n=C.1i(\'3j\');1n.1T=6.A.u.5D;6(1n).S(\'1g\',\'5p\').B({Q:\'1d\'});1o=C.1i(\'a\');6(1o).S({1g:\'2G\',2O:\'#\'}).B({Q:\'1d\',18:\'12\',1X:\'1m\',5O:\'12\'}).1c(C.2I(\' \'));1t=C.1i(\'a\');6(1t).S({1g:\'2E\',2O:\'#\'}).B({Q:\'1d\',1X:\'1m\',5O:\'12\'}).1c(C.2I(\' \'));1I=C.1i(\'28\');6(1I).S(\'1g\',\'5n\').B({18:\'12\',Q:\'3d\',1X:\'1m\',4p:\'X\',2e:\'0 5C\',T:\'0\',X:\'0\',2x:2}).1c([1n,1o,1t]);2c=C.1i(\'28\');6(2c).S(\'1g\',\'3y\').B({18:\'12\',Q:\'1d\',1X:\'1m\',T:\'0\',X:\'0\',4p:\'6k\',5l:\'4L\',6h:\'0\'}).1c([1I,2l]);6(\'17\').1c(2V).1c(2c)},2j:k(e,2Q){q=2Q?6(2Q):6(L);3h=q.S(\'2R\');d 20,1L,1o,1t;f(3h!=\'5B\'){6.A.21=3h;2N=6(\'a[@2R=\'+3h+\']\');20=2N.5X();1L=2N.64(2Q?2Q:L);1o=2N.W(1L-1);1t=2N.W(1L+1)}2F=q.S(\'2O\');1Z=q.S(\'6H\');19=6.1s.4j();2V=6(\'#48\');f(!6.A.2K){6.A.2K=1U;f(6.22.3e){6(\'#43\').B(\'1k\',I.1D(19.1O,19.h)+\'G\').B(\'1a\',I.1D(19.1C,19.w)+\'G\').1h()}2V.B(\'1k\',I.1D(19.1O,19.h)+\'G\').B(\'1a\',I.1D(19.1C,19.w)+\'G\').1h().5I(5N,6.A.u.5M,k(){6.A.4x(2F,1Z,19,20,1L,1o,1t)});6(\'#3y\').B(\'1a\',I.1D(19.1C,19.w)+\'G\')}F{6(\'#2G\').W(0).1x=14;6(\'#2E\').W(0).1x=14;6.A.4x(2F,1Z,19,20,1L,1o,1t)}o 11},4x:k(2F,6E,19,20,1L,1o,1t){6(\'#45\').5F();3H=6(\'#2G\');3H.1q();3w=6(\'#2E\');3w.1q();1n=6(\'#5p\');1I=6(\'#5n\');2c=6(\'#3y\');2l=6(\'#49\').B(\'1l\',\'1m\');6(\'#5e\').5v(1Z);6.A.2L=1U;f(20)6(\'#5u\').5v(6.A.u.5r+\' \'+(1L+1)+\' \'+6.A.u.5z+\' \'+20);f(1o){3H.W(0).1x=k(){L.5w();6.A.2j(14,1o);o 11}}f(1t){3w.W(0).1x=k(){L.5w();6.A.2j(14,1t);o 11}}1n.1h();2U=6.1s.2Y(1I.W(0));1w=I.1D(2U.1v,1n.W(0).1a+6.A.u.U*2);1W=I.1D(2U.1r,1n.W(0).1k+6.A.u.U*2);1n.B({X:(1w-1n.W(0).1a)/2+\'G\',T:(1W-1n.W(0).1k)/2+\'G\'});1I.B({1a:1w+\'G\',1k:1W+\'G\'}).1h();5j=6.1s.51();2c.B(\'T\',19.t+(5j.h/15)+\'G\');f(2c.B(\'18\')==\'12\'){2c.1h().5k(6.A.u.2i)}23=2u 6O;6(23).S(\'1g\',\'45\').2k(\'6r\',k(){1w=23.1a+6.A.u.U*2;1W=23.1k+6.A.u.U*2;1n.1q();1I.3x({1k:1W},2U.1r!=1W?6.A.u.2i:1,k(){1I.3x({1a:1w},2U.1v!=1w?6.A.u.2i:1,k(){1I.6t(23);6(23).B({Q:\'1d\',X:6.A.u.U+\'G\',T:6.A.u.U+\'G\'}).5k(6.A.u.2i,k(){5P=6.1s.2Y(2l.W(0));f(1o){3H.B({X:6.A.u.U+\'G\',T:6.A.u.U+\'G\',1a:1w/2-6.A.u.U*3+\'G\',1k:1W-6.A.u.U*2+\'G\'}).1h()}f(1t){3w.B({X:1w/2+6.A.u.U*2+\'G\',T:6.A.u.U+\'G\',1a:1w/2-6.A.u.U*3+\'G\',1k:1W-6.A.u.U*2+\'G\'}).1h()}2l.B({1a:1w+\'G\',T:-5P.1r+\'G\',1l:\'6u\'}).3x({T:-1},6.A.u.2i,k(){6.A.2L=11})})})})});23.1T=2F},3B:k(){6(\'#45\').5F();6(\'#3y\').1q();6(\'#49\').B(\'1l\',\'1m\');6(\'#48\').5I(5N,0,k(){6(L).1q();f(6.22.3e){6(\'#43\').1q()}});6(\'#2G\').W(0).1x=14;6(\'#2E\').W(0).1x=14;6.A.21=14;6.A.2K=11;6.A.2L=11;o 11}};6.1s={6w:k(e){d x=0;d y=0;d M=e.1F;d 4e=11;f(6(e).B(\'18\')==\'12\'){d 2t=M.1l;d 3l=M.Q;4e=1U;M.1l=\'1m\';M.18=\'3D\';M.Q=\'1d\'}d q=e;3k(q){x+=q.4D+(q.2r&&!6.22.4I?P(q.2r.4B)||0:0);y+=q.4F+(q.2r&&!6.22.4I?P(q.2r.4v)||0:0);q=q.56}q=e;3k(q&&q.4K&&q.4K.2C()!=\'17\'){x-=q.2h||0;y-=q.2m||0;q=q.3s}f(4e==1U){M.18=\'12\';M.Q=3l;M.1l=2t}o{x:x,y:y}},6C:k(q){d x=0,y=0;3k(q){x+=q.4D||0;y+=q.4F||0;q=q.56}o{x:x,y:y}},2Y:k(e){d w=6.B(e,\'1a\');d h=6.B(e,\'1k\');d 1v=0;d 1r=0;d M=e.1F;f(6(e).B(\'18\')!=\'12\'){1v=e.3T;1r=e.3R}F{d 2t=M.1l;d 3l=M.Q;M.1l=\'1m\';M.18=\'3D\';M.Q=\'1d\';1v=e.3T;1r=e.3R;M.18=\'12\';M.Q=3l;M.1l=2t}o{w:w,h:h,1v:1v,1r:1r}},6q:k(q){o{1v:q.3T||0,1r:q.3R||0}},51:k(e){d h,w,2f;f(e){w=e.2Z;h=e.2X}F{2f=C.1z;w=3I.41||3G.41||(2f&&2f.2Z)||C.17.2Z;h=3I.3Y||3G.3Y||(2f&&2f.2X)||C.17.2X}o{w:w,h:h}},4j:k(e){d t=0,l=0,w=0,h=0,1C=0,1O=0;f(e&&e.3A.2C()!=\'17\'){t=e.2m;l=e.2h;w=e.3S;h=e.3Z;1C=0;1O=0}F{f(C.1z){t=C.1z.2m;l=C.1z.2h;w=C.1z.3S;h=C.1z.3Z}F f(C.17){t=C.17.2m;l=C.17.2h;w=C.17.3S;h=C.17.3Z}1C=3G.41||C.1z.2Z||C.17.2Z||0;1O=3G.3Y||C.1z.2X||C.17.2X||0}o{t:t,l:l,w:w,h:h,1C:1C,1O:1O}},4W:k(e,2g){d q=6(e);d t=q.B(\'2P\')||\'\';d r=q.B(\'2W\')||\'\';d b=q.B(\'2D\')||\'\';d l=q.B(\'2S\')||\'\';f(2g)o{t:P(t)||0,r:P(r)||0,b:P(b)||0,l:P(l)};F o{t:t,r:r,b:b,l:l}},6T:k(e,2g){d q=6(e);d t=q.B(\'5i\')||\'\';d r=q.B(\'5s\')||\'\';d b=q.B(\'4w\')||\'\';d l=q.B(\'3N\')||\'\';f(2g)o{t:P(t)||0,r:P(r)||0,b:P(b)||0,l:P(l)};F o{t:t,r:r,b:b,l:l}},6Q:k(e,2g){d q=6(e);d t=q.B(\'4v\')||\'\';d r=q.B(\'5V\')||\'\';d b=q.B(\'5T\')||\'\';d l=q.B(\'4B\')||\'\';f(2g)o{t:P(t)||0,r:P(r)||0,b:P(b)||0,l:P(l)||0};F o{t:t,r:r,b:b,l:l}},6R:k(1G){d x=1G.6L||(1G.6G+(C.1z.2h||C.17.2h))||0;d y=1G.6D||(1G.6K+(C.1z.2m||C.17.2m))||0;o{x:x,y:y}},4u:k(1u,4A){4A(1u);1u=1u.4P;3k(1u){6.1s.4u(1u,4A);1u=1u.60}},61:k(1u){6.1s.4u(1u,k(q){1b(d S 26 q){f(3i q[S]===\'k\'){q[S]=14}}})},62:k(q,3b){d 1B=6.1s.4j();d 4k=6.1s.2Y(q);f(!3b||3b==\'63\')6(q).B({T:1B.t+((I.1D(1B.h,1B.1O)-1B.t-4k.1r)/2)+\'G\'});f(!3b||3b==\'65\')6(q).B({X:1B.l+((I.1D(1B.w,1B.1C)-1B.l-4k.1v)/2)+\'G\'})},6g:k(q,59){d 3r=6(\'3j[@1T*="31"]\',q||C),31;3r.3F(k(){31=L.1T;L.1T=59;L.1F.4f="5c:52.57.6i(1T=\'"+31+"\')"})}};[].4l||(68.67.4l=k(v,n){n=(n==14)?0:n;d m=L.1M;1b(d i=n;i-4R?r:(1p(6.B(J,R))||0);1f=1f==\'4Q\'?(2A==\'12\'?\'1h\':\'1q\'):1f;u[1f]=1U;O[R]=1f==\'1h\'?[0,J.24[R]]:[J.24[R],0];f(R!=\'1j\')y[R]=O[R][0]+(R!=\'2x\'&&R!=\'3X\'?\'G\':\'\');F 6.S(y,"1j",O[R][0])}F{O[R]=[1p(6.1Y(J,R)),1p(1f)||0]}}F f(6.N.4U[R])O[R]=[6.N.2b(6.1Y(J,R)),6.N.2b(1f)];F f(/^2e$|3O$|U$|3M$|4z$/i.3L(R)){d m=1f.29(/\\s+/g,\' \').29(/2w\\s*\\(\\s*/g,\'2w(\').29(/\\s*,\\s*/g,\',\').29(/\\s*\\)/g,\')\').4Y(/([^\\s]+)/g);4V(R){Z\'2e\':Z\'3O\':Z\'4z\':Z\'3M\':m[3]=m[3]||m[1]||m[0];m[2]=m[2]||m[0];m[1]=m[1]||m[0];1b(d i=0;i<6.N.2M.1M;i++){d 1R=6.N.4r[R][0]+6.N.2M[i]+6.N.4r[R][1];O[1R]=R==\'3M\'?[6.N.2b(6.1Y(J,1R)),6.N.2b(m[i])]:[1p(6.1Y(J,1R)),1p(m[i])]}1K;Z\'U\':1b(d i=0;iu.E+z.3g){5K(z.2T);z.2T=14;1b(p 26 O){f(p=="1j")6.S(y,"1j",O[p][1]);F f(3i O[p][1]==\'4h\')y[p]=\'2w(\'+O[p][1].r+\',\'+O[p][1].g+\',\'+O[p][1].b+\')\';F y[p]=O[p][1]+(p!=\'2x\'&&p!=\'3X\'?\'G\':\'\')}f(u.1q||u.1h)1b(d p 26 J.24)f(p=="1j")6.S(y,p,J.24[p]);F y[p]="";y.18=u.1q?\'12\':(2A!=\'12\'?2A:\'3D\');y.1X=5b;J.1V=14;f(6.5a(u.3z))u.3z.3v(J)}F{d n=t-L.3g;d 3c=n/u.E;1b(p 26 O){f(3i O[p][1]==\'4h\'){y[p]=\'2w(\'+P(6.V[u.V](3c,n,O[p][0].r,(O[p][1].r-O[p][0].r),u.E))+\',\'+P(6.V[u.V](3c,n,O[p][0].g,(O[p][1].g-O[p][0].g),u.E))+\',\'+P(6.V[u.V](3c,n,O[p][0].b,(O[p][1].b-O[p][0].b),u.E))+\')\'}F{d 4i=6.V[u.V](3c,n,O[p][0],(O[p][1]-O[p][0]),u.E);f(p=="1j")6.S(y,"1j",4i);F y[p]=4i+(p!=\'2x\'&&p!=\'3X\'?\'G\':\'\')}}}};z.2T=4X(k(){z.1A()},13);J.1V=z},3W:k(J,1A){f(1A)J.1V.3g-=6x;F{3I.5K(J.1V.2T);J.1V=14;6.6A(J,"N")}}});6.6o.3u({3x:k(1Q,2v,V,3J){o L.2H(k(){d 3C=6.2v(2v,V,3J);d e=2u 6.5m(L,3C,1Q)})},3V:k(2v,3J){o L.2H(k(){d 3C=6.2v(2v,3J);d e=2u 6.3V(L,3C)})},6P:k(1A){o L.3F(k(){f(L.1V)6.3W(L,1A)})},6M:k(1A){o L.3F(k(){f(L.1V)6.3W(L,1A);f(L.2H&&L.2H[\'N\'])L.2H.N=[]})}});',62,575,'||||||jQuery|||||||var||if|||||function||||return||el||||options||||||ImageBox|css|document|delta|duration|else|px|firstNum|Math|elem|255|this|es|fx|props|parseInt|position|tp|attr|top|border|easing|get|left|oldStyle|case||false|none||null||result|body|display|pageSize|width|for|append|absolute|wrs|vp|id|show|createElement|opacity|height|visibility|hidden|loader|prevImage|parseFloat|hide|hb|iUtil|nextImage|nodeEl|wb|containerW|onclick|color|documentElement|step|clientScroll|iw|max|PI|style|event|newStyles|container|margins|break|iteration|length|styles|ih|cs|prop|nmp|old|src|true|animationHandler|containerH|overflow|curCSS|captionText|totalImages|currentRel|browser|imageEl|orig||in||div|replace|128|parseColor|outerContainer|wr|margin|de|toInteger|scrollLeft|fadeDuration|start|bind|captionEl|scrollTop|fA|F0|0x|139|currentStyle|0px|oldVisibility|new|speed|rgb|zIndex|rule|np|oldDisplay|cssRules|toLowerCase|marginBottom|ImageBoxNextImage|imageSrc|ImageBoxPrevImage|queue|createTextNode|namedColors|opened|animationInProgress|cssSides|gallery|href|marginTop|elm|rel|marginLeft|timer|containerSize|overlay|marginRight|clientHeight|getSize|clientWidth|iframe|png|||||||||bounceout|axis|pr|relative|msie|192|startTime|linkRel|typeof|img|while|oldPosition|exec|getValues|5625|styleSheets|sin|images|parentNode|pow|extend|apply|nextImageEl|fxanimate|ImageBoxOuterContainer|complete|nodeName|hideImage|opt|block|211|each|self|prevImageEl|window|callback|sideEnd|test|borderColor|paddingLeft|padding|nextEl|prevEl|offsetHeight|scrollWidth|offsetWidth|linear|pause|stopAnim|fontWeight|innerHeight|scrollHeight||innerWidth||ImageBoxIframe|parseStyle|ImageBoxCurrentImage|restoreStyle||ImageBoxOverlay|ImageBoxCaption|keyPressed|169|Color|sizes|restoreStyles|filter|oldFloat|object|pValue|getScroll|windowSize|indexOf|abs|closeEl|asin|textAlign|click|cssSidesEnd|captionImages|floatVal|traverseDOM|borderTopWidth|paddingBottom|loadImage|bouncein|borderWidth|func|borderLeftWidth|split|offsetLeft|999|offsetTop|Date|insertBefore|opera|Width|tagName|transparent|cos|trim|245|firstChild|toggle|10000|wid|cssProps|colorCssProps|switch|getMargins|setInterval|match|fxCheckTag||getClient|DXImageTransform|pressedKey|getTime||offsetParent|Microsoft|styleFloat|emptyGIF|isFunction|oldOverflow|progid|values|ImageBoxCaptionText|right|relAttr|240|paddingTop|clientSize|fadeIn|backgroundColor|fxe|ImageBoxContainer|224|ImageBoxLoader|144|textImage|paddingRight|no|ImageBoxCaptionImages|html|blur|closeHTML|140|textImageFrom|230|imagebox|auto|loaderSRC|100|remove|107|jpg|fadeTo|165|clearInterval|keyup|overlayOpacity|300|textDecoration|captionSize|notColor|imageTypes|hrefAttr|borderBottomWidth|gif|borderRightWidth|scrolling|size|frameborder|image|nextSibling|purgeEvents|centerEl|vertically|index|horizontally|easein|prototype|Array|easeout|9375|loading|easeboth|close|ImageBoxClose|Alpha|fixPNG|lineHeigt|AlphaImageLoader|Showing|center|javascript|bmp|last|fn|first|getSizeLite|load|keyCode|prepend|visible|init|getPosition|100000000|110|jpeg|dequeue|112|getPositionLite|pageY|captiontext|imageLoaded|clientX|title|from|400|clientY|pageX|stopAll|charCode|Image|stop|getBorder|getPointer|firstResize|getPadding|lightgreen|lightcyan|238|lightpink|lightgrey|khaki|130|lightblue|216|173|navy||maroon|olive||pink|orange|193|182|lightyellow|magenta|lime|indigo|153|darkorchid|204|RegExp|darkred|183|189|darkmagenta|darkorange|darkolivegreen|fuchsia|148|gold|green|215|233|darksalmon|150|darkviolet|122|Right|Top|Bottom|string|Left|borderLeftColor|borderBottomColor|borderRightColor|outlineColor|borderTopColor|solid|double|dashed|dotted|isNaN|outset|toUpperCase|inset|groove|ridge|textIndent|yellow|white|rules|bottom||className|purple|203|selectorText||silver|red|minHeight|maxWidth|minWidth|outlineWidth|outlineOffset|borderStyle|fontSize|letterSpacing|maxHeight|lineHeight|random|w_|input|br|removeChild|elasticboth|float|buildWrapper|form|button|ul|table|hr|elasticout|textarea|select|destroyWrapper|tfoot|thead|colgroup|col|td|tr|caption|tbody|option|frameset|meta|optgroup|header|th|frame|script|dl|aqua|azure|darkblue|wrapper|darkgreen|darkgrey|darkcyan|blue|brown|625|black|cyan|beige|220|cssText|fxWrapper|bounceboth|cssFloat|addClass|ol|elasticin|wrapEl|darkkhaki|alpha|appendChild|listStyle|984375'.split('|'),0,{})) ;(function($){$.effects=$.effects||{};$.extend($.effects,{version:"1.6rc5",save:function(element,set){for(var i=0;i
');var wrapper=element.parent();if(element.css('position')=='static'){wrapper.css({position:'relative'});element.css({position:'relative'});}else{var top=element.css('top');if(isNaN(parseInt(top,10)))top='auto';var left=element.css('left');if(isNaN(parseInt(left,10)))left='auto';wrapper.css({position:element.css('position'),top:top,left:left,zIndex:element.css('z-index')}).show();element.css({position:'relative',top:0,left:0});} wrapper.css(props);return wrapper;},removeWrapper:function(element){if(element.parent().is('.ui-effects-wrapper')) return element.parent().replaceWith(element);return element;},setTransition:function(element,list,factor,value){value=value||{};$.each(list,function(i,x){unit=element.cssUnit(x);if(unit[0]>0)value[x]=unit[0]*factor+unit[1];});return value;},animateClass:function(value,duration,easing,callback){var cb=(typeof easing=="function"?easing:(callback?callback:null));var ea=(typeof easing=="string"?easing:null);return this.each(function(){var offset={};var that=$(this);var oldStyleAttr=that.attr("style")||'';if(typeof oldStyleAttr=='object')oldStyleAttr=oldStyleAttr["cssText"];if(value.toggle){that.hasClass(value.toggle)?value.remove=value.toggle:value.add=value.toggle;} var oldStyle=$.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(value.add)that.addClass(value.add);if(value.remove)that.removeClass(value.remove);var newStyle=$.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(value.add)that.removeClass(value.add);if(value.remove)that.addClass(value.remove);for(var n in newStyle){if(typeof newStyle[n]!="function"&&newStyle[n]&&n.indexOf("Moz")==-1&&n.indexOf("length")==-1&&newStyle[n]!=oldStyle[n]&&(n.match(/color/i)||(!n.match(/color/i)&&!isNaN(parseInt(newStyle[n],10))))&&(oldStyle.position!="static"||(oldStyle.position=="static"&&!n.match(/left|top|bottom|right/))))offset[n]=newStyle[n];} that.animate(offset,duration,ea,function(){if(typeof $(this).attr("style")=='object'){$(this).attr("style")["cssText"]="";$(this).attr("style")["cssText"]=oldStyleAttr;}else $(this).attr("style",oldStyleAttr);if(value.add)$(this).addClass(value.add);if(value.remove)$(this).removeClass(value.remove);if(cb)cb.apply(this,arguments);});});}});$.fn.extend({_show:$.fn.show,_hide:$.fn.hide,__toggle:$.fn.toggle,_addClass:$.fn.addClass,_removeClass:$.fn.removeClass,_toggleClass:$.fn.toggleClass,effect:function(fx,options,speed,callback){return $.effects[fx]?$.effects[fx].call(this,{method:fx,options:options||{},duration:speed,callback:callback}):null;},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))) return this._show.apply(this,arguments);else{var o=arguments[1]||{};o['mode']='show';return this.effect.apply(this,[arguments[0],o,arguments[2]||o.duration,arguments[3]||o.callback]);}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))) return this._hide.apply(this,arguments);else{var o=arguments[1]||{};o['mode']='hide';return this.effect.apply(this,[arguments[0],o,arguments[2]||o.duration,arguments[3]||o.callback]);}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(arguments[0].constructor==Function)) return this.__toggle.apply(this,arguments);else{var o=arguments[1]||{};o['mode']='toggle';return this.effect.apply(this,[arguments[0],o,arguments[2]||o.duration,arguments[3]||o.callback]);}},addClass:function(classNames,speed,easing,callback){return speed?$.effects.animateClass.apply(this,[{add:classNames},speed,easing,callback]):this._addClass(classNames);},removeClass:function(classNames,speed,easing,callback){return speed?$.effects.animateClass.apply(this,[{remove:classNames},speed,easing,callback]):this._removeClass(classNames);},toggleClass:function(classNames,speed,easing,callback){return speed?$.effects.animateClass.apply(this,[{toggle:classNames},speed,easing,callback]):this._toggleClass(classNames);},morph:function(remove,add,speed,easing,callback){return $.effects.animateClass.apply(this,[{add:add,remove:remove},speed,easing,callback]);},switchClass:function(){return this.morph.apply(this,arguments);},cssUnit:function(key){var style=this.css(key),val=[];$.each(['em','px','%','pt'],function(i,unit){if(style.indexOf(unit)>0) val=[parseFloat(style),unit];});return val;}});$.each(['backgroundColor','borderBottomColor','borderLeftColor','borderRightColor','borderTopColor','color','outlineColor'],function(i,attr){$.fx.step[attr]=function(fx){if(fx.state==0){fx.start=getColor(fx.elem,attr);fx.end=getRGB(fx.end);} fx.elem.style[attr]="rgb("+[Math.max(Math.min(parseInt((fx.pos*(fx.end[0]-fx.start[0]))+fx.start[0],10),255),0),Math.max(Math.min(parseInt((fx.pos*(fx.end[1]-fx.start[1]))+fx.start[1],10),255),0),Math.max(Math.min(parseInt((fx.pos*(fx.end[2]-fx.start[2]))+fx.start[2],10),255),0)].join(",")+")";};});function getRGB(color){var result;if(color&&color.constructor==Array&&color.length==3) return color;if(result=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) return[parseInt(result[1],10),parseInt(result[2],10),parseInt(result[3],10)];if(result=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) return[parseFloat(result[1])*2.55,parseFloat(result[2])*2.55,parseFloat(result[3])*2.55];if(result=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) return[parseInt(result[1],16),parseInt(result[2],16),parseInt(result[3],16)];if(result=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) return[parseInt(result[1]+result[1],16),parseInt(result[2]+result[2],16),parseInt(result[3]+result[3],16)];if(result=/rgba\(0, 0, 0, 0\)/.exec(color)) return colors['transparent'];return colors[$.trim(color).toLowerCase()];} function getColor(elem,attr){var color;do{color=$.curCSS(elem,attr);if(color!=''&&color!='transparent'||$.nodeName(elem,"body")) break;attr="backgroundColor";}while(elem=elem.parentNode);return getRGB(color);};var colors={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};$.easing.jswing=$.easing.swing;$.extend($.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return $.easing[$.easing.def](x,t,b,c,d);},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a').appendTo(document.body);if(o.options.className)transfer.addClass(o.options.className);transfer.addClass(o.options.className);transfer.css({top:position.top,left:position.left,height:el.outerHeight()-parseInt(transfer.css('borderTopWidth'))-parseInt(transfer.css('borderBottomWidth')),width:el.outerWidth()-parseInt(transfer.css('borderLeftWidth'))-parseInt(transfer.css('borderRightWidth')),position:'absolute'});position=target.offset();animation={top:position.top,left:position.left,height:target.outerHeight()-parseInt(transfer.css('borderTopWidth'))-parseInt(transfer.css('borderBottomWidth')),width:target.outerWidth()-parseInt(transfer.css('borderLeftWidth'))-parseInt(transfer.css('borderRightWidth'))};transfer.animate(animation,o.duration,o.options.easing,function(){transfer.remove();if(o.callback)o.callback.apply(el[0],arguments);el.dequeue();});});};})(jQuery); browser=new function(){return this.ver=navigator.appVersion,this.agent=navigator.userAgent,this.dom=document.getElementById?1:0,this.opera5=this.agent.indexOf("Opera 5")>-1,this.opera6=this.agent.indexOf("Opera 6")>-1||this.agent.indexOf("Opera/6")>-1?1:0,this.opera7=this.agent.indexOf("Opera 7")>-1||this.agent.indexOf("Opera/7")>-1?1:0,this.opera=this.opera5||this.opera6||this.opera7,this.ie5=this.ver.indexOf("MSIE 5")>-1&&this.dom&&!this.opera?1:0,this.ie6=this.ver.indexOf("MSIE 6")>-1&&this.dom&&!this.opera?1:0,this.ie4=!document.all||this.dom||this.opera?0:1,this.ie=this.ie4||this.ie5||this.ie6,this.mac=this.agent.indexOf("Mac")>-1,this.ns6=this.dom&&parseInt(this.ver)>=5?1:0,this.ns4=document.layers&&!this.dom?1:0,this.ns=(this.ns4||this.ns6)&&!this.opera,this.id=this.opera7?"opera7":this.opera6?"opera6":this.ie6?"ie6":this.ie5?"ie5":this.ie4?"ie4":this.ns4?"ns4":this.ns6?"ns6":this.opera5?"opera5":0,this.browser=this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5||this.opera7,this};String.prototype.trim=function(){var a=this;return a=a.replace(/^\s*(\S*)/,"$1"),a=a.replace(/(\S*)\s*$/,"$1")};function MM_openBrWindow(a,b,c){window.open(a,b,c).focus()}function MM_swapImgRestore(){var a,b,c=document.MM_sr;for(a=0;c&&a0&&parent.frames.length&&(b=parent.frames[a.substring(c+1)].document,a=a.substring(0,c)),!(e=b[a])&&b.all&&(e=b.all[a]),d=0;!e&&d0&&parent.frames.length&&(b=parent.frames[a.substring(c+1)].document,a=a.substring(0,c)),!(e=b[a])&&b.all&&(e=b.all[a]),d=0;!e&&dmaxChars?(theField.style.backgroundColor="#FFCC00",check_blur=!1,eval("alert('Feltet kan ikke indeholde mere end "+maxChars+" tegn ');"),theField.focus(),check_blur=!0,!1):void 0}function fnCheckSelect(a,b,c,d){var e;return e=a.options?a.options[a.selectedIndex].value:a.value,""==e.trim()?(document.getElementById(b).src=d,!1):(document.getElementById(b).src=c,!0)}function disableCutNPaste(a){var c,d,b=new Array("x","c","v");if(window.event?(c=window.event.keyCode,d=!!window.event.ctrlKey):(c=a.which,d=!!a.ctrlKey),d)for(i=0;i0)&&void(sT.text="[b]"+sTxt+"[/b]")}function DoItalic(){return sT=document.selection.createRange(),sTxt=sT.text,!(!sTxt.length>0)&&void(sT.text="[i]"+sTxt+"[/i]")}function DoUndline(){return sT=document.selection.createRange(),sTxt=sT.text,!(!sTxt.length>0)&&void(sT.text="[u]"+sTxt+"[/u]")}function swPrint(){parms=location.href,parms=parms.substr(parms.lastIndexOf("?")),parms.lastIndexOf("?")==-1?path=location.pathname+"?print=1":path=location.pathname+parms+"&print=1",printWin=window.open(path,"printWin")}function swSendTip(){var a=new RegExp("&","g");url=location.href,urlx=location.href.replace(a,"!"),parms=url.substr(url.lastIndexOf("?")),host=location.hostname,protocol=location.protocol,parms.lastIndexOf("?")==-1?path=protocol+"//"+host+"/sw/frontend/sendtip.asp?url="+urlx:path=protocol+"//"+host+"/sw/frontend/sendtip.asp"+parms+"&url="+urlx,window.location.href=path}jQuery.datePicker=function(){void 0==window.console&&(window.console={log:function(){}});var h,i,j,k,l,a=["January","February","March","April","May","June","July","August","September","October","November","December"],b=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],c={p:"Prev",n:"Next",c:"Close",b:"Choose date"},e="dmy",f="/",g=!1,m=function(a){var b="0"+a;return b.substring(b.length-2)},n=function(b){switch(e){case"ymd":return dParts=b.split(f),new Date(dParts[0],Number(dParts[1])-1,dParts[2]);case"dmy":return dParts=b.split(f),new Date(dParts[2],Number(dParts[1])-1,Number(dParts[0]));case"dmmy":dParts=b.split(f);for(var c=0;c<12;c++)if(dParts[1].toLowerCase()==a[c].substr(0,3).toLowerCase())return new Date(Number(dParts[2]),c,Number(dParts[0]));return;case"mdy":default:;return dParts=b.split(f),new Date(dParts[2],Number(dParts[0])-1,Number(dParts[1]))}},o=function(b){var c=b.getFullYear(),d=m(b.getMonth()+1),g=m(b.getDate());switch(e){case"ymd":return c+f+d+f+g;case"dmy":return g+f+d+f+c;case"dmmy":return g+f+a[b.getMonth()].substr(0,3)+f+c;case"mdy":default:return d+f+g+f+c}},p=function(e){var f=new Date;void 0==e?d=new Date(f.getFullYear(),f.getMonth(),1):(d=e,d.setDate(1)),d.getMonth()j.getMonth()&&d.getFullYear()==j.getFullYear()||d.getFullYear()>j.getFullYear())&&(d=new Date(j.getFullYear(),j.getMonth(),1));var g=jQuery("
").attr("class","popup-calendar"),l=!0,m=i.getDate(),n="";if(d.getMonth()!=i.getMonth()||d.getFullYear()!=i.getFullYear()){l=!1;var p=0==d.getMonth()?new Date(d.getFullYear()-1,11,1):new Date(d.getFullYear(),d.getMonth()-1,1),q=jQuery("").attr("href","javascript:;").html(c.p).click(function(){return jQuery.datePicker.changeMonth(p,this),!1});n=jQuery("
").attr("class","link-prev").html("<").append(q)}var r=!0,s=j.getDate();if(nextLinkDiv="",d.getMonth()!=j.getMonth()||d.getFullYear()!=j.getFullYear()){r=!1;var t=new Date(d.getFullYear(),d.getMonth()+1,1),u=jQuery("").attr("href","javascript:;").html(c.n).click(function(){return jQuery.datePicker.changeMonth(t,this),!1});nextLinkDiv=jQuery("
").attr("class","link-next").html(">").prepend(u)}var v=jQuery("").attr("href","javascript:;").html(c.c).click(function(){jQuery.datePicker.closeCalendar()});g.append(jQuery("
").attr("class","link-close").append(v),jQuery("

").html(a[d.getMonth()]+" "+d.getFullYear()));for(var w=jQuery(""),x=h;x").attr({scope:"col",abbr:z,title:z,class:0==y||6==y?"weekend":"weekday"}).html(z.substr(0,1)))}var A=jQuery(""),B=new Date(d.getFullYear(),d.getMonth()+1,0).getDate(),C=h-d.getDay();C>0&&(C-=7);for(var D=(new Date).getDate(),E=d.getMonth()==f.getMonth()&&d.getFullYear()==f.getFullYear(),F=0;F++<6&&C"),x=0;x<7;x++){var y=(h+x)%7,H={class:0==y||6==y?"weekend ":"weekday "};if(C<0||C>=B)dayStr=" ";else if(l&&Cs-1)dayStr=C+1,H.class+="inactive";else{d.setDate(C+1);var I=o(d);dayStr=jQuery("").attr({href:"javascript:;",rel:I}).html(C+1).click(function(a){return jQuery.datePicker.selectDate(jQuery.attr(this,"rel"),this),!1})[0],k&&k==I&&jQuery(dayStr).attr("class","selected")}E&&C+1==D&&(H.class+=" today"),G.append(jQuery("").attr(H).append(dayStr)),C++}A.append(G)}if(g.append(jQuery("
").attr("cellspacing",2).append("").find("thead").append(w).parent().append(A.children())).append(n).append(nextLinkDiv),jQuery.browser.msie&&$.browser.version<10){var J=document.createElement("iframe");J.setAttribute("class","bgiframe"),J.setAttribute("tabindex","-1"),J.setAttribute("src","/sw/frontend/include/script/blank.html"),J.setAttribute("style","display:block; position:absolute;','top: 0;','left:0;','z-index:-1; border: 0px; frame-border: 0px; filter:Alpha(Opacity='0');','width:300px;','height:300px"),g.append(J)}return g.css({display:"block"}),g[0]},q=function(a){jQuery("div.popup-calendar a",l[0]).unbind(),jQuery("div.popup-calendar",l[0]).empty(),jQuery("div.popup-calendar",l[0]).remove(),l.append(a)},r=function(){jQuery("div.popup-calendar a",l).unbind(),jQuery("div.popup-calendar",l).empty(),jQuery("div.popup-calendar",l).css({display:"none"}),jQuery(document).unbind("mousedown",t),delete l,l=null},t=function(a){if(!g){var b=jQuery.browser.msie?window.event.srcElement:a.target,c=jQuery(b).findClosestParent("div.popup-calendar-wrapper");"date-picker-holder"!=c.get(0).className&&r()}};return{getChooseDateStr:function(){return c.b},show:function(){l&&r(),this.blur();var a=jQuery("input",jQuery(this).findClosestParent("input")[0])[0];i=a._startDate,j=a._endDate,h=a._firstDayOfWeek,l=jQuery(this).parent().find(">div.popup-calendar-wrapper");var b=jQuery(a).val();""!=b&&o(n(b))==b?(k=b,q(p(n(b)))):(k=!1,q(p())),jQuery(document).bind("mousedown",t)},changeMonth:function(a,b){g=!0,q(p(a)),g=!1},selectDate:function(a,b){selectedDate=a;var c=jQuery("input",jQuery(b).findClosestParent("input")[0]);c.val(a),c.trigger("change"),r(b)},closeCalendar:function(){r(this)},setInited:function(a){a._inited=!0},isInited:function(a){return void 0!=a._inited},setDateFormat:function(a,b){e=a.toLowerCase(),f=b?b:"/"},setLanguageStrings:function(d,e,f){b=d,a=e,c=f},setDateWindow:function(a,b){void 0==b&&(b={}),void 0==b.startDate?a._startDate=new Date:a._startDate=n(b.startDate),void 0==b.endDate?(a._endDate=new Date,a._endDate.setFullYear(a._endDate.getFullYear()+5)):a._endDate=n(b.endDate),a._firstDayOfWeek=void 0==b.firstDayOfWeek?0:b.firstDayOfWeek}}}(),jQuery.fn.findClosestParent=function(a){for(var b=this;;){if(jQuery(a,b[0]).length>0)return b;if(b=b.parent(),0==b[0].length)return!1}},jQuery.fn.datePicker=function(a){return this.each(function(){if("input"==this.nodeName.toLowerCase()&&(jQuery.datePicker.setDateWindow(this,a),!jQuery.datePicker.isInited(this))){var c,b=jQuery.datePicker.getChooseDateStr();c=a&&a.inputClick?jQuery(this).attr("title",b).addClass("date-picker"):jQuery("").attr({href:"javascript:;",class:"date-picker",title:b}).append(""+b+""),jQuery(this).wrap('
').after(jQuery("
").attr("class","popup-calendar-wrapper").append(jQuery("
").attr({class:"popup-calendar"})),c),c.bind("click",jQuery.datePicker.show),jQuery.datePicker.setInited(this)}}),this},$.datePicker.setDateFormat("dmy","-"),$.datePicker.setLanguageStrings(["","","","","","",""],["","","","","","","","","","","",""],{p:"",n:"",c:"",b:""});function SW_popUp(a){parametersArray=a.split(",");for(var b=new Array,c=0;c 0) { var bError = false; var iID = $('#' + form_id).find("input[name=id]").val(); for (i = 1; i < 5; i++) { if ($("input[name=feature" + i + "-" + iID + "-check]").val()=="1") { if ($("input[name=feature" + i + "-" + iID + "-check]").hasClass("matrix")) { var aFeatures = $('#' + form_id + " input[name=featureMatrix]").val().split(":"); var aFeatures1 = $('#' + form_id + " input[name=featureMatrix" + aFeatures[0]+ "]").map(function(){return $(this).val();}).get(); var aFeatures2 = $('#' + form_id + " input[name=featureMatrix" + aFeatures[1]+ "]").map(function(){return $(this).val();}).get(); var iAntal = 0; for (z = 0; z < aFeatures1.length; z++) { for (x = 0; x < aFeatures2.length; x++) { var sTemp = $('#' + form_id + " input[name='" + z + ":" + x + "']").val(); if (!(typeof sTemp === 'undefined' || !sTemp)) { iAntal = iAntal + Number(sTemp); } } } if (iAntal===0) { bError = true; $(".feature" + i + "-" + iID + "wrapper").addClass("error"); $("#" + form_id + " .commerce-show-additem .btn").addClass("errorBtn"); } else { $(".feature" + i + "-" + iID + "wrapper").removeClass("error"); $("#" + form_id + " .commerce-show-additem .btn").removeClass("errorBtn"); } } else { variable = $("input[name=feature" + i + "-" + iID + "]:checked").val() if (typeof variable === 'undefined' || !variable) //if ($("input[name=feature" + i + "-" + iID + "]:checked").val()==undefined) { bError = true; $(".feature" + i + "-" + iID + "wrapper").addClass("error"); $("#" + form_id + " .commerce-show-additem .btn").addClass("errorBtn"); } else { $(".feature" + i + "-" + iID + "wrapper").removeClass("error"); $("#" + form_id + " .commerce-show-additem .btn").removeClass("errorBtn"); } } } } sPackage = $('#' + form_id).find("input[name=package]").map(function(idx, elem) { return $(elem).val(); }).get(); if (sPackage!="") { $(".packages .attributes select").removeClass("error"); $("#" + form_id + " .commerce-show-additem .btn").addClass("errorBtn"); for (var x = 0; x < sPackage.length; x++) { var iID2 = $('select.package' + sPackage[x]+'').val(); if ($('select.package' + sPackage[x]+'').val()=="") { bError = true; $('select.package' + sPackage[x]+'').addClass("error"); $("#" + form_id + " .commerce-show-additem .btn").addClass("errorBtn"); } else { $('select.package' + sPackage[x]+'').removeClass("error"); $("#" + form_id + " .commerce-show-additem .btn").removeClass("errorBtn"); } for (i = 1; i < 5; i++) { if ($("input[name=package" + sPackage[x] + "feature" + i + "-" + iID2 + "-check]").val()=="1") { variable = $("input[name=package" + sPackage[x] + "feature" + i + "-" + iID2 + "]:checked").val(); if (typeof variable === 'undefined' || !variable) //if ($("input[name=package" + sPackage[x] + "feature" + i + "-" + iID2 + "]:checked").val()==undefined) { bError = true; $(".package" + sPackage[x] + "feature" + i + "-" + iID2 + "wrapper").addClass("error"); $("#" + form_id + " .commerce-show-additem .btn").addClass("errorBtn"); } else { $(".package" + sPackage[x] + "feature" + i + "-" + iID2 + "wrapper").removeClass("error"); $("#" + form_id + " .commerce-show-additem .btn").removeClass("errorBtn"); } } } } $(".packages .attributes select").each(function(index, element) { if (($(element).val()=="") && (!bError)) { $(element).focus(); bError = true; } if ($(element).val()=="") { $(element).addClass("error"); } }); } if (!bError) { try { if (($('#' +form_id+'_img').length>0) && ($("#swCommerceMiniTotalTarget").length>0)) { //$('#' +form_id+'_img').wrap("
"); var source=$('#' +form_id+'_img').offset(); $('body').prepend("
"); $('#' +form_id+'_img').clone().prependTo("#swSubmitFormDivClone"); var position; position=$("#swCommerceMiniTotalTarget").offset(); if ($("#swCommerceMiniTotalTargetPrice").length>0) { position=$("#swCommerceMiniTotalTargetPrice").offset(); } if ($("#swCommerceMiniTotalTargetCount").length>0) { position=$("#swCommerceMiniTotalTargetCount").offset(); } animation={top:position.top,left:position.left, opacity: 0.3, width: "0px", height: "0px"} $("#swSubmitFormDivClone").animate(animation,1200).animate({opacity: 0.0},100, function() { $("#swSubmitFormDivClone").remove();}); } } catch(err) { } setTimeout("$(\"#" + form_id + "\").submit()",200); return false; } } } function fnDoNothing() { } function fnPostFormCommerce(sDataString,form_id) { $.ajax({ type: "POST", url: $('#' + form_id).attr("action") +"&rnd=" + parseInt(Math.random() * 10000), data: sDataString, success: function(){ $('html,body').animate({scrollTop: $("#swMiniBasket *:first").offset().top}, 10); $("#swMiniBasket").load("/sw/frontend/ajax/basketupdate.asp?layout=0&rnd=" + parseInt(Math.random() * 10000), function(){ $("#swMiniBasket *:first").fadeIn(100).animate({top:"-=20px"},100).animate({top:"+=20px"},100).animate({top:"-=20px"},100).animate({top:"+=20px"},100).animate({top:"-=20px"},100).animate({top:"+=20px"},100); }); } }); } function swShowShopAgent(catalog_id,item_id,feature_id) { $('#commerce-show-agent').show(); $('#shop_agent_catalog').val(catalog_id); $('#shop_agent_item').val(item_id); $('#shop_agent_feature').val(feature_id); if(feature_id > 0) { $('#shop_agent_price').val($('#shop-agent-featureprice_'+item_id+'_'+feature_id+'').val()); } } function getall(tag){ var all; tag = tag ? tag : '*'; if (document.getElementsByTagName){ all = document.getElementsByTagName(tag); } else if (document.all){ all = document.all.tags(tag); } return all } var bLastState; bLastState = null; var bHiddenElement; bHiddenElement=false; function togleAXcomp(show) { } var swMenuTimer; var MenuId function swMenuShowSub(menuItemId){ window.clearTimeout(swMenuTimer); togleAXcomp(true); menuItem = document.getElementById(menuItemId); //debug("show: " + menuItemId); for(var i = 0; i < menuItem.childNodes.length; i++) { if(menuItem.childNodes.item(i).className == "swMenuSection") { menuItem.childNodes.item(i).style.visibility = "visible"; menuItem.childNodes.item(i).style.display = "block"; menuItem.childNodes.item(i).style.zIndex = 1; } } for(var i = 0; i < menuItem.parentNode.childNodes.length; i++) { if((menuItem.parentNode.childNodes.item(i).className == "swMenuItem") && (menuItem.parentNode.childNodes.item(i).id != menuItemId)){ //swMenuHideSub(menuItem.parentNode.childNodes.item(i).id); swMenuHideAllSub(document.getElementById(menuItem.parentNode.childNodes.item(i).id)); } } } function swMenuHideSub(menuItemId) { menuItem = document.getElementById(menuItemId); //debug("hide: " + menuItemId); for(var i = 0; i < menuItem.childNodes.length; i++) { if(menuItem.childNodes.item(i).className == "swMenuSection") { menuItem.childNodes.item(i).style.visibility = "hidden"; menuItem.childNodes.item(i).style.display = "none"; menuItem.childNodes.item(i).style.zIndex = -1; } } } function swMenuHideAllSubTimer(menuItemId) { window.clearTimeout(swMenuTimer); swMenuTimer = window.setTimeout("swMenuHideAllSub(document.getElementById('" + menuItemId + "'));togleAXcomp(false);",1000); } function swMenuHideAllSub(menuItem) { for(var i = 0; i < menuItem.childNodes.length; i++) { if(menuItem.childNodes.item(i).className == "swMenuSection") { menuItem.childNodes.item(i).style.visibility = "hidden"; menuItem.childNodes.item(i).style.display = "none"; menuItem.childNodes.item(i).style.zIndex = -1; } swMenuHideAllSub(menuItem.childNodes.item(i)); } } function swMenuInit(menuNode, menuItemNo) { var nodeChildren = menuNode.childNodes; if(menuNode.id) { menuId = menuNode.id } if (menuNode.className == "swMenuItem") { menuNode.id = menuNode.parentNode.parentNode.id + "." + menuItemNo + menuId //debug("item:" + menuItemNo); //debug("with ItemID: " + menuNode.id); menuNode.onmouseover = new Function("swMenuShowSub('" + menuNode.id + "');"); menuNode.onmouseout = new Function("swMenuHideAllSubTimer('" + menuNode.id + "');"); for(var i = 0; i < nodeChildren.length; i++) { if(nodeChildren.item(i).className == "swMenuSection") { //debug(getCoordinates(nodeChildren.item(i)).x); if (getCoordinates(nodeChildren.item(i)).x - getCoordinates(document.getElementById("swPageDiv")).x + 150 >= 846) { nodeChildren.item(i).id = "swMenuSectionLeft"; if (swMenuGetWidth(menuNode)) { nodeChildren.item(i).style.marginLeft = swMenuGetWidth(menuNode) - 150 + "px"; } } if (swMenuGetHeight(menuNode)) { nodeChildren.item(i).style.marginTop = 25 - swMenuGetHeight(menuNode) + "px"; } for(var i = 0; i < nodeChildren.length; i++) { if(nodeChildren.item(i).nodeName == "A") { nodeChildren.item(i).className = "swMenuHasSub"; } } } } } if (menuNode.className == "swMenuBullet") { menuNode.style.marginTop = swMenuCenterBullets() - 4 + "px"; // minus height of bullet gfx } for(var i = 0; i < nodeChildren.length; i++) { var nodeChild = nodeChildren.item(i); swMenuInit(nodeChild, i); } } function swMenuCenterBullets(){ menuItem = document.getElementById("swMenu"); var divHeight; for(var i = 0; i < menuItem.childNodes.length; i++) { if(menuItem.childNodes.item(i).className == "swMenuItem") { divHeight = menuItem.childNodes.item(i).clientHeight; if (divHeight == 0) { // Mozilla hack divHeight = menuItem.childNodes.item(i).scrollHeight; } } } centerHeight = Math.round(divHeight / 2); return centerHeight; } function swMenuGetWidth(obj){ divWidth = obj.clientWidth; if (divWidth == 0) { // Mozilla hack divWidth = obj.scrollWidth; } if (obj.parentNode.id == "swMenu") { return divWidth; } } function swMenuGetHeight(obj){ divHeight = obj.clientHeight; if (divHeight == 0) { // Mozilla hack divHeight = obj.scrollHeight; } if (obj.parentNode.id == "swMenu") { return divHeight; } } function getCoordinates(obj) { var theObj = obj; var coords = {x: 0, y: 0}; while (theObj) { coords.x += theObj.offsetLeft; coords.y += theObj.offsetTop; theObj = theObj.offsetParent; } //debug(coords.x + ":" + coords.y); return coords; } function ieBackCompat(){ //debug("compatMode: " + document.compatMode); switch(document.compatMode) { //todo: proper browser check case "BackCompat": break; case "QuirksMode": break; case "CSS1Compat": break; default: if (document.styleSheets) { // index [1] must catch the stylesheet include for the menu document.styleSheets[1].addRule(".swMenuItem .swMenuItem", "width: 100%"); } break; } } function debug(str){ //var dbgObj = document.getElementById("dbg"); //dbgObj.innerHTML = dbgObj.innerHTML + str +"
"; //alert(str); } function doOnLoad() { if (document.getElementById("swMenu")) { swMenuInit(document.getElementById("swMenu"), 0); swMenuHideAllSub(document.getElementById("swMenu")); } ieBackCompat(); } window.onload = doOnLoad; /* * SimpleModal 1.4.4 - jQuery Plugin * http://simplemodal.com/ * Copyright (c) 2013 Eric Martin * Licensed under MIT and GPL * Date: Sun, Jan 20 2013 15:58:56 -0800 */ (function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(jQuery)})(function(b){var j=[],n=b(document),k=navigator.userAgent.toLowerCase(),l=b(window),g=[],o=null,p=/msie/.test(k)&&!/opera/.test(k),q=/opera/.test(k),m,r;m=p&&/msie 6./.test(k)&&"object"!==typeof window.XMLHttpRequest;r=p&&/msie 7.0/.test(k);b.modal=function(a,h){return b.modal.impl.init(a,h)};b.modal.close=function(){b.modal.impl.close()};b.modal.focus=function(a){b.modal.impl.focus(a)};b.modal.setContainerDimensions= function(){b.modal.impl.setContainerDimensions()};b.modal.setPosition=function(){b.modal.impl.setPosition()};b.modal.update=function(a,h){b.modal.impl.update(a,h)};b.fn.modal=function(a){return b.modal.impl.init(this,a)};b.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1E3, close:!0,closeHTML:'',closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};b.modal.impl={d:{},init:function(a,h){if(this.d.data)return!1;o=p&&!b.support.boxModel;this.o=b.extend({},b.modal.defaults,h);this.zIndex=this.o.zIndex;this.occb=!1;if("object"===typeof a){if(a=a instanceof b?a:b(a),this.d.placeholder=!1,0").attr("id", "simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=a.css("display"),!this.o.persist))this.d.orig=a.clone(!0)}else if("string"===typeof a||"number"===typeof a)a=b("
").html(a);else return alert("SimpleModal Error: Unsupported data type: "+typeof a),this;this.create(a);this.open();b.isFunction(this.o.onShow)&&this.o.onShow.apply(this,[this.d]);return this},create:function(a){this.getDimensions();if(this.o.modal&&m)this.d.iframe=b('').css(b.extend(this.o.iframeCss, {display:"none",opacity:0,position:"fixed",height:g[0],width:g[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo);this.d.overlay=b("
").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(b.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?j[0]:0,width:this.o.modal?j[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo);this.d.container=b("
").attr("id",this.o.containerId).addClass("simplemodal-container").css(b.extend({position:this.o.fixed? "fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?b(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo);this.d.wrap=b("
").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container);this.d.data=a.attr("id",a.attr("id")||this.o.dataId).addClass("simplemodal-data").css(b.extend(this.o.dataCss,{display:"none"})).appendTo("body");this.setContainerDimensions(); this.d.data.appendTo(this.d.wrap);(m||o)&&this.fixIE()},bindEvents:function(){var a=this;b("."+a.o.closeClass).bind("click.simplemodal",function(b){b.preventDefault();a.close()});a.o.modal&&a.o.close&&a.o.overlayClose&&a.d.overlay.bind("click.simplemodal",function(b){b.preventDefault();a.close()});n.bind("keydown.simplemodal",function(b){a.o.modal&&9===b.keyCode?a.watchTab(b):a.o.close&&a.o.escClose&&27===b.keyCode&&(b.preventDefault(),a.close())});l.bind("resize.simplemodal orientationchange.simplemodal", function(){a.getDimensions();a.o.autoResize?a.setContainerDimensions():a.o.autoPosition&&a.setPosition();m||o?a.fixIE():a.o.modal&&(a.d.iframe&&a.d.iframe.css({height:g[0],width:g[1]}),a.d.overlay.css({height:j[0],width:j[1]}))})},unbindEvents:function(){b("."+this.o.closeClass).unbind("click.simplemodal");n.unbind("keydown.simplemodal");l.unbind(".simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var a=this.o.position;b.each([this.d.iframe||null,!this.o.modal?null:this.d.overlay, "fixed"===this.d.container.css("position")?this.d.container:null],function(b,e){if(e){var f=e[0].style;f.position="absolute";if(2>b)f.removeExpression("height"),f.removeExpression("width"),f.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),f.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var c,d;a&&a.constructor=== Array?(c=a[0]?"number"===typeof a[0]?a[0].toString():a[0].replace(/px/,""):e.css("top").replace(/px/,""),c=-1===c.indexOf("%")?c+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(c.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',a[1]&&(d="number"===typeof a[1]? a[1].toString():a[1].replace(/px/,""),d=-1===d.indexOf("%")?d+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(d.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(c='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"', d='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"');f.removeExpression("top");f.removeExpression("left");f.setExpression("top",c);f.setExpression("left",d)}}})},focus:function(a){var h=this,a=a&&-1!==b.inArray(a,["first","last"])?a:"first",e=b(":input:enabled:visible:"+a,h.d.wrap);setTimeout(function(){0c?c:bc?c:this.o.minHeight&&"auto"!==i&&ed?d:ad?d:this.o.minWidth&&"auto"!==c&&fb||f>a?"auto":"visible"});this.o.autoPosition&&this.setPosition()},setPosition:function(){var a,b;a=g[0]/2-this.d.container.outerHeight(!0)/2;b=g[1]/2-this.d.container.outerWidth(!0)/2;var e="fixed"!==this.d.container.css("position")?l.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(a=e+(this.o.position[0]||a),b=this.o.position[1]||b): a=e+a;this.d.container.css({left:b,top:a})},watchTab:function(a){if(01){var n=new String;n+="",i=e(n),d.prepend(i),i.find(".next").click(function(){h()}),i.find(".prev").click(function(){v()}),i.find(".item").click(function(){index=e(this).index(),m(index-1)})}},u=function(){f.length>1&&(i.find(".item").removeClass("current"),i.find(".item").eq(o).addClass("current"))},h=function(){f.eq(o).fadeOut(r/2),o0?o--:o=f.length-1,f.eq(o).fadeIn(r),g()},m=function(e){f.eq(o).fadeOut(r/2),o=e,f.eq(o).fadeIn(r),g()},g=function(){f.eq(o).trigger("show"),f.length>1&&(u(),clearInterval(t),t=setInterval(h,l))},p=function(){e.get(a.dataUrl,function(n){var t=e(n).find(a.itemSelector);elements=new String,t.each(function(){var n="
"+e(this).html()+"
";elements+=n}),f=e(elements),d.prepend(f),f.find("img").bind("load",function(){e(this).fadeIn()}),a.onDataLoaded&&a.onDataLoaded(),S()})},S=function(){f.each(function(){e(this).hide()}),s(),f.eq(0).fadeIn(r),g()};a.dataUrl?p():S()})}})}(jQuery);if("undefined"==typeof _gaq||"object"!=typeof _gaq){var _gaq={};_gaq.push=function(e){if("_trackPageview"===e[0])ga("send","pageview",e[1]);else if("_trackEvent"===e[0])switch(e.length){case 3:ga("send","event",{eventCategory:e[1],eventAction:e[2],eventLabel:e[3]});break;case 4:ga("send","event",{eventCategory:e[1],eventAction:e[2],eventLabel:e[3],eventValue:e[4]});break;default:ga("send","event",{eventCategory:e[1],eventAction:e[2]})}}}