/**
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
(function(){var W=this,ab,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(b,a){return new T.fn.init(b,a)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ac=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(e,b){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var c=M.exec(e);if(c&&(c[1]||!b)){if(c[1]){e=T.clean([c[1]],b)}else{var a=document.getElementById(c[3]);if(a&&a.id!=c[3]){return T().find(e)}var d=T(a||[]);d.context=document;d.selector=e;return d}}else{return T(b).find(e)}}else{if(T.isFunction(e)){return T(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(T.isArray(e)?e:T.makeArray(e))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===ab?Array.prototype.slice.call(this):this[a]},pushStack:function(c,a,d){var b=T(c);b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return T.each(this,a,b)},index:function(a){return T.inArray(a&&a.jquery?a[0]:a,this)},attr:function(c,a,b){var d=c;if(typeof c==="string"){if(a===ab){return this[0]&&T[b||"attr"](this[0],c)}else{d={};d[c]=a}}return this.each(function(e){for(c in d){T.attr(b?this.style:this,c,T.prop(this,d[c],b,e,c))}})},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=ab}return this.attr(b,a,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a))}var b="";T.each(a||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return b},wrapAll:function(b){if(this[0]){var a=T(b,this[0].ownerDocument).clone();if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){T(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){T(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.appendChild(a)}})},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.insertBefore(a,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var a=this.pushStack([],"find",b);a.length=0;T.find(b,this[0],a);return a}else{return this.pushStack(T.unique(T.map(this,function(c){return T.find(b,c)})),"find",b)}},clone:function(b){var d=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var f=this.outerHTML;if(!f){var e=this.ownerDocument.createElement("div");e.appendChild(this.cloneNode(true));f=e.innerHTML}return T.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(b===true){var a=this.find("*").andSelf(),c=0;d.find("*").andSelf().each(function(){if(this.nodeName!==a[c].nodeName){return}var g=T.data(a[c],"events");for(var e in g){for(var f in g[e]){T.event.add(this,e,g[e][f],g[e][f].data)}}c++})}return d},filter:function(a){return this.pushStack(T.isFunction(a)&&T.grep(this,function(b,c){return a.call(b,c)})||T.multiFilter(a,T.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(c){var a=T.expr.match.POS.test(c)?T(c):null,b=0;return this.map(function(){var d=this;while(d&&d.ownerDocument){if(a?a.index(d)>-1:T(d).is(c)){T.data(d,"closest",b);return d}d=d.parentNode;b++}})},not:function(b){if(typeof b==="string"){if(ac.test(b)){return this.pushStack(T.multiFilter(b,this,true),"not",b)}else{b=T.multiFilter(b,this)}}var a=b.length&&b[b.length-1]!==ab&&!b.nodeType;return this.filter(function(){return a?T.inArray(this,b)<0:this!=b})},add:function(a){return this.pushStack(T.unique(T.merge(this.get(),typeof a==="string"?T(a):T.makeArray(a))))},is:function(a){return !!a&&T.multiFilter(a,this).length>0},hasClass:function(a){return !!a&&this.is("."+a)},val:function(c){if(c===ab){var i=this[0];if(i){if(T.nodeName(i,"option")){return(i.attributes.value||{}).specified?i.value:i.text}if(T.nodeName(i,"select")){var e=i.selectedIndex,b=[],a=i.options,f=i.type=="select-one";if(e<0){return null}for(var h=f?e:0,d=f?e+1:a.length;h<d;h++){var g=a[h];if(g.selected){c=T(g).val();if(f){return c}b.push(c)}}return b}return(i.value||"").replace(/\r/g,"")}return ab}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return}if(T.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,c)>=0||T.inArray(this.name,c)>=0)}else{if(T.nodeName(this,"select")){var j=T.makeArray(c);T("option",this).each(function(){this.selected=(T.inArray(this.value,j)>=0||T.inArray(this.text,j)>=0)});if(!j.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(a){return a===ab?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(T.map(this,function(b,c){return a.call(b,c,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(d,a,b){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),h=T.clean(d,(this[0].ownerDocument||this[0]),e),f=e.firstChild;if(f){for(var g=0,i=this.length;g<i;g++){b.call(c(this[g],f),this.length>1||g>0?e.cloneNode(true):e)}}if(h){T.each(h,E)}}return this;function c(k,j){return a&&T.nodeName(k,"table")&&T.nodeName(j,"tr")?(k.getElementsByTagName("tbody")[0]||k.appendChild(k.ownerDocument.createElement("tbody"))):k}}};T.fn.init.prototype=T.fn;function E(b,a){if(a.src){T.ajax({url:a.src,async:false,dataType:"script"})}else{T.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function ad(){return +new Date}T.extend=T.fn.extend=function(){var c=arguments[0]||{},e=1,d=arguments.length,h=false,f;if(typeof c==="boolean"){h=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!T.isFunction(c)){c={}}if(d==e){c=this;--e}for(;e<d;e++){if((f=arguments[e])!=null){for(var g in f){var b=c[g],a=f[g];if(c===a){continue}if(h&&a&&typeof a==="object"&&!a.nodeType){c[g]=T.extend(h,b||(a.length!=null?[]:{}),a)}else{if(a!==ab){c[g]=a}}}}}return c};var ag=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(a){W.$=S;if(a){W.jQuery=F}return T},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&T.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.type="text/javascript";if(T.support.scriptEval){c.appendChild(document.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(e,a,f){var g,d=0,c=e.length;if(f){if(c===ab){for(g in e){if(a.apply(e[g],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(c===ab){for(g in e){if(a.call(e[g],g,e[g])===false){break}}}else{for(var b=e[0];d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},prop:function(b,a,c,d,e){if(T.isFunction(a)){a=a.call(b,d)}return typeof a==="number"&&c=="curCSS"&&!ag.test(e)?a+"px":a},className:{add:function(b,a){T.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!T.className.has(b.className,c)){b.className+=(b.className?" ":"")+c}})},remove:function(b,a){if(b.nodeType==1){b.className=a!==ab?T.grep(b.className.split(/\s+/),function(c){return !T.className.has(a,c)}).join(" "):""}},has:function(a,b){return a&&T.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}},css:function(e,g,c,h){if(g=="width"||g=="height"){var a,f={position:"absolute",visibility:"hidden",display:"block"},b=g=="width"?["Left","Right"]:["Top","Bottom"];function d(){a=g=="width"?e.offsetWidth:e.offsetHeight;if(h==="border"){return}T.each(b,function(){if(!h){a-=parseFloat(T.curCSS(e,"padding"+this,true))||0}if(h==="margin"){a+=parseFloat(T.curCSS(e,"margin"+this,true))||0}else{a-=parseFloat(T.curCSS(e,"border"+this+"Width",true))||0}})}if(e.offsetWidth!==0){d()}else{T.swap(e,f,d)}return Math.max(0,Math.round(a))}return T.curCSS(e,g,c)},curCSS:function(e,h,g){var b,i=e.style;if(h=="opacity"&&!T.support.opacity){b=T.attr(i,"opacity");return b==""?"1":b}if(h.match(/float/i)){h=H}if(!g&&i&&i[h]){b=i[h]}else{if(Q.getComputedStyle){if(h.match(/float/i)){h="float"}h=h.replace(/([A-Z])/g,"-$1").toLowerCase();var a=Q.getComputedStyle(e,null);if(a){b=a.getPropertyValue(h)}if(h=="opacity"&&b==""){b="1"}}else{if(e.currentStyle){var d=h.replace(/\-(\w)/g,function(k,j){return j.toUpperCase()});b=e.currentStyle[h]||e.currentStyle[d];if(!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)){var f=i.left,c=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;i.left=b||0;b=i.pixelLeft+"px";i.left=f;e.runtimeStyle.left=c}}}}return b},clean:function(g,b,d){b=b||document;if(typeof b.createElement==="undefined"){b=b.ownerDocument||b[0]&&b[0].ownerDocument||document}if(!d&&g.length===1&&typeof g[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(g[0]);if(e){return[b.createElement(e[1])]}}var f=[],h=[],a=b.createElement("div");T.each(g,function(l,i){if(typeof i==="number"){i+=""}if(!i){return}if(typeof i==="string"){i=i.replace(/(<(\w+)[^>]*?)\/>/g,function(q,p,r){return r.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?q:p+"></"+r+">"});var m=i.replace(/^\s+/,"").substring(0,10).toLowerCase();var k=!m.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!m.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||m.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!m.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!m.indexOf("<td")||!m.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!m.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];a.innerHTML=k[1]+i+k[2];while(k[0]--){a=a.lastChild}if(!T.support.tbody){var j=/<tbody/i.test(i),n=!m.indexOf("<table")&&!j?a.firstChild&&a.firstChild.childNodes:k[1]=="<table>"&&!j?a.childNodes:[];for(var o=n.length-1;o>=0;--o){if(T.nodeName(n[o],"tbody")&&!n[o].childNodes.length){n[o].parentNode.removeChild(n[o])}}}if(!T.support.leadingWhitespace&&/^\s/.test(i)){a.insertBefore(b.createTextNode(i.match(/^\s*/)[0]),a.firstChild)}i=T.makeArray(a.childNodes)}if(i.nodeType){f.push(i)}else{f=T.merge(f,i)}});if(d){for(var c=0;f[c];c++){if(T.nodeName(f[c],"script")&&(!f[c].type||f[c].type.toLowerCase()==="text/javascript")){h.push(f[c].parentNode?f[c].parentNode.removeChild(f[c]):f[c])}else{if(f[c].nodeType===1){f.splice.apply(f,[c+1,0].concat(T.makeArray(f[c].getElementsByTagName("script"))))}d.appendChild(f[c])}}return h}return f},attr:function(c,f,b){if(!c||c.nodeType==3||c.nodeType==8){return ab}var e=!T.isXMLDoc(c),a=b!==ab;f=e&&T.props[f]||f;if(c.tagName){var g=/href|src|style/.test(f);if(f=="selected"&&c.parentNode){c.parentNode.selectedIndex}if(f in c&&e&&!g){if(a){if(f=="type"&&T.nodeName(c,"input")&&c.parentNode){throw"type property can't be changed"}c[f]=b}if(T.nodeName(c,"form")&&c.getAttributeNode(f)){return c.getAttributeNode(f).nodeValue}if(f=="tabIndex"){var d=c.getAttributeNode("tabIndex");return d&&d.specified?d.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:ab}return c[f]}if(!T.support.style&&e&&f=="style"){return T.attr(c.style,"cssText",b)}if(a){c.setAttribute(f,""+b)}var h=!T.support.hrefNormalized&&e&&g?c.getAttribute(f,2):c.getAttribute(f);return h===null?ab:h}if(!T.support.opacity&&f=="opacity"){if(a){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?(parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}f=f.replace(/-([a-z])/ig,function(j,i){return i.toUpperCase()});if(a){c[f]=b}return c[f]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||T.isFunction(a)||a.setInterval){c[0]=a}else{while(b){c[--b]=a[b]}}}return c},inArray:function(b,a){for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(b,e){var d=0,c,a=b.length;if(!T.support.getAll){while((c=e[d++])!=null){if(c.nodeType!=8){b[a++]=c}}}else{while((c=e[d++])!=null){b[a++]=c}}return b},unique:function(a){var f=[],g={};try{for(var e=0,d=a.length;e<d;e++){var b=T.data(a[e]);if(!g[b]){g[b]=true;f.push(a[e])}}}catch(c){f=a}return f},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!=!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a){var e=[];for(var d=0,c=f.length;d<c;d++){var b=a(f[d],d);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(a){return a.parentNode},parents:function(a){return T.dir(a,"parentNode")},next:function(a){return T.nth(a,2,"nextSibling")},prev:function(a){return T.nth(a,2,"previousSibling")},nextAll:function(a){return T.dir(a,"nextSibling")},prevAll:function(a){return T.dir(a,"previousSibling")},siblings:function(a){return T.sibling(a.parentNode.firstChild,a)},children:function(a){return T.sibling(a.firstChild)},contents:function(a){return T.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:T.makeArray(a.childNodes)}},function(b,a){T.fn[b]=function(d){var c=T.map(this,a);if(d&&typeof d=="string"){c=T.multiFilter(d,c)}return this.pushStack(T.unique(c),b,d)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){T.fn[b]=function(h){var e=[],c=T(h);for(var d=0,g=c.length;d<g;d++){var f=(d>0?this.clone(true):this).get();T.fn[a].apply(T(c[d]),f);e=e.concat(f)}return this.pushStack(e,b,h)}});T.each({removeAttr:function(a){T.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a)}},addClass:function(a){T.className.add(this,a)},removeClass:function(a){T.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!T.className.has(this,a)}T.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||T.filter(a,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){T.fn[b]=function(){return this.each(a,arguments)}});function Y(b,a){return b[0]&&parseInt(T.curCSS(b[0],a,true),10)||0}var aa="jQuery"+ad(),I=0,R={};T.extend({cache:{},data:function(c,d,b){c=c==W?R:c;var a=c[aa];if(!a){a=c[aa]=++I}if(d&&!T.cache[a]){T.cache[a]={}}if(b!==ab){T.cache[a][d]=b}return d?T.cache[a][d]:a},removeData:function(c,d){c=c==W?R:c;var a=c[aa];if(d){if(T.cache[a]){delete T.cache[a][d];d="";for(d in T.cache[a]){break}if(!d){T.removeData(c)}}}else{try{delete c[aa]}catch(b){if(c.removeAttribute){c.removeAttribute(aa)}}delete T.cache[a]}},queue:function(c,d,a){if(c){d=(d||"fx")+"queue";var b=T.data(c,d);if(!b||T.isArray(a)){b=T.data(c,d,T.makeArray(a))}else{if(a){b.push(a)}}}return b},dequeue:function(a,b){var d=T.queue(a,b),c=d.shift();if(!b||b==="fx"){c=d[0]}if(c!==ab){c.call(a)}}});T.fn.extend({data:function(d,b){var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===ab){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===ab&&this.length){c=T.data(this[0],d)}return c===ab&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){T.data(this,d,b)})}},removeData:function(a){return this.each(function(){T.removeData(this,a)})},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===ab){return T.queue(this[0],b)}return this.each(function(){var c=T.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this)}})},dequeue:function(a){return this.each(function(){T.dequeue(this,a)})}});
/**
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,h=0,l=Object.prototype.toString;var n=function(r,v,ai,D){ai=ai||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9){return[]}if(!r||typeof r!=="string"){return ai}var q=[],t,A,x,w,C,u,s=true;b.lastIndex=0;while((t=b.exec(r))!==null){q.push(t[1]);if(t[2]){u=RegExp.rightContext;break}}if(q.length>1&&g.exec(r)){if(q.length===2&&k.relative[q[0]]){A=j(q[0]+q[1],v)}else{A=k.relative[q[0]]?[v]:n(q.shift(),v);while(q.length){r=q.shift();if(k.relative[r]){r+=q.shift()}A=j(r,A)}}}else{var B=D?{expr:q.pop(),set:o(D)}:n.find(q.pop(),q.length===1&&v.parentNode?v.parentNode:v,c(v));A=n.filter(B.expr,B.set);if(q.length>0){x=o(A)}else{s=false}while(q.length){var y=q.pop(),z=y;if(!k.relative[y]){y=""}else{z=q.pop()}if(z==null){z=v}k.relative[y](x,z,c(v))}}if(!x){x=A}if(!x){throw"Syntax error, unrecognized expression: "+(y||r)}if(l.call(x)==="[object Array]"){if(!s){ai.push.apply(ai,x)}else{if(v.nodeType===1){for(var p=0;x[p]!=null;p++){if(x[p]&&(x[p]===true||x[p].nodeType===1&&i(v,x[p]))){ai.push(A[p])}}}else{for(var p=0;x[p]!=null;p++){if(x[p]&&x[p].nodeType===1){ai.push(A[p])}}}}}else{o(x,ai)}if(u){n(u,v,ai,D);if(m){hasDuplicate=false;ai.sort(m);if(hasDuplicate){for(var p=1;p<ai.length;p++){if(ai[p]===ai[p-1]){ai.splice(p--,1)}}}}}return ai};n.matches=function(q,p){return n(q,null,null,p)};n.find=function(p,w,x){var q,s;if(!p){return[]}for(var t=0,u=k.order.length;t<u;t++){var r=k.order[t],s;if((s=k.match[r].exec(p))){var v=RegExp.leftContext;if(v.substr(v.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");q=k.find[r](s,w,x);if(q!=null){p=p.replace(k.match[r],"");break}}}}if(!q){q=w.getElementsByTagName("*")}return{set:q,expr:p}};n.filter=function(C,D,z,t){var u=C,x=[],p=D,r,w,q=D&&D[0]&&c(D[0]);while(C&&D.length){for(var ai in k.filter){if((r=k.match[ai].exec(C))!=null){var v=k.filter[ai],y,A;w=false;if(p==x){x=[]}if(k.preFilter[ai]){r=k.preFilter[ai](r,p,z,x,t,q);if(!r){w=y=true}else{if(r===true){continue}}}if(r){for(var s=0;(A=p[s])!=null;s++){if(A){y=v(A,r,s,p);var B=t^!!y;if(z&&y!=null){if(B){w=true}else{p[s]=false}}else{if(B){x.push(A);w=true}}}}}if(y!==ab){if(!z){p=x}C=C.replace(k.match[ai],"");if(!w){return[]}break}}}if(C==u){if(w==null){throw"Syntax error, unrecognized expression: "+C}else{break}}u=C}return p};var k=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(p){return p.getAttribute("href")}},relative:{"+":function(p,w,q){var s=typeof w==="string",x=s&&!/\W/.test(w),r=s&&!x;if(x&&!q){w=w.toUpperCase()}for(var t=0,u=p.length,v;t<u;t++){if((v=p[t])){while((v=v.previousSibling)&&v.nodeType!==1){}p[t]=r||v&&v.nodeName===w?v||false:v===w}}if(r){n.filter(w,p,true)}},">":function(u,r,t){var w=typeof r==="string";if(w&&!/\W/.test(r)){r=t?r:r.toUpperCase();for(var q=0,s=u.length;q<s;q++){var v=u[q];if(v){var p=v.parentNode;u[q]=p.nodeName===r?p:false}}}else{for(var q=0,s=u.length;q<s;q++){var v=u[q];if(v){u[q]=w?v.parentNode:v.parentNode===r}}if(w){n.filter(r,u,true)}}},"":function(p,r,t){var q=h++,s=a;if(!r.match(/\W/)){var u=r=t?r:r.toUpperCase();s=d}s("parentNode",r,q,p,u,t)},"~":function(p,r,t){var q=h++,s=a;if(typeof r==="string"&&!r.match(/\W/)){var u=r=t?r:r.toUpperCase();s=d}s("previousSibling",r,q,p,u,t)}},find:{ID:function(r,q,p){if(typeof q.getElementById!=="undefined"&&!p){var s=q.getElementById(r[1]);return s?[s]:[]}},NAME:function(q,u,t){if(typeof u.getElementsByName!=="undefined"){var r=[],v=u.getElementsByName(q[1]);for(var p=0,s=v.length;p<s;p++){if(v[p].getAttribute("name")===q[1]){r.push(v[p])}}return r.length===0?null:r}},TAG:function(q,p){return p.getElementsByTagName(q[1])}},preFilter:{CLASS:function(p,r,q,s,u,t){p=" "+p[1].replace(/\\/g,"")+" ";if(t){return p}for(var w=0,v;(v=r[w])!=null;w++){if(v){if(u^(v.className&&(" "+v.className+" ").indexOf(p)>=0)){if(!q){s.push(v)}}else{if(q){r[w]=false}}}}return false},ID:function(p){return p[1].replace(/\\/g,"")},TAG:function(q,r){for(var p=0;r[p]===false;p++){}return r[p]&&c(r[p])?q[1]:q[1].toUpperCase()},CHILD:function(q){if(q[1]=="nth"){var p=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(q[2]=="even"&&"2n"||q[2]=="odd"&&"2n+1"||!/\D/.test(q[2])&&"0n+"+q[2]||q[2]);q[2]=(p[1]+(p[2]||1))-0;q[3]=p[3]-0}q[0]=h++;return q},ATTR:function(v,r,q,s,u,t){var p=v[1].replace(/\\/g,"");if(!t&&k.attrMap[p]){v[1]=k.attrMap[p]}if(v[2]==="~="){v[4]=" "+v[4]+" "}return v},PSEUDO:function(u,r,q,s,t){if(u[1]==="not"){if(u[3].match(b).length>1||/^\w/.test(u[3])){u[3]=n(u[3],null,null,r)}else{var p=n.filter(u[3],r,q,true^t);if(!q){s.push.apply(s,p)}return false}}else{if(k.match.POS.test(u[0])||k.match.CHILD.test(u[0])){return true}}return u},POS:function(p){p.unshift(true);return p}},filters:{enabled:function(p){return p.disabled===false&&p.type!=="hidden"},disabled:function(p){return p.disabled===true},checked:function(p){return p.checked===true},selected:function(p){p.parentNode.selectedIndex;return p.selected===true},parent:function(p){return !!p.firstChild},empty:function(p){return !p.firstChild},has:function(p,q,r){return !!n(r[3],p).length},header:function(p){return/h\d/i.test(p.nodeName)},text:function(p){return"text"===p.type},radio:function(p){return"radio"===p.type},checkbox:function(p){return"checkbox"===p.type},file:function(p){return"file"===p.type},password:function(p){return"password"===p.type},submit:function(p){return"submit"===p.type},image:function(p){return"image"===p.type},reset:function(p){return"reset"===p.type},button:function(p){return"button"===p.type||p.nodeName.toUpperCase()==="BUTTON"},input:function(p){return/input|select|textarea|button/i.test(p.nodeName)}},setFilters:{first:function(p,q){return q===0},last:function(q,r,s,p){return r===p.length-1},even:function(p,q){return q%2===0},odd:function(p,q){return q%2===1},lt:function(p,q,r){return q<r[3]-0},gt:function(p,q,r){return q>r[3]-0},nth:function(p,q,r){return r[3]-0==q},eq:function(p,q,r){return r[3]-0==q}},filter:{PSEUDO:function(u,q,p,t){var r=q[1],w=k.filters[r];if(w){return w(u,p,q,t)}else{if(r==="contains"){return(u.textContent||u.innerText||"").indexOf(q[3])>=0}else{if(r==="not"){var v=q[3];for(var p=0,s=v.length;p<s;p++){if(v[p]===u){return false}}return true}}}},CHILD:function(w,t){var q=t[1],v=w;switch(q){case"only":case"first":while(v=v.previousSibling){if(v.nodeType===1){return false}}if(q=="first"){return true}v=w;case"last":while(v=v.nextSibling){if(v.nodeType===1){return false}}return true;case"nth":var u=t[2],x=t[3];if(u==1&&x==0){return true}var r=t[0],y=w.parentNode;if(y&&(y.sizcache!==r||!w.nodeIndex)){var s=0;for(v=y.firstChild;v;v=v.nextSibling){if(v.nodeType===1){v.nodeIndex=++s}}y.sizcache=r}var p=w.nodeIndex-x;if(u==0){return p==0}else{return(p%u==0&&p/u>=0)}}},ID:function(p,q){return p.nodeType===1&&p.getAttribute("id")===q},TAG:function(p,q){return(q==="*"&&p.nodeType===1)||p.nodeName===q},CLASS:function(p,q){return(" "+(p.className||p.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(u,p){var q=p[1],s=k.attrHandle[q]?k.attrHandle[q](u):u[q]!=null?u[q]:u.getAttribute(q),t=s+"",v=p[2],r=p[4];return s==null?v==="!=":v==="="?t===r:v==="*="?t.indexOf(r)>=0:v==="~="?(" "+t+" ").indexOf(r)>=0:!r?t&&s!==false:v==="!="?t!=r:v==="^="?t.indexOf(r)===0:v==="$="?t.substr(t.length-r.length)===r:v==="|="?t===r||t.substr(0,r.length+1)===r+"-":false},POS:function(u,r,q,t){var s=r[2],p=k.setFilters[s];if(p){return p(u,q,r,t)}}}};var g=k.match.POS;for(var e in k.match){k.match[e]=RegExp(k.match[e].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var o=function(p,q){p=Array.prototype.slice.call(p);if(q){q.push.apply(q,p);return q}return p};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(f){o=function(t,p){var r=p||[];if(l.call(t)==="[object Array]"){Array.prototype.push.apply(r,t)}else{if(typeof t.length==="number"){for(var q=0,s=t.length;q<s;q++){r.push(t[q])}}else{for(var q=0;t[q];q++){r.push(t[q])}}}return r}}var m;if(document.documentElement.compareDocumentPosition){m=function(q,r){var p=q.compareDocumentPosition(r)&4?-1:q===r?0:1;if(p===0){hasDuplicate=true}return p}}else{if("sourceIndex" in document.documentElement){m=function(q,r){var p=q.sourceIndex-r.sourceIndex;if(p===0){hasDuplicate=true}return p}}else{if(document.createRange){m=function(p,r){var q=p.ownerDocument.createRange(),s=r.ownerDocument.createRange();q.selectNode(p);q.collapse(true);s.selectNode(r);s.collapse(true);var t=q.compareBoundaryPoints(Range.START_TO_END,s);if(t===0){hasDuplicate=true}return t}}}}(function(){var q=document.createElement("form"),p="script"+(new Date).getTime();q.innerHTML="<input name='"+p+"'/>";var r=document.documentElement;r.insertBefore(q,r.firstChild);if(!!document.getElementById(p)){k.find.ID=function(v,u,t){if(typeof u.getElementById!=="undefined"&&!t){var s=u.getElementById(v[1]);return s?s.id===v[1]||typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id").nodeValue===v[1]?[s]:ab:[]}};k.filter.ID=function(t,s){var u=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&u&&u.nodeValue===s}}r.removeChild(q)})();(function(){var p=document.createElement("div");p.appendChild(document.createComment(""));if(p.getElementsByTagName("*").length>0){k.find.TAG=function(s,t){var u=t.getElementsByTagName(s[1]);if(s[1]==="*"){var q=[];for(var r=0;u[r];r++){if(u[r].nodeType===1){q.push(u[r])}}u=q}return u}}p.innerHTML="<a href='#'></a>";if(p.firstChild&&typeof p.firstChild.getAttribute!=="undefined"&&p.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(q){return q.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var q=n,p=document.createElement("div");p.innerHTML="<p class='TEST'></p>";if(p.querySelectorAll&&p.querySelectorAll(".TEST").length===0){return}n=function(u,v,s,r){v=v||document;if(!r&&v.nodeType===9&&!c(v)){try{return o(v.querySelectorAll(u),s)}catch(t){}}return q(u,v,s,r)};n.find=q.find;n.filter=q.filter;n.selectors=q.selectors;n.matches=q.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var p=document.createElement("div");p.innerHTML="<div class='test e'></div><div class='test'></div>";if(p.getElementsByClassName("e").length===0){return}p.lastChild.className="e";if(p.getElementsByClassName("e").length===1){return}k.order.splice(1,0,"CLASS");k.find.CLASS=function(s,r,q){if(typeof r.getElementsByClassName!=="undefined"&&!q){return r.getElementsByClassName(s[1])}}})()}function d(v,q,r,x,p,y){var z=v=="previousSibling"&&!y;for(var t=0,u=x.length;t<u;t++){var w=x[t];if(w){if(z&&w.nodeType===1){w.sizcache=r;w.sizset=t}w=w[v];var s=false;while(w){if(w.sizcache===r){s=x[w.sizset];break}if(w.nodeType===1&&!y){w.sizcache=r;w.sizset=t}if(w.nodeName===q){s=w;break}w=w[v]}x[t]=s}}}function a(v,q,r,x,p,y){var z=v=="previousSibling"&&!y;for(var t=0,u=x.length;t<u;t++){var w=x[t];if(w){if(z&&w.nodeType===1){w.sizcache=r;w.sizset=t}w=w[v];var s=false;while(w){if(w.sizcache===r){s=x[w.sizset];break}if(w.nodeType===1){if(!y){w.sizcache=r;w.sizset=t}if(typeof q!=="string"){if(w===q){s=true;break}}else{if(n.filter(q,[w]).length>0){s=w;break}}}w=w[v]}x[t]=s}}}var i=document.compareDocumentPosition?function(p,q){return p.compareDocumentPosition(q)&16}:function(p,q){return p!==q&&(p.contains?p.contains(q):true)};var c=function(p){return p.nodeType===9&&p.documentElement.nodeName!=="HTML"||!!p.ownerDocument&&c(p.ownerDocument)};var j=function(s,u){var p=[],w="",v,q=u.nodeType?[u]:u;while((v=k.match.PSEUDO.exec(s))){w+=v[0];s=s.replace(k.match.PSEUDO,"")}s=k.relative[s]?s+"*":s;for(var t=0,r=q.length;t<r;t++){n(s,q[t],p)}return n.filter(w,p)};T.find=n;T.filter=n.filter;T.expr=n.selectors;T.expr[":"]=T.expr.filters;n.selectors.filters.hidden=function(p){return p.offsetWidth===0||p.offsetHeight===0};n.selectors.filters.visible=function(p){return p.offsetWidth>0||p.offsetHeight>0};n.selectors.filters.animated=function(p){return T.grep(T.timers,function(q){return p===q.elem}).length};T.multiFilter=function(p,r,q){if(q){p=":not("+p+")"}return n.matches(p,r)};T.dir=function(q,r){var s=[],p=q[r];while(p&&p!=document){if(p.nodeType==1){s.push(p)}p=p[r]}return s};T.nth=function(t,s,q,p){s=s||1;var r=0;for(;t;t=t[q]){if(t.nodeType==1&&++r==s){break}}return t};T.sibling=function(p,q){var r=[];for(;p;p=p.nextSibling){if(p.nodeType==1&&p!=q){r.push(p)}}return r};return;W.Sizzle=n})();T.event={add:function(c,f,d,a){if(c.nodeType==3||c.nodeType==8){return}if(c.setInterval&&c!=W){c=W}if(!d.guid){d.guid=this.guid++}if(a!==ab){var e=d;d=this.proxy(e);d.data=a}var g=T.data(c,"events")||T.data(c,"events",{}),b=T.data(c,"handle")||T.data(c,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):ab});b.elem=c;T.each(f.split(/\s+/),function(k,j){var i=j.split(".");j=i.shift();d.type=i.slice().sort().join(".");var h=g[j];if(T.event.specialAll[j]){T.event.specialAll[j].setup.call(c,a,i)}if(!h){h=g[j]={};if(!T.event.special[j]||T.event.special[j].setup.call(c,a,i)===false){if(c.addEventListener){c.addEventListener(j,b,false)}else{if(c.attachEvent){c.attachEvent("on"+j,b)}}}}h[d.guid]=d;T.event.global[j]=true});c=null},guid:1,global:{},remove:function(b,e,c){if(b.nodeType==3||b.nodeType==8){return}var f=T.data(b,"events"),g,h;if(f){if(e===ab||(typeof e==="string"&&e.charAt(0)==".")){for(var d in f){this.remove(b,d+(e||""))}}else{if(e.type){c=e.handler;e=e.type}T.each(e.split(/\s+/),function(m,k){var i=k.split(".");k=i.shift();var l=RegExp("(^|\\.)"+i.slice().sort().join(".*\\.")+"(\\.|$)");if(f[k]){if(c){delete f[k][c.guid]}else{for(var j in f[k]){if(l.test(f[k][j].type)){delete f[k][j]}}}if(T.event.specialAll[k]){T.event.specialAll[k].teardown.call(b,i)}for(g in f[k]){break}if(!g){if(!T.event.special[k]||T.event.special[k].teardown.call(b,i)===false){if(b.removeEventListener){b.removeEventListener(k,T.data(b,"handle"),false)}else{if(b.detachEvent){b.detachEvent("on"+k,T.data(b,"handle"))}}}g=null;delete f[k]}}})}for(g in f){break}if(!g){var a=T.data(b,"handle");if(a){a.elem=null}T.removeData(b,"events");T.removeData(b,"handle")}}},trigger:function(d,b,e,h){var f=d.type||d;if(!h){d=typeof d==="object"?d[aa]?d:T.extend(T.Event(f),d):T.Event(f);if(f.indexOf("!")>=0){d.type=f=f.slice(0,-1);d.exclusive=true}if(!e){d.stopPropagation();if(this.global[f]){T.each(T.cache,function(){if(this.events&&this.events[f]){T.event.trigger(d,b,this.handle.elem)}})}}if(!e||e.nodeType==3||e.nodeType==8){return ab}d.result=ab;d.target=e;b=T.makeArray(b);b.unshift(d)}d.currentTarget=e;var c=T.data(e,"handle");if(c){c.apply(e,b)}if((!e[f]||(T.nodeName(e,"a")&&f=="click"))&&e["on"+f]&&e["on"+f].apply(e,b)===false){d.result=false}if(!h&&e[f]&&!d.isDefaultPrevented()&&!(T.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(a){}}this.triggered=false;if(!d.isPropagationStopped()){var g=e.parentNode||e.ownerDocument;if(g){T.event.trigger(d,b,g,true)}}},handle:function(b){var c,h;b=arguments[0]=T.event.fix(b||W.event);b.currentTarget=this;var a=b.type.split(".");b.type=a.shift();c=!a.length&&!b.exclusive;var d=RegExp("(^|\\.)"+a.slice().sort().join(".*\\.")+"(\\.|$)");h=(T.data(this,"events")||{})[b.type];for(var f in h){var e=h[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var g=e.apply(this,arguments);if(g!==ab){b.result=g;if(g===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped()){break}}}},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 toElement view wheelDelta which".split(" "),fix:function(c){if(c[aa]){return c}var e=c;c=T.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||document}if(c.target.nodeType==3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement==c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=document.documentElement,f=document.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(b,a){T.event.add(this,a[0],af)},teardown:function(a){if(a.length){var c=0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){T.event.remove(this,a[0],af)}}}}}};T.Event=function(a){if(!this.preventDefault){return new T.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type}else{this.type=a}this.timeStamp=ad();this[aa]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var ah=function(b){var c=b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(a){c=this}}if(c!=this){b.type=b.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){T.event.special[b]={setup:function(){T.event.add(this,a,ah,b)},teardown:function(){T.event.remove(this,a,ah)}}});T.fn.extend({bind:function(b,a,c){return b=="unload"?this.one(b,a,c):this.each(function(){T.event.add(this,b,c||a,c&&a)})},one:function(b,a,c){var d=T.event.proxy(c||a,function(e){T(this).unbind(e,d);return(c||a).apply(this,arguments)});return this.each(function(){T.event.add(this,b,d,c&&a)})},unbind:function(a,b){return this.each(function(){T.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){T.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=T.Event(c);b.preventDefault();b.stopPropagation();T.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){T.event.proxy(a,c[b++])}return this.click(T.event.proxy(a,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a)},ready:function(a){P();if(T.isReady){a.call(document,T)}else{T.readyList.push(a)}return this},live:function(a,b){var c=T.event.proxy(b);c.guid+=this.selector+a;T(document).bind(Z(a,this.selector),this.selector,c);return this},die:function(a,b){T(document).unbind(Z(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function af(a){var d=RegExp("(^|\\.)"+a.type+"(\\.|$)"),b=true,c=[];T.each(T.data(this,"events").live||[],function(g,f){if(d.test(f.type)){var e=T(a.target).closest(f.data)[0];if(e){c.push({elem:e,fn:f})}}});c.sort(function(e,f){return T.data(e.elem,"closest")-T.data(f.elem,"closest")});T.each(c,function(){if(this.fn.call(this.elem,a,this.fn.data)===false){return(b=false)}});return b}function Z(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}T.ready()})()}}}T.event.add(W,"load",T.ready)}T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(a,b){T.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)}});T(W).bind("unload",function(){for(var a in T.cache){if(a!=1&&T.cache[a].handle){T.event.remove(T.cache[a].handle.elem)}}});(function(){T.support={};var f=document.documentElement,e=document.createElement("script"),a=document.createElement("div"),b="script"+(new Date).getTime();a.style.display="none";a.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var d=a.getElementsByTagName("*"),g=a.getElementsByTagName("a")[0];if(!d||!d.length||!g){return}T.support={leadingWhitespace:a.firstChild.nodeType==3,tbody:!a.getElementsByTagName("tbody").length,objectAll:!!a.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:g.style.opacity==="0.5",cssFloat:!!g.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+b+"=1;"))}catch(c){}f.insertBefore(e,f.firstChild);if(W[b]){T.support.scriptEval=true;delete W[b]}f.removeChild(e);if(a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){T.support.noCloneEvent=false;a.detachEvent("onclick",arguments.callee)});a.cloneNode(true).fireEvent("onclick")}T(function(){var h=document.createElement("div");h.style.width=h.style.paddingLeft="1px";document.body.appendChild(h);T.boxModel=T.support.boxModel=h.offsetWidth===2;document.body.removeChild(h).style.display="none"})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}var c=e.indexOf(" ");if(c>=0){var g=e.slice(c,e.length);e=e.slice(0,c)}var d="GET";if(b){if(T.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=T.param(b);d="POST"}}}var f=this;T.ajax({url:e,type:d,dataType:"html",data:b,complete:function(i,h){if(h=="success"||h=="notmodified"){f.html(g?T("<div/>").append(i.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):i.responseText)}if(a){f.each(a,[i.responseText,h,i])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(c,b){var a=T(this).val();return a==null?null:T.isArray(a)?T.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){T.fn[a]=function(c){return this.bind(a,c)}});var N=ad();T.extend({get:function(d,b,a,c){if(T.isFunction(b)){a=b;b=null}return T.ajax({type:"GET",url:d,data:b,success:a,dataType:c})},getScript:function(b,a){return T.get(b,null,a,"script")},getJSON:function(c,b,a){return T.get(c,b,a,"json")},post:function(d,b,a,c){if(T.isFunction(b)){a=b;b={}}return T.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){T.extend(T.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},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(k){k=T.extend(true,k,T.extend(true,{},T.ajaxSettings,k));var a,r=/=\?(&|$)/g,f,b,q=k.type.toUpperCase();if(k.data&&k.processData&&typeof k.data!=="string"){k.data=T.param(k.data)}if(k.dataType=="jsonp"){if(q=="GET"){if(!k.url.match(r)){k.url+=(k.url.match(/\?/)?"&":"?")+(k.jsonp||"callback")+"=?"}}else{if(!k.data||!k.data.match(r)){k.data=(k.data?k.data+"&":"")+(k.jsonp||"callback")+"=?"}}k.dataType="json"}if(k.dataType=="json"&&(k.data&&k.data.match(r)||k.url.match(r))){a="jsonp"+N++;if(k.data){k.data=(k.data+"").replace(r,"="+a+"$1")}k.url=k.url.replace(r,"="+a+"$1");k.dataType="script";W[a]=function(u){b=u;o();l();W[a]=ab;try{delete W[a]}catch(t){}if(p){p.removeChild(d)}}}if(k.dataType=="script"&&k.cache==null){k.cache=false}if(k.cache===false&&q=="GET"){var s=ad();var c=k.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+s+"$2");k.url=c+((c==k.url)?(k.url.match(/\?/)?"&":"?")+"_="+s:"")}if(k.data&&q=="GET"){k.url+=(k.url.match(/\?/)?"&":"?")+k.data;k.data=null}if(k.global&&!T.active++){T.event.trigger("ajaxStart")}var g=/^(\w+:)?\/\/([^\/?#]+)/.exec(k.url);if(k.dataType=="script"&&q=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var p=document.getElementsByTagName("head")[0];var d=document.createElement("script");d.src=k.url;if(k.scriptCharset){d.charset=k.scriptCharset}if(!a){var i=false;d.onload=d.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;o();l();d.onload=d.onreadystatechange=null;p.removeChild(d)}}}p.appendChild(d);return ab}var m=false;var n=k.xhr();if(k.username){n.open(q,k.url,k.async,k.username,k.password)}else{n.open(q,k.url,k.async)}try{if(k.data){n.setRequestHeader("Content-Type",k.contentType)}if(k.ifModified){n.setRequestHeader("If-Modified-Since",T.lastModified[k.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}n.setRequestHeader("X-Requested-With","XMLHttpRequest");n.setRequestHeader("Accept",k.dataType&&k.accepts[k.dataType]?k.accepts[k.dataType]+", */*":k.accepts._default)}catch(e){}if(k.beforeSend&&k.beforeSend(n,k)===false){if(k.global&&!--T.active){T.event.trigger("ajaxStop")}n.abort();return false}if(k.global){T.event.trigger("ajaxSend",[n,k])}var j=function(v){if(n.readyState==0){if(h){clearInterval(h);h=null;if(k.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!m&&n&&(n.readyState==4||v=="timeout")){m=true;if(h){clearInterval(h);h=null}f=v=="timeout"?"timeout":!T.httpSuccess(n)?"error":k.ifModified&&T.httpNotModified(n,k.url)?"notmodified":"success";if(f=="success"){try{b=T.httpData(n,k.dataType,k)}catch(t){f="parsererror"}}if(f=="success"){var u;try{u=n.getResponseHeader("Last-Modified")}catch(t){}if(k.ifModified&&u){T.lastModified[k.url]=u}if(!a){o()}}else{T.handleError(k,n,f)}l();if(v){n.abort()}if(k.async){n=null}}}};if(k.async){var h=setInterval(j,13);if(k.timeout>0){setTimeout(function(){if(n&&!m){j("timeout")}},k.timeout)}}try{n.send(k.data)}catch(e){T.handleError(k,n,null,e)}if(!k.async){j()}function o(){if(k.success){k.success(b,f)}if(k.global){T.event.trigger("ajaxSuccess",[n,k])}}function l(){if(k.complete){k.complete(n,f)}if(k.global){T.event.trigger("ajaxComplete",[n,k])}if(k.global&&!--T.active){T.event.trigger("ajaxStop")}}return n},handleError:function(c,a,d,b){if(c.error){c.error(a,d,b)}if(c.global){T.event.trigger("ajaxError",[a,c,b])}},active:0,httpSuccess:function(a){try{return !a.status&&location.protocol=="file:"||(a.status>=200&&a.status<300)||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,d){try{var a=b.getResponseHeader("Last-Modified");return b.status==304||a==T.lastModified[d]}catch(c){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),f=c=="xml"||!c&&e&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.tagName=="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c=="script"){T.globalEval(b)}if(c=="json"){b=W["eval"]("("+b+")")}}return b},param:function(d){var b=[];function a(f,e){b[b.length]=encodeURIComponent(f)+"="+encodeURIComponent(e)}if(T.isArray(d)||d.jquery){T.each(d,function(){a(this.name,this.value)})}else{for(var c in d){if(T.isArray(d[c])){T.each(d[c],function(){a(c,this)})}else{a(c,T.isFunction(d[c])?d[c]():d[c])}}}return b.join("&").replace(/%20/g,"+")}});var V={},U,ae=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function K(b,c){var a={};T.each(ae.concat.apply([],ae.slice(0,c)),function(){a[this]=b});return a}T.fn.extend({show:function(c,a){if(c){return this.animate(K("show",3),c,a)}else{for(var e=0,g=this.length;e<g;e++){var h=T.data(this[e],"olddisplay");this[e].style.display=h||"";if(T.css(this[e],"display")==="none"){var f=this[e].tagName,b;if(V[f]){b=V[f]}else{var d=T("<"+f+" />").appendTo("body");b=d.css("display");if(b==="none"){b="block"}d.remove();V[f]=b}T.data(this[e],"olddisplay",b)}}for(var e=0,g=this.length;e<g;e++){this[e].style.display=T.data(this[e],"olddisplay")||""}return this}},hide:function(b,a){if(b){return this.animate(K("hide",3),b,a)}else{for(var c=0,d=this.length;c<d;c++){var e=T.data(this[c],"olddisplay");if(!e&&e!=="none"){T.data(this[c],"olddisplay",T.css(this[c],"display"))}}for(var c=0,d=this.length;c<d;c++){this[c].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";return T.isFunction(a)&&T.isFunction(b)?this._toggle.apply(this,arguments):a==null||c?this.each(function(){var d=c?a:T(this).is(":hidden");T(this)[d?"show":"hide"]()}):this.animate(K("toggle",3),a,b)},fadeTo:function(c,a,b){return this.animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=T.speed(d,b,c);return this[e.queue===false?"each":"queue"](function(){var g=T.extend({},e),i,f=this.nodeType==1&&T(this).is(":hidden"),h=this;for(i in a){if(a[i]=="hide"&&f||a[i]=="show"&&!f){return g.complete.call(this)}if((i=="height"||i=="width")&&this.style){g.display=T.css(this,"display");g.overflow=this.style.overflow}}if(g.overflow!=null){this.style.overflow="hidden"}g.curAnim=T.extend({},a);T.each(a,function(o,k){var l=new T.fx(h,g,o);if(/toggle|show|hide/.test(k)){l[k=="toggle"?f?"show":"hide":k](a)}else{var m=k.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),j=l.cur(true)||0;if(m){var p=parseFloat(m[2]),n=m[3]||"px";if(n!="px"){h.style[o]=(p||1)+n;j=((p||1)/l.cur(true))*j;h.style[o]=j+n}if(m[1]){p=((m[1]=="-="?-1:1)*p)+j}l.custom(j,p,n)}else{l.custom(j,k,"")}}});return true})},stop:function(b,c){var a=T.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;d>=0;d--){if(a[d].elem==this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){T.fn[b]=function(d,c){return this.animate(a,d,c)}});T.extend({speed:function(b,a,c){var d=typeof b==="object"?b:{complete:c||!c&&a||T.isFunction(b)&&b,duration:b,easing:c&&a||a&&!T.isFunction(a)&&a};d.duration=T.fx.off?0:typeof d.duration==="number"?d.duration:T.fx.speeds[d.duration]||T.fx.speeds._default;d.old=d.complete;d.complete=function(){if(d.queue!==false){T(this).dequeue()}if(T.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var b=parseFloat(T.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ad();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;if(d()&&T.timers.push(d)&&!U){U=setInterval(function(){var f=T.timers;for(var g=0;g<f.length;g++){if(!f[g]()){f.splice(g--,1)}}if(!f.length){clearInterval(U);U=ab}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=ad();if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var e in this.options.curAnim){if(this.options.curAnim[e]!==true){f=false}}if(f){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var b in this.options.curAnim){T.attr(this.elem.style,b,this.options.orig[b])}}this.options.complete.call(this.elem)}return false}else{var a=d-this.startTime;this.state=a/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,a,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){T.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var f=this[0].getBoundingClientRect(),c=this[0].ownerDocument,g=c.body,h=c.documentElement,a=h.clientTop||g.clientTop||0,b=h.clientLeft||g.clientLeft||0,d=f.top+(self.pageYOffset||T.boxModel&&h.scrollTop||g.scrollTop)-a,e=f.left+(self.pageXOffset||T.boxModel&&h.scrollLeft||g.scrollLeft)-b;return{top:d,left:e}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var f=this[0],i=f.offsetParent,j=f,a=f.ownerDocument,c,h=a.documentElement,e=a.body,d=a.defaultView,k=d.getComputedStyle(f,null),b=f.offsetTop,g=f.offsetLeft;while((f=f.parentNode)&&f!==e&&f!==h){c=d.getComputedStyle(f,null);b-=f.scrollTop,g-=f.scrollLeft;if(f===i){b+=f.offsetTop,g+=f.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}j=i,i=f.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}k=c}if(k.position==="relative"||k.position==="static"){b+=e.offsetTop,g+=e.offsetLeft}if(k.position==="fixed"){b+=Math.max(h.scrollTop,e.scrollTop),g+=Math.max(h.scrollLeft,e.scrollLeft)}return{top:b,left:g}}}T.offset={initialize:function(){if(this.initialized){return}var c=document.body,i=document.createElement("div"),g,h,a,f,b,j,e=c.style.marginTop,d='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';b={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(j in b){i.style[j]=b[j]}i.innerHTML=d;c.insertBefore(i,c.firstChild);g=i.firstChild,h=g.firstChild,f=g.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(h.offsetTop!==5);this.doesAddBorderForTableAndCells=(f.offsetTop===5);g.style.overflow="hidden",g.style.position="relative";this.subtractsBorderForOverflowNotVisible=(h.offsetTop===-5);c.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(c.offsetTop===0);c.style.marginTop=e;c.removeChild(i);this.initialized=true},bodyOffset:function(c){T.offset.initialized||T.offset.initialize();var a=c.offsetTop,b=c.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){a+=parseInt(T.curCSS(c,"marginTop",true),10)||0,b+=parseInt(T.curCSS(c,"marginLeft",true),10)||0}return{top:a,left:b}}};T.fn.extend({position:function(){var b=0,c=0,e;if(this[0]){var d=this.offsetParent(),a=this.offset(),f=/^body|html$/i.test(d[0].tagName)?{top:0,left:0}:d.offset();a.top-=Y(this,"marginTop");a.left-=Y(this,"marginLeft");f.top+=Y(d,"borderTopWidth");f.left+=Y(d,"borderLeftWidth");e={top:a.top-f.top,left:a.left-f.left}}return e},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&T.css(a,"position")=="static")){a=a.offsetParent}return T(a)}});T.each(["Left","Top"],function(b,c){var a="scroll"+c;T.fn[a]=function(d){if(!this[0]){return null}return d!==ab?this.each(function(){this==W||this==document?W.scrollTo(!b?d:T(W).scrollLeft(),b?d:T(W).scrollTop()):this[a]=d}):this[0]==W||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[a]||document.body[a]:this[0][a]}});T.each(["Height","Width"],function(b,d){var f=b?"Left":"Top",c=b?"Right":"Bottom",e=d.toLowerCase();T.fn["inner"+d]=function(){return this[0]?T.css(this[0],e,false,"padding"):null};T.fn["outer"+d]=function(g){return this[0]?T.css(this[0],e,false,g?"margin":"border"):null};var a=d.toLowerCase();T.fn[a]=function(g){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):g===ab?(this.length?T.css(this[0],a):null):this.css(a,typeof g==="string"?g:g+"px")}})})();
/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 5/25/2009
 * @author Ariel Flesler
 * @version 1.4.2
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
(function(c){var a=c.scrollTo=function(d,f,g){c(window).scrollTo(d,f,g)};a.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};a.window=function(d){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){var d=this,f=!d.nodeName||c.inArray(d.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!f){return d}var g=(d.contentWindow||d).document||d.ownerDocument||d;return c.browser.safari||g.compatMode=="BackCompat"?g.body:g.documentElement})};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0}if(typeof d=="function"){d={onAfter:d}}if(f=="max"){f=9000000000}d=c.extend({},a.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=b(d.offset);d.over=b(d.over);return this._scrollable().each(function(){var n=this,l=c(n),m=f,j,k={},h=l.is("html,body");switch(typeof m){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(m)){m=b(m);break}m=c(m,this);case"object":if(m.is||m.style){j=(m=c(m)).offset()}}c.each(d.axis.split(""),function(q,r){var t=r=="x"?"Left":"Top",s=t.toLowerCase(),v="scroll"+t,p=n[v],g=a.max(n,r);if(j){k[v]=j[s]+(h?0:p-l.offset()[s]);if(d.margin){k[v]-=parseInt(m.css("margin"+t))||0;k[v]-=parseInt(m.css("border"+t+"Width"))||0}k[v]+=d.offset[s]||0;if(d.over[s]){k[v]+=m[r=="x"?"width":"height"]()*d.over[s]}}else{var u=m[s];k[v]=u.slice&&u.slice(-1)=="%"?parseFloat(u)/100*g:u}if(/^\d+$/.test(k[v])){k[v]=k[v]<=0?0:Math.min(k[v],g)}if(!q&&d.queue){if(p!=k[v]){i(d.onAfterFirst)}delete k[v]}});i(d.onAfter);function i(g){l.animate(k,e,d.easing,g&&function(){g.call(this,f,d)})}}).end()};a.max=function(g,j){var n=j=="x"?"Width":"Height",k="scroll"+n;if(!c(g).is("html,body")){return g[k]-c(g)[n.toLowerCase()]()}var o="client"+n,f=g.ownerDocument.documentElement,d=g.ownerDocument.body;return Math.max(f[k],d[k])-Math.min(f[o],d[o])};function b(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);
/**
 * jQuery UI Effects 1.7.2
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Effects/
 */
jQuery.effects||(function(i){i.effects={version:"1.7.2",save:function(b,a){for(var c=0;c<a.length;c++){if(a[c]!==null){b.data("ec.storage."+a[c],b[0].style[a[c]])}}},restore:function(b,a){for(var c=0;c<a.length;c++){if(a[c]!==null){b.css(a[c],b.data("ec.storage."+a[c]))}}},setMode:function(b,a){if(a=="toggle"){a=b.is(":hidden")?"show":"hide"}return a},getBaseline:function(c,b){var a,d;switch(c[0]){case"top":a=0;break;case"middle":a=0.5;break;case"bottom":a=1;break;default:a=c[0]/b.height}switch(c[1]){case"left":d=0;break;case"center":d=0.5;break;case"right":d=1;break;default:d=c[1]/b.width}return{x:d,y:a}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper")){return e.parent()}var d={width:e.outerWidth(true),height:e.outerHeight(true),"float":e.css("float")};e.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var a=e.parent();if(e.css("position")=="static"){a.css({position:"relative"});e.css({position:"relative"})}else{var b=e.css("top");if(isNaN(parseInt(b,10))){b="auto"}var c=e.css("left");if(isNaN(parseInt(c,10))){c="auto"}a.css({position:e.css("position"),top:b,left:c,zIndex:e.css("z-index")}).show();e.css({position:"relative",top:0,left:0})}a.css(d);return a},removeWrapper:function(a){if(a.parent().is(".ui-effects-wrapper")){return a.parent().replaceWith(a)}return a},setTransition:function(c,a,d,b){b=b||{};i.each(a,function(e,l){unit=c.cssUnit(l);if(unit[0]>0){b[l]=unit[0]*d+unit[1]}});return b},animateClass:function(d,c,a,b){var l=(typeof a=="function"?a:(b?b:null));var e=(typeof a=="string"?a:null);return this.each(function(){var t={};var v=i(this);var u=v.attr("style")||"";if(typeof u=="object"){u=u.cssText}if(d.toggle){v.hasClass(d.toggle)?d.remove=d.toggle:d.add=d.toggle}var n=i.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(d.add){v.addClass(d.add)}if(d.remove){v.removeClass(d.remove)}var k=i.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(d.add){v.removeClass(d.add)}if(d.remove){v.addClass(d.remove)}for(var s in k){if(typeof k[s]!="function"&&k[s]&&s.indexOf("Moz")==-1&&s.indexOf("length")==-1&&k[s]!=n[s]&&(s.match(/color/i)||(!s.match(/color/i)&&!isNaN(parseInt(k[s],10))))&&(n.position!="static"||(n.position=="static"&&!s.match(/left|top|bottom|right/)))){t[s]=k[s]}}v.animate(t,c,e,function(){if(typeof i(this).attr("style")=="object"){i(this).attr("style")["cssText"]="";i(this).attr("style")["cssText"]=u}else{i(this).attr("style",u)}if(d.add){i(this).addClass(d.add)}if(d.remove){i(this).removeClass(d.remove)}if(l){l.apply(this,arguments)}})})}};function j(d,e){var b=d[1]&&d[1].constructor==Object?d[1]:{};if(e){b.mode=e}var c=d[1]&&d[1].constructor!=Object?d[1]:(b.duration?b.duration:d[2]);c=i.fx.off?0:typeof c==="number"?c:i.fx.speeds[c]||i.fx.speeds._default;var a=b.callback||(i.isFunction(d[1])&&d[1])||(i.isFunction(d[2])&&d[2])||(i.isFunction(d[3])&&d[3]);return[d[0],b,c,a]}i.fn.extend({_show:i.fn.show,_hide:i.fn.hide,__toggle:i.fn.toggle,_addClass:i.fn.addClass,_removeClass:i.fn.removeClass,_toggleClass:i.fn.toggleClass,effect:function(c,d,b,a){return i.effects[c]?i.effects[c].call(this,{method:c,options:d||{},duration:b,callback:a}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,j(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,j(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(i.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,j(arguments,"toggle"))}},addClass:function(c,d,a,b){return d?i.effects.animateClass.apply(this,[{add:c},d,a,b]):this._addClass(c)},removeClass:function(c,d,a,b){return d?i.effects.animateClass.apply(this,[{remove:c},d,a,b]):this._removeClass(c)},toggleClass:function(c,d,a,b){return((typeof d!=="boolean")&&d)?i.effects.animateClass.apply(this,[{toggle:c},d,a,b]):this._toggleClass(c,d)},morph:function(e,c,d,a,b){return i.effects.animateClass.apply(this,[{add:c,remove:e},d,a,b])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(c){var b=this.css(c),a=[];i.each(["em","px","%","pt"],function(e,d){if(b.indexOf(d)>0){a=[parseFloat(b),d]}});return a}});i.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(a,b){i.fx.step[b]=function(c){if(c.state==0){c.start=h(c.elem,b);c.end=f(c.end)}c.elem.style[b]="rgb("+[Math.max(Math.min(parseInt((c.pos*(c.end[0]-c.start[0]))+c.start[0],10),255),0),Math.max(Math.min(parseInt((c.pos*(c.end[1]-c.start[1]))+c.start[1],10),255),0),Math.max(Math.min(parseInt((c.pos*(c.end[2]-c.start[2]))+c.start[2],10),255),0)].join(",")+")"}});function f(a){var b;if(a&&a.constructor==Array&&a.length==3){return a}if(b=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a)){return[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10)]}if(b=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a)){return[parseFloat(b[1])*2.55,parseFloat(b[2])*2.55,parseFloat(b[3])*2.55]}if(b=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a)){return[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]}if(b=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a)){return[parseInt(b[1]+b[1],16),parseInt(b[2]+b[2],16),parseInt(b[3]+b[3],16)]}if(b=/rgba\(0, 0, 0, 0\)/.exec(a)){return g.transparent}return g[i.trim(a).toLowerCase()]}function h(a,c){var b;do{b=i.curCSS(a,c);if(b!=""&&b!="transparent"||i.nodeName(a,"body")){break}c="backgroundColor"}while(a=a.parentNode);return f(b)}var g={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]};i.easing.jswing=i.easing.swing;i.extend(i.easing,{def:"easeOutQuad",swing:function(d,c,e,a,b){return i.easing[i.easing.def](d,c,e,a,b)},easeInQuad:function(d,c,e,a,b){return a*(c/=b)*c+e},easeOutQuad:function(d,c,e,a,b){return -a*(c/=b)*(c-2)+e},easeInOutQuad:function(d,c,e,a,b){if((c/=b/2)<1){return a/2*c*c+e}return -a/2*((--c)*(c-2)-1)+e},easeInCubic:function(d,c,e,a,b){return a*(c/=b)*c*c+e},easeOutCubic:function(d,c,e,a,b){return a*((c=c/b-1)*c*c+1)+e},easeInOutCubic:function(d,c,e,a,b){if((c/=b/2)<1){return a/2*c*c*c+e}return a/2*((c-=2)*c*c+2)+e},easeInQuart:function(d,c,e,a,b){return a*(c/=b)*c*c*c+e},easeOutQuart:function(d,c,e,a,b){return -a*((c=c/b-1)*c*c*c-1)+e},easeInOutQuart:function(d,c,e,a,b){if((c/=b/2)<1){return a/2*c*c*c*c+e}return -a/2*((c-=2)*c*c*c-2)+e},easeInQuint:function(d,c,e,a,b){return a*(c/=b)*c*c*c*c+e},easeOutQuint:function(d,c,e,a,b){return a*((c=c/b-1)*c*c*c*c+1)+e},easeInOutQuint:function(d,c,e,a,b){if((c/=b/2)<1){return a/2*c*c*c*c*c+e}return a/2*((c-=2)*c*c*c*c+2)+e},easeInSine:function(d,c,e,a,b){return -a*Math.cos(c/b*(Math.PI/2))+a+e},easeOutSine:function(d,c,e,a,b){return a*Math.sin(c/b*(Math.PI/2))+e},easeInOutSine:function(d,c,e,a,b){return -a/2*(Math.cos(Math.PI*c/b)-1)+e},easeInExpo:function(d,c,e,a,b){return(c==0)?e:a*Math.pow(2,10*(c/b-1))+e},easeOutExpo:function(d,c,e,a,b){return(c==b)?e+a:a*(-Math.pow(2,-10*c/b)+1)+e},easeInOutExpo:function(d,c,e,a,b){if(c==0){return e}if(c==b){return e+a}if((c/=b/2)<1){return a/2*Math.pow(2,10*(c-1))+e}return a/2*(-Math.pow(2,-10*--c)+2)+e},easeInCirc:function(d,c,e,a,b){return -a*(Math.sqrt(1-(c/=b)*c)-1)+e},easeOutCirc:function(d,c,e,a,b){return a*Math.sqrt(1-(c=c/b-1)*c)+e},easeInOutCirc:function(d,c,e,a,b){if((c/=b/2)<1){return -a/2*(Math.sqrt(1-c*c)-1)+e}return a/2*(Math.sqrt(1-(c-=2)*c)+1)+e},easeInElastic:function(o,e,p,a,b){var d=1.70158;var c=0;var n=a;if(e==0){return p}if((e/=b)==1){return p+a}if(!c){c=b*0.3}if(n<Math.abs(a)){n=a;var d=c/4}else{var d=c/(2*Math.PI)*Math.asin(a/n)}return -(n*Math.pow(2,10*(e-=1))*Math.sin((e*b-d)*(2*Math.PI)/c))+p},easeOutElastic:function(o,e,p,a,b){var d=1.70158;var c=0;var n=a;if(e==0){return p}if((e/=b)==1){return p+a}if(!c){c=b*0.3}if(n<Math.abs(a)){n=a;var d=c/4}else{var d=c/(2*Math.PI)*Math.asin(a/n)}return n*Math.pow(2,-10*e)*Math.sin((e*b-d)*(2*Math.PI)/c)+a+p},easeInOutElastic:function(o,e,p,a,b){var d=1.70158;var c=0;var n=a;if(e==0){return p}if((e/=b/2)==2){return p+a}if(!c){c=b*(0.3*1.5)}if(n<Math.abs(a)){n=a;var d=c/4}else{var d=c/(2*Math.PI)*Math.asin(a/n)}if(e<1){return -0.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e*b-d)*(2*Math.PI)/c))+p}return n*Math.pow(2,-10*(e-=1))*Math.sin((e*b-d)*(2*Math.PI)/c)*0.5+a+p},easeInBack:function(e,d,l,a,b,c){if(c==undefined){c=1.70158}return a*(d/=b)*d*((c+1)*d-c)+l},easeOutBack:function(e,d,l,a,b,c){if(c==undefined){c=1.70158}return a*((d=d/b-1)*d*((c+1)*d+c)+1)+l},easeInOutBack:function(e,d,l,a,b,c){if(c==undefined){c=1.70158}if((d/=b/2)<1){return a/2*(d*d*(((c*=(1.525))+1)*d-c))+l}return a/2*((d-=2)*d*(((c*=(1.525))+1)*d+c)+2)+l},easeInBounce:function(d,c,e,a,b){return a-i.easing.easeOutBounce(d,b-c,0,a,b)+e},easeOutBounce:function(d,c,e,a,b){if((c/=b)<(1/2.75)){return a*(7.5625*c*c)+e}else{if(c<(2/2.75)){return a*(7.5625*(c-=(1.5/2.75))*c+0.75)+e}else{if(c<(2.5/2.75)){return a*(7.5625*(c-=(2.25/2.75))*c+0.9375)+e}else{return a*(7.5625*(c-=(2.625/2.75))*c+0.984375)+e}}}},easeInOutBounce:function(d,c,e,a,b){if(c<b/2){return i.easing.easeInBounce(d,c*2,0,a,b)*0.5+e}return i.easing.easeOutBounce(d,c*2-b,0,a,b)*0.5+a*0.5+e}})})(jQuery);
/**
 * jQuery UI Effects Bounce 1.7.2
 *
 * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 * http://docs.jquery.com/UI/Effects/Bounce
 *
 * Depends:
 *	effects.core.js
 */
(function(b){b.effects.bounce=function(a){return this.queue(function(){var z=b(this),t=["position","top","left"];var u=b.effects.setMode(z,a.options.mode||"effect");var r=a.options.direction||"up";var B=a.options.distance||20;var A=a.options.times||5;var x=a.duration||250;if(/show|hide/.test(u)){t.push("opacity")}b.effects.save(z,t);z.show();b.effects.createWrapper(z);var y=(r=="up"||r=="down")?"top":"left";var i=(r=="up"||r=="left")?"pos":"neg";var B=a.options.distance||(y=="top"?z.outerHeight({margin:true})/3:z.outerWidth({margin:true})/3);if(u=="show"){z.css("opacity",0).css(y,i=="pos"?-B:B)}if(u=="hide"){B=B/(A*2)}if(u!="hide"){A--}if(u=="show"){var w={opacity:1};w[y]=(i=="pos"?"+=":"-=")+B;z.animate(w,x/2,a.options.easing);B=B/2;A--}for(var v=0;v<A;v++){var q={},s={};q[y]=(i=="pos"?"-=":"+=")+B;s[y]=(i=="pos"?"+=":"-=")+B;z.animate(q,x/2,a.options.easing).animate(s,x/2,a.options.easing);B=(u=="hide")?B*2:B/2}if(u=="hide"){var w={opacity:0};w[y]=(i=="pos"?"-=":"+=")+B;z.animate(w,x/2,a.options.easing,function(){z.hide();b.effects.restore(z,t);b.effects.removeWrapper(z);if(a.callback){a.callback.apply(this,arguments)}})}else{var q={},s={};q[y]=(i=="pos"?"-=":"+=")+B;s[y]=(i=="pos"?"+=":"-=")+B;z.animate(q,x/2,a.options.easing).animate(s,x/2,a.options.easing,function(){b.effects.restore(z,t);b.effects.removeWrapper(z);if(a.callback){a.callback.apply(this,arguments)}})}z.queue("fx",function(){z.dequeue()});z.dequeue()})}})(jQuery);
/**
 * bingo.js v2.0	parryt	2010-03-15 15:07
 * sky.js			masonj	2009-08-24 11:00
 * Copyright:		(c) 2009 BSKYB. All rights reserved.
 * includes:		SWFObject getPlayerVersion 1.5, Hitbox 2.5/HBX0250u
 */
if(!jsRoot){var jsRoot="/js/"}else{if(jsRoot.charAt(jsRoot.length-1)!="/"){jsRoot+="/"}}function userAgentManager(){function u(v){return g.indexOf(v)!=-1}function e(v){return(q&&(s==4)&&(g.indexOf("msie "+v)!=-1))}var g=navigator.userAgent.toLowerCase(),p=u("safari"),t=u("opera"),d=u("mac"),s=parseInt(navigator.appVersion),b=parseFloat(navigator.appVersion),q=u("msie")&&(g.indexOf("opera")==-1),o=q&&(s<4),n=e("4"),a=(q&&(s>=4)),l=e("5.0"),m=e("5.5"),k=e("6."),c=(q&&!o&&!n&&!l&&!m),i=e("7."),r=(q&&!o&&!n&&!l&&!m&&!k),h=e("8."),f=(q&&!o&&!n&&!l&&!m&&!k&&!i),j={saf:p,opera:t,mac:d,major:s,minor:b,ie:q,ie3:o,ie4:n,ie4up:a,ie5:l,ie5_5:m,ie6:k,ie6up:c,ie7:i,ie7up:r,ie8:h,ie8up:f};this.is=function(v){v=v.replace(".","_").replace("+","up");return typeof j[v]=="boolean"?j[v]:false}}var userBrowser=new userAgentManager();function SkyTicker(s,t){var i=sky.id,v=i(s),l="mq-"+s,d="mq2-"+s,g="mq3-"+s,h=this,p,e,n,j=0,c=0,m=0,u=false,q=3,f=0,b=0,k=0;function r(){u=true}function a(){u=false}function o(){if(u){return}m=(m-q);if(m<b){m=k}sky.css.addInline(e,"left",m+"px")}function w(x){n.innerHTML=x}this.scroll=o;this.update=w;sky.addClass(v,"ticker");p=document.createElement("div");p.id=l;sky.addClass(p,"ticker-mq");e=document.createElement("div");e.id=d;sky.addClass(e,"ticker-mq2");n=document.createElement("div");n.id=g;sky.addClass(n,"ticker-mq3");w(v.innerHTML);v.innerHTML="";e.appendChild(n);p.appendChild(e);v.appendChild(p);j=n.offsetWidth;c=v.offsetWidth;b=(-10-j);m=k=(c+10);sky.css.addInline(e,"left",m+"px");n.onmouseover=r;n.onmouseout=a;if(userBrowser.is("ie")){sky.css.addInline(e,"width",c+"px");sky.css.addInline(p,"width",c+"px")}f=setInterval(function(){h.scroll()},70);if(typeof t=="function"){t()}}function skyTooltips(){var B=true,x,r=userBrowser.is("ie")&&!userBrowser.is("ie7+"),C='<div class="ttip" id="tipdiv"><div class="ttiptxt" id="tipTxt"></div></div>'+(r?'<iframe src="'+jsRoot+'empty.htm" id="tipIE" frameborder="0" height="0"></iframe>':""),z="",p,t,v,g,u,i="",c="title",m=null,n=sky.id("jscont"),q,e,y=document.documentElement,h=sky.attr,b=sky.css.replaceInline,o=userBrowser.is("ie"),d,w="Opens in new window",l=" ("+w+")";function A(I){if(o&&!I){var I=window.event}var K=sky.getProperty.mouseX(I),H=sky.getProperty.mouseY(I),G=K<v/2?120:0,J=H<g/2?p+25:-10,D=K+G-(t-14),F=(H+J-p)-4,E="left:"+D+"px;top:"+F+"px;width:"+t+"px;";b(q,E);if(r){b(e,E+i)}}function f(E,D,G){var F=G;B=true;h(D,c,"");v=o?y.clientWidth:window.innerWidth;g=o?y.clientHeight:window.innerHeight;sky.id("tipTxt").innerHTML=F.split("\\n").join("<br />");t=sky.getProperty.width(q);if(t>166){sky.css.addInline(q,"width",166+"px");t=166}p=sky.getProperty.height(q);if(r){i="width:"+t+"px;height:"+p+"px;"}A(E);sky.addEvent(D,"mousemove",A);sky.addEvent(D,"mouseout",(function(H,I){return function(J){k(J,H,I)}})(D,F))}function k(E,D,F){sky.css.addInline(q,"top","-500px");if(r){sky.css.addInline(e,"top","-500px")}h(D,c,F)}function a(G){var E=G.length;for(var H=E;H--;){curr=G[H];var I=sky.attr(curr,"rel"),F=sky.attr(curr,"title"),D=F&&F.length>0;if(I&&I.indexOf("external")!==-1){if(D){F=[F," (opens in new window)"].join("");sky.attr(curr,"title",F)}else{F="Opens in new window";sky.attr(curr,"title",F)}sky.addEvent(curr,"mouseover",(function(J,K){return function(L){sky.tooltips.show(L,J,sky.attr(J,"title"))}})(curr,F))}if(D){sky.addEvent(curr,"mouseover",(function(J,K){return function(L){sky.tooltips.show(L,J,sky.attr(J,"title"))}})(curr,F))}}}function s(G){var F=G.length,H;for(var E=F;E--;){H=G[E];var D=sky.attr(H,"title");if(D&&D.length>0){sky.addEvent(H,"mouseover",(function(I,J){return function(K){sky.tooltips.show(K,I,J)}})(H,D))}}}if(sky.id("skytooltips")!==null){x=sky.id("skytooltips");return}x=document.createElement("div");x.id="skytooltips";x.innerHTML=C;n.appendChild(x);q=sky.id("tipdiv");e=sky.id("tipIE");if(document.images){var j=[new Image(),new Image()];j[0].src='http://st1.skybet.com/bingo/img/site/bg_tiptop.png';j[1].src='http://st1.skybet.com/bingo/img/site/bg_tipbot.png'}return{show:f,hide:k,position:A,addLinks:a,addElements:s}}function skyOverlayLibrary(){var j=0,z="string",y="undefined",E="function",h="number",d="px",q="style",g="div",G="display",N="block",M="none",v="visibility",D="visible",B="hidden",s="top",p="right",k="bottom",A="left",x="width",n="height",r="overflow",e="title",l="external",b="rel",u=sky.css.addInline,w=sky.id,o=sky.addClass,f=sky.removeClass,F=null;function H(Q,P){return"<h3>"+Q+'</h3><div id="alrt_msg">'+P+"</div>"}function i(P){if(typeof P==E){P()}}function I(Q,T,V){var U=w("overlays"),P="";if(U==null){U=document.createElement("div");sky.attr(U,"id","overlays");w("jscont").appendChild(U)}var R=document.createElement("div");o(R,"overlay");var S='<div class="fixedCanvas"><div class="fixedContent"><div class="transbg"></div></div></div>';if(Q&&Q.match(/transparent|crop/i)){S=""}if(Q&&Q.match(/middle/i)){T='<div class="vcentre1"><div class="vcentre2"><div class="vcentre3">'+T+"</div></div></div>"}if(Q.match(/top|right|bottom|left/i)){if(Q.match(/top|bottom/i)){P+="height:auto;"}if(Q.match(/left|right/i)){P+="width:auto;"}if(Q.match(/bottom/i)){P+="bottom:0px;top:auto;"}if(Q.match(/right/i)){P+="right:0px;left:auto;"}}R.innerHTML=S+'<div class="fixedCanvas" style="'+P+'"><div class="fixedContent">'+T+"</div></div>";U.appendChild(R);F=R;i(V)}function C(){if(F==null){return}F.parentNode.removeChild(F);if(j==0){return}do{sky.grabEvent.removeBehaviour("click","skyoverlaybutton"+j)}while(--j)}function t(){clearInterval(window.tickerTimer);var Q=w("ticker"),P=sky.getAncestorAt(Q,3);P.parentNode.removeChild(P)}function c(){var R=w("alrt_btns");if(R===null){return null}var U=sky.elems(g,R);var T=U.length;if(T==0){return null}var S;var Q="hide";var P="disabled";do{S=T-1;if(typeof U[S].enable==E){continue}else{U[S].isEnabled=!sky.hasClass(this,P);U[S].setLabel=function(V){this.firstChild.innerHTML=V};U[S].enable=function(){f(this,P);this.isEnabled=false};U[S].disable=function(){o(this,P);this.isEnabled=true};U[S].isVisible=!sky.hasClass(this,Q);U[S].show=function(){f(this,Q);this.isVisible=false};U[S].hide=function(){o(this,Q);this.isVisible=true}}}while(--T);return U}function O(Z,R,T,Q,V){Q=typeof Q==z&&Q.length>0?Q:"";var S='<div class="btn1"><a href="#"';if(typeof T==E){buttonAction=typeof R==E?function Y(){if(T()){C()}R()}:function X(){if(T()){C()}}}else{buttonAction=typeof R==E?function W(){C();R()}:function U(){C()}}j++;var P="skyoverlaybutton"+j;Q+=(" "+P);sky.grabEvent.addBehaviour(buttonAction,"click",function(aa){return sky.hasClass(aa,P)&&aa.parentNode.isEnabled},true,true,P);if(Q){S+=' class="'+Q+'"'}if(V){S+=' id="'+V+'"'}S+=">"+Z+"</a></div>";return S}function m(R,Q,P,S){if(w("dialog")!==null){i(S);return false}if(!P){P=""}I("middle",'<div class="'+P+'" id="dialog">'+R+(Q?'<div id="alrt_btns" class="clearfix">'+Q.toString().replace(/,/g,"")+"</div>":"")+"</div>",S);sky.overlay.getButtons();return true}function L(S,Q,P,R){return m(H(S,Q),[O("OK")],P,R)}function K(T,R,Q,P,S){return m(H(T,R),[O("OK",Q),O("Cancel")],P,S)}function a(T,R,Q,P,S){return m(H(T,R),Q,P,S)}function J(Y,S){clearInterval(window.tickerTimer);if(w("ticker")===null){I("top right transparent crop",'<div id="ticker"><div id="mq"><div id="mq2"><span id="mq3" title="Click to hide message">'+Y+"</span></div></div></div>")}else{w("mq3").innerHTML=Y}var X=w("ticker"),aa=w("mq"),T=w("mq2"),U=w("mq3"),P=U.offsetWidth,Q=X.offsetWidth,W,Z=false,R=2;this.scroll=function(){if(Z||!X||!aa){return}W=(W-R);u(T,A,W+d);if(W<(-10-P)){W=Q+10;u(T,A,W+d)}};W=(Q+10);u(T,A,W+d);u(X,p,sky.getProperty.x(w("loginarea"))+d);X.onclick=t;X.onmouseover=function(){Z=true};X.onmouseout=function(){Z=false};u(X,v,D);if(userBrowser.is("ie")){u(X,x,Q+d);u(aa,x,Q+d)}var V=this;window.tickerTimer=setInterval(function(){V.scroll()},50);i(S)}return{create:I,destroy:C,destroyTicker:t,button:O,dialog:m,doAlert:L,doConfirm:K,getChoice:a,ticker:J,getButtons:c}}function skyFlashManager(){var f,b="undefined",e="string",a="number";function d(){if(typeof f==b){f={}}if(typeof f.SWFObjectUtil==b){f.SWFObjectUtil={}}f.SWFObjectUtil.getPlayerVersion=function(){var k=new f.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var g=navigator.plugins["Shockwave Flash"];if(g&&g.description){k=new f.PlayerVersion(g.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var h=1;var i=3;while(h){try{i++;h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);k=new f.PlayerVersion([i,0,0])}catch(j){h=null}}}else{try{var h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(j){try{var h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");k=new f.PlayerVersion([6,0,21]);h.AllowScriptAccess="always"}catch(j){if(k.major==6){return k}}try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(j){}}if(h!=null){k=new f.PlayerVersion(h.GetVariable("$version").split(" ")[1].split(","))}}}return k};f.PlayerVersion=function(g){this.major=g[0]!=null?parseInt(g[0]):0;this.minor=g[1]!=null?parseInt(g[1]):0;this.rev=g[2]!=null?parseInt(g[2]):0};f.PlayerVersion.prototype.versionIsValid=function(g){if(this.major<g.major){return false}if(this.major>g.major){return true}if(this.minor<g.minor){return false}if(this.minor>g.minor){return true}if(this.rev<g.rev){return false}return true}}function c(n,j,r,m,q,i,k,h){if(typeof f==b){d()}n=(typeof n==e)?sky.id(n):n;var g=6,t;if(h){t=h}else{t="swf"+Math.random()}if(typeof k==a&&typeof f=="object"){var s=new f.PlayerVersion(k.toString().split("."));var l=f.SWFObjectUtil.getPlayerVersion();if(!l.versionIsValid(s)){n.innerHTML='<div class="error"><p>Sorry, to view this movie you will need version '+s.major+"."+s.minor+"."+s.rev+" of Adobe Flash Player (You have version "+l.major+"."+l.minor+"."+l.rev+').</p><p>Please <a href="http://www.adobe.com/go/getflashplayer">Download Adobe Flash Player</a>, it only takes 2 minutes on a 56k modem.</p></div>';return}g=l.major+","+l.minor+","+l.rev}if(!q){var q={}}if(!q.scale){q.scale="exactfit"}if(!q.wmode){q.wmode="transparent"}if(!q.quality){q.quality="autohigh"}if(!q.menu){q.menu="false"}if(typeof i=="object"){q.flashvars=sky.objToStr(i,"","=","&amp;",true)}else{if(typeof i==e){q.flashvars=i}}var p=' width="'+j+'" height="'+r+'"',o;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){o=sky.objToStr(q," ",'="','"',false).replace(" id="," name=");n.innerHTML='<embed src="'+m+'" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"'+p+o+"></embed>"}else{o=sky.objToStr(q,'<param name="','" value="','" />',false);n.innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id='+t+' codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+g+'"'+p+'><param name="movie" value="'+m+'" />'+o+"</object>"}}return{embed:c}}function skyStylesheetSwitcher(){var b=sky.id,i=this,g="hicon",j="hc",d=b("con_link"),c="High Contrast",f="Disable "+c;function h(){var k=sky.cookie.get(g);return !(k===null||k=="false")}function a(){if(!h()){sky.overlay.doConfirm("Enable High Contrast?","Alter the appearance to large text on a black background, with no columns?<br /><br />This feature is intended for low vision users, please Cancel if you are unsure.",e)}else{e()}}function e(){if(h()){b(j).disabled=true;sky.cookie.set(g,false);d.innerHTML=c}else{enableCSS(j);sky.cookie.set(g,true);d.innerHTML=f}}return{isEnabled:h,doConfirm:a,handle:e}}function skyBalanceManager(){var d="";function b(){var f=sky.cookie.get("sky_BalanceVisible");return f==null||f==="true"}function a(i,h,j){var g=sky.id("bal-value");if(g==null){return}var f=sky.balance.isVisible();if(f){if(j){sky.tooltips.hide(j,g,g.title)}g.removeAttribute("title");d=sky.id("bal-value").innerHTML;g.innerHTML="Show Balance";f=false}else{g.title="Hide Balance";if(j){sky.tooltips.show(j,g,g.title)}g.innerHTML=d;f=true}sky.cookie.set("sky_BalanceVisible",f,sky.cookie.nextYear(),"/")}function c(g){var f=d;d=g;sky.grabEvent.broadcast("balanceChange",{previous:f,current:g});if(sky.balance.isVisible()){sky.id("bal-value").innerHTML=d}}function e(){var f=sky.id("bal-value");if(!f){return}if(sky.balance.isVisible()){sky.balance.toggle()}f.title="When you play a game your live balance is transferred and displayed in the game window. When you close the game window and navigate around SkyBingo.com your balance will automatically reappear.";f.innerHTML="Balance Hidden";f.href="#";f.rel="";sky.grabEvent.removeBehaviour("click","balanceToggle");sky.addEvent(f,"click",function(g){sky.wndow.handleLink(g,f)})}return{set:c,disable:e,toggle:a,value:d,isVisible:b}}function skyAnimationLibrary(){var String_string="string",String_undefined="undefined",String_function="function",String_number="number",String_px="px",String_style="style",String_div="div",String_display="display",String_block="block",String_none="none",String_visibility="visibility",String_visible="visible",String_hidden="hidden",String_top="top",String_right="right",String_bottom="bottom",String_left="left",String_width="width",String_height="height",String_overflow="overflow",String_title="title",String_external="external",String_rel="rel",roundNumberToClosestWhole=Math.round,parseInteger=parseInt,addInlineStyle=sky.css.addInline,removeInlineStyle=sky.css.removeInline,getPropertyOfElement=sky.getProperty,getWidthOfElement=getPropertyOfElement.width,getHeightOfElement=getPropertyOfElement.height,getXCoordinateOfElement=getPropertyOfElement.x,getYCoordinateOfElement=getPropertyOfElement.y;function _animationEngineSetTimeoutClosure(el,currentX,newX,fLeft,currentY,newY,fTop,currentWidth,newWidth,fWidth,currentHeight,newHeight,fHeight,callback){return(function skyAnimAnon1(){_animationEngine(el,currentX,newX,fLeft,currentY,newY,fTop,currentWidth,newWidth,fWidth,currentHeight,newHeight,fHeight,callback)})}function _animationEngineDoMovement(currentVal,finalVal,frameAmt){if(frameAmt===0||currentVal==finalVal){return finalVal}currentVal+=frameAmt;if((frameAmt>0&&currentVal>=finalVal)||(frameAmt<0&&currentVal<=finalVal)){return finalVal}return currentVal}function _animationEngine(el,currentX,newX,xChange,currentY,newY,yChange,currentWidth,newWidth,widthChange,currentHeight,newHeight,heightChange,callback){if(el==null){return}if(heightChange!==0){currentHeight=_animationEngineDoMovement(currentHeight,newHeight,heightChange);addInlineStyle(el,String_height,roundNumberToClosestWhole(currentHeight)+String_px)}if(xChange!==0){currentX=_animationEngineDoMovement(currentX,newX,xChange);addInlineStyle(el,String_left,roundNumberToClosestWhole(currentX)+String_px)}if(widthChange!==0){currentWidth=_animationEngineDoMovement(currentWidth,newWidth,widthChange);addInlineStyle(el,String_width,roundNumberToClosestWhole(currentWidth)+String_px)}if(yChange!==0){currentY=_animationEngineDoMovement(currentY,newY,yChange);addInlineStyle(el,String_top,roundNumberToClosestWhole(currentY)+String_px)}if(currentX===newX&&currentY===newY&&currentHeight===newHeight&&currentWidth===newWidth){if(typeof callback==String_function){callback()}return}var functRef=_animationEngineSetTimeoutClosure(el,currentX,newX,xChange,currentY,newY,yChange,currentWidth,newWidth,widthChange,currentHeight,newHeight,heightChange,callback);setTimeout(functRef,70)}function SkyAnimateCustom(el,newX,newY,newWidth,newHeight,timeInMilliseconds,callback){if(el==null){return}var currentX=0,currentY=0,currentWidth=0,currentHeight=0,totalFrames=1,xChange=0,yChange=0,widthChange=0,heightChange=0;if(timeInMilliseconds>0){totalFrames=timeInMilliseconds/50}addInlineStyle(el,String_visibility,String_hidden);removeInlineStyle(el,String_display);if(newX!==null){currentX=getXCoordinateOfElement(el);xChange=newX-currentX;if(xChange!=0){xChange/=totalFrames}}else{newX=0}if(newY!==null){currentY=getYCoordinateOfElement(el);yChange=newY-currentY;if(yChange!==0){yChange/=totalFrames}}else{newY=0}if(newWidth!==null){currentWidth=getWidthOfElement(el);widthChange=newWidth-currentWidth;if(widthChange!==0){widthChange/=totalFrames}}else{newWidth=0}if(newHeight!==null){currentHeight=getHeightOfElement(el);heightChange=newHeight-currentHeight;if(heightChange!==0){heightChange/=totalFrames}}else{newHeight=0}addInlineStyle(el,String_visibility,String_visible);addInlineStyle(el,String_display,String_block);_animationEngine(el,currentX,newX,xChange,currentY,newY,yChange,currentWidth,newWidth,widthChange,currentHeight,newHeight,heightChange,callback)}function SkyAnimateSlideUp(el,timeInMilliseconds,callback){if(el==null){return}addInlineStyle(el,String_overflow,String_hidden);var _internalCallback=function skyAnimAnon2(){addInlineStyle(el,String_display,String_none)};SkyAnimateCustom(el,null,null,null,0,timeInMilliseconds,function skyAnimAnon3(el){_internalCallback();if(typeof callback==String_function){callback()}})}function SkyAnimateSlideDown(el,timeInMilliseconds,callback){if(el==null){return}var currentHeight=getHeightOfElement(el)-(_getComputedStyleOfElement(el,"padding-top",true)+_getComputedStyleOfElement(el,"padding-bottom",true));addInlineStyle(el,String_visibility,String_hidden);removeInlineStyle(el,String_height);removeInlineStyle(el,String_display);var heightOnceOpened=getHeightOfElement(el)-(_getComputedStyleOfElement(el,"padding-top",true)+_getComputedStyleOfElement(el,"padding-bottom",true));addInlineStyle(el,String_height,currentHeight+String_px);addInlineStyle(el,String_visibility,String_visible);addInlineStyle(el,String_overflow,String_hidden);var _internalCallback=function skyAnimAnon4(){removeInlineStyle(el,String_overflow)};SkyAnimateCustom(el,null,null,null,heightOnceOpened,timeInMilliseconds,function skyAnimAnon5(){_internalCallback();if(typeof callback==String_function){callback()}})}function _allArgumentsAreStrings(s){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])!=String_string){return false}}return true}function _convertNumberToHexadecimal(n,digits,prefix){var p="",n=Math.ceil(n);if(prefix){p=prefix}n=n.toString(16);for(var i=0;i<digits-n.length;++i){p+="0"}return p+n}function _getComputedStyleOfElement(el,p,i){var s,v=String_undefined,dv=document.defaultView;if(dv&&dv.getComputedStyle){s=dv.getComputedStyle(el,"");if(s){v=s.getPropertyValue(p)}}else{if(el.currentStyle){v=el.currentStyle[_convertDashSeperatedToCamelcase(p)]}else{return null}}return i?(parseInteger(v)||0):v}function _convertRGBToHexadecimal(r,g,b){return _convertNumberToHexadecimal((r<<16)|(g<<8)|b,6,"#")}function _convertDashSeperatedToCamelcase(cssPropStr){var i,c,a=cssPropStr.split("-");var s=a[0];for(i=1;i<a.length;++i){c=a[i].charAt(0);s+=a[i].replace(c,c.toUpperCase())}return s}function _parseColour(c){var o={};if(_allArgumentsAreStrings(c)){if(c.indexOf("rgb")!=-1){var a=c.match(/(\d*)\s*,\s*(\d*)\s*,\s*(\d*)/);o.r=parseInteger(a[1])||0;o.g=parseInteger(a[2])||0;o.b=parseInteger(a[3])||0;o.n=(o.r<<16)|(o.g<<8)|o.b}else{pn(parseInteger(c.substr(1),16))}}else{pn(c)}o.s=_convertNumberToHexadecimal(o.n,6,"#");return o;function pn(n){o.n=n||0;o.r=(o.n&16711680)>>16;o.g=(o.n&65280)>>8;o.b=o.n&255}}function animateRGB(el,sCssProp,targetColor,uTotalTime,callback){callback=typeof callback==String_function?callback:function(){};var startC=_parseColour(_getComputedStyleOfElement(el,sCssProp)),targetC=_parseColour(targetColor),startRed=startC.r,startGreen=startC.g,startBlue=startC.b,displayRed=targetC.r-startRed,displayGreen=targetC.g-startGreen,displayBlue=targetC.b-startBlue,elementStyle=el.style,freq=Math.PI/(2*uTotalTime),startTime=new Date().getTime(),tmr,sCssPropConvertedToCamelcase=_convertDashSeperatedToCamelcase(sCssProp);tmr=setInterval(function skyAnimAnon6(){var elapsedTime=new Date().getTime()-startTime;if(elapsedTime<uTotalTime){var f=Math.abs(Math.sin(elapsedTime*freq));elementStyle[sCssPropConvertedToCamelcase]="rgb("+roundNumberToClosestWhole(f*displayRed+startRed)+","+roundNumberToClosestWhole(f*displayGreen+startGreen)+","+roundNumberToClosestWhole(f*displayBlue+startBlue)+")"}else{clearInterval(tmr);elementStyle[sCssPropConvertedToCamelcase]=targetC.s;callback()}},150)}function xGetElementById(e){if(typeof(e)=="string"){if(document.getElementById){e=document.getElementById(e)}else{if(document.all){e=document.all[e]}else{e=null}}}return e}function xScrollLeft(e,bWin){var w,offset=0;if(!xDef(e)||bWin||e==document||e.tagName.toLowerCase()=="html"||e.tagName.toLowerCase()=="body"){w=window;if(bWin&&e){w=e}if(w.document.documentElement&&w.document.documentElement.scrollLeft){offset=w.document.documentElement.scrollLeft}else{if(w.document.body&&xDef(w.document.body.scrollLeft)){offset=w.document.body.scrollLeft}}}else{e=xGetElementById(e);if(e&&xNum(e.scrollLeft)){offset=e.scrollLeft}}return offset}function xScrollTop(e,bWin){var w,offset=0;if(!xDef(e)||bWin||e==document||e.tagName.toLowerCase()=="html"||e.tagName.toLowerCase()=="body"){w=window;if(bWin&&e){w=e}if(w.document.documentElement&&w.document.documentElement.scrollTop){offset=w.document.documentElement.scrollTop}else{if(w.document.body&&xDef(w.document.body.scrollTop)){offset=w.document.body.scrollTop}}}else{e=xGetElementById(e);if(e&&xNum(e.scrollTop)){offset=e.scrollTop}}return offset}function xDef(){for(var a=0;a<arguments.length;++a){if(typeof(arguments[a])=="undefined"){return false}}return true}function xNum(){for(var a=0;a<arguments.length;++a){if(isNaN(arguments[a])||typeof(arguments[a])!="number"){return false}}return true}function xAnimation(r){var self=this;self.res=r||10;self.init=function(e,t,or,ot,oe,a,b){var i=self;i.e=xGetElementById(e);i.t=t;i.or=or;i.ot=ot;i.oe=oe;i.a=a||0;i.v=self.vf[i.a];i.qc=1+(b||0);i.fq=1/i.t;if(i.a){i.fq*=i.qc*Math.PI;if(i.a==1||i.a==2){i.fq/=2}}else{i.qc=1}i.xd=i.x2-i.x1;i.yd=i.y2-i.y1;i.zd=i.z2-i.z1};self.run=function(r){var i=self;if(!r){i.t1=new Date().getTime()}if(!i.tmr){i.tmr=setInterval(function(){i.et=new Date().getTime()-i.t1;if(i.et<i.t){i.f=i.v(i.et*i.fq);i.x=i.xd*i.f+i.x1;i.y=i.yd*i.f+i.y1;i.z=i.zd*i.f+i.z1;i.or(i)}else{clearInterval(i.tmr);i.tmr=null;if(i.qc%2){i.x=i.x2;i.y=i.y2;i.z=i.z2}else{i.x=i.x1;i.y=i.y1;i.z=i.z1}i.ot(i);var rep=false;if(typeof i.oe=="function"){rep=i.oe(i)}else{if(typeof i.oe=="string"){rep=eval(i.oe)}}if(rep){i.resume(1)}}},i.res)}};self.vf=[function(r){return r},function(r){return Math.abs(Math.sin(r))},function(r){return 1-Math.abs(Math.cos(r))},function(r){return(1-Math.cos(r))/2}];self.pause=function(){clearInterval(self.tmr);self.tmr=null};self.resume=function(fs){if(typeof self.tmr!="undefined"&&!self.tmr){self.t1=new Date().getTime();if(!fs){self.t1-=self.et}self.run(!fs)}};self.scroll=function(e,x,y,t,a,b,oe){var i=self;i.init(e);i.win=i.e.nodeType==1?false:true;i.x1=xScrollLeft(i.e,i.win);i.y1=xScrollTop(i.e,i.win);i.x2=Math.round(x);i.y2=Math.round(y);i.init(e,t,h,h,oe,a,b);i.run();function h(i){var x=Math.round(i.x),y=Math.round(i.y);if(i.win){i.e.scrollTo(x,y)}else{i.e.scrollLeft=x;i.e.scrollTop=y}}};self.css=function(e,p,v,t,a,b,oe){var i=self;i.x1=_getComputedStyleOfElement(e,p,true);i.x2=v;i.prop=_convertDashSeperatedToCamelcase(p);i.init(e,t,h,h,oe,a,b);i.run();function h(i){i.e.style[i.prop]=Math.round(i.x)+"px"}}}var xa=new xAnimation();function glowElementBackground(el,_animateToColour,callback){var selectionAnimDuration_mSecs=2000,backgroundColourProperty_CSS="background-color",backgroundColourProperty_JS="backgroundColor",highlightColour="#FDF2AB",animateToColour=_animateToColour||"#FBFDFF";sky.css.addInline(el,backgroundColourProperty_JS,highlightColour);setTimeout(function(){sky.animate.rgb(el,backgroundColourProperty_CSS,animateToColour,selectionAnimDuration_mSecs,function(){sky.css.removeInline(el,userBrowser.is("ie")?backgroundColourProperty_JS:backgroundColourProperty_CSS);typeof callback=="function"?callback(el):false})},600)}if(userBrowser.is("ie")&&!userBrowser.is("ie7+")){return{custom:function customIE6(el,newX,newY,newWidth,newHeight,timeInMilliseconds,callback){if(typeof newX=="number"){el.style.left=newX+"px"}if(typeof newY=="number"){el.style.top=newY+"px"}if(typeof newWidth=="number"){el.style.width=newWidth+"px"}if(typeof newHeight=="number"){el.style.height=newHeight+"px"}if(typeof callback=="function"){callback()}},slideUp:function slideUpIE6(el,timeInMilliseconds,callback){addInlineStyle(el,String_display,String_none);if(typeof callback=="function"){callback()}},slideDown:function slideDownIE6(el,timeInMilliseconds,callback){removeInlineStyle(el,String_display);if(typeof callback=="function"){callback()}},rgb:function rgbIE6(el,sCssProp,targetColor,uTotalTime,callback){el.style[_convertDashSeperatedToCamelcase(sCssProp)]=targetColor;if(typeof callback=="function"){callback()}},glow:glowElementBackground,scroll:function(el,x,y,time,acceleration,bounce,callback){el.scrollTop=y;if(typeof callback=="function"){callback()}},css:function(el,property,value,time,acceleration,bounce,callback){el.style[_convertDashSeperatedToCamelcase(property)]=value;if(typeof callback=="function"){callback()}}}}else{return{custom:SkyAnimateCustom,glow:glowElementBackground,slideUp:SkyAnimateSlideUp,slideDown:SkyAnimateSlideDown,rgb:animateRGB,scroll:xa.scroll,css:xa.css}}}function skyWindowManager(d){var g="undefined",i="function",m="string",j=[],n=0;function e(r,q){if(!r){var s=sky.cookie.get("popupwarning"),p=1;s=s===null?0:s;if(s<p){q();sky.cookie.set("popupwarning",++s)}}else{r.focus()}}function o(r,s,u,p){if(!r){return}var q=typeof u!=g?u:"Sky"+Math.floor(Math.random()*20),t=(window.location+"").match(/\/\/([^\/\?\\]+)/)[1],w=typeof p==i?p:function(){sky.overlay.doAlert("Could not open popup window","Please update your Web Browser settings to allow popups for "+t,"warning popupwarning")},v=window.open(r,q,(typeof s==m?s:"status,toolbar,menubar,scrollbars,resizable,location,width=700,height=400"));setTimeout(function(){e(v,w)},100)}function b(q,p,r){return p.search(this.u)!==-1}function k(q,p){return sky.hasClass(q,this.c)}function f(p){var r=p.length;for(var q=0;q<r;q++){a(p[q])}}function a(q){if(arguments.length>1){f(arguments);return}var p=q.p,r="";q.p=["width="+(p.w?p.w:990),"height="+(p.h?p.h:730),"scrollbars="+(p.s?"yes":false),"toolbar="+(p.t?"yes":false),"location="+(p.l?"yes":false),"resizable="+(p.r?"yes":false)].join(",");q.check=q.u?b:q.c?k:false;if(!q.check){return}j[n++]=q}function h(t,r){var q=n,p=r.href,s;sky.grabEvent.stopDefault(t);do{s=j[q-1];if(!s.check(r,p,s)){continue}o(p,s.p,typeof s.n==="string"?s.n:null);if(typeof s.cb=="function"){s.cb()}return}while(--q);o(p,null)}function c(q){var v=q.length,r,x=window.location.host.split("."),u=x[x.length-2],p,w=/^.+\/\/|\/.+/g,t;x=x.join(".");for(var s=v;s--;){curr=q[s];r=sky.attr(curr,"rel");p=curr.href;if(r&&r.indexOf("external")!==-1){sky.addEvent(curr,"click",(function(y){return function(z){h(z,y)}})(curr))}if(p.indexOf("http")===-1||typeof changeDomain!=="function"){continue}t=p.split(w).join("").split("/").join("");if(x!==t&&t.search(/skybet|skybingo|skyvegas|skypoker/i)!==-1){curr.href=changeDomain(p)}}}if(d&&d.length>0){for(var l=0;l<d.length;l++){a(d[l])}}return{add:a,addLinks:c,getNew:o,handleLink:h}}function skyUI(){this.viewStack=function b(d){if(!d||!d.nodeName){return false}var c,f=sky.children(d),g=[],e;this.addNavigator=function(h){g.push(h);h.reflectViewState(e)};this.getActiveView=function(){var h=f.length;do{if(sky.hasClass(f[h-1],"actv")){e=f[h-1].id;return e}}while(--h)};this.broadcastState=function(){var h=g.length;if(h==0){return}do{g[h-1].reflectViewState(e)}while(--h)};this.showView=function(m){var j=sky.id(m);if(j.innerHTML.indexOf("v_replace")!=-1){var k=sky.elems("a",j)[0],h=k.getAttribute("href");ob.ajax({global:false,type:"GET",url:h,params:"",dataType:"html",asynchronous:"true",success:function(n){j.innerHTML=n;sky.tooltips.addElements(sky.elems("span",j));sky.tooltips.addElements(sky.elems("div",j));sky.tooltips.addLinks(sky.elems("a",j))},error:function(){}})}var i=f.length,l="actv";do{sky.removeClass(f[i-1],l)}while(--i);sky.addClass(j,l);e=m;this.broadcastState()};this.getActiveView()};this.buttonBar=function a(g,d){var f=[],i,c,h=0,j="actv",e=this;this.reflectViewState=function(k){h=f.length;var l;do{l=f[h-1];if(sky.hasClass(l,"vs_btn")&&l.getAttribute("href").search(new RegExp("#"+k+"$"))!=-1){sky.addClass(l,j)}else{sky.removeClass(l,j)}}while(--h);sky.addClass(sky.id(k),j)};this.showView=function(){var k=this.getAttribute("href").replace("#","");c.showView(k);return false};if(!d||!d.addNavigator){return false}f=sky.elems("a",g);h=f.length;do{f[h-1].onclick=e.showView}while(--h);c=d;c.addNavigator(this)}}function skyJSLibrary(){var ao="string",q="click",f="boolean",s="undefined",aS="function",r="number",E="px",aB="style",n="div",aG="display",p="block",d="none",o="visibility",a="visible",w="hidden",at="top",T="right",S="bottom",ab="left",aw="width",W="height",v="overflow",h="title",ae="external",M="rel",ak="nodeName",am="className",aB="style",al="innerHTML",C="parentNode",ac="appendChild",ad="nodeType",X="split",m="join",aJ="length",aK="indexOf",D="cookie",e="nextSibling",k,ar;function c(aY,aX,aW,aV){if(!aY){return}aX=aX.toLowerCase();var aU=["on",aX].join("");if(aY.addEventListener){aY.addEventListener(aX,aW,aV||false)}else{if(aY.attachEvent){aY.attachEvent(aU,aW)}else{var aZ=aY[aU];aY[aU]=typeof aZ=="function"?function(a0){aZ(a0);aW(a0)}:aW}}}function ap(a1){var bm={},bn={},ba=this,aY,aV,bc=false,a8=/^(click|dblclick|key(up|down|press)|mouse(down|up|move|over|out)|change)$/i,aW=/^DOMLoaded$/i,bg=/^load$/i,aX=/^unload$/i;function be(bs){var br=aV(bs);return br&&br===2||br===3}function bq(br){br.cancelBubble=true}function a3(br){br.stopPropagation()}function bl(br){br.preventDefault()}function bk(br){br.returnValue=false}function bp(br){return br.button}function bi(br){return br.which}function a2(br){return br[ad]===3||A(br,"img")?br[C]:br}function a7(br){return a2(br.srcElement)}function aZ(br){return a2(br.target)}function bo(br){return br.type}var a6=["onload","onunload"];function aU(br,bs){var bu=a6[br],bt=window[bu];if(typeof bt!==aS){window[bu]=bs}else{window[bu]=function(){if(bt){bt()}bs()}}}(function(){var bt=window.DomReady={};var bw=navigator.userAgent.toLowerCase();var br={version:(bw.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(bw),opera:/opera/.test(bw),msie:(/msie/.test(bw))&&(!/opera/.test(bw)),mozilla:(/mozilla/.test(bw))&&(!/(compatible|webkit)/.test(bw))};var by=false;var bv=false;var bx=[];function bs(){if(!bv){bv=true;if(bx){for(var bz=0;bz<bx[aJ];bz++){bx[bz].call(window,[])}bx=[]}}}function bu(){if(by){return}by=true;if(document.addEventListener&&!br.opera){document.addEventListener("DOMContentLoaded",bs,false)}if(br.msie&&window==top){(function(){if(bv){return}try{document.documentElement.doScroll("left")}catch(bA){setTimeout(arguments.callee,0);return}bs()})()}if(br.opera){document.addEventListener("DOMContentLoaded",function(){if(bv){return}for(var bA=0;bA<document.styleSheets[aJ];bA++){if(document.styleSheets[bA].disabled){setTimeout(arguments.callee,0);return}}bs()},false)}if(br.safari){var bz;(function(){if(bv){return}if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return}if(bz===undefined){var bA=document.getElementsByTagName("link");for(var bB=0;bB<bA[aJ];bB++){if(bA[bB].getAttribute(M)=="stylesheet"){bz++}}var bC=document.getElementsByTagName("style");bz+=bC[aJ]}if(document.styleSheets[aJ]!=bz){setTimeout(arguments.callee,0);return}bs()})()}aU(0,bs)}bt.ready=function(bA,bz){bu();if(bv){bA.call(window,[])}else{bx.push(function(){return bA.call(window,[])})}};bu()})();function bb(br){if(bc){return}ba.stopBubble=typeof br.cancelBubble!==s?bq:typeof br.stopPropagation!==s?a3:function(){return null};ba.stopDefault=typeof br.preventDefault!==s?bl:bk;aV=typeof br.button!==s?bp:typeof br.which!==s?bi:function(){return null};aY=typeof br.srcElement!==s?a7:typeof br.target!==s?aZ:function(){return null};bc=true}function bh(bv){var bs,br,bu,bz,bw,by,bt,bx;if(!bv){bv=window.event}br=bo(bv);if(!bc&&br.search(/click|mouse|key/i)!==-1){bb(bv)}bs=aY(bv);bw=bs[ak];by=bs[am];bt=bs.id;if(be(bv)){return}if(!bs||!bm[br]||typeof bs[ak]!==ao){return}bx=bm[br];for(bz in bx){if(bx.hasOwnProperty(bz)){bu=bx[bz];if(!bu.condition(bs,br,bv,bw,by,bt)){continue}bu.behaviour(bs,br,bv,bw,by,bt);if(bu.stopBubble){ba.stopBubble(bv)}if(bu.stopDefault){ba.stopDefault(bv)}}}}function bf(br){var bt,bs=br.length;if(bs<1){return}do{bt=br[bs-1];if(!bt.i||!bt.f||!bt.c){continue}sky.grabEvent.addBehaviour(bt.f,bt.e?bt.e:q,bt.c,typeof bt.b===f?bt.b:true,typeof bt.d===f?bt.d:true,bt.i)}while(--bs)}function a9(bs,bu,br,bt){this.behaviour=bs;this.condition=bu;this.stopBubble=br;this.stopDefault=bt}this.add=function a5(bx,bs,bw,bu,br,bz){if(arguments.length===1){bf(bx.f?[bx]:bx);return}var bA=bx,bC=false,bt=false,by=false,bv=false,bB=false;bs.search(a8)!==-1?(bC=true):bs.search(aW)!==-1?(bt=true):bs.search(bg)!==-1?(by=true):bs.search(aX)!==-1?(bv=true):(bB=true);if(typeof bz!==ao){return false}if(bt){DomReady.ready(bA);return true}if(bC){if(!bm[bs]){bm[bs]={};document["on"+bs]=bh}bm[bs][bz]=new a9(bA,bw,bu,br);return true}if(by){aU(0,bA);return true}if(bv){aU(1,bA);return true}if(bB){if(!bn[bs]){bn[bs]={}}bn[bs][bz]=new a9(bA,bw,bu,br);return true}return false};this.remove=function bd(br,bs){bm[br]=[];bm[br][bs]=null;delete bm[br][bs]};function bj(br,bt){var bs=bn[br];for(var bu in bs){if(bs.hasOwnProperty(bu)){bs[bu].behaviour(bt)}}}this.broadcast=function a4(bs,br){bj(bs,br)};ba.add(function(br,bs,bt){bb(bt);ba.remove("mouseover","eInit")},"mouseover",function(){return true},true,true,"eInit");ba.add(function a0(){for(var bu in bm){if(bm.hasOwnProperty(bu)){document["on"+bu]=null}}var br=sky.elems("script"),bs,bt=br[aJ];do{bs=br[bt-1];if(!bs.onreadystatechange){continue}bs.onreadystatechange=null}while(--bt)},"unload",true,true,true,"SkyGC")}k=new ap();ar=k.add;function R(aU){return document.getElementById(aU)}function H(aW,aV){var aU=(aV?aV:document).getElementsByTagName(aW);if(aU[aJ]>0){aU.last=aU[aU[aJ]-1]}return aU}function Q(aU,aV){while(aU[C]&&!A(aU,aV)){aU=aU[C]}return A(aU,aV)?aU:null}function aH(aW,aV){var aU=aW[C],aX=1;do{if(aX==aV){return aU}aU=aU[C];aX++}while(parent);return false}function aA(aX){var aW=aX.childNodes,aY=[],aV=aW[aJ];for(var aU=0;aU<aV;aU++){if(aW[aU][ad]==1){aY.push(aW[aU])}}return aY}function U(aU){return !aU||!aU[e]?false:aU[e][ad]==1?aU[e]:U(aU[e])}var V=typeof document.documentElement.getAttribute=="function"?function aE(aV,aU,aW){return typeof aW==s?aV.getAttribute(aU):aU!=aB?aV.setAttribute(aU,aW):aV[aB].cssText=aW}:function aF(aV,aU,aW){return typeof aW==s?aV[aU]:aU!=aB?aV[aU]=aW:aV[aB].cssText=aW};function ag(aV,aU){K(aV,ab,[aU,E].join(""))}function af(aU,aV){K(aU,at,[aV,E].join(""))}function A(aU,aW){var aV=typeof aU==ao?aU:aU[ak];return aV.toLowerCase()===aW.toLowerCase()}function aT(aU,aV){var aW=typeof aU==ao?aU:aU[am];if(!aW){return false}aW=[" ",aW," "].join("");return aW[aK]([" ",aV," "].join(""))!=-1}function aM(aV,aU){if(aT(aV,aU)){return}aV[am]=aV[am][X](" ").concat(aU)[m](" ")}function aQ(aV,aU){if(!aT(aV,aU)){return}else{aV[am]=aV[am][X](aU)[m]("")}}function B(aW,aU){var aV=aT(aW,aU);aV?aQ(aW,aU):aM(aW,aU);return !aV}function z(aU){return(aU.x)?aU.x:Z(aU,"Left")}function y(aU){return(aU.y)?aU.y:Z(aU,"Top")}function Z(aU,aW){var aX=0,aV=["offset",aW].join("");while(aU!==null){aX+=aU[aV];aU=aU.offsetParent}return aX}function b(aU){return aU.offsetWidth}function aN(aU){return aU.offsetHeight}var L,J;function az(aU){return aU.pageX}function aP(aU){return aU.clientX+document.documentElement.scrollLeft}function ay(aU){return aU.pageY}function u(aU){return aU.clientY+document.documentElement.scrollTop}function aL(aU,aV){this.x=z(aU);this.y=y(aU);this.width=b(aU);this.height=aN(aU);this.mouseX=L(aV);this.mouseY=J(aV)}function au(aU,aV){return new aL(aU,aV)}function i(aU){if(typeof aU.pageX==r){sky.getProperty.mouseX=L=az;sky.getProperty.mouseY=J=ay}else{sky.getProperty.mouseX=L=aP;sky.getProperty.mouseY=J=u}_mouseEventFirstTimeRun=false;return 0}function Y(){var aU=new Date();aU.setFullYear(aU.getFullYear()+1);return aU}function t(aZ){var aX=null,aW=[aZ,"="].join(""),aV=document[D];if(aV[aJ]>0){var aY=aV[aK](aW);if(aY!=-1){aY+=aW[aJ];var aU=aV[aK](";",aY);if(aU==-1){aU=aV[aJ]}aX=unescape(aV.substring(aY,aU))}}return aX}function aC(aX,aV,aU,aW){document[D]=[aX,"=",escape(aV),(!aU?"":"; expires="+aU.toGMTString()),"; path=",(!aW?"/":aW)].join("")}function P(aV,aU){if(t(aV)){document[D]=[aV,"=","; path=",(!aU?"/":aU),"; expires=",new Date(0).toGMTString()].join("")}}var av=false,aR=false,aq=false,aI=false,ai=false,ah;function j(){ah=document.createElement(aB);ah.id="skycssinsertrule";sky.id("jscont")[ac](ah);ah=ah.sheet?ah.sheet:ah.styleSheet;ah.insertRule?(aR=true):ah.addRule?(aq=true):userBrowser.is("saf")?(aI=true):(ai=true);av=true}function aO(aX){if(!av){j()}if(ai){return}if(aI){ah[ac](document.createTextNode(aX));return}var aU=true,aY=aX[X](/}/),aW;while(aY[aJ]){aW=aY.shift()[X](/{/);if(aW==""){break}CSSStyleSelector=aW[0];allPropertyValuePairs=aW[1];if(aR){ah.insertRule([CSSStyleSelector,"{",allPropertyValuePairs,"}"].join(""),ah.cssRules[aJ])}if(aq){var aZ=CSSStyleSelector.split(",");for(var aV=0;aV<aZ.length;aV++){ah.addRule(aZ[aV],allPropertyValuePairs)}}}}function K(aU,aW,aV){aU[aB][aW]=aV}function g(aU,aV){aU[aB].cssText=aV}function aj(aX,aZ){var aW=aX.getAttribute(aB);if(aW==null){return}if(userBrowser.is("ie")){K(aX,aZ,"");return}var aV=new RegExp(aZ+" *: *[^;}]+[;}]","i"),aU=aW.match(aV),aY=aW.replace(aU,"");aX.setAttribute(aB,aY)}function G(aW,a0,aZ,aY,aX){var aV="";for(var aU in aW){if(aW.hasOwnProperty(aU)){aV+=a0+aU+aZ+aW[aU]+aY}}if(aX){aV=aV.replace(new RegExp(aY+"$","gm"),"")}return aV}function I(aW){var aU=[];for(var aV in aW){if(aW.hasOwnProperty(aV)){aU.push(aW[aV])}}return aU}function x(aV){for(var aU=0;aU<node.childNodes[aJ];aU++){var aW=node.childNodes[aU];if(aW[ad]===3&&!/\S/.test(aW.nodeValue)){node.removeChild(node.childNodes[aU]);aU--}if(aW[ad]===1){cleanwhitespace(aW)}}}var F={init:function(){ar({i:"SkyFOGManager",e:"FOGLaunched",f:sky.balance.disable,c:true})}};function aD(aV,aX){var aW,aU;aW=aV.replace(/[^a-z0-9]/i,"");if(R(aW)&&R(aW).isLoaded){aX();return}aU=document.createElement("script");aU.type="text/javascript";aU.id=aW;aU.isLoaded=false;if(aU.readyState){aU.onreadystatechange=function(){if(aU.readyState=="loaded"||aU.readyState=="complete"){aU.onreadystatechange=null;aU.isLoaded=true;if(typeof aX==="function"){aX()}}}}else{aU.onload=function(){aU.isLoaded=true;if(typeof aX==="function"){aX()}}}aU.src=aV;document.getElementsByTagName("head")[0][ac](aU)}function aa(aU,aV,aX,aW){aD(aU,function(){(function(){var aY=sky[aV][aX];return aY?aY:function(){}})().apply(sky,aW)})}function ax(){var aU=R("bal-value");if(!aU){return}if(t("sky_BalanceVisible")==="false"){sky.balance.toggle()}aU.title="Show/Hide Balance";c(aU,"click",sky.balance.toggle);K(aU,o,a);aU=null}function an(){var aV=R("con_link"),aU="High Contrast",aW=["Disable ",aU].join("");if(!aV){return}var aX=new skyStylesheetSwitcher();c(aV,"click",aX.doConfirm);aV[al]=hiContEnabled?aW:aU}function N(aW,aV,a3){var a5=window.event?a3.keyCode:a3.which,a1=String.fromCharCode(a5),aX=new RegExp(),a4=false,a0=false,aZ,aU,a2,aY;if(a3.metaKey||a3.ctrlKey||window.event&&window.event.CONTROL_MASK){return}if(a5===13&&aT(aW,"val_submit")){aZ=sky.getAncestorByNodeName(aW,"form");if(aZ){aZ.submit();return}}if(/^(0|13|8){1}$/.test(a5)){return}if(aT(aW,"val_float")){aX=/[^0-9\.]/i;a4=true;a0=true}else{if(aT(aW,"val_userid")){aX=/[^a-z0-9]/i}else{if(aT(aW,"val_integer")){aX=/[^0-9]/i}}}if(aX.test(a1)){sky.grabEvent.stopDefault(a3)}if(!(a4||a0)){return}aU=aW.value;if(aU[aK](".")===-1){return}if(a1==="."){sky.grabEvent.stopDefault(a3);return}return;a2=getTextCursorPosition(aW);if(typeof a2!=="number"){return}aY=aU.substr(0,a2);if(aY[aK](".")===-1){return}if(aU.search(/\.[0-9]{2}/)!==-1){sky.grabEvent.stopDefault(a3)}}function O(){var aY=sky.id("jscont"),aX=sky.children(aY),aU=aX[aJ],aV,aW=R("beforeload");if(aW){aQ(aW,"hide")}if(aU>0){do{aV=aX[aU-1];if(aV.nodeName[aK](/style/i)!==-1){aV[al]=""}aY.removeChild(aV)}while(--aU)}}ar(function(){if(userBrowser.is("ie6")){sky.elems("body")[0][ac](sky.id("jscont"));sky.css.addInline(sky.id("jscont"),"display","block")}ax();an();F.init();sky.wndow.addLinks(sky.elems("a"));sky.tooltips.addLinks(sky.elems("a"));sky.tooltips.addElements(sky.elems("span"));sky.tooltips.addElements(sky.elems("div"));var aU=sky.id("beforeload");if(aU){sky.addClass(aU,"hide")}ar(N,"keypress",function(aY,aW,a0,aX,aZ){return aZ[aK]("val_")!==-1},false,false,"validateHandle");var aV=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");sky.load.js(unescape(aV+"google-analytics.com/ga.js"),function(){try{var aW=_gat._getTracker("UA-7410998-12");aW._setDomainName("www.skybingo.com");aW._trackPageview()}catch(aX){}});ar(O,"unload",true,true,true,"SkyGarbageCollector")},"DOMLoaded",true,false,false,"SkyDOMReady");return{id:R,elems:H,getAncestorByNodeName:Q,getAncestorAt:aH,children:aA,nextSibling:U,attr:V,set:{x:ag,y:af},hasNodeName:A,hasClass:aT,addClass:aM,removeClass:aQ,toggleClass:B,getProperty:{x:z,y:y,width:b,height:aN,mouseX:i,mouseY:i,all:au},load:{js:aD},cookie:{nextYear:Y,get:t,set:aC,kill:P},addEvent:c,grabEvent:{addBehaviour:k.add,removeBehaviour:k.remove,stopBubble:function(aU){return k.stopBubble(aU)},stopDefault:function(aU){return k.stopDefault(aU)},broadcast:k.broadcast},css:{insertRule:aO,addInline:K,removeInline:aj,replaceInline:g},cleanWhitespace:x,objToArr:I,objToStr:G,hitbox:{pageView:function l(aU,aW){function aV(){_hbPageView(aU.replace(/'/g,"&apos;"),aW.replace(/'/g,"&apos;"))}if(typeof _hbPageView==="function"){aV()}else{sky.addEvent(window,"load",aV)}}},bet:{},bingo:{},casino:{},poker:{},accounts:{}}}var sky=typeof window.sky!=="undefined"?window.sky:new skyJSLibrary();sky.tooltips=new skyTooltips();sky.ui=new skyUI();sky.overlay=new skyOverlayLibrary();sky.animate=new skyAnimationLibrary();sky.flash=new skyFlashManager();sky.balance=new skyBalanceManager();sky.wndow=new skyWindowManager();sky.newWindow=sky.wndow.getNew;sky.wndow.add({u:"/cms/chat.shtm",p:{w:800,h:600}},{u:"seal.verisign",p:{w:535,h:445}},{u:/\/Skybet_Radio/i,p:{w:530,h:370}},{u:/GoRacingUKVideoFeed/i,p:{w:550,h:580}},{u:/GoVideoFeed/i,p:{w:570,h:550}},{u:"help.skybet",p:{w:1005,h:735,s:true,t:true,r:true}},{u:/txn_type=PRINT/i,p:{w:950,h:600}},{u:/bet_live_popup_sky_sports/i,p:{w:300,h:640}},{u:"GoContactForm",n:"skyContactForm",p:{w:800,h:600,s:"yes",r:"yes",t:"yes",l:"yes"}},{u:/action(=|~|%7E)GoGame(\\|&|$|@)/i,p:{w:750,h:580},cb:function(a){sky.grabEvent.broadcast("FOGLaunched",{el:a})}});function SkyBingoJSLibrary(){function h(){}function s(v){var u=new Object();if($(v).children("a").attr("href")==null){u.displayCopy=encodeURIComponent($(v).text());u.displayLink="";u.displayTarget="";u.displayRel=""}else{u.displayCopy=encodeURIComponent($(v).children("a").text());u.displayLink=escape($(v).children("a").attr("href"));u.displayTarget=$(v).children("a").attr("target");u.displayRel=$(v).children("a").attr("rel")}return u}function i(){var u="/img/swf/titlearea/titlearea.swf";jQuery.each($(".flashtitle"),function(){var y=s(this);this.style.display="block";if(sky.hasClass(this,"sf_h")){var x="626262";var w="626262";var v=x+","+w;sky.flash.embed(this,165,23,u,{bgcolor:"#F0F0F0"},{id:"sf_h",targ:y.displayTarget,rel:y.displayRel,link:y.displayLink,titl:y.displayCopy,colourGrad:v,copySize:15,dropShad:true},8)}if(sky.hasClass(this,"pc_h")||sky.hasClass(this,"bc_h")){var x="50347b";var w="50347b";var v=x+","+w;sky.flash.embed(this,650,27,u,{bgcolor:"#FFFFFF"},{id:"pc_h",targ:y.displayTarget,rel:y.displayRel,link:y.displayLink,titl:y.displayCopy,colourGrad:v,copySize:24,dropShad:true},8)}if(sky.hasClass(this,"pc_sh")){var x="50347b";var w="50347b";var v=x+","+w;sky.flash.embed(this,450,22,u,{bgcolor:"#FFFFFF"},{id:"pc_h",targ:y.displayTarget,rel:y.displayRel,link:y.displayLink,titl:y.displayCopy,colourGrad:v,copySize:18,dropShad:true},8)}if(sky.hasClass(this,"bw_win")){var x="50347b";var w="50347b";var v=x+","+w;sky.flash.embed(this,400,27,u,{bgcolor:"#FFFFFF"},{id:"bw_win",targ:y.displayTarget,rel:y.displayRel,link:y.displayLink,titl:y.displayCopy,colourGrad:v,copySize:30,dropShad:true},8)}})}function n(){sky.grabEvent.addBehaviour(function(){sky.overlay.create("top",$("#home_seo").html())},"click",function(u){return sky.hasClass(u,"regreasons")},true,true,"private_initSEORegReasonsLink")}function g(){sky.grabEvent.addBehaviour(function(){sky.overlay.destroy()},"click",function(u){return sky.hasClass(u,"closeOverlay")},true,false,"private_initCloseOverlayButton")}function m(){if(sky.id("gosign").value&&sky.id("gosign").value=="Log In"){$("#gosign").remove();$('<input type="image" src="/img/site/btn-login.gif" id="gosign" name="gosign" />').appendTo("#golog > div");if(sky.id("cip_home_main")){var u=$(".accntbar .resources li")[0].innerHTML;$(".accntbar .resources li")[0].innerHTML=u.substr(0,u.length-2)+' (<a href="#" class="regreasons">5 reasons</a>) | '}}else{if(sky.id("gosign").value&&sky.id("gosign").value=="Log Out"){$("#gosign").remove();$('<input type="image" src="/img/site/btn-logout.gif" id="gosign" name="gosign" />').appendTo("#golog > div");$("#gosign").css("margin-top","-6px")}}if(!sky.id("tabs")){$(".accntbar").css("margin-top","12px");$(".accntbar").css("padding-top","4px");$(".accntbar").css("padding-right","9px");$(".accntbar").css("background-image",'url("/img/site/bg-accnt-bar-logged-out.gif")')}}function l(w){if(!sky.id("promo_carousel")){return}var u,v;u={xml:"/cms/bingo_home_carousel.xml",userLogin:w};v={bgcolor:"#FFFFFF",name:"carousel",allowScriptAccess:"Always"};sky.flash.embed(sky.id("promo_carousel"),950,165,"/img/cms/bingo_carousel.swf",v,u,8,"carousel")}function f(x){if(!sky.id("cip_home_main")){return}var v=(window.location.href.indexOf(cgi_url)!=-1)?cgi_url:scgi_url,u,w;u={xmlAddress:"/cms/bingo_cip_promos.xml",userLogin:x,site:"bingo",root_url:v,JN:escape($("ul.resources > li > a")[0].href)};w={bgcolor:"#FFFFFF"};sky.flash.embed(sky.id("cip_home_main"),521,280,"/img/cms/09_cip_bingo.swf",w,u,8)}function k(w){if(!sky.id("jckpts")){if(sky.id("cip_home_right")){$("#cip_home_right").append("<div id='jckpts'></div>");A={site:"bingo",play_url:"javascript:sky.bingo.launch()"};u={bgcolor:"#FFFFFF"};sky.flash.embed("jckpts",248,280,"/img/cms/09_bingo_webservices.swf",u,A,8)}return}var C=(window.location.href.indexOf(cgi_url)!=-1)?cgi_url:scgi_url,v=$("#jckpts > .hldr > table"),z=$("#jckpts > .hldr > table > caption"),x=$("#jckpts > .hldr > table > tbody > tr > th"),B=$("#jckpts > .hldr > table > tbody > tr > td"),y,A,u;A={wsAddress:escape(C+"?action=DoXML&data=index_schedule,recent_winners"),userLogin:w,site:"bingo",root_url:C,play_url:"javascript:sky.bingo.launch()",totalPots:v.length};u={bgcolor:"#FFFFFF"};for(y=v.length-1;y>=0;y--){A["potName"+y]=z[y].innerHTML;A["potAmt"+y]=x[y].innerHTML;A["potTxt"+y]=B[y].innerHTML}sky.flash.embed(sky.id("jckpts"),248,280,"/img/cms/09_bingo_webservices.swf",u,A,8)}function r(w){if(!sky.id("leftnav")){return}var v=$("#leftnav li"),z=$("#leftnav > li a"),y=$("#leftnav > li a span"),A=v.length,x,u=false;for(x=A-1;x>=0;x--){if(w.indexOf("/"+y[x].innerHTML.toLowerCase())!=-1){sky.addClass(z[x],"on");u=true}}if(!u){sky.addClass(z[0],"on")}}function q(){if(!sky.id("promo_nav")||$("#page_content > h3").get()[0]==undefined){return}var v=$("#promo_nav > ul > li"),x=$("#promo_nav > ul > li > a"),w,u=false;v[0].id="pn_li_first";v[v.length-1].id="pn_li_last";for(w=v.length-1;w>=0;w--){if(!u&&escape(x[w].innerHTML.toLowerCase())==escape($("#page_content > h3")[0].innerHTML.toLowerCase())){sky.addClass(v[w],"on");v[w].innerHTML=x[w].innerHTML;u=true}}if(!u){for(w=v.length-1;w>=0;w--){if(!u&&escape(x[w].href.toLowerCase())==escape(window.location.href.toLowerCase())){sky.addClass(v[w],"on");v[w].innerHTML=x[w].innerHTML;u=true}}}}function t(){if(!sky.id("promo_banner")){return}sky.flash.embed(sky.id("promo_banner"),745,219,"/img/cms/09_bingo_promoarea_744.swf",{bgcolor:"#FFFFFF"},{swfAddress:sky.id("promo_banner").className,BN:sky.attr(sky.id("promo_banner_buy_now"),"href")&&window.location.href.indexOf(sky.attr(sky.id("promo_banner_buy_now"),"href"))==-1?sky.attr(sky.id("promo_banner_buy_now"),"href"):"",BNTarget:sky.attr(sky.id("promo_banner_buy_now"),"target")!=""?sky.attr(sky.id("promo_banner_buy_now"),"target"):"",PN:sky.attr(sky.id("promo_banner_play_now"),"href")&&window.location.href.indexOf(sky.attr(sky.id("promo_banner_play_now"),"href"))==-1?sky.attr(sky.id("promo_banner_play_now"),"href"):"",PNTarget:sky.attr(sky.id("promo_banner_play_now"),"target")!=""?sky.attr(sky.id("promo_banner_play_now"),"target"):""},8)}function b(){if(!sky.id("bw_container")){return}var v=$(".bw_info").length;var u=1;$("#bw_no").html("Big winner "+u+" of "+v);$("#bw_container").height($("#bw_all").height());sky.grabEvent.addBehaviour(function(){if(u>1){u--;$("#bw_all").animate({left:"+=620px"},"slow");$("#bw_no").html("Big winner "+u+" of "+v)}},"click",function(w){return sky.hasClass(w,"bw_nav_left")},true,true,"private_initBigWinnersThumbnailNavigation_bw_nav_left");sky.grabEvent.addBehaviour(function(){if(u<v){u++;$("#bw_all").animate({left:"-=620px"},"slow");$("#bw_no").html("Big winner "+u+" of "+v)}},"click",function(w){return sky.hasClass(w,"bw_nav_right")},true,true,"private_initBigWinnersThumbnailNavigation_bw_nav_right")}var c=false;var j=function(v,x){if(login.isLoggedIn()){if(!x){x=""}if(!v){v="Bingo"}openFullscreenGameWindow(v,get_cookie(Util.cookie.cust_login_cookie_name),"",x)}else{if(!sky.id("loginerrorbubble")){var u=document.createElement("div");var w='<div class="errorbubble" id="loginerrorbubble">';w+='<div class="eb_top"></div>';w+="<p>Please login to play bingo</p>";w+='<div class="eb_bottom"></div>';w+="</div>";u.innerHTML=w;sky.id("w2").appendChild(u.firstChild)}$("#w1").scrollTo(0,500);if(!c){c=true;$("#loginerrorbubble").effect("bounce",{times:4},400,function(){c=false})}}};sky.grabEvent.addBehaviour(function(){j()},"click",function(u){return sky.hasClass(u,"launch-bingo")},true,true,"launchBingo");var a={launch:function(u){window.open(scgi_url+"?action=export_user&target=SKYVEGAS&guest_ok=Y&logout=N&import_action=action~GoGame@name~"+u+"@skin~bingo","VegasGame","status=no,toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=750,height=550");return u}};function e(){sky.grabEvent.addBehaviour(function(x){var y=x.innerHTML,v=x.id,w="Show",u="Close";$("#"+v+"info").toggle();if(y.substring(0,5)!=u){x.innerHTML=u+" "+y.substring(5,y.length+1)}else{x.innerHTML=w+" "+y.substring(6,y.length+1)}},"click",function(u){return sky.hasClass(u,"siteTnC")},true,true,"private_setupTermsAndConditionsLinks")}function d(){if(!sky.id("rl_banner")){return}userFirstName=sky.id("mmbrnm")?sky.id("mmbrnm").innerHTML:"";sky.flash.embed(sky.id("rl_banner"),490,150,"/img/swf/post_reg/bingo_final.swf",{bgcolor:"#FFFFFF",scale:"noscale"},{id:"joinmsg",myName:userFirstName},8);if(userBrowser.is("ie7")){$("#promo_nav").css("margin-left","10px");$(".c3").css("margin-left","-10px")}sky.flash.embed(sky.id("hlpvid"),490,362,"http://help.skybet.com/pf/12/webfiles/flash/Bingo%20Tutorial_demo.swf",{bgcolor:"#FFFFFF",scale:"noscale"},8)}function p(){sky.load.js(jsRoot+"hbx.js",function(){return})}function o(){if(!sky.id("cm_nav")){return}$("#cm_nav ul li:last").addClass("last");$("#cm_nav ul li:first").addClass("on");var v=$("td.ForumList_SearchButtonTD input").clone();v.attr("type","image");v.attr("src","/img/pluck/btn-search-forum.png");v.attr("alt","Search");$("td.ForumList_SearchButtonTD input").replaceWith(v);var v=$("td.ForumList_ForumSpecificSearchButtonTD input").clone();v.attr("type","image");v.attr("src","/img/pluck/btn-search-forum.png");v.attr("alt","Search");$("td.ForumList_ForumSpecificSearchButtonTD input").replaceWith(v);var u="Search the Sky Bingo forum here";$("input#plckSearchText1").attr("value",u);$("input#plckSearchText1").click(function(){$(this).css("color","#000000");if($(this).attr("value")==u){$(this).attr("value","")}});$("input#plckSearchText1").blur(function(){if($(this).attr("value")==""){$(this).css("color","#999999");$(this).attr("value","Search the Sky Bingo forum here")}})}sky.grabEvent.addBehaviour(function(){if(!window.login){window.login={};window.login.isLoggedIn=function(){return false}}var u=window.login.isLoggedIn();t();q();i();r(document.location.href);m(u);f(u);k(u);l(u);h();n();g();b();e();d();p();o()},"DOMLoaded",true,false,false,"SkyBingoDOMReady");return{launch:j,fog:a}}sky.bingo=new SkyBingoJSLibrary();sky.confirmContactDetails={set:function(g,a,b){var f,d="Your Details",c,e;if(a!=false){c='<a href="#" onclick="sky.accounts.paymentIframeOverlay.remove();return false;" class="ovrlyclose">Close</a>'}else{c=""}if(b!=false){e="auto"}else{e="no"}f='<div class="ovrlywrp" id="dtlcnfrmovrly0"><div class="ovrlycntnt0"><div class="cntntwrp"><div class="ovrly_ttl">'+c+'</div><div class="c1"><iframe src="'+g.url+'" name="dtlcnfrm0" scrolling="'+e+'" frameborder="0" class="dtlcnfrm0" id="dtlcnfrm0" /></div></div></div></div>';sky.overlay.create("middle",f)},remove:function(){sky.overlay.destroy()}};sky.grabEvent.addBehaviour(function(){if(typeof confirmDetails==="object"&&typeof confirmDetails.required==="boolean"&&confirmDetails.required===true){sky.confirmContactDetails.set(confirmDetails,false,false)}},"DOMLoaded",true,false,false,"SkyConfirmDetails");sky.grabEvent.addBehaviour(function(a){sky.newWindow(a.href,null,"emailSBG")},"click",function(a){return(sky.product!="myaccount"&&a.nodeName=="A"&&a.parentNode.parentNode.nodeName=="LI"&&a.parentNode.parentNode.className=="pgftr_email")},false,true,"launchEmailSBG");var _hbEC=0,_hbE=[];function _hbEvent(d,c){c=_hbE[_hbEC++]={};c._N=d;c._C=0;return c}var hbx=_hbEvent("pv");hbx.vpc="HBX0250u";hbx.gn="peach.bskyb.com";hbx.pndef="";hbx.ctdef="";hbx.fv="";hbx.lt="auto";hbx.dlf="n";hbx.dft="n";hbx.elf="n";hbx.seg="";hbx.fnl="";hbx.cmp="";hbx.cmpn="";hbx.dcmp="";hbx.dcmpn="";hbx.dcmpe="";hbx.dcmpre="";hbx.hra="";hbx.hqsr="";hbx.hqsp="";hbx.hlt="";hbx.hla="";hbx.gp="";hbx.gpn="";hbx.hcn="";hbx.hcv="";hbx.cp="null";hbx.cpd="";hbx.ci="";hbx.hc1="";hbx.hc2="";hbx.hc3="";hbx.hc4="";hbx.hrf="";hbx.pec="";hbx.acct="DM58010632MS;DM53111942ZM";hbx.mlc=hbxVars.mlc.replace(/'/g,"&apos;");hbx.pn=hbxVars.pn.replace(/'/g,"&apos;");
