/**
 * Put all jquery plugins in here to lower the amount of requests for javascript files.
 */

//
// From: jquery.de_onload.js
//
/**
 * All future JS to be executed on every page load should go here.
 **/
jQuery.noConflict();


jQuery(document).ready(function() {

	jQuery('.hasHeaderDropMenu').each(function() {

		new DropMenu ( jQuery( this ).attr('id'), 'down', true );

		jQuery( this ).mouseover(function() {
			DropMenu.initialize ( this );
		});

	});
	
	jQuery('.hasFooterDropMenu').each(function() {

		new DropMenu ( jQuery( this ).attr('id'), 'up', true );

		jQuery( this ).mouseover(function() {
			DropMenu.initialize ( this );
		});

	});

});


////////////////////////////////////////////////////////////////////////////////
// Public Plugins
////////////////////////////////////////////////////////////////////////////////

//
// From: browserDetect-min.js
//
jQuery(document).ready(function(){var a=navigator.userAgent.toLowerCase();jQuery.browser.chrome=/chrome/.test(navigator.userAgent.toLowerCase());if(jQuery.browser.msie){jQuery('body').addClass('browserIE');jQuery('body').addClass('browserIE'+jQuery.browser.version.substring(0,1))}if(jQuery.browser.chrome){jQuery('body').addClass('browserChrome');a=a.substring(a.indexOf('chrome/')+7);a=a.substring(0,1);jQuery('body').addClass('browserChrome'+a);jQuery.browser.safari=false}if(jQuery.browser.safari){jQuery('body').addClass('browserSafari');a=a.substring(a.indexOf('version/')+8);a=a.substring(0,1);jQuery('body').addClass('browserSafari'+a)}if(jQuery.browser.mozilla){if(navigator.userAgent.toLowerCase().indexOf('firefox')!=-1){jQuery('body').addClass('browserFirefox');a=a.substring(a.indexOf('firefox/')+8);a=a.substring(0,1);jQuery('body').addClass('browserFirefox'+a)}else{jQuery('body').addClass('browserMozilla')}}if(jQuery.browser.opera){jQuery('body').addClass('browserOpera')}});


//
// From: jquery.alphanumeric.pack.js
//
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2($){$.c.f=2(p){p=$.d({g:"!@#$%^&*()+=[]\\\\\\\';,/{}|\\":<>?~`.- ",4:"",9:""},p);7 3.b(2(){5(p.G)p.4+="Q";5(p.w)p.4+="n";s=p.9.z(\'\');x(i=0;i<s.y;i++)5(p.g.h(s[i])!=-1)s[i]="\\\\"+s[i];p.9=s.O(\'|\');6 l=N M(p.9,\'E\');6 a=p.g+p.4;a=a.H(l,\'\');$(3).J(2(e){5(!e.r)k=o.q(e.K);L k=o.q(e.r);5(a.h(k)!=-1)e.j();5(e.u&&k==\'v\')e.j()});$(3).B(\'D\',2(){7 F})})};$.c.I=2(p){6 8="n";8+=8.P();p=$.d({4:8},p);7 3.b(2(){$(3).f(p)})};$.c.t=2(p){6 m="A";p=$.d({4:m},p);7 3.b(2(){$(3).f(p)})}})(C);',53,53,'||function|this|nchars|if|var|return|az|allow|ch|each|fn|extend||alphanumeric|ichars|indexOf||preventDefault||reg|nm|abcdefghijklmnopqrstuvwxyz|String||fromCharCode|charCode||alpha|ctrlKey||allcaps|for|length|split|1234567890|bind|jQuery|contextmenu|gi|false|nocaps|replace|numeric|keypress|which|else|RegExp|new|join|toUpperCase|ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('|'),0,{}));


//
// From: jquery.maskedinput-1.2.2.min.js
//
/*
	Masked Input plugin for jQuery
	Copyright (c) 2007-2009 Josh Bush (digitalbush.com)
	Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license) 
	Version: 1.2.2 (03/09/2009 22:39:06)
*/
(function(a){var c=(a.browser.msie?"paste":"input")+".mask";var b=(window.orientation!=undefined);a.mask={definitions:{"9":"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"}};a.fn.extend({caret:function(e,f){if(this.length==0){return}if(typeof e=="number"){f=(typeof f=="number")?f:e;return this.each(function(){if(this.setSelectionRange){this.focus();this.setSelectionRange(e,f)}else{if(this.createTextRange){var g=this.createTextRange();g.collapse(true);g.moveEnd("character",f);g.moveStart("character",e);g.select()}}})}else{if(this[0].setSelectionRange){e=this[0].selectionStart;f=this[0].selectionEnd}else{if(document.selection&&document.selection.createRange){var d=document.selection.createRange();e=0-d.duplicate().moveStart("character",-100000);f=e+d.text.length}}return{begin:e,end:f}}},unmask:function(){return this.trigger("unmask")},mask:function(j,d){if(!j&&this.length>0){var f=a(this[0]);var g=f.data("tests");return a.map(f.data("buffer"),function(l,m){return g[m]?l:null}).join("")}d=a.extend({placeholder:"_",completed:null},d);var k=a.mask.definitions;var g=[];var e=j.length;var i=null;var h=j.length;a.each(j.split(""),function(m,l){if(l=="?"){h--;e=m}else{if(k[l]){g.push(new RegExp(k[l]));if(i==null){i=g.length-1}}else{g.push(null)}}});return this.each(function(){var r=a(this);var m=a.map(j.split(""),function(x,y){if(x!="?"){return k[x]?d.placeholder:x}});var n=false;var q=r.val();r.data("buffer",m).data("tests",g);function v(x){while(++x<=h&&!g[x]){}return x}function t(x){while(!g[x]&&--x>=0){}for(var y=x;y<h;y++){if(g[y]){m[y]=d.placeholder;var z=v(y);if(z<h&&g[y].test(m[z])){m[y]=m[z]}else{break}}}s();r.caret(Math.max(i,x))}function u(y){for(var A=y,z=d.placeholder;A<h;A++){if(g[A]){var B=v(A);var x=m[A];m[A]=z;if(B<h&&g[B].test(x)){z=x}else{break}}}}function l(y){var x=a(this).caret();var z=y.keyCode;n=(z<16||(z>16&&z<32)||(z>32&&z<41));if((x.begin-x.end)!=0&&(!n||z==8||z==46)){w(x.begin,x.end)}if(z==8||z==46||(b&&z==127)){t(x.begin+(z==46?0:-1));return false}else{if(z==27){r.val(q);r.caret(0,p());return false}}}function o(B){if(n){n=false;return(B.keyCode==8)?false:null}B=B||window.event;var C=B.charCode||B.keyCode||B.which;var z=a(this).caret();if(B.ctrlKey||B.altKey||B.metaKey){return true}else{if((C>=32&&C<=125)||C>186){var x=v(z.begin-1);if(x<h){var A=String.fromCharCode(C);if(g[x].test(A)){u(x);m[x]=A;s();var y=v(x);a(this).caret(y);if(d.completed&&y==h){d.completed.call(r)}}}}}return false}function w(x,y){for(var z=x;z<y&&z<h;z++){if(g[z]){m[z]=d.placeholder}}}function s(){return r.val(m.join("")).val()}function p(y){var z=r.val();var C=-1;for(var B=0,x=0;B<h;B++){if(g[B]){m[B]=d.placeholder;while(x++<z.length){var A=z.charAt(x-1);if(g[B].test(A)){m[B]=A;C=B;break}}if(x>z.length){break}}else{if(m[B]==z[x]&&B!=e){x++;C=B}}}if(!y&&C+1<e){r.val("");w(0,h)}else{if(y||C+1>=e){s();if(!y){r.val(r.val().substring(0,C+1))}}}return(e?B:i)}if(!r.attr("readonly")){r.one("unmask",function(){r.unbind(".mask").removeData("buffer").removeData("tests")}).bind("focus.mask",function(){q=r.val();var x=p();s();setTimeout(function(){if(x==j.length){r.caret(0,x)}else{r.caret(x)}},0)}).bind("blur.mask",function(){p();if(r.val()!=q){r.change()}}).bind("keydown.mask",l).bind("keypress.mask",o).bind(c,function(){setTimeout(function(){r.caret(p(true))},0)})}p()})}})})(jQuery);


//
// From: jquery.query-2.1.5.js
//
/**
 * jQuery.query - Query String Modification and Creation for jQuery
 * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com)
 * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/).
 * Date: 2009/06/14
 *
 * @author Blair Mitchelmore
 * @version 2.1.5
 *
 **/
new function(settings) { 
  // Various Settings
  var $separator = settings.separator || '&';
  var $spaces = settings.spaces === false ? false : true;
  var $suffix = settings.suffix === false ? '' : '[]';
  var $prefix = settings.prefix === false ? false : true;
  var $hash = $prefix ? settings.hash === true ? "#" : "?" : "";
  var $numbers = settings.numbers === false ? false : true;
  
  jQuery.query = new function() {
    var is = function(o, t) {
      return o != undefined && o !== null && (!!t ? o.constructor == t : true);
    };
    var parse = function(path) {
      var m, rx = /\[([^[]*)\]/g, match = /^(\S+?)(\[\S*\])?$/.exec(path), base = match[1], tokens = [];
      while (m = rx.exec(match[2])) tokens.push(m[1]);
      return [base, tokens];
    };
    var set = function(target, tokens, value) {
      var o, token = tokens.shift();
      if (typeof target != 'object') target = null;
      if (token === "") {
        if (!target) target = [];
        if (is(target, Array)) {
          target.push(tokens.length == 0 ? value : set(null, tokens.slice(0), value));
        } else if (is(target, Object)) {
          var i = 0;
          while (target[i++] != null);
          target[--i] = tokens.length == 0 ? value : set(target[i], tokens.slice(0), value);
        } else {
          target = [];
          target.push(tokens.length == 0 ? value : set(null, tokens.slice(0), value));
        }
      } else if (token && token.match(/^\s*[0-9]+\s*$/)) {
        var index = parseInt(token, 10);
        if (!target) target = [];
        target[index] = tokens.length == 0 ? value : set(target[index], tokens.slice(0), value);
      } else if (token) {
        var index = token.replace(/^\s*|\s*$/g, "");
        if (!target) target = {};
        if (is(target, Array)) {
          var temp = {};
          for (var i = 0; i < target.length; ++i) {
            temp[i] = target[i];
          }
          target = temp;
        }
        target[index] = tokens.length == 0 ? value : set(target[index], tokens.slice(0), value);
      } else {
        return value;
      }
      return target;
    };
    
    var queryObject = function(a) {
      var self = this;
      self.keys = {};
      
      if (a.queryObject) {
        jQuery.each(a.get(), function(key, val) {
          self.SET(key, val);
        });
      } else {
        jQuery.each(arguments, function() {
          var q = "" + this;
          q = q.replace(/^[?#]/,''); // remove any leading ? || #
          q = q.replace(/[;&]$/,''); // remove any trailing & || ;
          if ($spaces) q = q.replace(/[+]/g,' '); // replace +'s with spaces
          
          jQuery.each(q.split(/[&;]/), function(){
            var key = decodeURIComponent(this.split('=')[0]);
            var val = decodeURIComponent(this.split('=')[1]);
            
            if (!key) return;
            
            if ($numbers) {
              if (/^[+-]?[0-9]+\.[0-9]*$/.test(val)) // simple float regex
                val = parseFloat(val);
              else if (/^[+-]?[0-9]+$/.test(val)) // simple int regex
                val = parseInt(val, 10);
            }
            
            val = (!val && val !== 0) ? true : val;
            
            if (val !== false && val !== true && typeof val != 'number')
              val = val;
            
            self.SET(key, val);
          });
        });
      }
      return self;
    };
    
    queryObject.prototype = {
      queryObject: true,
      has: function(key, type) {
        var value = this.get(key);
        return is(value, type);
      },
      GET: function(key) {
        if (!is(key)) return this.keys;
        var parsed = parse(key), base = parsed[0], tokens = parsed[1];
        var target = this.keys[base];
        while (target != null && tokens.length != 0) {
          target = target[tokens.shift()];
        }
        return typeof target == 'number' ? target : target || "";
      },
      get: function(key) {
        var target = this.GET(key);
        if (is(target, Object))
          return jQuery.extend(true, {}, target);
        else if (is(target, Array))
          return target.slice(0);
        return target;
      },
      SET: function(key, val) {
        var value = !is(val) ? null : val;
        var parsed = parse(key), base = parsed[0], tokens = parsed[1];
        var target = this.keys[base];
        this.keys[base] = set(target, tokens.slice(0), value);
        return this;
      },
      set: function(key, val) {
        return this.copy().SET(key, val);
      },
      REMOVE: function(key) {
        return this.SET(key, null).COMPACT();
      },
      remove: function(key) {
        return this.copy().REMOVE(key);
      },
      EMPTY: function() {
        var self = this;
        jQuery.each(self.keys, function(key, value) {
          delete self.keys[key];
        });
        return self;
      },
      load: function(url) {
        var hash = url.replace(/^.*?[#](.+?)(?:\?.+)?$/, "$1");
        var search = url.replace(/^.*?[?](.+?)(?:#.+)?$/, "$1");
        return new queryObject(url.length == search.length ? '' : search, url.length == hash.length ? '' : hash);
      },
      empty: function() {
        return this.copy().EMPTY();
      },
      copy: function() {
        return new queryObject(this);
      },
      COMPACT: function() {
        function build(orig) {
          var obj = typeof orig == "object" ? is(orig, Array) ? [] : {} : orig;
          if (typeof orig == 'object') {
            function add(o, key, value) {
              if (is(o, Array))
                o.push(value);
              else
                o[key] = value;
            }
            jQuery.each(orig, function(key, value) {
              if (!is(value)) return true;
              add(obj, key, build(value));
            });
          }
          return obj;
        }
        this.keys = build(this.keys);
        return this;
      },
      compact: function() {
        return this.copy().COMPACT();
      },
      toString: function() {
        var i = 0, queryString = [], chunks = [], self = this;
        var addFields = function(arr, key, value) {
          if (!is(value) || value === false) return;
          var o = [encodeURIComponent(key)];
          if (value !== true) {
            o.push("=");
            o.push(encodeURIComponent(value));
          }
          arr.push(o.join(""));
        };
        var build = function(obj, base) {
          var newKey = function(key) {
            return !base || base == "" ? [key].join("") : [base, "[", key, "]"].join("");
          };
          jQuery.each(obj, function(key, value) {
            if (typeof value == 'object') 
              build(value, newKey(key));
            else
              addFields(chunks, newKey(key), value);
          });
        };
        
        build(this.keys);
        
        if (chunks.length > 0) queryString.push($hash);
        queryString.push(chunks.join($separator));
        
        return queryString.join("");
      }
    };
    
    return new queryObject(location.search, location.hash);
  };
}(jQuery.query || {}); // Pass in jQuery.query as settings object


//
// From: jquery.scrollTo-min.js
//
/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 9/11/2008
 * @author Ariel Flesler
 * @version 1.4
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
;(function(h){var m=h.scrollTo=function(b,c,g){h(window).scrollTo(b,c,g)};m.defaults={axis:'y',duration:1};m.window=function(b){return h(window).scrollable()};h.fn.scrollable=function(){return this.map(function(){var b=this.parentWindow||this.defaultView,c=this.nodeName=='#document'?b.frameElement||b:this,g=c.contentDocument||(c.contentWindow||c).document,i=c.setInterval;return c.nodeName=='IFRAME'||i&&h.browser.safari?g.body:i?g.documentElement:this})};h.fn.scrollTo=function(r,j,a){if(typeof j=='object'){a=j;j=0}if(typeof a=='function')a={onAfter:a};a=h.extend({},m.defaults,a);j=j||a.speed||a.duration;a.queue=a.queue&&a.axis.length>1;if(a.queue)j/=2;a.offset=n(a.offset);a.over=n(a.over);return this.scrollable().each(function(){var k=this,o=h(k),d=r,l,e={},p=o.is('html,body');switch(typeof d){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(d)){d=n(d);break}d=h(d,this);case'object':if(d.is||d.style)l=(d=h(d)).offset()}h.each(a.axis.split(''),function(b,c){var g=c=='x'?'Left':'Top',i=g.toLowerCase(),f='scroll'+g,s=k[f],t=c=='x'?'Width':'Height',v=t.toLowerCase();if(l){e[f]=l[i]+(p?0:s-o.offset()[i]);if(a.margin){e[f]-=parseInt(d.css('margin'+g))||0;e[f]-=parseInt(d.css('border'+g+'Width'))||0}e[f]+=a.offset[i]||0;if(a.over[i])e[f]+=d[v]()*a.over[i]}else e[f]=d[i];if(/^\d+$/.test(e[f]))e[f]=e[f]<=0?0:Math.min(e[f],u(t));if(!b&&a.queue){if(s!=e[f])q(a.onAfterFirst);delete e[f]}});q(a.onAfter);function q(b){o.animate(e,j,a.easing,b&&function(){b.call(this,r,a)})};function u(b){var c='scroll'+b,g=k.ownerDocument;return p?Math.max(g.documentElement[c],g.body[c]):k[c]}}).end()};function n(b){return typeof b=='object'?b:{top:b,left:b}}})(jQuery);


//
// From: jquery.utils.min.js
//
/*
  jQuery utils - 0.8.0
  http://code.google.com/p/jquery-utils/

  (c) Maxime Haineault <haineault@gmail.com> 
  http://haineault.com

  MIT License (http://www.opensource.org/licenses/mit-license.php

*/

(function(jQuery){
     jQuery.extend(jQuery.expr[':'], {
        // case insensitive version of :contains
        icontains: function(a,i,m){return (a.textContent||a.innerText||jQuery(a).text()||"").toLowerCase().indexOf(m[3].toLowerCase())>=0;}
    });

    jQuery.iterators = {
        getText:  function() { return jQuery(this).text(); },
        parseInt: function(v){ return parseInt(v, 10); }
    };

	jQuery.extend({ 

        // Taken from ui.core.js. 
        // Why are you keeping this gem for yourself guys ? :|
        keyCode: {
            BACKSPACE: 8, CAPS_LOCK: 20, COMMA: 188, CONTROL: 17, DELETE: 46, DOWN: 40,
            END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, INSERT:  45, LEFT: 37,
            NUMPAD_ADD: 107, NUMPAD_DECIMAL: 110, NUMPAD_DIVIDE: 111, NUMPAD_ENTER: 108, 
            NUMPAD_MULTIPLY: 106, NUMPAD_SUBTRACT: 109, PAGE_DOWN: 34, PAGE_UP: 33, 
            PERIOD: 190, RIGHT: 39, SHIFT: 16, SPACE: 32, TAB: 9, UP: 38
        },
        
        keyIs: function(k, e) {
            return parseInt(jQuery.keyCode[k.toUpperCase()], 10) == parseInt((typeof(e) == 'number' )? e: e.keyCode, 10);
        },

        // Redirect to a specified url
        redirect: function(url) {
            window.location.href = url;
            return url;
        },

        // Stop event shorthand
        stop: function(e, preventDefault, stopPropagation) {
            if (preventDefault)  { e.preventDefault(); }
            if (stopPropagation) { e.stopPropagation(); }
            return preventDefault && false || true;
        },

        // Returns the basename of a path
        basename: function(path) {
            var t = path.split('/');
            return t[t.length] === '' && s || t.slice(0, t.length).join('/');
        },

        // Returns the filename of a path
        filename: function(path) {
            return path.split('/').pop();
        }, 

        // Returns a formated file size
        filesizeformat: function(bytes, suffixes){
            var b = parseInt(bytes, 10);
            var s = suffixes || ['byte', 'bytes', 'KB', 'MB', 'GB'];
            if (isNaN(b) || b === 0) { return '0 ' + s[0]; }
            if (b == 1)              { return '1 ' + s[0]; }
            if (b < 1024)            { return  b.toFixed(2) + ' ' + s[1]; }
            if (b < 1048576)         { return (b / 1024).toFixed(2) + ' ' + s[2]; }
            if (b < 1073741824)      { return (b / 1048576).toFixed(2) + ' '+ s[3]; }
            else                     { return (b / 1073741824).toFixed(2) + ' '+ s[4]; }
        },

        fileExtension: function(s) {
            var tokens = s.split('.');
            return tokens[tokens.length-1] || false;
        },
        
        // Returns true if an object is a String
        isString: function(o) {
            return typeof(o) == 'string' && true || false;
        },
        
        // Returns true if an object is a RegExp
		isRegExp: function(o) {
			return o && o.constructor.toString().indexOf('RegExp()') != -1 || false;
		},
        
        // Returns true if an object is an array
        // Mark Miller - http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=916
		//isArray: function(o) {
        //    if (!o) { return false; }
        //    return Object.prototype.toString.apply(o.constructor.prototype) === '[object Array]';
		//},

        isObject: function(o) {
            return (typeof(o) == 'object');
        },
        
        // Convert input to currency (two decimal fixed number)
		toCurrency: function(i) {
			i = parseFloat(i, 10).toFixed(2);
			return (i=='NaN') ? '0.00' : i;
		},

        /*-------------------------------------------------------------------- 
         * javascript method: "pxToEm"
         * by:
           Scott Jehl (scott@filamentgroup.com) 
           Maggie Wachs (maggie@filamentgroup.com)
           http://www.filamentgroup.com
         *
         * Copyright (c) 2008 Filament Group
         * Dual licensed under the MIT (filamentgroup.com/examples/mit-license.txt) and GPL (filamentgroup.com/examples/gpl-license.txt) licenses.
         *
         * Description: pxToEm converts a pixel value to ems depending on inherited font size.  
         * Article: http://www.filamentgroup.com/lab/retaining_scalable_interfaces_with_pixel_to_em_conversion/
         * Demo: http://www.filamentgroup.com/examples/pxToEm/	 	
         *							
         * Options:  	 								
                scope: string or jQuery selector for font-size scoping
                reverse: Boolean, true reverses the conversion to em-px
         * Dependencies: jQuery library						  
         * Usage Example: myPixelValue.pxToEm(); or myPixelValue.pxToEm({'scope':'#navigation', reverse: true});
         *
         * Version: 2.1, 18.12.2008
         * Changelog:
         *		08.02.2007 initial Version 1.0
         *		08.01.2008 - fixed font-size calculation for IE
         *		18.12.2008 - removed native object prototyping to stay in jQuery's spirit, jsLinted (Maxime Haineault <haineault@gmail.com>)
        --------------------------------------------------------------------*/

        pxToEm: function(i, settings){
            //set defaults
            settings = jQuery.extend({
                scope: 'body',
                reverse: false
            }, settings);
            
            var pxVal = (i === '') ? 0 : parseFloat(i);
            var scopeVal;
            var getWindowWidth = function(){
                var de = document.documentElement;
                return self.innerWidth || (de && de.clientWidth) || document.body.clientWidth;
            };	
            
            /* When a percentage-based font-size is set on the body, IE returns that percent of the window width as the font-size. 
                For example, if the body font-size is 62.5% and the window width is 1000px, IE will return 625px as the font-size. 	
                When this happens, we calculate the correct body font-size (%) and multiply it by 16 (the standard browser font size) 
                to get an accurate em value. */
                        
            if (settings.scope == 'body' && jQuery.browser.msie && (parseFloat(jQuery('body').css('font-size')) / getWindowWidth()).toFixed(1) > 0.0) {
                var calcFontSize = function(){		
                    return (parseFloat(jQuery('body').css('font-size'))/getWindowWidth()).toFixed(3) * 16;
                };
                scopeVal = calcFontSize();
            }
            else { scopeVal = parseFloat(jQuery(settings.scope).css("font-size")); }
                    
            var result = (settings.reverse === true) ? (pxVal * scopeVal).toFixed(2) + 'px' : (pxVal / scopeVal).toFixed(2) + 'em';
            return result;
        }
	});

	jQuery.extend(jQuery.fn, { 
        // Select a text range in a textarea
        selectRange: function(start, end){
            // use only the first one since only one input can be focused
            if (jQuery(this).get(0).createTextRange) {
                var range = jQuery(this).get(0).createTextRange();
                range.collapse(true);
                range.moveEnd('character',   end);
                range.moveStart('character', start);
                range.select();
            }
            else if (jQuery(this).get(0).setSelectionRange) {
                jQuery(this).bind('focus', function(e){
                    e.preventDefault();
                }).get(0).setSelectionRange(start, end);
            }
            return jQuery(this);
        },

        /*-------------------------------------------------------------------- 
         * JQuery Plugin: "EqualHeights"
         * by:	Scott Jehl, Todd Parker, Maggie Costello Wachs (http://www.filamentgroup.com)
         *
         * Copyright (c) 2008 Filament Group
         * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
         *
         * Description: Compares the heights or widths of the top-level children of a provided element 
                and sets their min-height to the tallest height (or width to widest width). Sets in em units 
                by default if pxToEm() method is available.
         * Dependencies: jQuery library, pxToEm method	(article: 
                http://www.filamentgroup.com/lab/retaining_scalable_interfaces_with_pixel_to_em_conversion/)							  
         * Usage Example: jQuery(element).equalHeights();
                Optional: to set min-height in px, pass a true argument: jQuery(element).equalHeights(true);
         * Version: 2.1, 18.12.2008
         *
         * Note: Changed pxToEm call to call jQuery.pxToEm instead, jsLinted (Maxime Haineault <haineault@gmail.com>)
        --------------------------------------------------------------------*/

        equalHeights: function(px){
            jQuery(this).each(function(){
                var currentTallest = 0;
                jQuery(this).children().each(function(i){
                    if (jQuery(this).height() > currentTallest) { currentTallest = jQuery(this).height(); }
                });
                if (!px || !jQuery.pxToEm) { currentTallest = jQuery.pxToEm(currentTallest); } //use ems unless px is specified
                // for ie6, set height since min-height isn't supported
                if (jQuery.browser.msie && jQuery.browser.version == 6.0) { jQuery(this).children().css({'height': currentTallest}); }
                jQuery(this).children().css({'min-height': currentTallest}); 
            });
            return this;
        },

        // Copyright (c) 2009 James Padolsey
        // http://james.padolsey.com/javascript/jquery-delay-plugin/
        delay: function(time, callback){
            jQuery.fx.step.delay = function(){};
            return this.animate({delay:1}, time, callback);
        }        
	});
})(jQuery);
/*
  jQuery strings - 0.2
  http://code.google.com/p/jquery-utils/
  
  (c) Maxime Haineault <haineault@gmail.com>
  http://haineault.com   

  MIT License (http://www.opensource.org/licenses/mit-license.php)

  Implementation of Python3K advanced string formatting
  http://www.python.org/dev/peps/pep-3101/

  Documentation: http://code.google.com/p/jquery-utils/wiki/StringFormat
  
*/
(function(jQuery){
    var strings = {
        strConversion: {
            // tries to translate any objects type into string gracefully
            __repr: function(i){
                switch(this.__getType(i)) {
                    case 'array':case 'date':case 'number':
                        return i.toString();
                    case 'object': 
                        var o = [];
                        for (x=0; x<i.length; i++) { o.push(i+': '+ this.__repr(i[x])); }
                        return o.join(', ');
                    case 'string': 
                        return i;
                    default: 
                        return i;
                }
            },
            // like typeof but less vague
            __getType: function(i) {
                if (!i || !i.constructor) { return typeof(i); }
                var match = i.constructor.toString().match(/Array|Number|String|Object|Date/);
                return match && match[0].toLowerCase() || typeof(i);
            },
            //+ Jonas Raoni Soares Silva
            //@ http://jsfromhell.com/string/pad [v1.0]
            __pad: function(str, l, s, t){
                var p = s || ' ';
                var o = str;
                if (l - str.length > 0) {
                    o = new Array(Math.ceil(l / p.length)).join(p).substr(0, t = !t ? l : t == 1 ? 0 : Math.ceil(l / 2)) + str + p.substr(0, l - t);
                }
                return o;
            },
            __getInput: function(arg, args) {
                 var key = arg.getKey();
                switch(this.__getType(args)){
                    case 'object': // Thanks to Jonathan Works for the patch
                        var keys = key.split('.');
                        var obj = args;
                        for(var subkey = 0; subkey < keys.length; subkey++){
                            obj = obj[keys[subkey]];
                        }
                        if (typeof(obj) != 'undefined') {
                            if (strings.strConversion.__getType(obj) == 'array') {
                                return arg.getFormat().match(/\.\*/) && obj[1] || obj;
                            }
                            return obj;
                        }
                        else {
                            // TODO: try by numerical index                    
                        }
                    break;
                    case 'array': 
                        key = parseInt(key, 10);
                        if (arg.getFormat().match(/\.\*/) && typeof args[key+1] != 'undefined') { return args[key+1]; }
                        else if (typeof args[key] != 'undefined') { return args[key]; }
                        else { return key; }
                    break;
                }
                return '{'+key+'}';
            },
            __formatToken: function(token, args) {
                var arg   = new Argument(token, args);
                return strings.strConversion[arg.getFormat().slice(-1)](this.__getInput(arg, args), arg);
            },

            // Signed integer decimal.
            d: function(input, arg){
                var o = parseInt(input, 10); // enforce base 10
                var p = arg.getPaddingLength();
                if (p) { return this.__pad(o.toString(), p, arg.getPaddingString(), 0); }
                else   { return o; }
            },
            // Signed integer decimal.
            i: function(input, args){ 
                return this.d(input, args);
            },
            // Unsigned octal
            o: function(input, arg){ 
                var o = input.toString(8);
                if (arg.isAlternate()) { o = this.__pad(o, o.length+1, '0', 0); }
                return this.__pad(o, arg.getPaddingLength(), arg.getPaddingString(), 0);
            },
            // Unsigned decimal
            u: function(input, args) {
                return Math.abs(this.d(input, args));
            },
            // Unsigned hexadecimal (lowercase)
            x: function(input, arg){
                var o = parseInt(input, 10).toString(16);
                o = this.__pad(o, arg.getPaddingLength(), arg.getPaddingString(),0);
                return arg.isAlternate() ? '0x'+o : o;
            },
            // Unsigned hexadecimal (uppercase)
            X: function(input, arg){
                return this.x(input, arg).toUpperCase();
            },
            // Floating point exponential format (lowercase)
            e: function(input, arg){
                return parseFloat(input, 10).toExponential(arg.getPrecision());
            },
            // Floating point exponential format (uppercase)
            E: function(input, arg){
                return this.e(input, arg).toUpperCase();
            },
            // Floating point decimal format
            f: function(input, arg){
                return this.__pad(parseFloat(input, 10).toFixed(arg.getPrecision()), arg.getPaddingLength(), arg.getPaddingString(),0);
            },
            // Floating point decimal format (alias)
            F: function(input, args){
                return this.f(input, args);
            },
            // Floating point format. Uses exponential format if exponent is greater than -4 or less than precision, decimal format otherwise
            g: function(input, arg){
                var o = parseFloat(input, 10);
                return (o.toString().length > 6) ? Math.round(o.toExponential(arg.getPrecision())): o;
            },
            // Floating point format. Uses exponential format if exponent is greater than -4 or less than precision, decimal format otherwise
            G: function(input, args){
                return this.g(input, args);
            },
            // Single character (accepts integer or single character string). 	
            c: function(input, args) {
                var match = input.match(/\w|\d/);
                return match && match[0] || '';
            },
            // String (converts any JavaScript object to anotated format)
            r: function(input, args) {
                return this.__repr(input);
            },
            // String (converts any JavaScript object using object.toString())
            s: function(input, args) {
                return input.toString && input.toString() || ''+input;
            }
        },

        format: function(str, args) {
            var end    = 0;
            var start  = 0;
            var match  = false;
            var buffer = [];
            var token  = '';
            var tmp    = (str||'').split('');
            for(start=0; start < tmp.length; start++) {
                if (tmp[start] == '{' && tmp[start+1] !='{') {
                    end   = str.indexOf('}', start);
                    token = tmp.slice(start+1, end).join('');
                    buffer.push(strings.strConversion.__formatToken(token, (typeof arguments[1] != 'object')? arguments2Array(arguments, 2): args || []));
                }
                else if (start > end || buffer.length < 1) { buffer.push(tmp[start]); }
            }
            return (buffer.length > 1)? buffer.join(''): buffer[0];
        },

        calc: function(str, args) {
            return eval(format(str, args));
        },

        repeat: function(s, n) { 
            return new Array(n+1).join(s); 
        },

        UTF8encode: function(s) { 
            return unescape(encodeURIComponent(s)); 
        },

        UTF8decode: function(s) { 
            return decodeURIComponent(escape(s)); 
        },

        tpl: function() {
            var out = '', render = true;
            // Set
            // jQuery.tpl('ui.test', ['<span>', helloWorld ,'</span>']);          
            if (arguments.length == 2 && jQuery.isArray(arguments[1])) {
                this[arguments[0]] = arguments[1].join('');
                return jQuery;
            }
            // jQuery.tpl('ui.test', '<span>hello world</span>');
            if (arguments.length == 2 && jQuery.isString(arguments[1])) {
                this[arguments[0]] = arguments[1];
                return jQuery;
            }
            // Call
            // jQuery.tpl('ui.test');
            if (arguments.length == 1) {
                return jQuery(this[arguments[0]]);
            }
            // jQuery.tpl('ui.test', false);
            if (arguments.length == 2 && arguments[1] == false) {
                return this[arguments[0]];
            }
            // jQuery.tpl('ui.test', {value:blah});
            if (arguments.length == 2 && jQuery.isObject(arguments[1])) {
                return jQuery(jQuery.format(this[arguments[0]], arguments[1]));
            }
            // jQuery.tpl('ui.test', {value:blah}, false);
            if (arguments.length == 3 && jQuery.isObject(arguments[1])) {
                return (arguments[2] == true) 
                    ? jQuery.format(this[arguments[0]], arguments[1])
                    : jQuery(jQuery.format(this[arguments[0]], arguments[1]));
            }
        }
};

    var Argument = function(arg, args) {
        this.__arg  = arg;
        this.__args = args;
        this.__max_precision = parseFloat('1.'+ (new Array(32)).join('1'), 10).toString().length-3;
        this.__def_precision = 6;
        this.getString = function(){
            return this.__arg;
        };
        this.getKey = function(){
            return this.__arg.split(':')[0];
        };
        this.getFormat = function(){
            var match = this.getString().split(':');
            return (match && match[1])? match[1]: 's';
        };
        this.getPrecision = function(){
            var match = this.getFormat().match(/\.(\d+|\*)/g);
            if (!match) { return this.__def_precision; }
            else {
                match = match[0].slice(1);
                if (match != '*') { return parseInt(match, 10); }
                else if(strings.strConversion.__getType(this.__args) == 'array') {
                    return this.__args[1] && this.__args[0] || this.__def_precision;
                }
                else if(strings.strConversion.__getType(this.__args) == 'object') {
                    return this.__args[this.getKey()] && this.__args[this.getKey()][0] || this.__def_precision;
                }
                else { return this.__def_precision; }
            }
        };
        this.getPaddingLength = function(){
            var match = false;
            if (this.isAlternate()) {
                match = this.getString().match(/0?#0?(\d+)/);
                if (match && match[1]) { return parseInt(match[1], 10); }
            }
            match = this.getString().match(/(0|\.)(\d+|\*)/g);
            return match && parseInt(match[0].slice(1), 10) || 0;
        };
        this.getPaddingString = function(){
            var o = '';
            if (this.isAlternate()) { o = ' '; }
            // 0 take precedence on alternate format
            if (this.getFormat().match(/#0|0#|^0|\.\d+/)) { o = '0'; }
            return o;
        };
        this.getFlags = function(){
            var match = this.getString().matc(/^(0|\#|\-|\+|\s)+/);
            return match && match[0].split('') || [];
        };
        this.isAlternate = function() {
            return !!this.getFormat().match(/^0?#/);
        };
    };

    var arguments2Array = function(args, shift) {
        var o = [];
        for (l=args.length, x=(shift || 0)-1; x<l;x++) { o.push(args[x]); }
        return o;
    };

    jQuery.extend(strings);
})(jQuery);





////////////////////////////////////////////////////////////////////////////////
// Custom Plugins
////////////////////////////////////////////////////////////////////////////////

//
// From: jquery.profilemenu.js
//
/**
 * Add a profile menu hover to a profile.
 */
(function($) {

	var selector = 'profile-hover';
	var menu_open = false;
	var in_menu = false;

	// init the plugin
	$(document).ready(function(){
		$('body').append(
			'<div id="' + selector + '">' + 
				'<div class="dvSpeechBubbleContainer">' + 
				'<ul class="speechBubble">' +
					'<li><a id="im_link">Send Instant Message</a></li>' +
					'<li><a id="vp_link">View Profile</a></li>' +
					'<li><a id="mp_link">Meet in Person</a></li>' +
					'<li><a id="fl_link">Add to Friend List</a></li>' +
					'<li><a id="em_link">Send Email</a></li>' +
				'</ul>' +
				'<div class="speechArrow"></div>' +
			'</div>'
		);

		$('#' + selector).hide();
	});

	$.fn.profilemenu = function(options){
		// options
		var opts = $.extend({}, $.fn.profilemenu.defaults, options);

		return this.each(function(){

			$(this).mouseenter(function(){
				in_menu = true;
				show_hover($(this).position().left, $(this).position().top);

				var links = ['im_link','vp_link','mp_link','fl_link','em_link'];
				var num_links = links.length;
				for (i = 0; i < num_links; i++)
				{
					// if the link exists
					if ($(this).attr(links[i]))
					{
						// im link should have an onclick handler
						if (links[i] == 'im_link')
						{
							$('#' + links[i])
								.attr('href', '#' + $(this).attr(links[i])) // this is to make the <a> have a hover event
								.click(function(e){
									instantMessageAllowLaunch($(this).attr('href').slice(1));
									return false;
								})
								.show();
						}
						else
						{
							$('#' + links[i])
								.attr('href', $(this).attr(links[i]))
								.show();
						}
					}
					else
					{
						$('#' + links[i]).hide();
					}
				}
			});

			$(this).mouseleave(function(){
				in_menu = false;
			});
			
			$(this).click(function(){
				var link = $(this).attr('vp_link');
				if (link) {
					document.location.href = link;
				}
			});
		});

		function show_hover(x, y)
		{
			var offset_x = opts.offset_x;
			var offset_y = opts.offset_y;

			var new_x = x + offset_x;
			var new_y = y + offset_y;

			// prevent the menu from going above the screen
			if (new_y < 0)
			{
				new_y = 0;
			}

			$('#' + selector)
				.css('position', 'absolute')
				.css('left', new_x)
				.css('top', new_y)
				.css('display', 'block')
				.stop()
				.animate({opacity: opts.fade_to}, opts.delay)
				//.fadeIn('fast')

				.mouseenter(function(){
					in_menu = true;
					$(this).stop().animate({opacity: opts.fade_to}, opts.delay);
				})
				.mouseleave(function(){
					in_menu = false;
				});

			if (!menu_open)
			{
				$().mousemove(hide_hover);
			}
			menu_open = true;
		}

		function hide_hover()
		{
			if (!in_menu)
			{
				menu_open = false;
				$('#' + selector)
					//.fadeOut('fast');
					.stop()
					.animate({opacity: 0}, opts.delay, function(){
						$(this).css('display','none')
					});
				$().unbind('mousemmove', hide_hover);
			}
		}

	}

	$.fn.profilemenu.defaults = { delay: 200, fade_to: 0.9, offset_x: 125, offset_y: 35 };

}) (jQuery);


//
// From: jquery.resizeimages.js
//
/**
 * Resize images on window load to fit to resizeheight/resizewidth.
 *
 * Just add the .resize class to an image and attributes with the size to resize to.
 * <img src="" class="resize" resizeheight="123" resizewidth="234" />
 */
(function($) {

	$(window).load(function() {
		$('.resize').resizeimages();
	});

	$.fn.resizeimages = function(options) {
		// options
		var opts = $.extend({}, $.fn.resizeimages.defaults, options);

		return this.each(function() {

			if ($(this).attr('complete'))
			{
				resizeImage($(this));
			}
			else
			{
				$(this).load(function(){
					resizeImage($(this));
				});
			}

			function resizeImage(obj)
			{
				// if resizeheight and resizewidth isn't specified, do not resize
				if (!(parseInt(obj.attr('resizeheight')) && parseInt(obj.attr('resizewidth'))))
				{
					return;
				}

				var maxHeight = parseInt(obj.attr('resizeheight'));
				var maxWidth = parseInt(obj.attr('resizewidth'));

				var h = obj.height();
				var w = obj.width();

				if (h != 0 || w != 0) {
					// resize only if the image has already size, i.e. is visible
	
					var hDiff = h / maxHeight;
					var wDiff = w / maxWidth;
	
					if (hDiff > 1 && wDiff > 1)
					{
						if (hDiff > wDiff) 
						{
							obj.height(maxHeight)
							obj.css("width", "")
						} else {
							obj.width(maxWidth); 
							obj.css("height", "")
						}
					}
					else if (hDiff > 1 || wDiff > 1)
					{
						if (hDiff > 1)
						{
							obj.height(maxHeight);
							obj.css("width", "")
						} else {
							obj.width(maxWidth);
							obj.css("height", "")
						}
					}
	
					if (opts.fade)
					{
						obj.fadeIn('slow');
					}
					else
					{
						obj.show();
					}
					obj.removeClass('resize');
				}
			}
		});
	}

	$.fn.resizeimages.defaults = { fade: false };
}) (jQuery);



														/*
Script created by designFORGE { identity foundry }
jQuery transparency plugin
														*/
(function($){$.fn.transBGdraw = function(options){defaults ={'background':'#000000','opacity':'0.37','-moz-opacity':'0.37','filter':'alpha(opacity=37)','position':'absolute','z-index':'-1','height':$(this).height(),'width':$(this).width(),'padding-top':$(this).css('padding-top'),'padding-right':$(this).css('padding-right'),'padding-bottom':$(this).css('padding-bottom'),'padding-left':$(this).css('padding-left'),'border-top-style':$(this).css('border-top-style'),'border-top-width':$(this).css('border-top-width'),'border-top-color':$(this).css('background-color'),'border-right-style':$(this).css('border-right-style'),'border-right-width':$(this).css('border-right-width'),'border-right-color':$(this).css('background-color'),'border-bottom-style':$(this).css('border-bottom-style'),'border-bottom-width':$(this).css('border-bottom-width'),'border-bottom-color':$(this).css('background-color'),'border-left-style':$(this).css('border-left-style'),'border-left-width':$(this).css('border-left-width'),'border-left-color':$(this).css('background-color'),'margin-top':$(this).css('margin-top'),'margin-right':$(this).css('margin-right'),'margin-bottom':$(this).css('margin-bottom'),'margin-left':$(this).css('margin-left'),'top':$(this).position().top,'left':$(this).position().left};var options = $.extend(defaults, options);$(this).addClass('transBG');$('<div id="'+$(this).attr('id')+'TransBG"></div>').insertBefore(this);$('#'+$(this).attr('id')+'TransBG').css(options);};})(jQuery);
(function($){$.fn.transBGredraw = function(options){defaults ={'background':'#000000','opacity':'0.37','-moz-opacity':'0.37','filter':'alpha(opacity=37)','position':'absolute','z-index':'-1','height':$(this).height(),'width':$(this).width(),'padding-top':$(this).css('padding-top'),'padding-right':$(this).css('padding-right'),'padding-bottom':$(this).css('padding-bottom'),'padding-left':$(this).css('padding-left'),'border-top-style':$(this).css('border-top-style'),'border-top-width':$(this).css('border-top-width'),'border-top-color':$(this).css('background-color'),'border-right-style':$(this).css('border-right-style'),'border-right-width':$(this).css('border-right-width'),'border-right-color':$(this).css('background-color'),'border-bottom-style':$(this).css('border-bottom-style'),'border-bottom-width':$(this).css('border-bottom-width'),'border-bottom-color':$(this).css('background-color'),'border-left-style':$(this).css('border-left-style'),'border-left-width':$(this).css('border-left-width'),'border-left-color':$(this).css('background-color'),'margin-top':$(this).css('margin-top'),'margin-right':$(this).css('margin-right'),'margin-bottom':$(this).css('margin-bottom'),'margin-left':$(this).css('margin-left'),'top':$(this).position().top,'left':$(this).position().left};var options = $.extend(defaults, options);$('#'+$(this).attr('id')+'TransBG').css(options);};})(jQuery);


/*
 * jQuery Plugin: DivCorners
 * http://www.roydukkey.com/divcorners
 *
 * Copyright (c) 2009 Rory Dueck
 *
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Date: 2009-09-01 (Tue, 01 Sept 2009)
 * Version: 1.5.1
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(k($){D f={1l:k(s,e){D o=$.1m({W:"/1n/",E:".1o",6:10,4:0,I:"J",X:"",18:""},s);o.e=$.19(o.6)?o.6.1a==2?{t:o.6[0],r:o.6[1],b:o.6[0],l:o.6[1]}:{t:o.6[0],r:o.6[1],b:o.6[2],l:o.6[3]}:{t:o.6,r:o.6,b:o.6,l:o.6};o.r=$.19(o.4)?o.4.1a==2?{t:o.4[0]>o.e.t?o.4[0]-o.e.t:0,r:o.4[1]>o.e.r?o.4[1]-o.e.r:0,b:o.4[0]>o.e.b?o.4[0]-o.e.b:0,l:o.4[1]>o.e.l?o.4[1]-o.e.l:0}:{t:o.4[0]>o.e.t?o.4[0]-o.e.t:0,r:o.4[1]>o.e.r?o.4[1]-o.e.r:0,b:o.4[2]>o.e.b?o.4[2]-o.e.b:0,l:o.4[3]>o.e.l?o.4[3]-o.e.l:0}:{t:o.4>o.e.t?o.4-o.e.t:0,r:o.4>o.e.r?o.4-o.e.r:0,b:o.4>o.e.b?o.4-o.e.b:0,l:o.4>o.e.l?o.4-o.e.l:0};o.x=o.18.F(/\\s/g,"").1p(",");Y m.G(k(){D g=$(m),u=g.h(">.1q"),x,a,v,y,b,c;g.1r("A").5({"8":g.8(),"9":g.9()});u.5({"8":u.8(),"9":u.9()});j(o.X!="")g.h(o.X).G(k(){$(m).1s(k(){$(m).K(".A").H("r")})});1b(x 1c a=[["t","L"],["r","w"],["b","Z"],["l","z"]]){v=g.1d(\'<M 1e="11 N\'+a[x][1]+\'">\'+($.O(a[x][1],o.x)==-1?\'<12 P="\'+o.W+a[x][1]+o.E+\'" />\':"")+"</M>").h(">.N"+a[x][1]);j(x!=1&&x!=3){o.I=="J"?v.5("B-z",o.e.l+o.r.l).9(g.Q()-(o.r.l+o.e.l+o.r.r+o.e.r)):v.5(a[x][1],-q("o.e."+a[x][0])).5("B-z",o.r.l).9(g.Q()-(o.r.l+o.r.r));v.8(q("o.e."+a[x][0])).5("13","14");1b(y 1c b=[["l","z"],["r","w"]]){c=g.1d(\'<M 1e="11 N\'+a[x][1]+"-"+b[y][1]+\'">\'+($.O(a[x][1]+"-"+b[y][1],o.x)==-1?\'<12 P="\'+o.W+a[x][1]+"-"+b[y][1]+o.E+\'" />\':"")+"</M>").h(">.N"+a[x][1]+"-"+b[y][1]);j(o.I!="J")c.5(a[x][1],-q("o.e."+a[x][0])).5(b[y][1],-q("o.e."+b[y][0]));c.8(q("o.e."+a[x][0])+q("o.r."+a[x][0])).9(q("o.e."+b[y][0])+q("o.r."+b[y][0])).5("13","14");j($.O(a[x][1]+"-"+b[y][1],o.x)==-1)R(c,o.E)}}1t{o.I=="J"?v.5("B-L",o.e.t+o.r.t).8(g.S()-(o.r.t+o.e.t+o.r.b+o.e.b)):v.5(a[x][1],-q("o.e."+a[x][0])).5("B-L",o.r.t).8(g.S()-(o.r.t+o.r.b));v.9(q("o.e."+a[x][0])).5("13","14")}j($.O(a[x][1],o.x)==-1)R(v,o.E)}15(g);j(e!=16)g.K(".A").H("r")})},H:k(e){Y m.G(k(){D g=$(m),c=g.h(">.T-z"),d=g.h(">.T-w");j(g.1u("A")){g.5("1f","0");j(e=="r")g.5({"8":"","9":""});g.h(">.T,>.C").9(g.Q()-(c.9()+U(c.5("z").F("V"))+d.9()+U(d.5("w").F("V"))));g.h(">.1v,>.1g").8(g.S()-(c.8()+U(c.5("L").F("V"))+(d=g.h(">.C-z")).8()+U(d.5("Z").F("V"))));15(g);j(e=="r")g.5({"8":g.8(),"9":g.9()});g.5("1f","1");j(e!=16)g.K(".A").H("r")}})},1w:k(e){Y m.G(k(){$(m).1x("A").h(">.11").1y();j(e!=16)$(m).K(".A").H("r")})}};$.G(f,k(i){$.1z[i]=m});k R(p,n){j($.17.1h&&n==".R"){D i=(p=$(p)).h("12");p.5("1i","1A:1B.1C.1D(P=\'"+i.1E("P")+"\',1F=\'1G\')");i.5("1i","1H(1I=0)")}}k 15(c){j($.17.1J<7.0&&$.17.1h){1K(c){h(">.T-w,>.1g,>.C-w").5("B-w",Q()%2!=0?"-1j":"1k");h(">.C-z,>.C,>.C-w").5("B-Z",S()%2!=0?"-1j":"1k")}}}})(1L);',62,110,'||||radius|css|expand||height|width||||||||find||if|function||this||||eval||||||right|||left|dCorner|margin|dcbottom|var|fileType|replace|each|dcResize|position|inside|parents|top|div|dc|inArray|src|innerWidth|png|innerHeight|dctop|parseInt|px|imgPrefix|resize|return|bottom||dcItem|img|display|block|widthFix|false|browser|exclude|isArray|length|for|in|append|class|zoom|dcright|msie|filter|1px|0px|dcCreate|extend|images|gif|split|dcContent|addClass|load|else|hasClass|dcleft|dcClear|removeClass|remove|fn|progid|DXImageTransform|Microsoft|AlphaImageLoader|attr|sizingMethod|scale|alpha|opacity|version|with|jQuery'.split('|'),0,{}))
