Overview
Settings
| UserAgent | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 |
| Referer | |
| Adobe Reader | 8.0 |
| Java | 1.6.0_26 |
Intrusion Detection Systems
| Suricata /w Emerging Threats Pro | No alerts detected |
| Snort /w Sourcefire VRT | No alerts detected |
Recent reports on same IP/ASN/Domain
Last 6 reports on ASN: AS27467 XIOLINK, LLC
| Date | Alerts / IDS | URL | IP |
|---|---|---|---|
| 2013-02-12 19:59:04 | 0 / 0 | http://target.allegiancetech.com/surveys/YDBG6C/ | |
| 2013-02-07 00:02:44 | 0 / 1 | http://bitbucket.org/jlargman/confluence-ssl-plugin/downloads/sslplugin-1.0.jar | |
| 2013-02-06 14:52:31 | 0 / 0 | http://atlassian.com | |
| 2013-02-06 14:48:11 | 0 / 0 | http://downloads.atlassian.com | |
| 2013-02-04 23:31:56 | 0 / 0 | http://local.nationalvanlines.com | |
| 2013-01-30 21:39:11 | 0 / 0 | http://blogger.com.thephysicscorner.com/bad.ph |
JavaScript
Executed Scripts (13)
Executed Evals (8)
#1 JavaScript::Eval (size: 14648, repeated: 1)(function(a) {
var o, w, z, h, H, k, B, C, D, r = 0,
e = {},
s = [],
p = 0,
c = {},
l = [],
I = null,
u = new Image(),
K = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,
W = /[^\.]\.(swf)\s*$/i,
L, M = 1,
m, n, j = false,
v = 20,
A = a.extend(a('<div/>')[0], {
prop: 0
}),
x = 0,
T = !a.support.opacity && !window.XMLHttpRequest,
N = function() {
w.hide();
u.onerror = u.onload = null;
if (I) {
I.abort()
}
o.empty()
},
U = function() {
a.lightbox('<p id="lightbox_error">The requested content cannot be loaded.<br />Please try again later.</p>', {
'scrolling': 'no',
'padding': 20,
'transitionIn': 'none',
'transitionOut': 'none'
})
},
O = function() {
return [a(window).width(), a(window).height(), a(document).scrollLeft(), a(document).scrollTop()]
},
X = function() {
var b = O(),
d = {},
f = c.margin,
g = c.autoScale,
i = (v + f) * 2,
q = (v + f) * 2,
t = (c.padding * 2),
y;
if (c.width.toString().indexOf('%') > -1) {
d.width = ((b[0] * parseFloat(c.width)) / 100) - (v * 2);
g = false
} else {
d.width = c.width + t
}
if (c.height.toString().indexOf('%') > -1) {
d.height = ((b[1] * parseFloat(c.height)) / 100) - (v * 2);
g = false
} else {
d.height = c.height + t
}
if (g && (d.width > (b[0] - i) || d.height > (b[1] - q))) {
if (e.type == 'image' || e.type == 'swf') {
i += t;
q += t;
y = Math.min(Math.min(b[0] - i, c.width) / c.width, Math.min(b[1] - q, c.height) / c.height);
d.width = Math.round(y * (d.width - t)) + t;
d.height = Math.round(y * (d.height - t)) + t
} else {
d.width = Math.min(d.width, (b[0] - i));
d.height = Math.min(d.height, (b[1] - q))
}
}
d.top = b[3] + ((b[1] - (d.height + (v * 2))) * 0.5);
d.left = b[2] + ((b[0] - (d.width + (v * 2))) * 0.5);
if (c.autoScale === false) {
d.top = Math.max(b[3] + f, d.top);
d.left = Math.max(b[2] + f, d.left)
}
return d
},
Y = function(b) {
if (b && b.length) {
switch (c.titlePosition) {
case 'inside':
return b;
case 'over':
return '<span id="lightbox-title-over">' + b + '</span>';
default:
return '<span id="lightbox-title-wrap"><span id="lightbox-title-left"></span><span id="lightbox-title-main">' + b + '</span><span id="lightbox-title-right"></span></span>'
}
}
return false
},
Z = function() {
var b = c.title,
d = n.width - (c.padding * 2),
f = 'lightbox-title-' + c.titlePosition;
a('#lightbox-title').remove();
x = 0;
if (c.titleShow === false) {
return
}
b = a.isFunction(c.titleFormat) ? c.titleFormat(b, l, p, c) : Y(b);
if (!b || b === '') {
return
}
a('<div id="lightbox-title" class="' + f + '" />').css({
'width': d,
'paddingLeft': c.padding,
'paddingRight': c.padding
}).html(b).appendTo('body');
switch (c.titlePosition) {
case 'inside':
x = a("#lightbox-title").outerHeight(true) - c.padding;
n.height += x;
break;
case 'over':
a('#lightbox-title').css('bottom', c.padding);
break;
default:
a('#lightbox-title').css('bottom', a("#lightbox-title").outerHeight(true) * -1);
break
}
a('#lightbox-title').appendTo(H).hide()
},
ba = function() {
a(document).unbind('keydown.fb').bind('keydown.fb', function(b) {
if (b.keyCode == 27 && c.enableEscapeButton) {
b.preventDefault();
a.lightbox.close()
} else if (b.keyCode == 37) {
b.preventDefault();
a.lightbox.prev()
} else if (b.keyCode == 39) {
b.preventDefault();
a.lightbox.next()
}
});
if (a.fn.mousewheel) {
h.unbind('mousewheel.fb');
if (l.length > 1) {
h.bind('mousewheel.fb', function(b, d) {
b.preventDefault();
if (j || d === 0) {
return
}
if (d > 0) {
a.lightbox.prev()
} else {
a.lightbox.next()
}
})
}
}
if (!c.showNavArrows) {
return
}
if ((c.cyclic && l.length > 1) || p !== 0) {
C.show()
}
if ((c.cyclic && l.length > 1) || p != (l.length - 1)) {
D.show()
}
},
bb = function() {
var b, d;
if ((l.length - 1) > p) {
b = l[p + 1].href;
if (typeof b !== 'undefined' && b.match(K)) {
d = new Image();
d.src = b
}
}
if (p > 0) {
b = l[p - 1].href;
if (typeof b !== 'undefined' && b.match(K)) {
d = new Image();
d.src = b
}
}
},
P = function() {
k.css('overflow', (c.scrolling == 'auto' ? (c.type == 'image' || c.type == 'iframe' || c.type == 'swf' ? 'hidden' : 'auto') : (c.scrolling == 'yes' ? 'auto' : 'visible')));
if (!a.support.opacity) {
k.get(0).style.removeAttribute('filter');
h.get(0).style.removeAttribute('filter')
}
a('#lightbox-title').show();
if (c.hideOnContentClick) {
k.one('click', a.lightbox.close)
}
if (c.hideOnOverlayClick) {
z.one('click', a.lightbox.close)
}
if (c.showCloseButton) {
B.show()
}
ba();
a(window).bind("resize.fb", a.lightbox.center);
if (c.centerOnScroll) {
a(window).bind("scroll.fb", a.lightbox.center)
} else {
a(window).unbind("scroll.fb")
}
if (a.isFunction(c.onComplete)) {
c.onComplete(l, p, c)
}
j = false;
bb()
},
Q = function(b) {
var d = Math.round(m.width + (n.width - m.width) * b),
f = Math.round(m.height + (n.height - m.height) * b),
g = Math.round(m.top + (n.top - m.top) * b),
i = Math.round(m.left + (n.left - m.left) * b);
h.css({
'width': d + 'px',
'height': f + 'px',
'top': g + 'px',
'left': i + 'px'
});
d = Math.max(d - c.padding * 2, 0);
f = Math.max(f - (c.padding * 2 + (x * b)), 0);
k.css({
'width': d + 'px',
'height': f + 'px'
});
if (typeof n.opacity !== 'undefined') {
h.css('opacity', (b < 0.5 ? 0.5 : b))
}
},
bc = function(b) {
var d = b.offset();
d.top += parseFloat(b.css('paddingTop')) || 0;
d.left += parseFloat(b.css('paddingLeft')) || 0;
d.top += parseFloat(b.css('border-top-width')) || 0;
d.left += parseFloat(b.css('border-left-width')) || 0;
d.width = b.width();
d.height = b.height();
return d
},
V = function() {
var b = e.orig ? a(e.orig) : false,
d = {},
f, g;
if (b && b.length) {
f = bc(b);
d = {
width: (f.width + (c.padding * 2)),
height: (f.height + (c.padding * 2)),
top: (f.top - c.padding - v),
left: (f.left - c.padding - v)
}
} else {
g = O();
d = {
width: 1,
height: 1,
top: g[3] + g[1] * 0.5,
left: g[2] + g[0] * 0.5
}
}
return d
},
R = function() {
w.hide();
if (h.is(":visible") && a.isFunction(c.onCleanup)) {
if (c.onCleanup(l, p, c) === false) {
a.event.trigger('lightbox-cancel');
j = false;
return
}
}
l = s;
p = r;
c = e;
k.get(0).scrollTop = 0;
k.get(0).scrollLeft = 0;
if (c.overlayShow) {
if (T) {
a('select:not(#lightbox-tmp select)').filter(function() {
return this.style.visibility !== 'hidden'
}).css({
'visibility': 'hidden'
}).one('lightbox-cleanup', function() {
this.style.visibility = 'inherit'
})
}
z.css({
'background-color': c.overlayColor,
'opacity': c.overlayOpacity
}).unbind().show()
}
n = X();
Z();
if (h.is(":visible")) {
a(B.add(C).add(D)).hide();
var d = h.position(),
f;
m = {
top: d.top,
left: d.left,
width: h.width(),
height: h.height()
};
f = (m.width == n.width && m.height == n.height);
k.fadeOut(c.changeFade, function() {
var b = function() {
k.html(o.contents()).fadeIn(c.changeFade, P)
};
a.event.trigger('lightbox-change');
k.empty().css('overflow', 'hidden');
if (f) {
k.css({
top: c.padding,
left: c.padding,
width: Math.max(n.width - (c.padding * 2), 1),
height: Math.max(n.height - (c.padding * 2) - x, 1)
});
b()
} else {
k.css({
top: c.padding,
left: c.padding,
width: Math.max(m.width - (c.padding * 2), 1),
height: Math.max(m.height - (c.padding * 2), 1)
});
A.prop = 0;
a(A).animate({
prop: 1
}, {
duration: c.changeSpeed,
easing: c.easingChange,
step: Q,
complete: b
})
}
});
return
}
h.css('opacity', 1);
if (c.transitionIn == 'elastic') {
m = V();
k.css({
top: c.padding,
left: c.padding,
width: Math.max(m.width - (c.padding * 2), 1),
height: Math.max(m.height - (c.padding * 2), 1)
}).html(o.contents());
h.css(m).show();
if (c.opacity) {
n.opacity = 0
}
A.prop = 0;
a(A).animate({
prop: 1
}, {
duration: c.speedIn,
easing: c.easingIn,
step: Q,
complete: P
})
} else {
k.css({
top: c.padding,
left: c.padding,
width: Math.max(n.width - (c.padding * 2), 1),
height: Math.max(n.height - (c.padding * 2) - x, 1)
}).html(o.contents());
h.css(n).fadeIn(c.transitionIn == 'none' ? 0 : c.speedIn, P)
}
},
J = function() {
o.width(e.width);
o.height(e.height);
if (e.width == 'auto') {
e.width = o.width()
}
if (e.height == 'auto') {
e.height = o.height()
}
R()
},
bd = function() {
j = true;
e.width = u.width;
e.height = u.height;
a("<img />").attr({
'id': 'lightbox-img',
'src': u.src,
'alt': e.title
}).appendTo(o);
R()
},
E = function() {
N();
var g = s[r],
i, q, t, y, S, F, G;
e = a.extend({}, a.fn.lightbox.defaults, (typeof a(g).data('lightbox') == 'undefined' ? e : a(g).data('lightbox')));
t = g.title || a(g).title || e.title || '';
if (g.nodeName && !e.orig) {
e.orig = a(g).children("img:first").length ? a(g).children("img:first") : a(g)
}
if (t === '' && e.orig) {
t = e.orig.attr('alt')
}
if (g.nodeName && (/^(?:javascript|#)/i).test(g.href)) {
i = e.href || null
} else {
i = e.href || g.href || null
}
if (e.type) {
q = e.type;
if (!i) {
i = e.content
}
} else if (e.content) {
q = 'html'
} else if (i) {
if (i.match(K)) {
q = 'image'
} else if (i.match(W)) {
q = 'swf'
} else if (a(g).hasClass("iframe")) {
q = 'iframe'
} else if (i.match(/#/)) {
g = i.substr(i.indexOf("#"));
q = a(g).length > 0 ? 'inline' : 'ajax'
} else {
q = 'ajax'
}
} else {
q = 'inline'
}
e.type = q;
e.href = i;
e.title = t;
if (e.autoDimensions && e.type !== 'iframe' && e.type !== 'swf') {
e.width = 'auto';
e.height = 'auto'
}
if (e.modal) {
e.overlayShow = true;
e.hideOnOverlayClick = false;
e.hideOnContentClick = false;
e.enableEscapeButton = false;
e.showCloseButton = false
}
if (a.isFunction(e.onStart)) {
if (e.onStart(s, r, e) === false) {
j = false;
return
}
}
o.css('padding', (v + e.padding + e.margin));
a('.lightbox-inline-tmp').unbind('lightbox-cancel').bind('lightbox-change', function() {
a(this).replaceWith(k.children())
});
switch (q) {
case 'html':
o.html(e.content);
J();
break;
case 'inline':
a('<div class="lightbox-inline-tmp" />').hide().insertBefore(a(g)).bind('lightbox-cleanup', function() {
a(this).replaceWith(k.children())
}).bind('lightbox-cancel', function() {
a(this).replaceWith(o.children())
});
a(g).appendTo(o);
J();
break;
case 'image':
j = false;
a.lightbox.showActivity();
u = new Image();
u.onerror = function() {
U()
};
u.onload = function() {
u.onerror = null;
u.onload = null;
bd()
};
u.src = i;
break;
case 'swf':
y = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + e.width + '" height="' + e.height + '"><param name="movie" value="' + i + '"></param>';
S = '';
a.each(e.swf, function(b, d) {
y += '<param name="' + b + '" value="' + d + '"></param>';
S += ' ' + b + '="' + d + '"'
});
y += '<embed src="' + i + '" type="application/x-shockwave-flash" width="' + e.width + '" height="' + e.height + '"' + S + '></embed></object>';
o.html(y);
J();
break;
case 'ajax':
F = i.split('#', 2);
G = e.ajax.data || {};
if (F.length > 1) {
i = F[0];
if (typeof G == "string") {
G += '&selector=' + F[1]
} else {
G.selector = F[1]
}
}
j = false;
a.lightbox.showActivity();
I = a.ajax(a.extend(e.ajax, {
url: i,
data: G,
error: U,
success: function(b, d, f) {
if (I.status == 200) {
o.html(b);
J()
}
}
}));
break;
case 'iframe':
a('<iframe id="lightbox-frame" name="lightbox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" scrolling="' + e.scrolling + '" src="' + e.href + '"></iframe>').appendTo(o);
R();
break
}
},
be = function() {
if (!w.is(':visible')) {
clearInterval(L);
return
}
a('div', w).css('top', (M * -40) + 'px');
M = (M + 1) % 12
},
bf = function() {
if (a("#lightbox-wrap").length) {
return
}
a('body').append(o = a('<div id="lightbox-tmp"></div>'), w = a('<div id="lightbox-loading"><div></div></div>'), z = a('<div id="lightbox-overlay"></div>'), h = a('<div id="lightbox-wrap"></div>'));
if (!a.support.opacity) {
h.addClass('lightbox-ie');
w.addClass('lightbox-ie')
}
H = a('<div id="lightbox-outer"></div>').append('<div class="lbox-bg" id="lbox-bg-n"></div><div class="lbox-bg" id="lbox-bg-ne"></div><div class="lbox-bg" id="lbox-bg-e"></div><div class="lbox-bg" id="lbox-bg-se"></div><div class="lbox-bg" id="lbox-bg-s"></div><div class="lbox-bg" id="lbox-bg-sw"></div><div class="lbox-bg" id="lbox-bg-w"></div><div class="lbox-bg" id="lbox-bg-nw"></div>').appendTo(h);
H.append(k = a('<div id="lightbox-inner"></div>'), B = a('<a id="lightbox-close"></a>'), C = a('<a href="javascript:;" id="lightbox-left"><span class="lbox-ico" id="lightbox-left-ico"></span></a>'), D = a('<a href="javascript:;" id="lightbox-right"><span class="lbox-ico" id="lightbox-right-ico"></span></a>'));
B.click(a.lightbox.close);
w.click(a.lightbox.cancel);
C.click(function(b) {
b.preventDefault();
a.lightbox.prev()
});
D.click(function(b) {
b.preventDefault();
a.lightbox.next()
});
if (T) {
z.get(0).style.setExpression('height', "document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");
w.get(0).style.setExpression('top', "(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");
H.prepend('<iframe id="lightbox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')
}
};
a.fn.lightbox = function(f) {
a(this).data('lightbox', a.extend({}, f, (a.metadata ? a(this).metadata() : {}))).unbind('click.fb').bind('click.fb', function(b) {
b.preventDefault();
if (j) {
return
}
j = true;
a(this).blur();
s = [];
r = 0;
var d = a(this).attr('rel') || '';
if (!d || d == '' || d === 'nofollow') {
s.push(this)
} else {
s = a("a[rel=" + d + "], area[rel=" + d + "]");
r = s.index(this)
}
E();
return false
});
return this
};
a.lightbox = function(b) {
if (j) {
return
}
j = true;
var d = typeof arguments[1] !== 'undefined' ? arguments[1] : {};
s = [];
r = d.index || 0;
if (a.isArray(b)) {
for (var f = 0, g = b.length; f < g; f++) {
if (typeof b[f] == 'object') {
a(b[f]).data('lightbox', a.extend({}, d, b[f]))
} else {
b[f] = a({}).data('lightbox', a.extend({
content: b[f]
}, d))
}
}
s = jQuery.merge(s, b)
} else {
if (typeof b == 'object') {
a(b).data('lightbox', a.extend({}, d, b))
} else {
b = a({}).data('lightbox', a.extend({
content: b
}, d))
}
s.push(b)
}
if (r > s.length || r < 0) {
r = 0
}
E()
};
a.lightbox.showActivity = function() {
clearInterval(L);
w.show();
L = setInterval(be, 66)
};
a.lightbox.hideActivity = function() {
w.hide()
};
a.lightbox.next = function() {
return a.lightbox.pos(p + 1)
};
a.lightbox.prev = function() {
return a.lightbox.pos(p - 1)
};
a.lightbox.pos = function(b) {
if (j) {
return
}
b = parseInt(b, 10);
if (b > -1 && l.length > b) {
r = b;
E()
}
if (c.cyclic && l.length > 1 && b < 0) {
r = l.length - 1;
E()
}
if (c.cyclic && l.length > 1 && b >= l.length) {
r = 0;
E()
}
return
};
a.lightbox.cancel = function() {
if (j) {
return
}
j = true;
a.event.trigger('lightbox-cancel');
N();
if (e && a.isFunction(e.onCancel)) {
e.onCancel(s, r, e)
}
j = false
};
a.lightbox.close = function() {
if (j || h.is(':hidden')) {
return
}
j = true;
if (c && a.isFunction(c.onCleanup)) {
if (c.onCleanup(l, p, c) === false) {
j = false;
return
}
}
N();
a(B.add(C).add(D)).hide();
a('#lightbox-title').remove();
h.add(k).add(z).unbind();
a(window).unbind("resize.fb scroll.fb");
a(document).unbind('keydown.fb');
function b() {
z.fadeOut('fast');
h.hide();
a.event.trigger('lightbox-cleanup');
k.empty();
if (a.isFunction(c.onClosed)) {
c.onClosed(l, p, c)
}
l = e = [];
p = r = 0;
c = e = {};
j = false
}
k.css('overflow', 'hidden');
if (c.transitionOut == 'elastic') {
m = V();
var d = h.position();
n = {
top: d.top,
left: d.left,
width: h.width(),
height: h.height()
};
if (c.opacity) {
n.opacity = 1
}
A.prop = 1;
a(A).animate({
prop: 0
}, {
duration: c.speedOut,
easing: c.easingOut,
step: Q,
complete: b
})
} else {
h.fadeOut(c.transitionOut == 'none' ? 0 : c.speedOut, b)
}
};
a.lightbox.resize = function() {
var b, d;
if (j || h.is(':hidden')) {
return
}
j = true;
b = k.wrapInner("<div style='overflow:auto'></div>").children();
d = b.height();
h.css({
height: d + (c.padding * 2) + x
});
k.css({
height: d
});
b.replaceWith(b.children());
a.lightbox.center()
};
a.lightbox.center = function() {
j = true;
var b = O(),
d = c.margin,
f = {};
f.top = b[3] + ((b[1] - ((h.height() - x) + (v * 2))) * 0.5);
f.left = b[2] + ((b[0] - (h.width() + (v * 2))) * 0.5);
f.top = Math.max(b[3] + d, f.top);
f.left = Math.max(b[2] + d, f.left);
h.css(f);
j = false
};
a.fn.lightbox.defaults = {
padding: 10,
margin: 20,
opacity: false,
modal: false,
cyclic: false,
scrolling: 'auto',
width: 560,
height: 340,
autoScale: true,
autoDimensions: true,
centerOnScroll: false,
ajax: {},
swf: {
wmode: 'transparent'
},
hideOnOverlayClick: true,
hideOnContentClick: false,
overlayShow: true,
overlayOpacity: 0.3,
overlayColor: '#666',
titleShow: true,
titlePosition: 'outside',
titleFormat: null,
transitionIn: 'fade',
transitionOut: 'fade',
speedIn: 300,
speedOut: 300,
changeSpeed: 300,
changeFade: 'fast',
easingIn: 'swing',
easingOut: 'swing',
showCloseButton: true,
showNavArrows: true,
enableEscapeButton: true,
onStart: null,
onCancel: null,
onComplete: null,
onCleanup: null,
onClosed: null
};
a(document).ready(function() {
bf()
})
})(jQuery); |
#2 JavaScript::Eval (size: 3904, repeated: 1)(function(b) {
var E = "function",
F = "password",
p = "maxLength",
y = "type",
j = true,
s = false,
G = "watermark",
I, t = G,
n = "watermarkClass",
z = "watermarkFocus",
u = "watermarkSubmit",
v = "watermarkMaxLength",
o = "watermarkPassword",
k = "watermarkText",
H = ":data(" + t + ")",
A = ":text,:password,:search,textarea",
B = ["Page_ClientValidate"],
C = s;
b.extend(b.expr[":"], {
search: function(a) {
return "search" === a.type
},
data: function(a, g, f) {
var d, e = /^((?:[^=!^$*]|[!^$*](?!=))+)(?:([!^$*]?=)(.*))?$/.exec(f[3]);
if (e) {
d = b(a).data(e[1]);
if (d !== I) {
if (e[2]) {
d = "" + d;
switch (e[2]) {
case "=":
return d == e[3];
case "!=":
return d != e[3];
case "^=":
return d.slice(0, e[3].length) == e[3];
case "$=":
return d.slice(-e[3].length) == e[3];
case "*=":
return d.indexOf(e[3]) !== -1
}
}
return j
}
}
return s
}
});
b.watermark = {
version: "3.0.5",
options: {
className: G,
useNative: j
},
hide: function(a) {
b(a).filter(H).each(function() {
b.watermark._0(b(this))
})
},
_0: function(a, g) {
if (a.val() == a.data(k)) {
a.val("");
if (a.data(o)) if (a.attr(y) === "text") {
var f = a.data(o),
d = a.parent();
d[0].removeChild(a[0]);
d[0].appendChild(f[0]);
a = f
}
if (a.data(v)) {
a.attr(p, a.data(v));
a.removeData(v)
}
if (g) {
a.attr("autocomplete", "off");
window.setTimeout(function() {
a.select()
}, 0)
}
}
a.removeClass(a.data(n))
},
show: function(a) {
b(a).filter(H).each(function() {
b.watermark._1(b(this))
})
},
_1: function(a) {
var g = a.val(),
f = a.data(k),
d = a.attr(y);
if ((g.length == 0 || g == f) && !a.data(z)) {
C = j;
if (a.data(o)) if (d === F) {
var e = a.data(o),
l = a.parent();
l[0].removeChild(a[0]);
l[0].appendChild(e[0]);
a = e;
a.attr(p, f.length)
}
if (d === "text" || d === "search") {
var c = a.attr(p);
if (c > 0 && f.length > c) {
a.data(v, c);
a.attr(p, f.length)
}
}
a.addClass(a.data(n));
a.val(f)
} else b.watermark._0(a)
},
hideAll: function() {
if (C) {
b.watermark.hide(A);
C = s
}
},
showAll: function() {
b.watermark.show(A)
}
};
b.fn.watermark = function(q, h) {
var D = "string",
w = typeof q === D,
x;
if (typeof h === "object") {
x = typeof h.className === D;
h = b.extend({}, b.watermark.options, h)
} else if (typeof h === D) {
x = j;
h = b.extend({}, b.watermark.options, {
className: h
})
} else h = b.watermark.options;
if (typeof h.useNative !== E) h.useNative = h.useNative ?
function() {
return j
} : function() {
return s
};
return this.each(function() {
var d = "dragleave",
e = "dragenter",
l = this,
c = b(l);
if (!c.is(A)) return;
if (c.data(t)) {
if (w || x) {
b.watermark._0(c);
w && c.data(k, q);
x && c.data(n, h.className)
}
} else {
if (h.useNative.call(l, c)) if (("" + c.css("-webkit-appearance")).replace("undefined", "") !== "" && c.attr("tagName") !== "TEXTAREA") {
w && c.attr("placeholder", q);
return
}
c.data(k, w ? q : "");
c.data(n, h.className);
c.data(t, 1);
if (c.attr(y) === F) {
var J = c.wrap("<span>").parent(),
i = b(J.html().replace(/type=["']?password["']?/i, 'type="text"'));
i.data(k, c.data(k));
i.data(n, c.data(n));
i.data(t, 1);
i.attr(p, q.length);
i.focus(function() {
b.watermark._0(i, j)
}).bind(e, function() {
b.watermark._0(i)
}).bind("dragend", function() {
window.setTimeout(function() {
i.blur()
}, 1)
});
c.blur(function() {
b.watermark._1(c)
}).bind(d, function() {
b.watermark._1(c)
});
i.data(o, c);
c.data(o, i)
} else c.focus(function() {
c.data(z, 1);
b.watermark._0(c, j)
}).blur(function() {
c.data(z, 0);
b.watermark._1(c)
}).bind(e, function() {
b.watermark._0(c)
}).bind(d, function() {
b.watermark._1(c)
}).bind("dragend", function() {
window.setTimeout(function() {
b.watermark._1(c)
}, 1)
}).bind("drop", function(a) {
var g = a.originalEvent.dataTransfer.getData("Text");
c.val().replace(g, "") === c.data(k) && c.val(g);
c.focus()
});
if (l.form) {
var m = l.form,
r = b(m);
if (!r.data(u)) {
r.submit(b.watermark.hideAll);
if (m.submit) {
r.data(u, m.submit);
m.submit = function(g, f) {
return function() {
var a = f.data(u);
b.watermark.hideAll();
if (a.apply) a.apply(g, Array.prototype.slice.call(arguments));
else a()
}
}(m, r)
} else {
r.data(u, 1);
m.submit = function(a) {
return function() {
b.watermark.hideAll();
delete a.submit;
a.submit()
}
}(m)
}
}
}
}
b.watermark._1(c)
}).end()
};
B.length && b(function() {
for (var a, g, f = B.length - 1; f >= 0; f--) {
a = B[f];
g = window[a];
if (typeof g === E) window[a] = function(a) {
return function() {
b.watermark.hideAll();
return a.apply(null, Array.prototype.slice.call(arguments))
}
}(g)
}
})
})(jQuery); |
#3 JavaScript::Eval (size: 20639, repeated: 1)(function(c) {
c.extend(c.fn, {
validate: function(f) {
if (!this.length) {
f && f.debug && window.console && console.warn("nothing selected, can't validate, returning nothing");
return
}
var g = c.data(this[0], 'validator');
if (g) {
return g
}
g = new c.validator(f, this[0]);
c.data(this[0], 'validator', g);
if (g.settings.onsubmit) {
this.find("input, button").filter(".cancel").click(function() {
g.cancelSubmit = true
});
if (g.settings.submitHandler) {
this.find("input, button").filter(":submit").click(function() {
g.submitButton = this
})
}
this.submit(function(b) {
if (g.settings.debug) b.preventDefault();
function d() {
if (g.settings.submitHandler) {
if (g.submitButton) {
var a = c("<input type='hidden'/>").attr("name", g.submitButton.name).val(g.submitButton.value).appendTo(g.currentForm)
}
g.settings.submitHandler.call(g, g.currentForm);
if (g.submitButton) {
a.remove()
}
return false
}
return true
}
if (g.cancelSubmit) {
g.cancelSubmit = false;
return d()
}
if (g.form()) {
if (g.pendingRequest) {
g.formSubmitted = true;
return false
}
return d()
} else {
g.focusInvalid();
return false
}
})
}
return g
},
valid: function() {
if (c(this[0]).is('form')) {
return this.validate().form()
} else {
var a = true;
var b = c(this[0].form).validate();
this.each(function() {
a &= b.element(this)
});
return a
}
},
removeAttrs: function(d) {
var f = {},
g = this;
c.each(d.split(/\s/), function(a, b) {
f[b] = g.attr(b);
g.removeAttr(b)
});
return f
},
rules: function(d, f) {
var g = this[0];
if (d) {
var h = c.data(g.form, 'validator').settings;
var i = h.rules;
var k = c.validator.staticRules(g);
switch (d) {
case "add":
c.extend(k, c.validator.normalizeRule(f));
i[g.name] = k;
if (f.messages) h.messages[g.name] = c.extend(h.messages[g.name], f.messages);
break;
case "remove":
if (!f) {
delete i[g.name];
return k
}
var l = {};
c.each(f.split(/\s/), function(a, b) {
l[b] = k[b];
delete k[b]
});
return l
}
}
var j = c.validator.normalizeRules(c.extend({}, c.validator.metadataRules(g), c.validator.classRules(g), c.validator.attributeRules(g), c.validator.staticRules(g)), g);
if (j.required) {
var m = j.required;
delete j.required;
j = c.extend({
required: m
}, j)
}
return j
}
});
c.extend(c.expr[":"], {
blank: function(a) {
return !c.trim("" + a.value)
},
filled: function(a) {
return !!c.trim("" + a.value)
},
unchecked: function(a) {
return !a.checked
}
});
c.validator = function(a, b) {
this.settings = c.extend(true, {}, c.validator.defaults, a);
this.currentForm = b;
this.init()
};
c.validator.format = function(d, f) {
if (arguments.length == 1) return function() {
var g = c.makeArray(arguments);
g.unshift(d);
return c.validator.format.apply(this, g)
};
if (arguments.length > 2 && f.constructor != Array) {
f = c.makeArray(arguments).slice(1)
}
if (f.constructor != Array) {
f = [f]
}
c.each(f, function(a, b) {
d = d.replace(new RegExp("\\{" + a + "\\}", "g"), b)
});
return d
};
c.extend(c.validator, {
defaults: {
messages: {},
groups: {},
rules: {},
errorClass: "error",
validClass: "valid",
errorElement: "label",
focusInvalid: true,
errorContainer: c([]),
errorLabelContainer: c([]),
onsubmit: true,
ignore: [],
ignoreTitle: false,
onfocusin: function(a) {
this.lastActive = a;
if (this.settings.focusCleanup && !this.blockFocusCleanup) {
this.settings.unhighlight && this.settings.unhighlight.call(this, a, this.settings.errorClass, this.settings.validClass);
this.errorsFor(a).hide()
}
},
onfocusout: function(a) {
if (!this.checkable(a) && (a.name in this.submitted || !this.optional(a))) {
this.element(a)
}
},
onkeyup: function(a) {
if (a.name in this.submitted || a == this.lastElement) {
this.element(a)
}
},
onclick: function(a) {
if (a.name in this.submitted) this.element(a);
else if (a.parentNode.name in this.submitted) this.element(a.parentNode)
},
highlight: function(a, b, d) {
c(a).addClass(b).removeClass(d)
},
unhighlight: function(a, b, d) {
c(a).removeClass(b).addClass(d)
}
},
setDefaults: function(a) {
c.extend(c.validator.defaults, a)
},
messages: {
required: "This field is required.",
remote: "Please fix this field.",
email: "Please enter a valid email address.",
url: "Please enter a valid URL.",
date: "Please enter a valid date.",
dateISO: "Please enter a valid date (ISO).",
number: "Please enter a valid number.",
digits: "Please enter only digits.",
creditcard: "Please enter a valid credit card number.",
equalTo: "Please enter the same value again.",
accept: "Please enter a value with a valid extension.",
maxlength: c.validator.format("Please enter no more than {0} characters."),
minlength: c.validator.format("Please enter at least {0} characters."),
rangelength: c.validator.format("Please enter a value between {0} and {1} characters long."),
range: c.validator.format("Please enter a value between {0} and {1}."),
max: c.validator.format("Please enter a value less than or equal to {0}."),
min: c.validator.format("Please enter a value greater than or equal to {0}.")
},
autoCreateRanges: false,
prototype: {
init: function() {
this.labelContainer = c(this.settings.errorLabelContainer);
this.errorContext = this.labelContainer.length && this.labelContainer || c(this.currentForm);
this.containers = c(this.settings.errorContainer).add(this.settings.errorLabelContainer);
this.submitted = {};
this.valueCache = {};
this.pendingRequest = 0;
this.pending = {};
this.invalid = {};
this.reset();
var g = (this.groups = {});
c.each(this.settings.groups, function(d, f) {
c.each(f.split(/\s/), function(a, b) {
g[b] = d
})
});
var h = this.settings.rules;
c.each(h, function(a, b) {
h[a] = c.validator.normalizeRule(b)
});
function i(a) {
var b = c.data(this[0].form, "validator"),
d = "on" + a.type.replace(/^validate/, "");
b.settings[d] && b.settings[d].call(b, this[0])
}
c(this.currentForm).validateDelegate(":text, :password, :file, select, textarea", "focusin focusout keyup", i).validateDelegate(":radio, :checkbox, select, option", "click", i);
if (this.settings.invalidHandler) c(this.currentForm).bind("invalid-form.validate", this.settings.invalidHandler)
},
form: function() {
this.checkForm();
c.extend(this.submitted, this.errorMap);
this.invalid = c.extend({}, this.errorMap);
if (!this.valid()) c(this.currentForm).triggerHandler("invalid-form", [this]);
this.showErrors();
return this.valid()
},
checkForm: function() {
this.prepareForm();
for (var a = 0, b = (this.currentElements = this.elements()); b[a]; a++) {
this.check(b[a])
}
return this.valid()
},
element: function(a) {
a = this.clean(a);
this.lastElement = a;
this.prepareElement(a);
this.currentElements = c(a);
var b = this.check(a);
if (b) {
delete this.invalid[a.name]
} else {
this.invalid[a.name] = true
}
if (!this.numberOfInvalids()) {
this.toHide = this.toHide.add(this.containers)
}
this.showErrors();
return b
},
showErrors: function(b) {
if (b) {
c.extend(this.errorMap, b);
this.errorList = [];
for (var d in b) {
this.errorList.push({
message: b[d],
element: this.findByName(d)[0]
})
}
this.successList = c.grep(this.successList, function(a) {
return !(a.name in b)
})
}
this.settings.showErrors ? this.settings.showErrors.call(this, this.errorMap, this.errorList) : this.defaultShowErrors()
},
resetForm: function() {
if (c.fn.resetForm) c(this.currentForm).resetForm();
this.submitted = {};
this.prepareForm();
this.hideErrors();
this.elements().removeClass(this.settings.errorClass)
},
numberOfInvalids: function() {
return this.objectLength(this.invalid)
},
objectLength: function(a) {
var b = 0;
for (var d in a) b++;
return b
},
hideErrors: function() {
this.addWrapper(this.toHide).hide()
},
valid: function() {
return this.size() == 0
},
size: function() {
return this.errorList.length
},
focusInvalid: function() {
if (this.settings.focusInvalid) {
try {
c(this.findLastActive() || this.errorList.length && this.errorList[0].element || []).filter(":visible").focus().trigger("focusin")
} catch (e) {}
}
},
findLastActive: function() {
var b = this.lastActive;
return b && c.grep(this.errorList, function(a) {
return a.element.name == b.name
}).length == 1 && b
},
elements: function() {
var a = this,
b = {};
return c([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function() {
!this.name && a.settings.debug && window.console && console.error("%o has no name assigned", this);
if (this.name in b || !a.objectLength(c(this).rules())) return false;
b[this.name] = true;
return true
})
},
clean: function(a) {
return c(a)[0]
},
errors: function() {
return c(this.settings.errorElement + "." + this.settings.errorClass, this.errorContext)
},
reset: function() {
this.successList = [];
this.errorList = [];
this.errorMap = {};
this.toShow = c([]);
this.toHide = c([]);
this.currentElements = c([])
},
prepareForm: function() {
this.reset();
this.toHide = this.errors().add(this.containers)
},
prepareElement: function(a) {
this.reset();
this.toHide = this.errorsFor(a)
},
check: function(a) {
a = this.clean(a);
if (this.checkable(a)) {
a = this.findByName(a.name)[0]
}
var b = c(a).rules();
var d = false;
for (method in b) {
var f = {
method: method,
parameters: b[method]
};
try {
var g = c.validator.methods[method].call(this, a.value.replace(/\r/g, ""), a, f.parameters);
if (g == "dependency-mismatch") {
d = true;
continue
}
d = false;
if (g == "pending") {
this.toHide = this.toHide.not(this.errorsFor(a));
return
}
if (!g) {
this.formatAndAdd(a, f);
return false
}
} catch (e) {
this.settings.debug && window.console && console.log("exception occured when checking element " + a.id + ", check the '" + f.method + "' method", e);
throw e;
}
}
if (d) return;
if (this.objectLength(b)) this.successList.push(a);
return true
},
customMetaMessage: function(a, b) {
if (!c.metadata) return;
var d = this.settings.meta ? c(a).metadata()[this.settings.meta] : c(a).metadata();
return d && d.messages && d.messages[b]
},
customMessage: function(a, b) {
var d = this.settings.messages[a];
return d && (d.constructor == String ? d : d[b])
},
findDefined: function() {
for (var a = 0; a < arguments.length; a++) {
if (arguments[a] !== undefined) return arguments[a]
}
return undefined
},
defaultMessage: function(a, b) {
return this.findDefined(this.customMessage(a.name, b), this.customMetaMessage(a, b), !this.settings.ignoreTitle && a.title || undefined, c.validator.messages[b], "<strong>Warning: No message defined for " + a.name + "</strong>")
},
formatAndAdd: function(a, b) {
var d = this.defaultMessage(a, b.method),
f = /\$?\{(\d+)\}/g;
if (typeof d == "function") {
d = d.call(this, b.parameters, a)
} else if (f.test(d)) {
d = jQuery.format(d.replace(f, '{$1}'), b.parameters)
}
this.errorList.push({
message: d,
element: a
});
this.errorMap[a.name] = d;
this.submitted[a.name] = d
},
addWrapper: function(a) {
if (this.settings.wrapper) a = a.add(a.parent(this.settings.wrapper));
return a
},
defaultShowErrors: function() {
for (var a = 0; this.errorList[a]; a++) {
var b = this.errorList[a];
this.settings.highlight && this.settings.highlight.call(this, b.element, this.settings.errorClass, this.settings.validClass);
this.showLabel(b.element, b.message)
}
if (this.errorList.length) {
this.toShow = this.toShow.add(this.containers)
}
if (this.settings.success) {
for (var a = 0; this.successList[a]; a++) {
this.showLabel(this.successList[a])
}
}
if (this.settings.unhighlight) {
for (var a = 0, d = this.validElements(); d[a]; a++) {
this.settings.unhighlight.call(this, d[a], this.settings.errorClass, this.settings.validClass)
}
}
this.toHide = this.toHide.not(this.toShow);
this.hideErrors();
this.addWrapper(this.toShow).show()
},
validElements: function() {
return this.currentElements.not(this.invalidElements())
},
invalidElements: function() {
return c(this.errorList).map(function() {
return this.element
})
},
showLabel: function(a, b) {
var d = this.errorsFor(a);
if (d.length) {
d.removeClass().addClass(this.settings.errorClass);
d.attr("generated") && d.html(b)
} else {
d = c("<" + this.settings.errorElement + "/>").attr({
"for": this.idOrName(a),
generated: true
}).addClass(this.settings.errorClass).html(b || "");
if (this.settings.wrapper) {
d = d.hide().show().wrap("<" + this.settings.wrapper + "/>").parent()
}
if (!this.labelContainer.append(d).length) this.settings.errorPlacement ? this.settings.errorPlacement(d, c(a)) : d.insertAfter(a)
}
if (!b && this.settings.success) {
d.text("");
typeof this.settings.success == "string" ? d.addClass(this.settings.success) : this.settings.success(d)
}
this.toShow = this.toShow.add(d)
},
errorsFor: function(a) {
var b = this.idOrName(a);
return this.errors().filter(function() {
return c(this).attr('for') == b
})
},
idOrName: function(a) {
return this.groups[a.name] || (this.checkable(a) ? a.name : a.id || a.name)
},
checkable: function(a) {
return /radio|checkbox/i.test(a.type)
},
findByName: function(d) {
var f = this.currentForm;
return c(document.getElementsByName(d)).map(function(a, b) {
return b.form == f && b.name == d && b || null
})
},
getLength: function(a, b) {
switch (b.nodeName.toLowerCase()) {
case 'select':
return c("option:selected", b).length;
case 'input':
if (this.checkable(b)) return this.findByName(b.name).filter(':checked').length
}
return a.length
},
depend: function(a, b) {
return this.dependTypes[typeof a] ? this.dependTypes[typeof a](a, b) : true
},
dependTypes: {
"boolean": function(a, b) {
return a
},
"string": function(a, b) {
return !!c(a, b.form).length
},
"function": function(a, b) {
return a(b)
}
},
optional: function(a) {
return !c.validator.methods.required.call(this, c.trim(a.value), a) && "dependency-mismatch"
},
startRequest: function(a) {
if (!this.pending[a.name]) {
this.pendingRequest++;
this.pending[a.name] = true
}
},
stopRequest: function(a, b) {
this.pendingRequest--;
if (this.pendingRequest < 0) this.pendingRequest = 0;
delete this.pending[a.name];
if (b && this.pendingRequest == 0 && this.formSubmitted && this.form()) {
c(this.currentForm).submit();
this.formSubmitted = false
} else if (!b && this.pendingRequest == 0 && this.formSubmitted) {
c(this.currentForm).triggerHandler("invalid-form", [this]);
this.formSubmitted = false
}
},
previousValue: function(a) {
return c.data(a, "previousValue") || c.data(a, "previousValue", {
old: null,
valid: true,
message: this.defaultMessage(a, "remote")
})
}
},
classRuleSettings: {
required: {
required: true
},
email: {
email: true
},
url: {
url: true
},
date: {
date: true
},
dateISO: {
dateISO: true
},
dateDE: {
dateDE: true
},
number: {
number: true
},
numberDE: {
numberDE: true
},
digits: {
digits: true
},
creditcard: {
creditcard: true
}
},
addClassRules: function(a, b) {
a.constructor == String ? this.classRuleSettings[a] = b : c.extend(this.classRuleSettings, a)
},
classRules: function(a) {
var b = {};
var d = c(a).attr('class');
d && c.each(d.split(' '), function() {
if (this in c.validator.classRuleSettings) {
c.extend(b, c.validator.classRuleSettings[this])
}
});
return b
},
attributeRules: function(a) {
var b = {};
var d = c(a);
for (method in c.validator.methods) {
var f = d.attr(method);
if (f) {
b[method] = f
}
}
if (b.maxlength && /-1|2147483647|524288/.test(b.maxlength)) {
delete b.maxlength
}
return b
},
metadataRules: function(a) {
if (!c.metadata) return {};
var b = c.data(a.form, 'validator').settings.meta;
return b ? c(a).metadata()[b] : c(a).metadata()
},
staticRules: function(a) {
var b = {};
var d = c.data(a.form, 'validator');
if (d.settings.rules) {
b = c.validator.normalizeRule(d.settings.rules[a.name]) || {}
}
return b
},
normalizeRules: function(f, g) {
c.each(f, function(a, b) {
if (b === false) {
delete f[a];
return
}
if (b.param || b.depends) {
var d = true;
switch (typeof b.depends) {
case "string":
d = !! c(b.depends, g.form).length;
break;
case "function":
d = b.depends.call(g, g);
break
}
if (d) {
f[a] = b.param !== undefined ? b.param : true
} else {
delete f[a]
}
}
});
c.each(f, function(a, b) {
f[a] = c.isFunction(b) ? b(g) : b
});
c.each(['minlength', 'maxlength', 'min', 'max'], function() {
if (f[this]) {
f[this] = Number(f[this])
}
});
c.each(['rangelength', 'range'], function() {
if (f[this]) {
f[this] = [Number(f[this][0]), Number(f[this][1])]
}
});
if (c.validator.autoCreateRanges) {
if (f.min && f.max) {
f.range = [f.min, f.max];
delete f.min;
delete f.max
}
if (f.minlength && f.maxlength) {
f.rangelength = [f.minlength, f.maxlength];
delete f.minlength;
delete f.maxlength
}
}
if (f.messages) {
delete f.messages
}
return f
},
normalizeRule: function(a) {
if (typeof a == "string") {
var b = {};
c.each(a.split(/\s/), function() {
b[this] = true
});
a = b
}
return a
},
addMethod: function(a, b, d) {
c.validator.methods[a] = b;
c.validator.messages[a] = d != undefined ? d : c.validator.messages[a];
if (b.length < 3) {
c.validator.addClassRules(a, c.validator.normalizeRule(a))
}
},
methods: {
required: function(a, b, d) {
if (!this.depend(d, b)) return "dependency-mismatch";
switch (b.nodeName.toLowerCase()) {
case 'select':
var f = c(b).val();
return f && f.length > 0;
case 'input':
if (this.checkable(b)) return this.getLength(a, b) > 0;
default:
return c.trim(a).length > 0
}
},
remote: function(h, i, k) {
if (this.optional(i)) return "dependency-mismatch";
var l = this.previousValue(i);
if (!this.settings.messages[i.name]) this.settings.messages[i.name] = {};
l.originalMessage = this.settings.messages[i.name].remote;
this.settings.messages[i.name].remote = l.message;
k = typeof k == "string" && {
url: k
} || k;
if (l.old !== h) {
l.old = h;
var j = this;
this.startRequest(i);
var m = {};
m[i.name] = h;
c.ajax(c.extend(true, {
url: k,
mode: "abort",
port: "validate" + i.name,
dataType: "json",
data: m,
success: function(a) {
j.settings.messages[i.name].remote = l.originalMessage;
var b = a === true;
if (b) {
var d = j.formSubmitted;
j.prepareElement(i);
j.formSubmitted = d;
j.successList.push(i);
j.showErrors()
} else {
var f = {};
var g = (l.message = a || j.defaultMessage(i, "remote"));
f[i.name] = c.isFunction(g) ? g(h) : g;
j.showErrors(f)
}
l.valid = b;
j.stopRequest(i, b)
}
}, k));
return "pending"
} else if (this.pending[i.name]) {
return "pending"
}
return l.valid
},
minlength: function(a, b, d) {
return this.optional(b) || this.getLength(c.trim(a), b) >= d
},
maxlength: function(a, b, d) {
return this.optional(b) || this.getLength(c.trim(a), b) <= d
},
rangelength: function(a, b, d) {
var f = this.getLength(c.trim(a), b);
return this.optional(b) || (f >= d[0] && f <= d[1])
},
min: function(a, b, d) {
return this.optional(b) || a >= d
},
max: function(a, b, d) {
return this.optional(b) || a <= d
},
range: function(a, b, d) {
return this.optional(b) || (a >= d[0] && a <= d[1])
},
email: function(a, b) {
return this.optional(b) || /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(a)
},
url: function(a, b) {
return this.optional(b) || /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)
},
date: function(a, b) {
return this.optional(b) || !/Invalid|NaN/.test(new Date(a))
},
dateISO: function(a, b) {
return this.optional(b) || /^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)
},
number: function(a, b) {
return this.optional(b) || /^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)
},
digits: function(a, b) {
return this.optional(b) || /^\d+$/.test(a)
},
creditcard: function(a, b) {
if (this.optional(b)) return "dependency-mismatch";
if (/[^0-9-]+/.test(a)) return false;
var d = 0,
f = 0,
g = false;
a = a.replace(/\D/g, "");
for (var h = a.length - 1; h >= 0; h--) {
var i = a.charAt(h);
var f = parseInt(i, 10);
if (g) {
if ((f *= 2) > 9) f -= 9
}
d += f;
g = !g
}
return (d % 10) == 0
},
accept: function(a, b, d) {
d = typeof d == "string" ? d.replace(/,/g, '|') : "png|jpe?g|gif";
return this.optional(b) || a.match(new RegExp(".(" + d + ")$", "i"))
},
equalTo: function(a, b, d) {
var f = c(d).unbind(".validate-equalTo").bind("blur.validate-equalTo", function() {
c(b).valid()
});
return a == f.val()
}
}
});
c.format = c.validator.format
})(jQuery);
(function(d) {
var f = d.ajax;
var g = {};
d.ajax = function(a) {
a = d.extend(a, d.extend({}, d.ajaxSettings, a));
var b = a.port;
if (a.mode == "abort") {
if (g[b]) {
g[b].abort()
}
return (g[b] = f.apply(this, arguments))
}
return f.apply(this, arguments)
}
})(jQuery);
(function(h) {
if (!jQuery.event.special.focusin && !jQuery.event.special.focusout && document.addEventListener) {
h.each({
focus: 'focusin',
blur: 'focusout'
}, function(b, d) {
h.event.special[d] = {
setup: function() {
this.addEventListener(b, f, true)
},
teardown: function() {
this.removeEventListener(b, f, true)
},
handler: function(a) {
arguments[0] = h.event.fix(a);
arguments[0].type = d;
return h.event.handle.apply(this, arguments)
}
};
function f(a) {
a = h.event.fix(a);
a.type = d;
return h.event.handle.call(this, a)
}
})
};
h.extend(h.fn, {
validateDelegate: function(d, f, g) {
return this.bind(f, function(a) {
var b = h(a.target);
if (b.is(d)) {
return g.apply(b, arguments)
}
})
}
})
})(jQuery); |
#4 JavaScript::Eval (size: 7016, repeated: 1)(function(e) {
var m = new RegExp('(\\' + ['/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\'].join('|\\') + ')', 'g');
function n(b, a, c) {
var d = '(' + c.replace(m, '\\$1') + ')';
return b.replace(new RegExp(d, 'gi'), '<strong>$1<\/strong>')
}
function j(b, a) {
this.el = e(b);
this.el.attr('autocomplete', 'off');
this.suggestions = [];
this.data = [];
this.badQueries = [];
this.selectedIndex = -1;
this.currentValue = this.el.val();
this.intervalId = 0;
this.cachedResponse = [];
this.onChangeInterval = null;
this.ignoreValueChange = false;
this.serviceUrl = a.serviceUrl;
this.isLocal = false;
this.options = {
autoSubmit: false,
minChars: 1,
maxHeight: 300,
deferRequestBy: 0,
width: 0,
highlight: true,
params: {},
fnFormatResult: n,
delimiter: null,
zIndex: 9999
};
this.initialize();
this.setOptions(a)
}
e.fn.autocomplete = function(b) {
return new j(this.get(0) || e('<input />'), b)
};
j.prototype = {
killerFn: null,
initialize: function() {
var a, c, d;
a = this;
c = Math.floor(Math.random() * 0x100000).toString(16);
d = 'Autocomplete_' + c;
this.killerFn = function(b) {
if (e(b.target).parents('.autocomplete').size() === 0) {
a.killSuggestions();
a.disableKillerFn()
}
};
if (!this.options.width) {
this.options.width = this.el.width()
}
this.mainContainerId = 'AutocompleteContainter_' + c;
e('<div id="' + this.mainContainerId + '" style="position:absolute;z-index:9999;"><div class="autocomplete-w1"><div class="autocomplete" id="' + d + '" style="display:none; width:300px;"></div></div></div>').appendTo('body');
this.container = e('#' + d);
this.fixPosition();
if (window.opera) {
this.el.keypress(function(b) {
a.onKeyPress(b)
})
} else {
this.el.keydown(function(b) {
a.onKeyPress(b)
})
}
this.el.keyup(function(b) {
a.onKeyUp(b)
});
this.el.blur(function() {
a.enableKillerFn()
});
this.el.focus(function() {
a.fixPosition()
})
},
setOptions: function(b) {
var a = this.options;
e.extend(a, b);
if (a.lookup) {
this.isLocal = true;
if (e.isArray(a.lookup)) {
a.lookup = {
suggestions: a.lookup,
data: []
}
}
}
e('#' + this.mainContainerId).css({
zIndex: a.zIndex
});
this.container.css({
maxHeight: a.maxHeight + 'px',
width: a.width
})
},
clearCache: function() {
this.cachedResponse = [];
this.badQueries = []
},
disable: function() {
this.disabled = true
},
enable: function() {
this.disabled = false
},
fixPosition: function() {
var b = this.el.offset();
e('#' + this.mainContainerId).css({
top: (b.top + this.el.innerHeight()) + 'px',
left: b.left + 'px'
})
},
enableKillerFn: function() {
var b = this;
e(document).bind('click', b.killerFn)
},
disableKillerFn: function() {
var b = this;
e(document).unbind('click', b.killerFn)
},
killSuggestions: function() {
var b = this;
this.stopKillSuggestions();
this.intervalId = window.setInterval(function() {
b.hide();
b.stopKillSuggestions()
}, 300)
},
stopKillSuggestions: function() {
window.clearInterval(this.intervalId)
},
onKeyPress: function(b) {
if (this.disabled || !this.enabled) {
return
}
switch (b.keyCode) {
case 27:
this.el.val(this.currentValue);
this.hide();
break;
case 9:
case 13:
if (this.selectedIndex === -1) {
this.hide();
return
}
this.select(this.selectedIndex);
if (b.keyCode === 9) {
return
}
break;
case 38:
this.moveUp();
break;
case 40:
this.moveDown();
break;
default:
return
}
b.stopImmediatePropagation();
b.preventDefault()
},
onKeyUp: function(b) {
if (this.disabled) {
return
}
switch (b.keyCode) {
case 38:
case 40:
return
}
clearInterval(this.onChangeInterval);
if (this.currentValue !== this.el.val()) {
if (this.options.deferRequestBy > 0) {
var a = this;
this.onChangeInterval = setInterval(function() {
a.onValueChange()
}, this.options.deferRequestBy)
} else {
this.onValueChange()
}
}
},
onValueChange: function() {
clearInterval(this.onChangeInterval);
this.currentValue = this.el.val();
var b = this.getQuery(this.currentValue);
this.selectedIndex = -1;
if (this.ignoreValueChange) {
this.ignoreValueChange = false;
return
}
if (b === '' || b.length < this.options.minChars) {
this.hide()
} else {
this.getSuggestions(b)
}
},
getQuery: function(b) {
var a, c;
a = this.options.delimiter;
if (!a) {
return e.trim(b)
}
c = b.split(a);
return e.trim(c[c.length - 1])
},
getSuggestionsLocal: function(b) {
var a, c, d, f, g;
c = this.options.lookup;
d = c.suggestions.length;
a = {
suggestions: [],
data: []
};
b = b.toLowerCase();
for (g = 0; g < d; g++) {
f = c.suggestions[g];
if (f.toLowerCase().indexOf(b) === 0) {
a.suggestions.push(f);
a.data.push(c.data[g])
}
}
return a
},
getSuggestions: function(a) {
var c, d;
c = this.isLocal ? this.getSuggestionsLocal(a) : this.cachedResponse[a];
if (c && e.isArray(c.suggestions)) {
this.suggestions = c.suggestions;
this.data = c.data;
this.suggest()
} else if (!this.isBadQuery(a)) {
d = this;
d.options.params.query = a;
e.get(this.serviceUrl, d.options.params, function(b) {
d.processResponse(b)
}, 'text')
}
},
isBadQuery: function(b) {
var a = this.badQueries.length;
while (a--) {
if (b.indexOf(this.badQueries[a]) === 0) {
return true
}
}
return false
},
hide: function() {
this.enabled = false;
this.selectedIndex = -1;
this.container.hide()
},
suggest: function() {
if (this.suggestions.length === 0) {
this.hide();
return
}
var a, c, d, f, g, h, i, k, l;
a = this;
c = this.suggestions.length;
f = this.options.fnFormatResult;
g = this.getQuery(this.currentValue);
k = function(b) {
return function() {
a.activate(b)
}
};
l = function(b) {
return function() {
a.select(b)
}
};
this.container.hide().empty();
for (h = 0; h < c; h++) {
i = this.suggestions[h];
d = e((a.selectedIndex === h ? '<div class="selected"' : '<div') + ' title="' + i + '">' + f(i, this.data[h], g) + '</div>');
d.mouseover(k(h));
d.click(l(h));
this.container.append(d)
}
this.enabled = true;
this.container.show()
},
processResponse: function(b) {
var a;
try {
a = eval('(' + b + ')')
} catch (err) {
return
}
if (!e.isArray(a.data)) {
a.data = []
}
if (!this.options.noCache) {
this.cachedResponse[a.query] = a;
if (a.suggestions.length === 0) {
this.badQueries.push(a.query)
}
}
if (a.query === this.getQuery(this.currentValue)) {
this.suggestions = a.suggestions;
this.data = a.data;
this.suggest()
}
},
activate: function(b) {
var a, c;
a = this.container.children();
if (this.selectedIndex !== -1 && a.length > this.selectedIndex) {
e(a.get(this.selectedIndex)).removeClass()
}
this.selectedIndex = b;
if (this.selectedIndex !== -1 && a.length > this.selectedIndex) {
c = a.get(this.selectedIndex);
e(c).addClass('selected')
}
return c
},
deactivate: function(b, a) {
b.className = '';
if (this.selectedIndex === a) {
this.selectedIndex = -1
}
},
select: function(b) {
var a, c;
a = this.suggestions[b];
if (a) {
this.el.val(a);
if (this.options.autoSubmit) {
c = this.el.parents('form');
if (c.length > 0) {
c.get(0).submit()
}
}
this.ignoreValueChange = true;
this.hide();
this.onSelect(b)
}
},
moveUp: function() {
if (this.selectedIndex === -1) {
return
}
if (this.selectedIndex === 0) {
this.container.children().get(0).className = '';
this.selectedIndex = -1;
this.el.val(this.currentValue);
return
}
this.adjustScroll(this.selectedIndex - 1)
},
moveDown: function() {
if (this.selectedIndex === (this.suggestions.length - 1)) {
return
}
this.adjustScroll(this.selectedIndex + 1)
},
adjustScroll: function(b) {
var a, c, d, f;
a = this.activate(b);
c = a.offsetTop;
d = this.container.scrollTop();
f = d + this.options.maxHeight - 25;
if (c < d) {
this.container.scrollTop(c)
} else if (c > f) {
this.container.scrollTop(c - this.options.maxHeight + 25)
}
this.el.val(this.getValue(this.suggestions[b]))
},
onSelect: function(b) {
var a, c, d, f;
a = this;
c = a.options.onSelect;
d = a.suggestions[b];
f = a.data[b];
a.el.val(a.getValue(d));
if (e.isFunction(c)) {
c(d, f, a.el)
}
},
getValue: function(b) {
var a, c, d, f;
f = this;
a = f.options.delimiter;
if (!a) {
return b
}
c = f.currentValue;
d = c.split(a);
if (d.length === 1) {
return b
}
return c.substr(0, c.length - d[d.length - 1].length) + b
}
}
}(jQuery)); |
#5 JavaScript::Eval (size: 2391, repeated: 1)(function(g) {
if (g.browser.msie && document.namespaces["v"] === null) {
document.namespaces.add("v", "urn:schemas-microsoft-com:vml", "#default#VML")
}
g.fn.corner = function(w) {
function x(a, f, b, c, i, d) {
var e, k, o, p, j, r, s, t = 1.57,
n = "position:absolute;";
if (a) {
e = -t;
j = b;
s = 0;
n += "top:-" + c + "px;"
} else {
e = t;
j = 0;
s = b;
n += "bottom:-" + c + "px;"
}
if (f) {
k = t * 2;
p = b;
r = 0;
n += "left:-" + c + "px;"
} else {
k = 0;
p = 0;
r = b;
n += "right:-" + c + "px;"
}
var u = g("<canvas width=" + b + "px height=" + b + "px style='" + n + "' ></canvas>");
var l = u[0].getContext('2d');
l.beginPath();
l.lineWidth = c * 2;
l.arc(p, j, b, e, k, !(a ^ f));
l.strokeStyle = i;
l.stroke();
l.lineWidth = 0;
l.lineTo(r, s);
l.fillStyle = d;
l.fill();
return u
}
function y(a, f, b, c, i) {
var d = g("<div style='display: inherit' />");
g.each(a.split(" "), function() {
d.append(x(this[0] == "t", this[1] == "l", f, b, c, i))
});
return d
}
function v(a, f, b, c, i, d, e) {
var k = c - i - e;
var o = c - d;
return "<v:arc filled='False' strokeweight='" + f + "px' strokecolor='" + b + "' startangle='0' endangle='361' style=' top:" + o + "px;left: " + k + "px;width:" + a + "px; height:" + a + "px' />"
}
function z(i, d, e, k, o, p) {
var j = "<div style='text-align:left; '>";
g.each(g.trim(i).split(" "), function() {
var a, f = 1,
b = 1,
c = 0;
if (this.charAt(0) == "t") {
a = "top:-" + e + "px;"
} else {
a = "bottom:-" + e + "px;";
b = d + 1
}
if (this.charAt(1) == "l") {
a += "left:-" + e + "px;"
} else {
a += "right:-" + (e) + "px; ";
f = d;
c = 1
}
j += "<div style='" + a + "; position: absolute; overflow:hidden; width:" + d + "px; height: " + d + "px;'>";
j += "<v:group style='width:1000px;height:1000px;position:absolute;' coordsize='1000,1000' >";
j += v(d * 3, d + e, o, -d / 2, f, b, c);
if (e > 0) {
j += v(d * 2 - e, e, k, Math.floor(e / 2 + 0.5), f, b, c)
}
j += "</v:group>";
j += "</div>"
});
j += "</div>";
return j
}
var m = {
corners: "tl tr bl br",
radius: 10,
background: "white",
borderWidth: 0,
fixIE: true
};
g.extend(m, w || {});
var q = function(a, f, b) {
var c = parseInt(a.css(f), 10) || 0;
a.css(f, b + c)
};
return this.each(function() {
var a = g(this);
var f = m.radius * 1.0;
var b = (m.borderWidth || parseInt(a.css("borderTopWidth"), 10) || 0) * 1.0;
var c = m.background;
var i = m.borderColor;
i = i || (b > 0 ? a.css("borderTopColor") : c);
var d = m.corners;
if (g.browser.msie) {
h = z(d, f, b, i, c, g(this).width());
this.insertAdjacentHTML('beforeEnd', h)
} else {
a.append(y(d, f, b, i, c))
}
if (this.style.position != "absolute") {
this.style.position = "relative"
}
this.style.zoom = 1;
if (g.browser.msie && m.fixIE) {
var e = a.outerWidth();
var k = a.outerHeight();
if (e % 2 == 1) {
q(a, "padding-right", 1);
q(a, "margin-right", 1)
}
if (k % 2 == 1) {
q(a, "padding-bottom", 1);
q(a, "margin-bottom", 1)
}
}
})
}
})(jQuery); |
#6 JavaScript::Eval (size: 73639, repeated: 1)(function(w, t) {
var f = function(a, b) {
return new f.fn.init(a, b)
},
bS = w.jQuery,
bT = w.$,
m = w.document,
O, bU = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,
bV = /^.[^:#\[\.,]*$/,
bW = /\S/,
bX = /^(\s|\u00A0)+|(\s|\u00A0)+$/g,
bY = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
bZ = navigator.userAgent,
P, bl = false,
J = [],
G, W = Object.prototype.toString,
X = Object.prototype.hasOwnProperty,
Y = Array.prototype.push,
K = Array.prototype.slice,
bm = Array.prototype.indexOf;
f.fn = f.prototype = {
init: function(a, b) {
var c, d, g, h;
if (!a) {
return this
}
if (a.nodeType) {
this.context = this[0] = a;
this.length = 1;
return this
}
if (a === "body" && !b) {
this.context = m;
this[0] = m.body;
this.selector = "body";
this.length = 1;
return this
}
if (typeof a === "string") {
c = bU.exec(a);
if (c && (c[1] || !b)) {
if (c[1]) {
h = (b ? b.ownerDocument || b : m);
g = bY.exec(a);
if (g) {
if (f.isPlainObject(b)) {
a = [m.createElement(g[1])];
f.fn.attr.call(a, b, true)
} else {
a = [h.createElement(g[1])]
}
} else {
g = bn([c[1]], [h]);
a = (g.cacheable ? g.fragment.cloneNode(true) : g.fragment).childNodes
}
return f.merge(this, a)
} else {
d = m.getElementById(c[2]);
if (d) {
if (d.id !== c[2]) {
return O.find(a)
}
this.length = 1;
this[0] = d
}
this.context = m;
this.selector = a;
return this
}
} else if (!b && /^\w+$/.test(a)) {
this.selector = a;
this.context = m;
a = m.getElementsByTagName(a);
return f.merge(this, a)
} else if (!b || b.jquery) {
return (b || O).find(a)
} else {
return f(b).find(a)
}
} else if (f.isFunction(a)) {
return O.ready(a)
}
if (a.selector !== t) {
this.selector = a.selector;
this.context = a.context
}
return f.makeArray(a, this)
},
selector: "",
jquery: "1.4.2",
length: 0,
size: function() {
return this.length
},
toArray: function() {
return K.call(this, 0)
},
get: function(a) {
return a == null ? this.toArray() : (a < 0 ? this.slice(a)[0] : this[a])
},
pushStack: function(a, b, c) {
var d = f();
if (f.isArray(a)) {
Y.apply(d, a)
} else {
f.merge(d, a)
}
d.prevObject = this;
d.context = this.context;
if (b === "find") {
d.selector = this.selector + (this.selector ? " " : "") + c
} else if (b) {
d.selector = this.selector + "." + b + "(" + c + ")"
}
return d
},
each: function(a, b) {
return f.each(this, a, b)
},
ready: function(a) {
f.bindReady();
if (f.isReady) {
a.call(m, f)
} else if (J) {
J.push(a)
}
return this
},
eq: function(a) {
return a === -1 ? this.slice(a) : this.slice(a, +a + 1)
},
first: function() {
return this.eq(0)
},
last: function() {
return this.eq(-1)
},
slice: function() {
return this.pushStack(K.apply(this, arguments), "slice", K.call(arguments).join(","))
},
map: function(c) {
return this.pushStack(f.map(this, function(a, b) {
return c.call(a, b, a)
}))
},
end: function() {
return this.prevObject || f(null)
},
push: Y,
sort: [].sort,
splice: [].splice
};
f.fn.init.prototype = f.fn;
f.extend = f.fn.extend = function() {
var a = arguments[0] || {},
b = 1,
c = arguments.length,
d = false,
g, h, i, k;
if (typeof a === "boolean") {
d = a;
a = arguments[1] || {};
b = 2
}
if (typeof a !== "object" && !f.isFunction(a)) {
a = {}
}
if (c === b) {
a = this;
--b
}
for (; b < c; b++) {
if ((g = arguments[b]) != null) {
for (h in g) {
i = a[h];
k = g[h];
if (a === k) {
continue
}
if (d && k && (f.isPlainObject(k) || f.isArray(k))) {
var j = i && (f.isPlainObject(i) || f.isArray(i)) ? i : f.isArray(k) ? [] : {};
a[h] = f.extend(d, j, k)
} else if (k !== t) {
a[h] = k
}
}
}
}
return a
};
f.extend({
noConflict: function(a) {
w.$ = bT;
if (a) {
w.jQuery = bS
}
return f
},
isReady: false,
ready: function() {
if (!f.isReady) {
if (!m.body) {
return setTimeout(f.ready, 13)
}
f.isReady = true;
if (J) {
var a, b = 0;
while ((a = J[b++])) {
a.call(m, f)
}
J = null
}
if (f.fn.triggerHandler) {
f(m).triggerHandler("ready")
}
}
},
bindReady: function() {
if (bl) {
return
}
bl = true;
if (m.readyState === "complete") {
return f.ready()
}
if (m.addEventListener) {
m.addEventListener("DOMContentLoaded", G, false);
w.addEventListener("load", f.ready, false)
} else if (m.attachEvent) {
m.attachEvent("onreadystatechange", G);
w.attachEvent("onload", f.ready);
var a = false;
try {
a = w.frameElement == null
} catch (e) {}
if (m.documentElement.doScroll && a) {
bo()
}
}
},
isFunction: function(a) {
return W.call(a) === "[object Function]"
},
isArray: function(a) {
return W.call(a) === "[object Array]"
},
isPlainObject: function(a) {
if (!a || W.call(a) !== "[object Object]" || a.nodeType || a.setInterval) {
return false
}
if (a.constructor && !X.call(a, "constructor") && !X.call(a.constructor.prototype, "isPrototypeOf")) {
return false
}
var b;
for (b in a) {}
return b === t || X.call(a, b)
},
isEmptyObject: function(a) {
for (var b in a) {
return false
}
return true
},
error: function(a) {
throw a;
},
parseJSON: function(a) {
if (typeof a !== "string" || !a) {
return null
}
a = f.trim(a);
if (/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:\s*\[)+/g, ""))) {
return w.JSON && w.JSON.parse ? w.JSON.parse(a) : (new Function("return " + a))()
} else {
f.error("Invalid JSON: " + a)
}
},
noop: function() {},
globalEval: function(a) {
if (a && bW.test(a)) {
var b = m.getElementsByTagName("head")[0] || m.documentElement,
c = m.createElement("script");
c.type = "text/javascript";
if (f.support.scriptEval) {
c.appendChild(m.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(a, b, c) {
var d, g = 0,
h = a.length,
i = h === t || f.isFunction(a);
if (c) {
if (i) {
for (d in a) {
if (b.apply(a[d], c) === false) {
break
}
}
} else {
for (; g < h;) {
if (b.apply(a[g++], c) === false) {
break
}
}
}
} else {
if (i) {
for (d in a) {
if (b.call(a[d], d, a[d]) === false) {
break
}
}
} else {
for (var k = a[0]; g < h && b.call(k, g, k) !== false; k = a[++g]) {}
}
}
return a
},
trim: function(a) {
return (a || "").replace(bX, "")
},
makeArray: function(a, b) {
var c = b || [];
if (a != null) {
if (a.length == null || typeof a === "string" || f.isFunction(a) || (typeof a !== "function" && a.setInterval)) {
Y.call(c, a)
} else {
f.merge(c, a)
}
}
return c
},
inArray: function(a, b) {
if (b.indexOf) {
return b.indexOf(a)
}
for (var c = 0, d = b.length; c < d; c++) {
if (b[c] === a) {
return c
}
}
return -1
},
merge: function(a, b) {
var c = a.length,
d = 0;
if (typeof b.length === "number") {
for (var g = b.length; d < g; d++) {
a[c++] = b[d]
}
} else {
while (b[d] !== t) {
a[c++] = b[d++]
}
}
a.length = c;
return a
},
grep: function(a, b, c) {
var d = [];
for (var g = 0, h = a.length; g < h; g++) {
if (!c !== !b(a[g], g)) {
d.push(a[g])
}
}
return d
},
map: function(a, b, c) {
var d = [],
g;
for (var h = 0, i = a.length; h < i; h++) {
g = b(a[h], h, c);
if (g != null) {
d[d.length] = g
}
}
return d.concat.apply([], d)
},
guid: 1,
proxy: function(a, b, c) {
if (arguments.length === 2) {
if (typeof b === "string") {
c = a;
a = c[b];
b = t
} else if (b && !f.isFunction(b)) {
c = b;
b = t
}
}
if (!b && a) {
b = function() {
return a.apply(c || this, arguments)
}
}
if (a) {
b.guid = a.guid = a.guid || b.guid || f.guid++
}
return b
},
uaMatch: function(a) {
a = a.toLowerCase();
var b = /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || !/compatible/.test(a) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(a) || [];
return {
browser: b[1] || "",
version: b[2] || "0"
}
},
browser: {}
});
P = f.uaMatch(bZ);
if (P.browser) {
f.browser[P.browser] = true;
f.browser.version = P.version
}
if (f.browser.webkit) {
f.browser.safari = true
}
if (bm) {
f.inArray = function(a, b) {
return bm.call(b, a)
}
}
O = f(m);
if (m.addEventListener) {
G = function() {
m.removeEventListener("DOMContentLoaded", G, false);
f.ready()
}
} else if (m.attachEvent) {
G = function() {
if (m.readyState === "complete") {
m.detachEvent("onreadystatechange", G);
f.ready()
}
}
}
function bo() {
if (f.isReady) {
return
}
try {
m.documentElement.doScroll("left")
} catch (error) {
setTimeout(bo, 1);
return
}
f.ready()
}
function ca(a, b) {
if (b.src) {
f.ajax({
url: b.src,
async: false,
dataType: "script"
})
} else {
f.globalEval(b.text || b.textContent || b.innerHTML || "")
}
if (b.parentNode) {
b.parentNode.removeChild(b)
}
}
function Z(a, b, c, d, g, h) {
var i = a.length;
if (typeof b === "object") {
for (var k in b) {
Z(a, k, b[k], d, g, c)
}
return a
}
if (c !== t) {
d = !h && d && f.isFunction(c);
for (var j = 0; j < i; j++) {
g(a[j], b, d ? c.call(a[j], j, g(a[j], b)) : c, h)
}
return a
}
return i ? g(a[0], b) : t
}
function F() {
return (new Date).getTime()
}(function() {
f.support = {};
var d = m.documentElement,
g = m.createElement("script"),
h = m.createElement("div"),
i = "script" + F();
h.style.display = "none";
h.innerHTML = " <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var k = h.getElementsByTagName("*"),
j = h.getElementsByTagName("a")[0];
if (!k || !k.length || !j) {
return
}
f.support = {
leadingWhitespace: h.firstChild.nodeType === 3,
tbody: !h.getElementsByTagName("tbody").length,
htmlSerialize: !! h.getElementsByTagName("link").length,
style: /red/.test(j.getAttribute("style")),
hrefNormalized: j.getAttribute("href") === "/a",
opacity: /^0.55$/.test(j.style.opacity),
cssFloat: !! j.style.cssFloat,
checkOn: h.getElementsByTagName("input")[0].value === "on",
optSelected: m.createElement("select").appendChild(m.createElement("option")).selected,
parentNode: h.removeChild(h.appendChild(m.createElement("div"))).parentNode === null,
deleteExpando: true,
checkClone: false,
scriptEval: false,
noCloneEvent: true,
boxModel: null
};
g.type = "text/javascript";
try {
g.appendChild(m.createTextNode("window." + i + "=1;"))
} catch (e) {}
d.insertBefore(g, d.firstChild);
if (w[i]) {
f.support.scriptEval = true;
delete w[i]
}
try {
delete g.test
} catch (e) {
f.support.deleteExpando = false
}
d.removeChild(g);
if (h.attachEvent && h.fireEvent) {
h.attachEvent("onclick", function l() {
f.support.noCloneEvent = false;
h.detachEvent("onclick", l)
});
h.cloneNode(true).fireEvent("onclick")
}
h = m.createElement("div");
h.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>";
var n = m.createDocumentFragment();
n.appendChild(h.firstChild);
f.support.checkClone = n.cloneNode(true).cloneNode(true).lastChild.checked;
f(function() {
var a = m.createElement("div");
a.style.width = a.style.paddingLeft = "1px";
m.body.appendChild(a);
f.boxModel = f.support.boxModel = a.offsetWidth === 2;
m.body.removeChild(a).style.display = 'none';
a = null
});
var q = function(a) {
var b = m.createElement("div");
a = "on" + a;
var c = (a in b);
if (!c) {
b.setAttribute(a, "return;");
c = typeof b[a] === "function"
}
b = null;
return c
};
f.support.submitBubbles = q("submit");
f.support.changeBubbles = q("change");
d = g = h = k = j = null
})();
f.props = {
"for": "htmlFor",
"class": "className",
readonly: "readOnly",
maxlength: "maxLength",
cellspacing: "cellSpacing",
rowspan: "rowSpan",
colspan: "colSpan",
tabindex: "tabIndex",
usemap: "useMap",
frameborder: "frameBorder"
};
var D = "jQuery" + F(),
cb = 0,
bp = {};
f.extend({
cache: {},
expando: D,
noData: {
"embed": true,
"object": true,
"applet": true
},
data: function(a, b, c) {
if (a.nodeName && f.noData[a.nodeName.toLowerCase()]) {
return
}
a = a == w ? bp : a;
var d = a[D],
g = f.cache,
h;
if (!d && typeof b === "string" && c === t) {
return null
}
if (!d) {
d = ++cb
}
if (typeof b === "object") {
a[D] = d;
h = g[d] = f.extend(true, {}, b)
} else if (!g[d]) {
a[D] = d;
g[d] = {}
}
h = g[d];
if (c !== t) {
h[b] = c
}
return typeof b === "string" ? h[b] : h
},
removeData: function(a, b) {
if (a.nodeName && f.noData[a.nodeName.toLowerCase()]) {
return
}
a = a == w ? bp : a;
var c = a[D],
d = f.cache,
g = d[c];
if (b) {
if (g) {
delete g[b];
if (f.isEmptyObject(g)) {
f.removeData(a)
}
}
} else {
if (f.support.deleteExpando) {
delete a[f.expando]
} else if (a.removeAttribute) {
a.removeAttribute(f.expando)
}
delete d[c]
}
}
});
f.fn.extend({
data: function(a, b) {
if (typeof a === "undefined" && this.length) {
return f.data(this[0])
} else if (typeof a === "object") {
return this.each(function() {
f.data(this, a)
})
}
var c = a.split(".");
c[1] = c[1] ? "." + c[1] : "";
if (b === t) {
var d = this.triggerHandler("getData" + c[1] + "!", [c[0]]);
if (d === t && this.length) {
d = f.data(this[0], a)
}
return d === t && c[1] ? this.data(c[0]) : d
} else {
return this.trigger("setData" + c[1] + "!", [c[0], b]).each(function() {
f.data(this, a, b)
})
}
},
removeData: function(a) {
return this.each(function() {
f.removeData(this, a)
})
}
});
f.extend({
queue: function(a, b, c) {
if (!a) {
return
}
b = (b || "fx") + "queue";
var d = f.data(a, b);
if (!c) {
return d || []
}
if (!d || f.isArray(c)) {
d = f.data(a, b, f.makeArray(c))
} else {
d.push(c)
}
return d
},
dequeue: function(a, b) {
b = b || "fx";
var c = f.queue(a, b),
d = c.shift();
if (d === "inprogress") {
d = c.shift()
}
if (d) {
if (b === "fx") {
c.unshift("inprogress")
}
d.call(a, function() {
f.dequeue(a, b)
})
}
}
});
f.fn.extend({
queue: function(d, g) {
if (typeof d !== "string") {
g = d;
d = "fx"
}
if (g === t) {
return f.queue(this[0], d)
}
return this.each(function(a, b) {
var c = f.queue(this, d, g);
if (d === "fx" && c[0] !== "inprogress") {
f.dequeue(this, d)
}
})
},
dequeue: function(a) {
return this.each(function() {
f.dequeue(this, a)
})
},
delay: function(b, c) {
b = f.fx ? f.fx.speeds[b] || b : b;
c = c || "fx";
return this.queue(c, function() {
var a = this;
setTimeout(function() {
f.dequeue(a, c)
}, b)
})
},
clearQueue: function(a) {
return this.queue(a || "fx", [])
}
});
var bq = /[\n\t]/g,
ba = /\s+/,
cc = /\r/g,
cd = /href|src|style/,
ce = /(button|input)/i,
cf = /(button|input|object|select|textarea)/i,
cg = /^(a|area)$/i,
br = /radio|checkbox/;
f.fn.extend({
attr: function(a, b) {
return Z(this, a, b, true, f.attr)
},
removeAttr: function(a, b) {
return this.each(function() {
f.attr(this, a, "");
if (this.nodeType === 1) {
this.removeAttribute(a)
}
})
},
addClass: function(c) {
if (f.isFunction(c)) {
return this.each(function(a) {
var b = f(this);
b.addClass(c.call(this, a, b.attr("class")))
})
}
if (c && typeof c === "string") {
var d = (c || "").split(ba);
for (var g = 0, h = this.length; g < h; g++) {
var i = this[g];
if (i.nodeType === 1) {
if (!i.className) {
i.className = c
} else {
var k = " " + i.className + " ",
j = i.className;
for (var l = 0, n = d.length; l < n; l++) {
if (k.indexOf(" " + d[l] + " ") < 0) {
j += " " + d[l]
}
}
i.className = f.trim(j)
}
}
}
}
return this
},
removeClass: function(c) {
if (f.isFunction(c)) {
return this.each(function(a) {
var b = f(this);
b.removeClass(c.call(this, a, b.attr("class")))
})
}
if ((c && typeof c === "string") || c === t) {
var d = (c || "").split(ba);
for (var g = 0, h = this.length; g < h; g++) {
var i = this[g];
if (i.nodeType === 1 && i.className) {
if (c) {
var k = (" " + i.className + " ").replace(bq, " ");
for (var j = 0, l = d.length; j < l; j++) {
k = k.replace(" " + d[j] + " ", " ")
}
i.className = f.trim(k)
} else {
i.className = ""
}
}
}
}
return this
},
toggleClass: function(h, i) {
var k = typeof h,
j = typeof i === "boolean";
if (f.isFunction(h)) {
return this.each(function(a) {
var b = f(this);
b.toggleClass(h.call(this, a, b.attr("class"), i), i)
})
}
return this.each(function() {
if (k === "string") {
var a, b = 0,
c = f(this),
d = i,
g = h.split(ba);
while ((a = g[b++])) {
d = j ? d : !c.hasClass(a);
c[d ? "addClass" : "removeClass"](a)
}
} else if (k === "undefined" || k === "boolean") {
if (this.className) {
f.data(this, "__className__", this.className)
}
this.className = this.className || h === false ? "" : f.data(this, "__className__") || ""
}
})
},
hasClass: function(a) {
var b = " " + a + " ";
for (var c = 0, d = this.length; c < d; c++) {
if ((" " + this[c].className + " ").replace(bq, " ").indexOf(b) > -1) {
return true
}
}
return false
},
val: function(g) {
if (g === t) {
var h = this[0];
if (h) {
if (f.nodeName(h, "option")) {
return (h.attributes.value || {}).specified ? h.value : h.text
}
if (f.nodeName(h, "select")) {
var i = h.selectedIndex,
k = [],
j = h.options,
l = h.type === "select-one";
if (i < 0) {
return null
}
for (var n = l ? i : 0, q = l ? i + 1 : j.length; n < q; n++) {
var o = j[n];
if (o.selected) {
g = f(o).val();
if (l) {
return g
}
k.push(g)
}
}
return k
}
if (br.test(h.type) && !f.support.checkOn) {
return h.getAttribute("value") === null ? "on" : h.value
}
return (h.value || "").replace(cc, "")
}
return t
}
var r = f.isFunction(g);
return this.each(function(a) {
var b = f(this),
c = g;
if (this.nodeType !== 1) {
return
}
if (r) {
c = g.call(this, a, b.val())
}
if (typeof c === "number") {
c += ""
}
if (f.isArray(c) && br.test(this.type)) {
this.checked = f.inArray(b.val(), c) >= 0
} else if (f.nodeName(this, "select")) {
var d = f.makeArray(c);
f("option", this).each(function() {
this.selected = f.inArray(f(this).val(), d) >= 0
});
if (!d.length) {
this.selectedIndex = -1
}
} else {
this.value = c
}
})
}
});
f.extend({
attrFn: {
val: true,
css: true,
html: true,
text: true,
data: true,
width: true,
height: true,
offset: true
},
attr: function(a, b, c, d) {
if (!a || a.nodeType === 3 || a.nodeType === 8) {
return t
}
if (d && b in f.attrFn) {
return f(a)[b](c)
}
var g = a.nodeType !== 1 || !f.isXMLDoc(a),
h = c !== t;
b = g && f.props[b] || b;
if (a.nodeType === 1) {
var i = cd.test(b);
if (b === "selected" && !f.support.optSelected) {
var k = a.parentNode;
if (k) {
k.selectedIndex;
if (k.parentNode) {
k.parentNode.selectedIndex
}
}
}
if (b in a && g && !i) {
if (h) {
if (b === "type" && ce.test(a.nodeName) && a.parentNode) {
f.error("type property can't be changed")
}
a[b] = c
}
if (f.nodeName(a, "form") && a.getAttributeNode(b)) {
return a.getAttributeNode(b).nodeValue
}
if (b === "tabIndex") {
var j = a.getAttributeNode("tabIndex");
return j && j.specified ? j.value : cf.test(a.nodeName) || cg.test(a.nodeName) && a.href ? 0 : t
}
return a[b]
}
if (!f.support.style && g && b === "style") {
if (h) {
a.style.cssText = "" + c
}
return a.style.cssText
}
if (h) {
a.setAttribute(b, "" + c)
}
var l = !f.support.hrefNormalized && g && i ? a.getAttribute(b, 2) : a.getAttribute(b);
return l === null ? t : l
}
return f.style(a, b, c)
}
});
var L = /\.(.*)$/,
ch = function(b) {
return b.replace(/[^\w\s\.\|`]/g, function(a) {
return "\\" + a
})
};
f.event = {
add: function(a, b, c, d) {
if (a.nodeType === 3 || a.nodeType === 8) {
return
}
if (a.setInterval && (a !== w && !a.frameElement)) {
a = w
}
var g, h;
if (c.handler) {
g = c;
c = g.handler
}
if (!c.guid) {
c.guid = f.guid++
}
var i = f.data(a);
if (!i) {
return
}
var k = i.events = i.events || {},
j = i.handle,
j;
if (!j) {
i.handle = j = function() {
return typeof f !== "undefined" && !f.event.triggered ? f.event.handle.apply(j.elem, arguments) : t
}
}
j.elem = a;
b = b.split(" ");
var l, n = 0,
q;
while ((l = b[n++])) {
h = g ? f.extend({}, g) : {
handler: c,
data: d
};
if (l.indexOf(".") > -1) {
q = l.split(".");
l = q.shift();
h.namespace = q.slice(0).sort().join(".")
} else {
q = [];
h.namespace = ""
}
h.type = l;
h.guid = c.guid;
var o = k[l],
r = f.event.special[l] || {};
if (!o) {
o = k[l] = [];
if (!r.setup || r.setup.call(a, d, q, j) === false) {
if (a.addEventListener) {
a.addEventListener(l, j, false)
} else if (a.attachEvent) {
a.attachEvent("on" + l, j)
}
}
}
if (r.add) {
r.add.call(a, h);
if (!h.handler.guid) {
h.handler.guid = c.guid
}
}
o.push(h);
f.event.global[l] = true
}
a = null
},
global: {},
remove: function(a, b, c, d) {
if (a.nodeType === 3 || a.nodeType === 8) {
return
}
var g, h, i, k = 0,
j, l, n, q, o, r, y, z = f.data(a),
x = z && z.events;
if (!z || !x) {
return
}
if (b && b.type) {
c = b.handler;
b = b.type
}
if (!b || typeof b === "string" && b.charAt(0) === ".") {
b = b || "";
for (h in x) {
f.event.remove(a, h + b)
}
return
}
b = b.split(" ");
while ((h = b[k++])) {
y = h;
r = null;
j = h.indexOf(".") < 0;
l = [];
if (!j) {
l = h.split(".");
h = l.shift();
n = new RegExp("(^|\\.)" + f.map(l.slice(0).sort(), ch).join("\\.(?:.*\\.)?") + "(\\.|$)")
}
o = x[h];
if (!o) {
continue
}
if (!c) {
for (var s = 0; s < o.length; s++) {
r = o[s];
if (j || n.test(r.namespace)) {
f.event.remove(a, y, r.handler, s);
o.splice(s--, 1)
}
}
continue
}
q = f.event.special[h] || {};
for (var s = d || 0; s < o.length; s++) {
r = o[s];
if (c.guid === r.guid) {
if (j || n.test(r.namespace)) {
if (d == null) {
o.splice(s--, 1)
}
if (q.remove) {
q.remove.call(a, r)
}
}
if (d != null) {
break
}
}
}
if (o.length === 0 || d != null && o.length === 1) {
if (!q.teardown || q.teardown.call(a, l) === false) {
bs(a, h, z.handle)
}
g = null;
delete x[h]
}
}
if (f.isEmptyObject(x)) {
var C = z.handle;
if (C) {
C.elem = null
}
delete z.events;
delete z.handle;
if (f.isEmptyObject(z)) {
f.removeData(a)
}
}
},
trigger: function(a, b, c) {
var d = a.type || a,
g = arguments[3];
if (!g) {
a = typeof a === "object" ? a[D] ? a : f.extend(f.Event(d), a) : f.Event(d);
if (d.indexOf("!") >= 0) {
a.type = d = d.slice(0, -1);
a.exclusive = true
}
if (!c) {
a.stopPropagation();
if (f.event.global[d]) {
f.each(f.cache, function() {
if (this.events && this.events[d]) {
f.event.trigger(a, b, this.handle.elem)
}
})
}
}
if (!c || c.nodeType === 3 || c.nodeType === 8) {
return t
}
a.result = t;
a.target = c;
b = f.makeArray(b);
b.unshift(a)
}
a.currentTarget = c;
var h = f.data(c, "handle");
if (h) {
h.apply(c, b)
}
var i = c.parentNode || c.ownerDocument;
try {
if (!(c && c.nodeName && f.noData[c.nodeName.toLowerCase()])) {
if (c["on" + d] && c["on" + d].apply(c, b) === false) {
a.result = false
}
}
} catch (e) {}
if (!a.isPropagationStopped() && i) {
f.event.trigger(a, b, i, true)
} else if (!a.isDefaultPrevented()) {
var k = a.target,
j, l = f.nodeName(k, "a") && d === "click",
n = f.event.special[d] || {};
if ((!n._0 || n._0.call(c, a) === false) && !l && !(k && k.nodeName && f.noData[k.nodeName.toLowerCase()])) {
try {
if (k[d]) {
j = k["on" + d];
if (j) {
k["on" + d] = null
}
f.event.triggered = true;
k[d]()
}
} catch (e) {}
if (j) {
k["on" + d] = j
}
f.event.triggered = false
}
}
},
handle: function(a) {
var b, c, d, g, h;
a = arguments[0] = f.event.fix(a || w.event);
a.currentTarget = this;
b = a.type.indexOf(".") < 0 && !a.exclusive;
if (!b) {
d = a.type.split(".");
a.type = d.shift();
g = new RegExp("(^|\\.)" + d.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)")
}
var h = f.data(this, "events"),
c = h[a.type];
if (h && c) {
c = c.slice(0);
for (var i = 0, k = c.length; i < k; i++) {
var j = c[i];
if (b || g.test(j.namespace)) {
a.handler = j.handler;
a.data = j.data;
a.handleObj = j;
var l = j.handler.apply(this, arguments);
if (l !== t) {
a.result = l;
if (l === false) {
a.preventDefault();
a.stopPropagation()
}
}
if (a.isImmediatePropagationStopped()) {
break
}
}
}
}
return a.result
},
props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix: function(a) {
if (a[D]) {
return a
}
var b = a;
a = f.Event(b);
for (var c = this.props.length, d; c;) {
d = this.props[--c];
a[d] = b[d]
}
if (!a.target) {
a.target = a.srcElement || m
}
if (a.target.nodeType === 3) {
a.target = a.target.parentNode
}
if (!a.relatedTarget && a.fromElement) {
a.relatedTarget = a.fromElement === a.target ? a.toElement : a.fromElement
}
if (a.pageX == null && a.clientX != null) {
var g = m.documentElement,
h = m.body;
a.pageX = a.clientX + (g && g.scrollLeft || h && h.scrollLeft || 0) - (g && g.clientLeft || h && h.clientLeft || 0);
a.pageY = a.clientY + (g && g.scrollTop || h && h.scrollTop || 0) - (g && g.clientTop || h && h.clientTop || 0)
}
if (!a.which && ((a.charCode || a.charCode === 0) ? a.charCode : a.keyCode)) {
a.which = a.charCode || a.keyCode
}
if (!a.metaKey && a.ctrlKey) {
a.metaKey = a.ctrlKey
}
if (!a.which && a.button !== t) {
a.which = (a.button & 1 ? 1 : (a.button & 2 ? 3 : (a.button & 4 ? 2 : 0)))
}
return a
},
guid: 1E8,
proxy: f.proxy,
special: {
ready: {
setup: f.bindReady,
teardown: f.noop
},
live: {
add: function(a) {
f.event.add(this, a.origType, f.extend({}, a, {
handler: bt
}))
},
remove: function(a) {
var b = true,
c = a.origType.replace(L, "");
f.each(f.data(this, "events").live || [], function() {
if (c === this.origType.replace(L, "")) {
b = false;
return false
}
});
if (b) {
f.event.remove(this, a.origType, bt)
}
}
},
beforeunload: {
setup: function(a, b, c) {
if (this.setInterval) {
this.onbeforeunload = c
}
return false
},
teardown: function(a, b) {
if (this.onbeforeunload === b) {
this.onbeforeunload = null
}
}
}
}
};
var bs = m.removeEventListener ?
function(a, b, c) {
a.removeEventListener(b, c, false)
} : function(a, b, c) {
a.detachEvent("on" + b, c)
};
f.Event = function(a) {
if (!this.preventDefault) {
return new f.Event(a)
}
if (a && a.type) {
this.originalEvent = a;
this.type = a.type
} else {
this.type = a
}
this.timeStamp = F();
this[D] = true
};
function bb() {
return false
}
function bc() {
return true
}
f.Event.prototype = {
preventDefault: function() {
this.isDefaultPrevented = bc;
var a = this.originalEvent;
if (!a) {
return
}
if (a.preventDefault) {
a.preventDefault()
}
a.returnValue = false
},
stopPropagation: function() {
this.isPropagationStopped = bc;
var a = this.originalEvent;
if (!a) {
return
}
if (a.stopPropagation) {
a.stopPropagation()
}
a.cancelBubble = true
},
stopImmediatePropagation: function() {
this.isImmediatePropagationStopped = bc;
this.stopPropagation()
},
isDefaultPrevented: bb,
isPropagationStopped: bb,
isImmediatePropagationStopped: bb
};
var bu = function(a) {
var b = a.relatedTarget;
try {
while (b && b !== this) {
b = b.parentNode
}
if (b !== this) {
a.type = a.data;
f.event.handle.apply(this, arguments)
}
} catch (e) {}
},
bv = function(a) {
a.type = a.data;
f.event.handle.apply(this, arguments)
};
f.each({
mouseenter: "mouseover",
mouseleave: "mouseout"
}, function(b, c) {
f.event.special[b] = {
setup: function(a) {
f.event.add(this, c, a && a.selector ? bv : bu, b)
},
teardown: function(a) {
f.event.remove(this, c, a && a.selector ? bv : bu)
}
}
});
if (!f.support.submitBubbles) {
f.event.special.submit = {
setup: function(d, g) {
if (this.nodeName.toLowerCase() !== "form") {
f.event.add(this, "click.specialSubmit", function(a) {
var b = a.target,
c = b.type;
if ((c === "submit" || c === "image") && f(b).closest("form").length) {
return bw("submit", this, arguments)
}
});
f.event.add(this, "keypress.specialSubmit", function(a) {
var b = a.target,
c = b.type;
if ((c === "text" || c === "password") && f(b).closest("form").length && a.keyCode === 13) {
return bw("submit", this, arguments)
}
})
} else {
return false
}
},
teardown: function(a) {
f.event.remove(this, ".specialSubmit")
}
}
}
if (!f.support.changeBubbles) {
var bd = /textarea|input|select/i,
be, bx = function(b) {
var c = b.type,
d = b.value;
if (c === "radio" || c === "checkbox") {
d = b.checked
} else if (c === "select-multiple") {
d = b.selectedIndex > -1 ? f.map(b.options, function(a) {
return a.selected
}).join("-") : ""
} else if (b.nodeName.toLowerCase() === "select") {
d = b.selectedIndex
}
return d
},
Q = function Q(a) {
var b = a.target,
c, d;
if (!bd.test(b.nodeName) || b.readOnly) {
return
}
c = f.data(b, "_1");
d = bx(b);
if (a.type !== "focusout" || b.type !== "radio") {
f.data(b, "_1", d)
}
if (c === t || d === c) {
return
}
if (c != null || d) {
a.type = "change";
return f.event.trigger(a, arguments[1], b)
}
};
f.event.special.change = {
filters: {
focusout: Q,
click: function(a) {
var b = a.target,
c = b.type;
if (c === "radio" || c === "checkbox" || b.nodeName.toLowerCase() === "select") {
return Q.call(this, a)
}
},
keydown: function(a) {
var b = a.target,
c = b.type;
if ((a.keyCode === 13 && b.nodeName.toLowerCase() !== "textarea") || (a.keyCode === 32 && (c === "checkbox" || c === "radio")) || c === "select-multiple") {
return Q.call(this, a)
}
},
beforeactivate: function(a) {
var b = a.target;
f.data(b, "_1", bx(b))
}
},
setup: function(a, b) {
if (this.type === "file") {
return false
}
for (var c in be) {
f.event.add(this, c + ".specialChange", be[c])
}
return bd.test(this.nodeName)
},
teardown: function(a) {
f.event.remove(this, ".specialChange");
return bd.test(this.nodeName)
}
};
be = f.event.special.change.filters
}
function bw(a, b, c) {
c[0].type = a;
return f.event.handle.apply(b, c)
}
if (m.addEventListener) {
f.each({
focus: "focusin",
blur: "focusout"
}, function(b, c) {
f.event.special[c] = {
setup: function() {
this.addEventListener(b, d, true)
},
teardown: function() {
this.removeEventListener(b, d, true)
}
};
function d(a) {
a = f.event.fix(a);
a.type = c;
return f.event.handle.call(this, a)
}
})
}
f.each(["bind", "one"], function(j, l) {
f.fn[l] = function(b, c, d) {
if (typeof b === "object") {
for (var g in b) {
this[l](g, c, b[g], d)
}
return this
}
if (f.isFunction(c)) {
d = c;
c = t
}
var h = l === "one" ? f.proxy(d, function(a) {
f(this).unbind(a, h);
return d.apply(this, arguments)
}) : d;
if (b === "unload" && l !== "one") {
this.one(b, c, d)
} else {
for (var i = 0, k = this.length; i < k; i++) {
f.event.add(this[i], b, h, c)
}
}
return this
}
});
f.fn.extend({
unbind: function(a, b) {
if (typeof a === "object" && !a.preventDefault) {
for (var c in a) {
this.unbind(c, a[c])
}
} else {
for (var d = 0, g = this.length; d < g; d++) {
f.event.remove(this[d], a, b)
}
}
return this
},
delegate: function(a, b, c, d) {
return this.live(b, c, d, a)
},
undelegate: function(a, b, c) {
if (arguments.length === 0) {
return this.unbind("live")
} else {
return this.die(b, null, c, a)
}
},
trigger: function(a, b) {
return this.each(function() {
f.event.trigger(a, b, this)
})
},
triggerHandler: function(a, b) {
if (this[0]) {
var c = f.Event(a);
c.preventDefault();
c.stopPropagation();
f.event.trigger(c, b, this[0]);
return c.result
}
},
toggle: function(c) {
var d = arguments,
g = 1;
while (g < d.length) {
f.proxy(c, d[g++])
}
return this.click(f.proxy(c, function(a) {
var b = (f.data(this, "lastToggle" + c.guid) || 0) % g;
f.data(this, "lastToggle" + c.guid, b + 1);
a.preventDefault();
return d[b].apply(this, arguments) || false
}))
},
hover: function(a, b) {
return this.mouseenter(a).mouseleave(b || a)
}
});
var by = {
focus: "focusin",
blur: "focusout",
mouseenter: "mouseover",
mouseleave: "mouseout"
};
f.each(["live", "die"], function(q, o) {
f.fn[o] = function(a, b, c, d) {
var g, h = 0,
i, k, j, l = d || this.selector,
n = d ? this : f(this.context);
if (f.isFunction(b)) {
c = b;
b = t
}
a = (a || "").split(" ");
while ((g = a[h++]) != null) {
i = L.exec(g);
k = "";
if (i) {
k = i[0];
g = g.replace(L, "")
}
if (g === "hover") {
a.push("mouseenter" + k, "mouseleave" + k);
continue
}
j = g;
if (g === "focus" || g === "blur") {
a.push(by[g] + k);
g = g + k
} else {
g = (by[g] || g) + k
}
if (o === "live") {
n.each(function() {
f.event.add(this, bz(g, l), {
data: b,
selector: l,
handler: c,
origType: g,
origHandler: c,
preType: j
})
})
} else {
n.unbind(bz(g, l), c)
}
}
return this
}
});
function bt(a) {
var b, c = [],
d = [],
g = arguments,
h, i, k, j, l, n, q, o, r = f.data(this, "events");
if (a.liveFired === this || !r || !r.live || a.button && a.type === "click") {
return
}
a.liveFired = this;
var y = r.live.slice(0);
for (l = 0; l < y.length; l++) {
k = y[l];
if (k.origType.replace(L, "") === a.type) {
d.push(k.selector)
} else {
y.splice(l--, 1)
}
}
i = f(a.target).closest(d, a.currentTarget);
for (n = 0, q = i.length; n < q; n++) {
for (l = 0; l < y.length; l++) {
k = y[l];
if (i[n].selector === k.selector) {
j = i[n].elem;
h = null;
if (k.preType === "mouseenter" || k.preType === "mouseleave") {
h = f(a.relatedTarget).closest(k.selector)[0]
}
if (!h || h !== j) {
c.push({
elem: j,
handleObj: k
})
}
}
}
}
for (n = 0, q = c.length; n < q; n++) {
i = c[n];
a.currentTarget = i.elem;
a.data = i.handleObj.data;
a.handleObj = i.handleObj;
if (i.handleObj.origHandler.apply(i.elem, g) === false) {
b = false;
break
}
}
return b
}
function bz(a, b) {
return "live." + (a && a !== "*" ? a + "." : "") + b.replace(/\./g, "`").replace(/ /g, "&")
}
f.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "), function(b, c) {
f.fn[c] = function(a) {
return a ? this.bind(c, a) : this.trigger(c)
};
if (f.attrFn) {
f.attrFn[c] = true
}
});
if (w.attachEvent && !w.addEventListener) {
w.attachEvent("onunload", function() {
for (var a in f.cache) {
if (f.cache[a].handle) {
try {
f.event.remove(f.cache[a].handle.elem)
} catch (e) {}
}
}
})
}(function() {
var s = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
C = 0,
R = Object.prototype.toString,
B = false,
E = true;
[0, 0].sort(function() {
E = false;
return 0
});
var v = function(a, b, c, d) {
c = c || [];
var g = b = b || m;
if (b.nodeType !== 1 && b.nodeType !== 9) {
return []
}
if (!a || typeof a !== "string") {
return c
}
var h = [],
i, k, j, l, n = true,
q = S(b),
o = a;
while ((s.exec(""), i = s.exec(o)) !== null) {
o = i[3];
h.push(i[1]);
if (i[2]) {
l = i[3];
break
}
}
if (h.length > 1 && ci.exec(a)) {
if (h.length === 2 && u.relative[h[0]]) {
k = bA(h[0] + h[1], b)
} else {
k = u.relative[h[0]] ? [b] : v(h.shift(), b);
while (h.length) {
a = h.shift();
if (u.relative[a]) {
a += h.shift()
}
k = bA(a, k)
}
}
} else {
if (!d && h.length > 1 && b.nodeType === 9 && !q && u.match.ID.test(h[0]) && !u.match.ID.test(h[h.length - 1])) {
var r = v.find(h.shift(), b, q);
b = r.expr ? v.filter(r.expr, r.set)[0] : r.set[0]
}
if (b) {
var r = d ? {
expr: h.pop(),
set: M(d)
} : v.find(h.pop(), h.length === 1 && (h[0] === "~" || h[0] === "+") && b.parentNode ? b.parentNode : b, q);
k = r.expr ? v.filter(r.expr, r.set) : r.set;
if (h.length > 0) {
j = M(k)
} else {
n = false
}
while (h.length) {
var y = h.pop(),
z = y;
if (!u.relative[y]) {
y = ""
} else {
z = h.pop()
}
if (z == null) {
z = b
}
u.relative[y](j, z, q)
}
} else {
j = h = []
}
}
if (!j) {
j = k
}
if (!j) {
v.error(y || a)
}
if (R.call(j) === "[object Array]") {
if (!n) {
c.push.apply(c, j)
} else if (b && b.nodeType === 1) {
for (var x = 0; j[x] != null; x++) {
if (j[x] && (j[x] === true || j[x].nodeType === 1 && bB(b, j[x]))) {
c.push(k[x])
}
}
} else {
for (var x = 0; j[x] != null; x++) {
if (j[x] && j[x].nodeType === 1) {
c.push(k[x])
}
}
}
} else {
M(j, c)
}
if (l) {
v(l, g, c, d);
v.uniqueSort(c)
}
return c
};
v.uniqueSort = function(a) {
if (N) {
B = E;
a.sort(N);
if (B) {
for (var b = 1; b < a.length; b++) {
if (a[b] === a[b - 1]) {
a.splice(b--, 1)
}
}
}
}
return a
};
v.matches = function(a, b) {
return v(a, null, null, b)
};
v.find = function(a, b, c) {
var d, g;
if (!a) {
return []
}
for (var h = 0, i = u.order.length; h < i; h++) {
var k = u.order[h],
g;
if ((g = u.leftMatch[k].exec(a))) {
var j = g[1];
g.splice(1, 1);
if (j.substr(j.length - 1) !== "\\") {
g[1] = (g[1] || "").replace(/\\/g, "");
d = u.find[k](g, b, c);
if (d != null) {
a = a.replace(u.match[k], "");
break
}
}
}
}
if (!d) {
d = b.getElementsByTagName("*")
}
return {
set: d,
expr: a
}
};
v.filter = function(a, b, c, d) {
var g = a,
h = [],
i = b,
k, j, l = b && b[0] && S(b[0]);
while (a && b.length) {
for (var n in u.filter) {
if ((k = u.leftMatch[n].exec(a)) != null && k[2]) {
var q = u.filter[n],
o, r, y = k[1];
j = false;
k.splice(1, 1);
if (y.substr(y.length - 1) === "\\") {
continue
}
if (i === h) {
h = []
}
if (u.preFilter[n]) {
k = u.preFilter[n](k, i, c, h, d, l);
if (!k) {
j = o = true
} else if (k === true) {
continue
}
}
if (k) {
for (var z = 0;
(r = i[z]) != null; z++) {
if (r) {
o = q(r, k, z, i);
var x = d ^ !! o;
if (c && o != null) {
if (x) {
j = true
} else {
i[z] = false
}
} else if (x) {
h.push(r);
j = true
}
}
}
}
if (o !== t) {
if (!c) {
i = h
}
a = a.replace(u.match[n], "");
if (!j) {
return []
}
break
}
}
}
if (a === g) {
if (j == null) {
v.error(a)
} else {
break
}
}
g = a
}
return i
};
v.error = function(a) {
throw "Syntax error, unrecognized expression: " + a;
};
var u = v.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\))?/
},
leftMatch: {},
attrMap: {
"class": "className",
"for": "htmlFor"
},
attrHandle: {
href: function(a) {
return a.getAttribute("href")
}
},
relative: {
"+": function(a, b) {
var c = typeof b === "string",
d = c && !/\W/.test(b),
g = c && !d;
if (d) {
b = b.toLowerCase()
}
for (var h = 0, i = a.length, k; h < i; h++) {
if ((k = a[h])) {
while ((k = k.previousSibling) && k.nodeType !== 1) {}
a[h] = g || k && k.nodeName.toLowerCase() === b ? k || false : k === b
}
}
if (g) {
v.filter(b, a, true)
}
},
">": function(a, b) {
var c = typeof b === "string";
if (c && !/\W/.test(b)) {
b = b.toLowerCase();
for (var d = 0, g = a.length; d < g; d++) {
var h = a[d];
if (h) {
var i = h.parentNode;
a[d] = i.nodeName.toLowerCase() === b ? i : false
}
}
} else {
for (var d = 0, g = a.length; d < g; d++) {
var h = a[d];
if (h) {
a[d] = c ? h.parentNode : h.parentNode === b
}
}
if (c) {
v.filter(b, a, true)
}
}
},
"": function(a, b, c) {
var d = C++,
g = bC;
if (typeof b === "string" && !/\W/.test(b)) {
var h = b = b.toLowerCase();
g = bD
}
g("parentNode", b, d, a, h, c)
},
"~": function(a, b, c) {
var d = C++,
g = bC;
if (typeof b === "string" && !/\W/.test(b)) {
var h = b = b.toLowerCase();
g = bD
}
g("previousSibling", b, d, a, h, c)
}
},
find: {
ID: function(a, b, c) {
if (typeof b.getElementById !== "undefined" && !c) {
var d = b.getElementById(a[1]);
return d ? [d] : []
}
},
NAME: function(a, b) {
if (typeof b.getElementsByName !== "undefined") {
var c = [],
d = b.getElementsByName(a[1]);
for (var g = 0, h = d.length; g < h; g++) {
if (d[g].getAttribute("name") === a[1]) {
c.push(d[g])
}
}
return c.length === 0 ? null : c
}
},
TAG: function(a, b) {
return b.getElementsByTagName(a[1])
}
},
preFilter: {
CLASS: function(a, b, c, d, g, h) {
a = " " + a[1].replace(/\\/g, "") + " ";
if (h) {
return a
}
for (var i = 0, k;
(k = b[i]) != null; i++) {
if (k) {
if (g ^ (k.className && (" " + k.className + " ").replace(/[\t\n]/g, " ").indexOf(a) >= 0)) {
if (!c) {
d.push(k)
}
} else if (c) {
b[i] = false
}
}
}
return false
},
ID: function(a) {
return a[1].replace(/\\/g, "")
},
TAG: function(a, b) {
return a[1].toLowerCase()
},
CHILD: function(a) {
if (a[1] === "nth") {
var b = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2] === "even" && "2n" || a[2] === "odd" && "2n+1" || !/\D/.test(a[2]) && "0n+" + a[2] || a[2]);
a[2] = (b[1] + (b[2] || 1)) - 0;
a[3] = b[3] - 0
}
a[0] = C++;
return a
},
ATTR: function(a, b, c, d, g, h) {
var i = a[1].replace(/\\/g, "");
if (!h && u.attrMap[i]) {
a[1] = u.attrMap[i]
}
if (a[2] === "~=") {
a[4] = " " + a[4] + " "
}
return a
},
PSEUDO: function(a, b, c, d, g) {
if (a[1] === "not") {
if ((s.exec(a[3]) || "").length > 1 || /^\w/.test(a[3])) {
a[3] = v(a[3], null, null, b)
} else {
var h = v.filter(a[3], b, c, true ^ g);
if (!c) {
d.push.apply(d, h)
}
return false
}
} else if (u.match.POS.test(a[0]) || u.match.CHILD.test(a[0])) {
return true
}
return a
},
POS: function(a) {
a.unshift(true);
return a
}
},
filters: {
enabled: function(a) {
return a.disabled === false && a.type !== "hidden"
},
disabled: function(a) {
return a.disabled === true
},
checked: function(a) {
return a.checked === true
},
selected: function(a) {
a.parentNode.selectedIndex;
return a.selected === true
},
parent: function(a) {
return !!a.firstChild
},
empty: function(a) {
return !a.firstChild
},
has: function(a, b, c) {
return !!v(c[3], a).length
},
header: function(a) {
return /h\d/i.test(a.nodeName)
},
text: function(a) {
return "text" === a.type
},
radio: function(a) {
return "radio" === a.type
},
checkbox: function(a) {
return "checkbox" === a.type
},
file: function(a) {
return "file" === a.type
},
password: function(a) {
return "password" === a.type
},
submit: function(a) {
return "submit" === a.type
},
image: function(a) {
return "image" === a.type
},
reset: function(a) {
return "reset" === a.type
},
button: function(a) {
return "button" === a.type || a.nodeName.toLowerCase() === "button"
},
input: function(a) {
return /input|select|textarea|button/i.test(a.nodeName)
}
},
setFilters: {
first: function(a, b) {
return b === 0
},
last: function(a, b, c, d) {
return b === d.length - 1
},
even: function(a, b) {
return b % 2 === 0
},
odd: function(a, b) {
return b % 2 === 1
},
lt: function(a, b, c) {
return b < c[3] - 0
},
gt: function(a, b, c) {
return b > c[3] - 0
},
nth: function(a, b, c) {
return c[3] - 0 === b
},
eq: function(a, b, c) {
return c[3] - 0 === b
}
},
filter: {
PSEUDO: function(a, b, c, d) {
var g = b[1],
h = u.filters[g];
if (h) {
return h(a, c, b, d)
} else if (g === "contains") {
return (a.textContent || a.innerText || bf([a]) || "").indexOf(b[3]) >= 0
} else if (g === "not") {
var i = b[3];
for (var c = 0, k = i.length; c < k; c++) {
if (i[c] === a) {
return false
}
}
return true
} else {
v.error("Syntax error, unrecognized expression: " + g)
}
},
CHILD: function(a, b) {
var c = b[1],
d = a;
switch (c) {
case 'only':
case 'first':
while ((d = d.previousSibling)) {
if (d.nodeType === 1) {
return false
}
}
if (c === "first") {
return true
}
d = a;
case 'last':
while ((d = d.nextSibling)) {
if (d.nodeType === 1) {
return false
}
}
return true;
case 'nth':
var g = b[2],
h = b[3];
if (g === 1 && h === 0) {
return true
}
var i = b[0],
k = a.parentNode;
if (k && (k.sizcache !== i || !a.nodeIndex)) {
var j = 0;
for (d = k.firstChild; d; d = d.nextSibling) {
if (d.nodeType === 1) {
d.nodeIndex = ++j
}
}
k.sizcache = i
}
var l = a.nodeIndex - h;
if (g === 0) {
return l === 0
} else {
return (l % g === 0 && l / g >= 0)
}
}
},
ID: function(a, b) {
return a.nodeType === 1 && a.getAttribute("id") === b
},
TAG: function(a, b) {
return (b === "*" && a.nodeType === 1) || a.nodeName.toLowerCase() === b
},
CLASS: function(a, b) {
return (" " + (a.className || a.getAttribute("class")) + " ").indexOf(b) > -1
},
ATTR: function(a, b) {
var c = b[1],
d = u.attrHandle[c] ? u.attrHandle[c](a) : a[c] != null ? a[c] : a.getAttribute(c),
g = d + "",
h = b[2],
i = b[4];
return d == null ? h === "!=" : h === "=" ? g === i : h === "*=" ? g.indexOf(i) >= 0 : h === "~=" ? (" " + g + " ").indexOf(i) >= 0 : !i ? g && d !== false : h === "!=" ? g !== i : h === "^=" ? g.indexOf(i) === 0 : h === "$=" ? g.substr(g.length - i.length) === i : h === "|=" ? g === i || g.substr(0, i.length + 1) === i + "-" : false
},
POS: function(a, b, c, d) {
var g = b[2],
h = u.setFilters[g];
if (h) {
return h(a, c, b, d)
}
}
}
};
var ci = u.match.POS;
for (var T in u.match) {
u.match[T] = new RegExp(u.match[T].source + /(?![^\[]*\])(?![^\(]*\))/.source);
u.leftMatch[T] = new RegExp(/(^(?:.|\r|\n)*?)/.source + u.match[T].source.replace(/\\(\d+)/g, function(a, b) {
return "\\" + (b - 0 + 1)
}))
}
var M = function(a, b) {
a = Array.prototype.slice.call(a, 0);
if (b) {
b.push.apply(b, a);
return b
}
return a
};
try {
Array.prototype.slice.call(m.documentElement.childNodes, 0)[0].nodeType
} catch (e) {
M = function(a, b) {
var c = b || [];
if (R.call(a) === "[object Array]") {
Array.prototype.push.apply(c, a)
} else {
if (typeof a.length === "number") {
for (var d = 0, g = a.length; d < g; d++) {
c.push(a[d])
}
} else {
for (var d = 0; a[d]; d++) {
c.push(a[d])
}
}
}
return c
}
}
var N;
if (m.documentElement.compareDocumentPosition) {
N = function(a, b) {
if (!a.compareDocumentPosition || !b.compareDocumentPosition) {
if (a == b) {
B = true
}
return a.compareDocumentPosition ? -1 : 1
}
var c = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1;
if (c === 0) {
B = true
}
return c
}
} else if ("sourceIndex" in m.documentElement) {
N = function(a, b) {
if (!a.sourceIndex || !b.sourceIndex) {
if (a == b) {
B = true
}
return a.sourceIndex ? -1 : 1
}
var c = a.sourceIndex - b.sourceIndex;
if (c === 0) {
B = true
}
return c
}
} else if (m.createRange) {
N = function(a, b) {
if (!a.ownerDocument || !b.ownerDocument) {
if (a == b) {
B = true
}
return a.ownerDocument ? -1 : 1
}
var c = a.ownerDocument.createRange(),
d = b.ownerDocument.createRange();
c.setStart(a, 0);
c.setEnd(a, 0);
d.setStart(b, 0);
d.setEnd(b, 0);
var g = c.compareBoundaryPoints(Range.START_TO_END, d);
if (g === 0) {
B = true
}
return g
}
}
function bf(a) {
var b = "",
c;
for (var d = 0; a[d]; d++) {
c = a[d];
if (c.nodeType === 3 || c.nodeType === 4) {
b += c.nodeValue
} else if (c.nodeType !== 8) {
b += bf(c.childNodes)
}
}
return b
}(function() {
var g = m.createElement("div"),
h = "script" + (new Date).getTime();
g.innerHTML = "<a name='" + h + "'/>";
var i = m.documentElement;
i.insertBefore(g, i.firstChild);
if (m.getElementById(h)) {
u.find.ID = function(a, b, c) {
if (typeof b.getElementById !== "undefined" && !c) {
var d = b.getElementById(a[1]);
return d ? d.id === a[1] || typeof d.getAttributeNode !== "undefined" && d.getAttributeNode("id").nodeValue === a[1] ? [d] : t : []
}
};
u.filter.ID = function(a, b) {
var c = typeof a.getAttributeNode !== "undefined" && a.getAttributeNode("id");
return a.nodeType === 1 && c && c.nodeValue === b
}
}
i.removeChild(g);
i = g = null
})();
(function() {
var h = m.createElement("div");
h.appendChild(m.createComment(""));
if (h.getElementsByTagName("*").length > 0) {
u.find.TAG = function(a, b) {
var c = b.getElementsByTagName(a[1]);
if (a[1] === "*") {
var d = [];
for (var g = 0; c[g]; g++) {
if (c[g].nodeType === 1) {
d.push(c[g])
}
}
c = d
}
return c
}
}
h.innerHTML = "<a href='#'></a>";
if (h.firstChild && typeof h.firstChild.getAttribute !== "undefined" && h.firstChild.getAttribute("href") !== "#") {
u.attrHandle.href = function(a) {
return a.getAttribute("href", 2)
}
}
h = null
})();
if (m.querySelectorAll) {
(function() {
var g = v,
h = m.createElement("div");
h.innerHTML = "<p class='TEST'></p>";
if (h.querySelectorAll && h.querySelectorAll(".TEST").length === 0) {
return
}
v = function(a, b, c, d) {
b = b || m;
if (!d && b.nodeType === 9 && !S(b)) {
try {
return M(b.querySelectorAll(a), c)
} catch (e) {}
}
return g(a, b, c, d)
};
for (var i in g) {
v[i] = g[i]
}
h = null
})()
}(function() {
var d = m.createElement("div");
d.innerHTML = "<div class='test e'></div><div class='test'></div>";
if (!d.getElementsByClassName || d.getElementsByClassName("e").length === 0) {
return
}
d.lastChild.className = "e";
if (d.getElementsByClassName("e").length === 1) {
return
}
u.order.splice(1, 0, "CLASS");
u.find.CLASS = function(a, b, c) {
if (typeof b.getElementsByClassName !== "undefined" && !c) {
return b.getElementsByClassName(a[1])
}
};
d = null
})();
function bD(a, b, c, d, g, h) {
for (var i = 0, k = d.length; i < k; i++) {
var j = d[i];
if (j) {
j = j[a];
var l = false;
while (j) {
if (j.sizcache === c) {
l = d[j.sizset];
break
}
if (j.nodeType === 1 && !h) {
j.sizcache = c;
j.sizset = i
}
if (j.nodeName.toLowerCase() === b) {
l = j;
break
}
j = j[a]
}
d[i] = l
}
}
}
function bC(a, b, c, d, g, h) {
for (var i = 0, k = d.length; i < k; i++) {
var j = d[i];
if (j) {
j = j[a];
var l = false;
while (j) {
if (j.sizcache === c) {
l = d[j.sizset];
break
}
if (j.nodeType === 1) {
if (!h) {
j.sizcache = c;
j.sizset = i
}
if (typeof b !== "string") {
if (j === b) {
l = true;
break
}
} else if (v.filter(b, [j]).length > 0) {
l = j;
break
}
}
j = j[a]
}
d[i] = l
}
}
}
var bB = m.compareDocumentPosition ?
function(a, b) {
return !!(a.compareDocumentPosition(b) & 16)
} : function(a, b) {
return a !== b && (a.contains ? a.contains(b) : true)
};
var S = function(a) {
var b = (a ? a.ownerDocument || a : 0).documentElement;
return b ? b.nodeName !== "HTML" : false
};
var bA = function(a, b) {
var c = [],
d = "",
g, h = b.nodeType ? [b] : b;
while ((g = u.match.PSEUDO.exec(a))) {
d += g[0];
a = a.replace(u.match.PSEUDO, "")
}
a = u.relative[a] ? a + "*" : a;
for (var i = 0, k = h.length; i < k; i++) {
v(a, h[i], c)
}
return v.filter(d, c)
};
f.find = v;
f.expr = v.selectors;
f.expr[":"] = f.expr.filters;
f.unique = v.uniqueSort;
f.text = bf;
f.isXMLDoc = S;
f.contains = bB;
return;
w.Sizzle = v
})();
var cj = /Until$/,
ck = /^(?:parents|prevUntil|prevAll)/,
cl = /,/,
K = Array.prototype.slice;
var bE = function(c, d, g) {
if (f.isFunction(d)) {
return f.grep(c, function(a, b) {
return !!d.call(a, b, a) === g
})
} else if (d.nodeType) {
return f.grep(c, function(a, b) {
return (a === d) === g
})
} else if (typeof d === "string") {
var h = f.grep(c, function(a) {
return a.nodeType === 1
});
if (bV.test(d)) {
return f.filter(d, h, !g)
} else {
d = f.filter(d, h)
}
}
return f.grep(c, function(a, b) {
return (f.inArray(a, d) >= 0) === g
})
};
f.fn.extend({
find: function(a) {
var b = this.pushStack("", "find", a),
c = 0;
for (var d = 0, g = this.length; d < g; d++) {
c = b.length;
f.find(a, this[d], b);
if (d > 0) {
for (var h = c; h < b.length; h++) {
for (var i = 0; i < c; i++) {
if (b[i] === b[h]) {
b.splice(h--, 1);
break
}
}
}
}
}
return b
},
has: function(c) {
var d = f(c);
return this.filter(function() {
for (var a = 0, b = d.length; a < b; a++) {
if (f.contains(this, d[a])) {
return true
}
}
})
},
not: function(a) {
return this.pushStack(bE(this, a, false), "not", a)
},
filter: function(a) {
return this.pushStack(bE(this, a, true), "filter", a)
},
is: function(a) {
return !!a && f.filter(a, this).length > 0
},
closest: function(c, d) {
if (f.isArray(c)) {
var g = [],
h = this[0],
i, k = {},
j;
if (h && c.length) {
for (var l = 0, n = c.length; l < n; l++) {
j = c[l];
if (!k[j]) {
k[j] = f.expr.match.POS.test(j) ? f(j, d || this.context) : j
}
}
while (h && h.ownerDocument && h !== d) {
for (j in k) {
i = k[j];
if (i.jquery ? i.index(h) > -1 : f(h).is(i)) {
g.push({
selector: j,
elem: h
});
delete k[j]
}
}
h = h.parentNode
}
}
return g
}
var q = f.expr.match.POS.test(c) ? f(c, d || this.context) : null;
return this.map(function(a, b) {
while (b && b.ownerDocument && b !== d) {
if (q ? q.index(b) > -1 : f(b).is(c)) {
return b
}
b = b.parentNode
}
return null
})
},
index: function(a) {
if (!a || typeof a === "string") {
return f.inArray(this[0], a ? f(a) : this.parent().children())
}
return f.inArray(a.jquery ? a[0] : a, this)
},
add: function(a, b) {
var c = typeof a === "string" ? f(a, b || this.context) : f.makeArray(a),
d = f.merge(this.get(), c);
return this.pushStack(bF(c[0]) || bF(d[0]) ? d : f.unique(d))
},
andSelf: function() {
return this.add(this.prevObject)
}
});
function bF(a) {
return !a || !a.parentNode || a.parentNode.nodeType === 11
}
f.each({
parent: function(a) {
var b = a.parentNode;
return b && b.nodeType !== 11 ? b : null
},
parents: function(a) {
return f.dir(a, "parentNode")
},
parentsUntil: function(a, b, c) {
return f.dir(a, "parentNode", c)
},
next: function(a) {
return f.nth(a, 2, "nextSibling")
},
prev: function(a) {
return f.nth(a, 2, "previousSibling")
},
nextAll: function(a) {
return f.dir(a, "nextSibling")
},
prevAll: function(a) {
return f.dir(a, "previousSibling")
},
nextUntil: function(a, b, c) {
return f.dir(a, "nextSibling", c)
},
prevUntil: function(a, b, c) {
return f.dir(a, "previousSibling", c)
},
siblings: function(a) {
return f.sibling(a.parentNode.firstChild, a)
},
children: function(a) {
return f.sibling(a.firstChild)
},
contents: function(a) {
return f.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : f.makeArray(a.childNodes)
}
}, function(d, g) {
f.fn[d] = function(a, b) {
var c = f.map(this, g, a);
if (!cj.test(d)) {
b = a
}
if (b && typeof b === "string") {
c = f.filter(b, c)
}
c = this.length > 1 ? f.unique(c) : c;
if ((this.length > 1 || cl.test(b)) && ck.test(d)) {
c = c.reverse()
}
return this.pushStack(c, d, K.call(arguments).join(","))
}
});
f.extend({
filter: function(a, b, c) {
if (c) {
a = ":not(" + a + ")"
}
return f.find.matches(a, b)
},
dir: function(a, b, c) {
var d = [],
g = a[b];
while (g && g.nodeType !== 9 && (c === t || g.nodeType !== 1 || !f(g).is(c))) {
if (g.nodeType === 1) {
d.push(g)
}
g = g[b]
}
return d
},
nth: function(a, b, c, d) {
b = b || 1;
var g = 0;
for (; a; a = a[c]) {
if (a.nodeType === 1 && ++g === b) {
break
}
}
return a
},
sibling: function(a, b) {
var c = [];
for (; a; a = a.nextSibling) {
if (a.nodeType === 1 && a !== b) {
c.push(a)
}
}
return c
}
});
var bG = / jQuery\d+="(?:\d+|null)"/g,
U = /^\s+/,
bH = /(<([\w:]+)[^>]*?)\/>/g,
cm = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
bI = /<([\w:]+)/,
cn = /<tbody/i,
co = /<|&#?\w+;/,
bJ = /<script|<object|<embed|<option|<style/i,
bK = /checked\s*(?:[^=]|=\s*.checked.)/i,
bL = function(a, b, c) {
return cm.test(c) ? a : b + "></" + c + ">"
},
A = {
option: [1, "<select multiple='multiple'>", "</select>"],
legend: [1, "<fieldset>", "</fieldset>"],
thead: [1, "<table>", "</table>"],
tr: [2, "<table><tbody>", "</tbody></table>"],
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
area: [1, "<map>", "</map>"],
_0: [0, "", ""]
};
A.optgroup = A.option;
A.tbody = A.tfoot = A.colgroup = A.caption = A.thead;
A.th = A.td;
if (!f.support.htmlSerialize) {
A._0 = [1, "div<div>", "</div>"]
}
f.fn.extend({
text: function(c) {
if (f.isFunction(c)) {
return this.each(function(a) {
var b = f(this);
b.text(c.call(this, a, b.text()))
})
}
if (typeof c !== "object" && c !== t) {
return this.empty().append((this[0] && this[0].ownerDocument || m).createTextNode(c))
}
return f.text(this)
},
wrapAll: function(b) {
if (f.isFunction(b)) {
return this.each(function(a) {
f(this).wrapAll(b.call(this, a))
})
}
if (this[0]) {
var c = f(b, this[0].ownerDocument).eq(0).clone(true);
if (this[0].parentNode) {
c.insertBefore(this[0])
}
c.map(function() {
var a = this;
while (a.firstChild && a.firstChild.nodeType === 1) {
a = a.firstChild
}
return a
}).append(this)
}
return this
},
wrapInner: function(c) {
if (f.isFunction(c)) {
return this.each(function(a) {
f(this).wrapInner(c.call(this, a))
})
}
return this.each(function() {
var a = f(this),
b = a.contents();
if (b.length) {
b.wrapAll(c)
} else {
a.append(c)
}
})
},
wrap: function(a) {
return this.each(function() {
f(this).wrapAll(a)
})
},
unwrap: function() {
return this.parent().each(function() {
if (!f.nodeName(this, "body")) {
f(this).replaceWith(this.childNodes)
}
}).end()
},
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() {
if (this[0] && this[0].parentNode) {
return this.domManip(arguments, false, function(a) {
this.parentNode.insertBefore(a, this)
})
} else if (arguments.length) {
var b = f(arguments[0]);
b.push.apply(b, this.toArray());
return this.pushStack(b, "before", arguments)
}
},
after: function() {
if (this[0] && this[0].parentNode) {
return this.domManip(arguments, false, function(a) {
this.parentNode.insertBefore(a, this.nextSibling)
})
} else if (arguments.length) {
var b = this.pushStack(this, "after", arguments);
b.push.apply(b, f(arguments[0]).toArray());
return b
}
},
remove: function(a, b) {
for (var c = 0, d;
(d = this[c]) != null; c++) {
if (!a || f.filter(a, [d]).length) {
if (!b && d.nodeType === 1) {
f.cleanData(d.getElementsByTagName("*"));
f.cleanData([d])
}
if (d.parentNode) {
d.parentNode.removeChild(d)
}
}
}
return this
},
empty: function() {
for (var a = 0, b;
(b = this[a]) != null; a++) {
if (b.nodeType === 1) {
f.cleanData(b.getElementsByTagName("*"))
}
while (b.firstChild) {
b.removeChild(b.firstChild)
}
}
return this
},
clone: function(d) {
var g = this.map(function() {
if (!f.support.noCloneEvent && !f.isXMLDoc(this)) {
var a = this.outerHTML,
b = this.ownerDocument;
if (!a) {
var c = b.createElement("div");
c.appendChild(this.cloneNode(true));
a = c.innerHTML
}
return f.clean([a.replace(bG, "").replace(/=([^="'>\s]+\/)>/g, '="$1">').replace(U, "")], b)[0]
} else {
return this.cloneNode(true)
}
});
if (d === true) {
bM(this, g);
bM(this.find("*"), g.find("*"))
}
return g
},
html: function(d) {
if (d === t) {
return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(bG, "") : null
} else if (typeof d === "string" && !bJ.test(d) && (f.support.leadingWhitespace || !U.test(d)) && !A[(bI.exec(d) || ["", ""])[1].toLowerCase()]) {
d = d.replace(bH, bL);
try {
for (var g = 0, h = this.length; g < h; g++) {
if (this[g].nodeType === 1) {
f.cleanData(this[g].getElementsByTagName("*"));
this[g].innerHTML = d
}
}
} catch (e) {
this.empty().append(d)
}
} else if (f.isFunction(d)) {
this.each(function(a) {
var b = f(this),
c = b.html();
b.empty().append(function() {
return d.call(this, a, c)
})
})
} else {
this.empty().append(d)
}
return this
},
replaceWith: function(d) {
if (this[0] && this[0].parentNode) {
if (f.isFunction(d)) {
return this.each(function(a) {
var b = f(this),
c = b.html();
b.replaceWith(d.call(this, a, c))
})
}
if (typeof d !== "string") {
d = f(d).detach()
}
return this.each(function() {
var a = this.nextSibling,
b = this.parentNode;
f(this).remove();
if (a) {
f(a).before(d)
} else {
f(b).append(d)
}
})
} else {
return this.pushStack(f(f.isFunction(d) ? d() : d), "replaceWith", d)
}
},
detach: function(a) {
return this.remove(a, true)
},
domManip: function(c, d, g) {
var h, i, k = c[0],
j = [],
l, n;
if (!f.support.checkClone && arguments.length === 3 && typeof k === "string" && bK.test(k)) {
return this.each(function() {
f(this).domManip(c, d, g, true)
})
}
if (f.isFunction(k)) {
return this.each(function(a) {
var b = f(this);
c[0] = k.call(this, a, d ? b.html() : t);
b.domManip(c, d, g)
})
}
if (this[0]) {
n = k && k.parentNode;
if (f.support.parentNode && n && n.nodeType === 11 && n.childNodes.length === this.length) {
h = {
fragment: n
}
} else {
h = bn(c, this, j)
}
l = h.fragment;
if (l.childNodes.length === 1) {
i = l = l.firstChild
} else {
i = l.firstChild
}
if (i) {
d = d && f.nodeName(i, "tr");
for (var q = 0, o = this.length; q < o; q++) {
g.call(d ? r(this[q], i) : this[q], q > 0 || h.cacheable || this.length > 1 ? l.cloneNode(true) : l)
}
}
if (j.length) {
f.each(j, ca)
}
}
return this;
function r(a, b) {
return f.nodeName(a, "table") ? (a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody"))) : a
}
}
});
function bM(g, h) {
var i = 0;
h.each(function() {
if (this.nodeName !== (g[i] && g[i].nodeName)) {
return
}
var a = f.data(g[i++]),
b = f.data(this, a),
c = a && a.events;
if (c) {
delete b.handle;
b.events = {};
for (var d in c) {
for (var handler in c[d]) {
f.event.add(this, d, c[d][handler], c[d][handler].data)
}
}
}
})
}
function bn(a, b, c) {
var d, g, h, i = (b && b[0] ? b[0].ownerDocument || b[0] : m);
if (a.length === 1 && typeof a[0] === "string" && a[0].length < 512 && i === m && !bJ.test(a[0]) && (f.support.checkClone || !bK.test(a[0]))) {
g = true;
h = f.fragments[a[0]];
if (h) {
if (h !== 1) {
d = h
}
}
}
if (!d) {
d = i.createDocumentFragment();
f.clean(a, i, d, c)
}
if (g) {
f.fragments[a[0]] = h ? d : 1
}
return {
fragment: d,
cacheable: g
}
}
f.fragments = {};
f.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(k, j) {
f.fn[k] = function(a) {
var b = [],
c = f(a),
d = this.length === 1 && this[0].parentNode;
if (d && d.nodeType === 11 && d.childNodes.length === 1 && c.length === 1) {
c[j](this[0]);
return this
} else {
for (var g = 0, h = c.length; g < h; g++) {
var i = (g > 0 ? this.clone(true) : this).get();
f.fn[j].apply(f(c[g]), i);
b = b.concat(i)
}
return this.pushStack(b, k, c.selector)
}
}
});
f.extend({
clean: function(a, b, c, d) {
b = b || m;
if (typeof b.createElement === "undefined") {
b = b.ownerDocument || b[0] && b[0].ownerDocument || m
}
var g = [];
for (var h = 0, i;
(i = a[h]) != null; h++) {
if (typeof i === "number") {
i += ""
}
if (!i) {
continue
}
if (typeof i === "string" && !co.test(i)) {
i = b.createTextNode(i)
} else if (typeof i === "string") {
i = i.replace(bH, bL);
var k = (bI.exec(i) || ["", ""])[1].toLowerCase(),
j = A[k] || A._0,
l = j[0],
n = b.createElement("div");
n.innerHTML = j[1] + i + j[2];
while (l--) {
n = n.lastChild
}
if (!f.support.tbody) {
var q = cn.test(i),
o = k === "table" && !q ? n.firstChild && n.firstChild.childNodes : j[1] === "<table>" && !q ? n.childNodes : [];
for (var r = o.length - 1; r >= 0; --r) {
if (f.nodeName(o[r], "tbody") && !o[r].childNodes.length) {
o[r].parentNode.removeChild(o[r])
}
}
}
if (!f.support.leadingWhitespace && U.test(i)) {
n.insertBefore(b.createTextNode(U.exec(i)[0]), n.firstChild)
}
i = n.childNodes
}
if (i.nodeType) {
g.push(i)
} else {
g = f.merge(g, i)
}
}
if (c) {
for (var h = 0; g[h]; h++) {
if (d && f.nodeName(g[h], "script") && (!g[h].type || g[h].type.toLowerCase() === "text/javascript")) {
d.push(g[h].parentNode ? g[h].parentNode.removeChild(g[h]) : g[h])
} else {
if (g[h].nodeType === 1) {
g.splice.apply(g, [h + 1, 0].concat(f.makeArray(g[h].getElementsByTagName("script"))))
}
c.appendChild(g[h])
}
}
}
return g
},
cleanData: function(a) {
var b, c, d = f.cache,
g = f.event.special,
h = f.support.deleteExpando;
for (var i = 0, k;
(k = a[i]) != null; i++) {
c = k[f.expando];
if (c) {
b = d[c];
if (b.events) {
for (var j in b.events) {
if (g[j]) {
f.event.remove(k, j)
} else {
bs(k, j, b.handle)
}
}
}
if (h) {
delete k[f.expando]
} else if (k.removeAttribute) {
k.removeAttribute(f.expando)
}
delete d[c]
}
}
}
});
var cp = /z-?index|font-?weight|opacity|zoom|line-?height/i,
bN = /alpha\([^)]*\)/,
bO = /opacity=([^)]*)/,
bg = /float/i,
bh = /-([a-z])/ig,
cq = /([A-Z])/g,
cr = /^-?\d+(?:px)?$/i,
cs = /^-?\d/,
ct = {
position: "absolute",
visibility: "hidden",
display: "block"
},
cu = ["Left", "Right"],
cv = ["Top", "Bottom"],
cw = m.defaultView && m.defaultView.getComputedStyle,
bP = f.support.cssFloat ? "cssFloat" : "styleFloat",
bi = function(a, b) {
return b.toUpperCase()
};
f.fn.css = function(d, g) {
return Z(this, d, g, true, function(a, b, c) {
if (c === t) {
return f.curCSS(a, b)
}
if (typeof c === "number" && !cp.test(b)) {
c += "px"
}
f.style(a, b, c)
})
};
f.extend({
style: function(a, b, c) {
if (!a || a.nodeType === 3 || a.nodeType === 8) {
return t
}
if ((b === "width" || b === "height") && parseFloat(c) < 0) {
c = t
}
var d = a.style || a,
g = c !== t;
if (!f.support.opacity && b === "opacity") {
if (g) {
d.zoom = 1;
var h = parseInt(c, 10) + "" === "NaN" ? "" : "alpha(opacity=" + c * 100 + ")";
var i = d.filter || f.curCSS(a, "filter") || "";
d.filter = bN.test(i) ? i.replace(bN, h) : h
}
return d.filter && d.filter.indexOf("opacity=") >= 0 ? (parseFloat(bO.exec(d.filter)[1]) / 100) + "" : ""
}
if (bg.test(b)) {
b = bP
}
b = b.replace(bh, bi);
if (g) {
d[b] = c
}
return d[b]
},
css: function(a, b, c, d) {
if (b === "width" || b === "height") {
var g, h = ct,
i = b === "width" ? cu : cv;
function k() {
g = b === "width" ? a.offsetWidth : a.offsetHeight;
if (d === "border") {
return
}
f.each(i, function() {
if (!d) {
g -= parseFloat(f.curCSS(a, "padding" + this, true)) || 0
}
if (d === "margin") {
g += parseFloat(f.curCSS(a, "margin" + this, true)) || 0
} else {
g -= parseFloat(f.curCSS(a, "border" + this + "Width", true)) || 0
}
})
}
if (a.offsetWidth !== 0) {
k()
} else {
f.swap(a, h, k)
}
return Math.max(0, Math.round(g))
}
return f.curCSS(a, b, c)
},
curCSS: function(a, b, c) {
var d, g = a.style,
h;
if (!f.support.opacity && b === "opacity" && a.currentStyle) {
d = bO.test(a.currentStyle.filter || "") ? (parseFloat(RegExp.$1) / 100) + "" : "";
return d === "" ? "1" : d
}
if (bg.test(b)) {
b = bP
}
if (!c && g && g[b]) {
d = g[b]
} else if (cw) {
if (bg.test(b)) {
b = "float"
}
b = b.replace(cq, "-$1").toLowerCase();
var i = a.ownerDocument.defaultView;
if (!i) {
return null
}
var k = i.getComputedStyle(a, null);
if (k) {
d = k.getPropertyValue(b)
}
if (b === "opacity" && d === "") {
d = "1"
}
} else if (a.currentStyle) {
var j = b.replace(bh, bi);
d = a.currentStyle[b] || a.currentStyle[j];
if (!cr.test(d) && cs.test(d)) {
var l = g.left,
n = a.runtimeStyle.left;
a.runtimeStyle.left = a.currentStyle.left;
g.left = j === "fontSize" ? "1em" : (d || 0);
d = g.pixelLeft + "px";
g.left = l;
a.runtimeStyle.left = n
}
}
return d
},
swap: function(a, b, c) {
var d = {};
for (var g in b) {
d[g] = a.style[g];
a.style[g] = b[g]
}
c.call(a);
for (var g in b) {
a.style[g] = d[g]
}
}
});
if (f.expr && f.expr.filters) {
f.expr.filters.hidden = function(a) {
var b = a.offsetWidth,
c = a.offsetHeight,
d = a.nodeName.toLowerCase() === "tr";
return b === 0 && c === 0 && !d ? true : b > 0 && c > 0 && !d ? false : f.curCSS(a, "display") === "none"
};
f.expr.filters.visible = function(a) {
return !f.expr.filters.hidden(a)
}
}
var cx = F(),
cy = /<script(.|\s)*?\/script>/gi,
cz = /select|textarea/i,
cA = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,
H = /=\?(&|$)/,
bj = /\?/,
cB = /(\?|&)_=.*?(&|$)/,
cC = /^(\w+:)?\/\/([^\/?#]+)/,
cD = /%20/g,
cE = f.fn.load;
f.fn.extend({
load: function(c, d, g) {
if (typeof c !== "string") {
return cE.call(this, c)
} else if (!this.length) {
return this
}
var h = c.indexOf(" ");
if (h >= 0) {
var i = c.slice(h, c.length);
c = c.slice(0, h)
}
var k = "GET";
if (d) {
if (f.isFunction(d)) {
g = d;
d = null
} else if (typeof d === "object") {
d = f.param(d, f.ajaxSettings.traditional);
k = "POST"
}
}
var j = this;
f.ajax({
url: c,
type: k,
dataType: "html",
data: d,
complete: function(a, b) {
if (b === "success" || b === "notmodified") {
j.html(i ? f("<div />").append(a.responseText.replace(cy, "")).find(i) : a.responseText)
}
if (g) {
j.each(g, [a.responseText, b, a])
}
}
});
return this
},
serialize: function() {
return f.param(this.serializeArray())
},
serializeArray: function() {
return this.map(function() {
return this.elements ? f.makeArray(this.elements) : this
}).filter(function() {
return this.name && !this.disabled && (this.checked || cz.test(this.nodeName) || cA.test(this.type))
}).map(function(c, d) {
var g = f(this).val();
return g == null ? null : f.isArray(g) ? f.map(g, function(a, b) {
return {
name: d.name,
value: a
}
}) : {
name: d.name,
value: g
}
}).get()
}
});
f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(b, c) {
f.fn[c] = function(a) {
return this.bind(c, a)
}
});
f.extend({
get: function(a, b, c, d) {
if (f.isFunction(b)) {
d = d || c;
c = b;
b = null
}
return f.ajax({
type: "GET",
url: a,
data: b,
success: c,
dataType: d
})
},
getScript: function(a, b) {
return f.get(a, null, b, "script")
},
getJSON: function(a, b, c) {
return f.get(a, b, c, "json")
},
post: function(a, b, c, d) {
if (f.isFunction(b)) {
d = d || c;
c = b;
b = {}
}
return f.ajax({
type: "POST",
url: a,
data: b,
success: c,
dataType: d
})
},
ajaxSetup: function(a) {
f.extend(f.ajaxSettings, a)
},
ajaxSettings: {
url: location.href,
global: true,
type: "GET",
contentType: "application/x-www-form-urlencoded",
processData: true,
async: true,
xhr: w.XMLHttpRequest && (w.location.protocol !== "file:" || !w.ActiveXObject) ?
function() {
return new w.XMLHttpRequest()
} : function() {
try {
return new w.ActiveXObject("Microsoft.XMLHTTP")
} catch (e) {}
},
accepts: {
xml: "application/xml, text/xml",
html: "text/html",
script: "text/javascript, application/javascript",
json: "application/json, text/javascript",
text: "text/plain",
_0: "*/*"
}
},
lastModified: {},
etag: {},
ajax: function(c) {
var d = f.extend(true, {}, f.ajaxSettings, c);
var g, h, i, k = c && c.context || d,
j = d.type.toUpperCase();
if (d.data && d.processData && typeof d.data !== "string") {
d.data = f.param(d.data, d.traditional)
}
if (d.dataType === "jsonp") {
if (j === "GET") {
if (!H.test(d.url)) {
d.url += (bj.test(d.url) ? "&" : "?") + (d.jsonp || "callback") + "=?"
}
} else if (!d.data || !H.test(d.data)) {
d.data = (d.data ? d.data + "&" : "") + (d.jsonp || "callback") + "=?"
}
d.dataType = "json"
}
if (d.dataType === "json" && (d.data && H.test(d.data) || H.test(d.url))) {
g = d.jsonpCallback || ("jsonp" + cx++);
if (d.data) {
d.data = (d.data + "").replace(H, "=" + g + "$1")
}
d.url = d.url.replace(H, "=" + g + "$1");
d.dataType = "script";
w[g] = w[g] ||
function(a) {
i = a;
B();
E();
w[g] = t;
try {
delete w[g]
} catch (e) {}
if (r) {
r.removeChild(y)
}
}
}
if (d.dataType === "script" && d.cache === null) {
d.cache = false
}
if (d.cache === false && j === "GET") {
var l = F();
var n = d.url.replace(cB, "$1_=" + l + "$2");
d.url = n + ((n === d.url) ? (bj.test(d.url) ? "&" : "?") + "_=" + l : "")
}
if (d.data && j === "GET") {
d.url += (bj.test(d.url) ? "&" : "?") + d.data
}
if (d.global && !f.active++) {
f.event.trigger("ajaxStart")
}
var q = cC.exec(d.url),
o = q && (q[1] && q[1] !== location.protocol || q[2] !== location.host);
if (d.dataType === "script" && j === "GET" && o) {
var r = m.getElementsByTagName("head")[0] || m.documentElement;
var y = m.createElement("script");
y.src = d.url;
if (d.scriptCharset) {
y.charset = d.scriptCharset
}
if (!g) {
var z = false;
y.onload = y.onreadystatechange = function() {
if (!z && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) {
z = true;
B();
E();
y.onload = y.onreadystatechange = null;
if (r && y.parentNode) {
r.removeChild(y)
}
}
}
}
r.insertBefore(y, r.firstChild);
return t
}
var x = false;
var s = d.xhr();
if (!s) {
return
}
if (d.username) {
s.open(j, d.url, d.async, d.username, d.password)
} else {
s.open(j, d.url, d.async)
}
try {
if (d.data || c && c.contentType) {
s.setRequestHeader("Content-Type", d.contentType)
}
if (d.ifModified) {
if (f.lastModified[d.url]) {
s.setRequestHeader("If-Modified-Since", f.lastModified[d.url])
}
if (f.etag[d.url]) {
s.setRequestHeader("If-None-Match", f.etag[d.url])
}
}
if (!o) {
s.setRequestHeader("X-Requested-With", "XMLHttpRequest")
}
s.setRequestHeader("Accept", d.dataType && d.accepts[d.dataType] ? d.accepts[d.dataType] + ", */*" : d.accepts._0)
} catch (e) {}
if (d.beforeSend && d.beforeSend.call(k, s, d) === false) {
if (d.global && !--f.active) {
f.event.trigger("ajaxStop")
}
s.abort();
return false
}
if (d.global) {
v("ajaxSend", [s, d])
}
var C = s.onreadystatechange = function(a) {
if (!s || s.readyState === 0 || a === "abort") {
if (!x) {
E()
}
x = true;
if (s) {
s.onreadystatechange = f.noop
}
} else if (!x && s && (s.readyState === 4 || a === "timeout")) {
x = true;
s.onreadystatechange = f.noop;
h = a === "timeout" ? "timeout" : !f.httpSuccess(s) ? "error" : d.ifModified && f.httpNotModified(s, d.url) ? "notmodified" : "success";
var b;
if (h === "success") {
try {
i = f.httpData(s, d.dataType, d)
} catch (err) {
h = "parsererror";
b = err
}
}
if (h === "success" || h === "notmodified") {
if (!g) {
B()
}
} else {
f.handleError(d, s, h, b)
}
E();
if (a === "timeout") {
s.abort()
}
if (d.async) {
s = null
}
}
};
try {
var R = s.abort;
s.abort = function() {
if (s) {
R.call(s)
}
C("abort")
}
} catch (e) {}
if (d.async && d.timeout > 0) {
setTimeout(function() {
if (s && !x) {
C("timeout")
}
}, d.timeout)
}
try {
s.send(j === "POST" || j === "PUT" || j === "DELETE" ? d.data : null)
} catch (e) {
f.handleError(d, s, null, e);
E()
}
if (!d.async) {
C()
}
function B() {
if (d.success) {
d.success.call(k, i, h, s)
}
if (d.global) {
v("ajaxSuccess", [s, d])
}
}
function E() {
if (d.complete) {
d.complete.call(k, s, h)
}
if (d.global) {
v("ajaxComplete", [s, d])
}
if (d.global && !--f.active) {
f.event.trigger("ajaxStop")
}
}
function v(a, b) {
(d.context ? f(d.context) : f.event).trigger(a, b)
}
return s
},
handleError: function(a, b, c, d) {
if (a.error) {
a.error.call(a.context || a, b, c, d)
}
if (a.global) {
(a.context ? f(a.context) : f.event).trigger("ajaxError", [b, a, d])
}
},
active: 0,
httpSuccess: function(a) {
try {
return !a.status && location.protocol === "file:" || (a.status >= 200 && a.status < 300) || a.status === 304 || a.status === 1223 || a.status === 0
} catch (e) {}
return false
},
httpNotModified: function(a, b) {
var c = a.getResponseHeader("Last-Modified"),
d = a.getResponseHeader("Etag");
if (c) {
f.lastModified[b] = c
}
if (d) {
f.etag[b] = d
}
return a.status === 304 || a.status === 0
},
httpData: function(a, b, c) {
var d = a.getResponseHeader("content-type") || "",
g = b === "xml" || !b && d.indexOf("xml") >= 0,
h = g ? a.responseXML : a.responseText;
if (g && h.documentElement.nodeName === "parsererror") {
f.error("parsererror")
}
if (c && c.dataFilter) {
h = c.dataFilter(h, b)
}
if (typeof h === "string") {
if (b === "json" || !b && d.indexOf("json") >= 0) {
h = f.parseJSON(h)
} else if (b === "script" || !b && d.indexOf("javascript") >= 0) {
f.globalEval(h)
}
}
return h
},
param: function(g, h) {
var i = [];
if (h === t) {
h = f.ajaxSettings.traditional
}
if (f.isArray(g) || g.jquery) {
f.each(g, function() {
l(this.name, this.value)
})
} else {
for (var k in g) {
j(k, g[k])
}
}
return i.join("&").replace(cD, "+");
function j(c, d) {
if (f.isArray(d)) {
f.each(d, function(a, b) {
if (h || /\[\]$/.test(c)) {
l(c, b)
} else {
j(c + "[" + (typeof b === "object" || f.isArray(b) ? a : "") + "]", b)
}
})
} else if (!h && d != null && typeof d === "object") {
f.each(d, function(a, b) {
j(c + "[" + a + "]", b)
})
} else {
l(c, d)
}
}
function l(a, b) {
b = f.isFunction(b) ? b() : b;
i[i.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
}
}
});
var bk = {},
cF = /toggle|show|hide/,
cG = /^([+-]=)?([\d+-.]+)(.*)$/,
V, bQ = [
["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"],
["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"],
["opacity"]
];
f.fn.extend({
show: function(a, b) {
if (a || a === 0) {
return this.animate(I("show", 3), a, b)
} else {
for (var c = 0, d = this.length; c < d; c++) {
var g = f.data(this[c], "olddisplay");
this[c].style.display = g || "";
if (f.css(this[c], "display") === "none") {
var h = this[c].nodeName,
i;
if (bk[h]) {
i = bk[h]
} else {
var k = f("<" + h + " />").appendTo("body");
i = k.css("display");
if (i === "none") {
i = "block"
}
k.remove();
bk[h] = i
}
f.data(this[c], "olddisplay", i)
}
}
for (var j = 0, l = this.length; j < l; j++) {
this[j].style.display = f.data(this[j], "olddisplay") || ""
}
return this
}
},
hide: function(a, b) {
if (a || a === 0) {
return this.animate(I("hide", 3), a, b)
} else {
for (var c = 0, d = this.length; c < d; c++) {
var g = f.data(this[c], "olddisplay");
if (!g && g !== "none") {
f.data(this[c], "olddisplay", f.css(this[c], "display"))
}
}
for (var h = 0, i = this.length; h < i; h++) {
this[h].style.display = "none"
}
return this
}
},
_2: f.fn.toggle,
toggle: function(b, c) {
var d = typeof b === "boolean";
if (f.isFunction(b) && f.isFunction(c)) {
this._2.apply(this, arguments)
} else if (b == null || d) {
this.each(function() {
var a = d ? b : f(this).is(":hidden");
f(this)[a ? "show" : "hide"]()
})
} else {
this.animate(I("toggle", 3), b, c)
}
return this
},
fadeTo: function(a, b, c) {
return this.filter(":hidden").css("opacity", 0).show().end().animate({
opacity: b
}, a, c)
},
animate: function(o, r, y, z) {
var x = f.speed(r, y, z);
if (f.isEmptyObject(o)) {
return this.each(x.complete)
}
return this[x.queue === false ? "each" : "queue"](function() {
var k = f.extend({}, x),
j, l = this.nodeType === 1 && f(this).is(":hidden"),
n = this;
for (j in o) {
var q = j.replace(bh, bi);
if (j !== q) {
o[q] = o[j];
delete o[j];
j = q
}
if (o[j] === "hide" && l || o[j] === "show" && !l) {
return k.complete.call(this)
}
if ((j === "height" || j === "width") && this.style) {
k.display = f.css(this, "display");
k.overflow = this.style.overflow
}
if (f.isArray(o[j])) {
(k.specialEasing = k.specialEasing || {})[j] = o[j][1];
o[j] = o[j][0]
}
}
if (k.overflow != null) {
this.style.overflow = "hidden"
}
k.curAnim = f.extend({}, o);
f.each(o, function(a, b) {
var c = new f.fx(n, k, a);
if (cF.test(b)) {
c[b === "toggle" ? l ? "show" : "hide" : b](o)
} else {
var d = cG.exec(b),
g = c.cur(true) || 0;
if (d) {
var h = parseFloat(d[2]),
i = d[3] || "px";
if (i !== "px") {
n.style[a] = (h || 1) + i;
g = ((h || 1) / c.cur(true)) * g;
n.style[a] = g + i
}
if (d[1]) {
h = ((d[1] === "-=" ? -1 : 1) * h) + g
}
c.custom(g, h, i)
} else {
c.custom(g, b, "")
}
}
});
return true
})
},
stop: function(b, c) {
var d = f.timers;
if (b) {
this.queue([])
}
this.each(function() {
for (var a = d.length - 1; a >= 0; a--) {
if (d[a].elem === this) {
if (c) {
d[a](true)
}
d.splice(a, 1)
}
}
});
if (!c) {
this.dequeue()
}
return this
}
});
f.each({
slideDown: I("show", 1),
slideUp: I("hide", 1),
slideToggle: I("toggle", 1),
fadeIn: {
opacity: "show"
},
fadeOut: {
opacity: "hide"
}
}, function(c, d) {
f.fn[c] = function(a, b) {
return this.animate(d, a, b)
}
});
f.extend({
speed: function(a, b, c) {
var d = a && typeof a === "object" ? a : {
complete: c || !c && b || f.isFunction(a) && a,
duration: a,
easing: c && b || b && !f.isFunction(b) && b
};
d.duration = f.fx.off ? 0 : typeof d.duration === "number" ? d.duration : f.fx.speeds[d.duration] || f.fx.speeds._0;
d.old = d.complete;
d.complete = function() {
if (d.queue !== false) {
f(this).dequeue()
}
if (f.isFunction(d.old)) {
d.old.call(this)
}
};
return d
},
easing: {
linear: function(a, b, c, d) {
return c + d * a
},
swing: function(a, b, c, d) {
return ((-Math.cos(a * Math.PI) / 2) + 0.5) * d + c
}
},
timers: [],
fx: function(a, b, c) {
this.options = b;
this.elem = a;
this.prop = c;
if (!b.orig) {
b.orig = {}
}
}
});
f.fx.prototype = {
update: function() {
if (this.options.step) {
this.options.step.call(this.elem, this.now, this)
}(f.fx.step[this.prop] || f.fx.step._0)(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(f.css(this.elem, this.prop, a));
return b && b > -10000 ? b : parseFloat(f.curCSS(this.elem, this.prop)) || 0
},
custom: function(b, c, d) {
this.startTime = F();
this.start = b;
this.end = c;
this.unit = d || this.unit || "px";
this.now = this.start;
this.pos = this.state = 0;
var g = this;
function h(a) {
return g.step(a)
}
h.elem = this.elem;
if (h() && f.timers.push(h) && !V) {
V = setInterval(f.fx.tick, 13)
}
},
show: function() {
this.options.orig[this.prop] = f.style(this.elem, this.prop);
this.options.show = true;
this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur());
f(this.elem).show()
},
hide: function() {
this.options.orig[this.prop] = f.style(this.elem, this.prop);
this.options.hide = true;
this.custom(this.cur(), 0)
},
step: function(a) {
var b = F(),
c = true;
if (a || b >= this.options.duration + this.startTime) {
this.now = this.end;
this.pos = this.state = 1;
this.update();
this.options.curAnim[this.prop] = true;
for (var d in this.options.curAnim) {
if (this.options.curAnim[d] !== true) {
c = false
}
}
if (c) {
if (this.options.display != null) {
this.elem.style.overflow = this.options.overflow;
var old = f.data(this.elem, "olddisplay");
this.elem.style.display = old ? old : this.options.display;
if (f.css(this.elem, "display") === "none") {
this.elem.style.display = "block"
}
}
if (this.options.hide) {
f(this.elem).hide()
}
if (this.options.hide || this.options.show) {
for (var p in this.options.curAnim) {
f.style(this.elem, p, this.options.orig[p])
}
}
this.options.complete.call(this.elem)
}
return false
} else {
var g = b - this.startTime;
this.state = g / this.options.duration;
var h = this.options.specialEasing && this.options.specialEasing[this.prop];
var i = this.options.easing || (f.easing.swing ? "swing" : "linear");
this.pos = f.easing[h || i](this.state, g, 0, 1, this.options.duration);
this.now = this.start + ((this.end - this.start) * this.pos);
this.update()
}
return true
}
};
f.extend(f.fx, {
tick: function() {
var a = f.timers;
for (var b = 0; b < a.length; b++) {
if (!a[b]()) {
a.splice(b--, 1)
}
}
if (!a.length) {
f.fx.stop()
}
},
stop: function() {
clearInterval(V);
V = null
},
speeds: {
slow: 600,
fast: 200,
_0: 400
},
step: {
opacity: function(a) {
f.style(a.elem, "opacity", a.now)
},
_0: function(a) {
if (a.elem.style && a.elem.style[a.prop] != null) {
a.elem.style[a.prop] = (a.prop === "width" || a.prop === "height" ? Math.max(0, a.now) : a.now) + a.unit
} else {
a.elem[a.prop] = a.now
}
}
}
});
if (f.expr && f.expr.filters) {
f.expr.filters.animated = function(b) {
return f.grep(f.timers, function(a) {
return b === a.elem
}).length
}
}
function I(a, b) {
var c = {};
f.each(bQ.concat.apply([], bQ.slice(0, b)), function() {
c[this] = a
});
return c
}
if ("getBoundingClientRect" in m.documentElement) {
f.fn.offset = function(b) {
var c = this[0];
if (b) {
return this.each(function(a) {
f.offset.setOffset(this, b, a)
})
}
if (!c || !c.ownerDocument) {
return null
}
if (c === c.ownerDocument.body) {
return f.offset.bodyOffset(c)
}
var d = c.getBoundingClientRect(),
g = c.ownerDocument,
h = g.body,
i = g.documentElement,
k = i.clientTop || h.clientTop || 0,
j = i.clientLeft || h.clientLeft || 0,
l = d.top + (self.pageYOffset || f.support.boxModel && i.scrollTop || h.scrollTop) - k,
n = d.left + (self.pageXOffset || f.support.boxModel && i.scrollLeft || h.scrollLeft) - j;
return {
top: l,
left: n
}
}
} else {
f.fn.offset = function(b) {
var c = this[0];
if (b) {
return this.each(function(a) {
f.offset.setOffset(this, b, a)
})
}
if (!c || !c.ownerDocument) {
return null
}
if (c === c.ownerDocument.body) {
return f.offset.bodyOffset(c)
}
f.offset.initialize();
var d = c.offsetParent,
g = c,
h = c.ownerDocument,
i, k = h.documentElement,
j = h.body,
l = h.defaultView,
n = l ? l.getComputedStyle(c, null) : c.currentStyle,
q = c.offsetTop,
o = c.offsetLeft;
while ((c = c.parentNode) && c !== j && c !== k) {
if (f.offset.supportsFixedPosition && n.position === "fixed") {
break
}
i = l ? l.getComputedStyle(c, null) : c.currentStyle;
q -= c.scrollTop;
o -= c.scrollLeft;
if (c === d) {
q += c.offsetTop;
o += c.offsetLeft;
if (f.offset.doesNotAddBorder && !(f.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(c.nodeName))) {
q += parseFloat(i.borderTopWidth) || 0;
o += parseFloat(i.borderLeftWidth) || 0
}
g = d, d = c.offsetParent
}
if (f.offset.subtractsBorderForOverflowNotVisible && i.overflow !== "visible") {
q += parseFloat(i.borderTopWidth) || 0;
o += parseFloat(i.borderLeftWidth) || 0
}
n = i
}
if (n.position === "relative" || n.position === "static") {
q += j.offsetTop;
o += j.offsetLeft
}
if (f.offset.supportsFixedPosition && n.position === "fixed") {
q += Math.max(k.scrollTop, j.scrollTop);
o += Math.max(k.scrollLeft, j.scrollLeft)
}
return {
top: q,
left: o
}
}
}
f.offset = {
initialize: function() {
var a = m.body,
b = m.createElement("div"),
c, d, g, h, i = parseFloat(f.curCSS(a, "marginTop", true)) || 0,
k = "<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>";
f.extend(b.style, {
position: "absolute",
top: 0,
left: 0,
margin: 0,
border: 0,
width: "1px",
height: "1px",
visibility: "hidden"
});
b.innerHTML = k;
a.insertBefore(b, a.firstChild);
c = b.firstChild;
d = c.firstChild;
h = c.nextSibling.firstChild.firstChild;
this.doesNotAddBorder = (d.offsetTop !== 5);
this.doesAddBorderForTableAndCells = (h.offsetTop === 5);
d.style.position = "fixed", d.style.top = "20px";
this.supportsFixedPosition = (d.offsetTop === 20 || d.offsetTop === 15);
d.style.position = d.style.top = "";
c.style.overflow = "hidden", c.style.position = "relative";
this.subtractsBorderForOverflowNotVisible = (d.offsetTop === -5);
this.doesNotIncludeMarginInBodyOffset = (a.offsetTop !== i);
a.removeChild(b);
a = b = c = d = g = h = null;
f.offset.initialize = f.noop
},
bodyOffset: function(a) {
var b = a.offsetTop,
c = a.offsetLeft;
f.offset.initialize();
if (f.offset.doesNotIncludeMarginInBodyOffset) {
b += parseFloat(f.curCSS(a, "marginTop", true)) || 0;
c += parseFloat(f.curCSS(a, "marginLeft", true)) || 0
}
return {
top: b,
left: c
}
},
setOffset: function(a, b, c) {
if (/static/.test(f.curCSS(a, "position"))) {
a.style.position = "relative"
}
var d = f(a),
g = d.offset(),
h = parseInt(f.curCSS(a, "top", true), 10) || 0,
i = parseInt(f.curCSS(a, "left", true), 10) || 0;
if (f.isFunction(b)) {
b = b.call(a, c, g)
}
var k = {
top: (b.top - g.top) + h,
left: (b.left - g.left) + i
};
if ("using" in b) {
b.using.call(a, k)
} else {
d.css(k)
}
}
};
f.fn.extend({
position: function() {
if (!this[0]) {
return null
}
var a = this[0],
b = this.offsetParent(),
c = this.offset(),
d = /^body|html$/i.test(b[0].nodeName) ? {
top: 0,
left: 0
} : b.offset();
c.top -= parseFloat(f.curCSS(a, "marginTop", true)) || 0;
c.left -= parseFloat(f.curCSS(a, "marginLeft", true)) || 0;
d.top += parseFloat(f.curCSS(b[0], "borderTopWidth", true)) || 0;
d.left += parseFloat(f.curCSS(b[0], "borderLeftWidth", true)) || 0;
return {
top: c.top - d.top,
left: c.left - d.left
}
},
offsetParent: function() {
return this.map(function() {
var a = this.offsetParent || m.body;
while (a && (!/^body|html$/i.test(a.nodeName) && f.css(a, "position") === "static")) {
a = a.offsetParent
}
return a
})
}
});
f.each(["Left", "Top"], function(d, g) {
var h = "scroll" + g;
f.fn[h] = function(a) {
var b = this[0],
c;
if (!b) {
return null
}
if (a !== t) {
return this.each(function() {
c = bR(this);
if (c) {
c.scrollTo(!d ? a : f(c).scrollLeft(), d ? a : f(c).scrollTop())
} else {
this[h] = a
}
})
} else {
c = bR(b);
return c ? ("pageXOffset" in c) ? c[d ? "pageYOffset" : "pageXOffset"] : f.support.boxModel && c.document.documentElement[h] || c.document.body[h] : b[h]
}
}
});
function bR(a) {
return ("scrollTo" in a && a.document) ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : false
}
f.each(["Height", "Width"], function(g, h) {
var i = h.toLowerCase();
f.fn["inner" + h] = function() {
return this[0] ? f.css(this[0], i, false, "padding") : null
};
f.fn["outer" + h] = function(a) {
return this[0] ? f.css(this[0], i, false, a ? "margin" : "border") : null
};
f.fn[i] = function(c) {
var d = this[0];
if (!d) {
return c == null ? null : this
}
if (f.isFunction(c)) {
return this.each(function(a) {
var b = f(this);
b[i](c.call(this, a, b[i]()))
})
}
return ("scrollTo" in d && d.document) ? d.document.compatMode === "CSS1Compat" && d.document.documentElement["client" + h] || d.document.body["client" + h] : (d.nodeType === 9) ? Math.max(d.documentElement["client" + h], d.body["scroll" + h], d.documentElement["scroll" + h], d.body["offset" + h], d.documentElement["offset" + h]) : c === t ? f.css(d, i) : this.css(i, typeof c === "string" ? c : c + "px")
}
});
w.jQuery = w.$ = f
})(window); |
#7 JavaScript::Eval (size: 68, repeated: 1)data = {
"status": "error",
"error": "unknown place: WASHINGTON DC,DC"
} |
#8 JavaScript::Eval (size: 303, repeated: 1)function validatePhoneNumber(a, d) {
var b = a && a.length > 0 && a.match(/[0-9]/g) && a.match(/[0-9]/g).length == 10;
if (b) {
var c = a.replace(/[^0-9]/g, '');
b = c.match(/^[2-9]{1}[0-8]{1}[0-9]{1}.*/g) !== null
}
return b
}
function addPhoneValidator() {
$.validator.addMethod("custom-phone", validatePhoneNumber, "Not valid phone.")
} |
Executed Writes (1)
#1 JavaScript::Write (size: 245, repeated: 1) |
HTTP Transactions (39)
| Request | Response |
|---|---|
GET /Washington-Dc-Realtors-in-District-Of-Columbia.html HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:26 GMT |
GET /favicon.ico HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/css/search_v2.css HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/js/search_v3.js HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/js/zillow.js HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/css/search_all.css HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/images/search_v2/search_city_boston.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/images/search_v2/realtor_photo_64x64.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /css?family=Vollkorn:italic&v1 HTTP/1.1 GET /css?family=Vollkorn:italic&v1 HTTP/1.1 | HTTP/1.1 200 OK Expires: Thu, 08 Nov 2012 00:20:27 GMT |
GET /css?family=PT+Sans+Caption&v1 HTTP/1.1 GET /css?family=PT+Sans+Caption&v1 HTTP/1.1 | HTTP/1.1 200 OK Expires: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/css/reset.css HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /static/js/search_all.js HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:27 GMT |
GET /ga.js HTTP/1.1
| HTTP/1.1 200 OK Content-Length: 14888 |
GET /deploy/js_visitor_settings.php?v=1&a=1833&url=http%3A%2F%2Fwww.homethinking.com%2FWashington-Dc-Realtors-in-District-Of-Columbia.html&random=0.09610424682092467 HTTP/1.1 GET /deploy/js_visitor_settings.php?v=1&a=1833&url=http%3A%2F%2Fwww.homethinking.com%2FWashington-Dc-Realtors-in-District-Of-Columbia.html&random=0.09610424682092467 HTTP/1.1 | HTTP/1.1 200 OK Server: ngx_openresty |
GET /static/images/blurb.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/images/logo.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /__utm.gif?utmwv=5.3.7&utms=1&utmn=84605502&utmhn=www.homethinking.com&utmcs=UTF-8&utmsr=1176x885&utmvp=1176x778&utmsc=24-bit&utmul=en-us&utmje=1&utmfl=10.0%20r45&utmdt=Best%20Washington%20Dc%20Realtors%20-%20Top%20Washington%20Dc%20Real%20Estate%20Agents%20(DC)%20-%20Reviews%20%26%20Ratings&utmhid=202901327&utmr=-&utmp=%2FWashington-Dc-Realtors-in-District-Of-Columbia.html&utmac=UA-87072-1&utmcc=__utma%3D181176254.1009055408.1352334028.1352334028.1352334028.1%3B%2B__utmz%3D181176254.1352334028.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=qB~ HTTP/1.1 GET /__utm.gif?utmwv=5.3.7&utms=1&utmn=84605502&utmhn=www.homethinking.com&utmcs=UTF-8&utmsr=1176x885&utmvp=1176x778&utmsc=24-bit&utmul=en-us&utmje=1&utmfl=10.0%20r45&utmdt=Best%20Washington%20Dc%20Realtors%20-%20Top%20Washington%20Dc%20Real%20Estate%20Agents%20(DC)%20-%20Reviews%20%26%20Ratings&utmhid=202901327&utmr=-&utmp=%2FWashington-Dc-Realtors-in-District-Of-Columbia.html&utmac=UA-87072-1&utmcc=__utma%3D181176254.1009055408.1352334028.1352334028.1352334028.1%3B%2B__utmz%3D181176254.1352334028.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=qB~ HTTP/1.1 | HTTP/1.1 200 OK Date: Wed, 07 Nov 2012 21:01:27 GMT |
GET /static/images/chevron.gif HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/images/search_v2/search.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/images/search_v2/top_fade.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/images/search_v2/flap_brown.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/images/ico_home.gif HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/images/search_v2/flap_green.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:28 GMT |
GET /static/fonts/ptsanscaption/v5/OXYTDOzBcXU8MTNBvBHeSQRW432DtwGNER78eOJ0i0s.woff HTTP/1.1
| HTTP/1.1 200 OK Last-Modified: Tue, 20 Mar 2012 19:55:31 GMT |
GET /api/place-stats/Washington%20Dc,DC HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/far_tabs.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/btn_green_lt.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/media_quote_cnn.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/search_city_btn.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/btn_green_rt.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/search_city_bullet.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/search_city_sep.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/realtor_listing.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/realtor_high.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/realtor_listing_meta.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /zillow/citystate-pricing-info.action?city=Washington%20Dc&state=DC HTTP/1.1 GET /zillow/citystate-pricing-info.action?city=Washington%20Dc&state=DC HTTP/1.1 | HTTP/1.1 404 Not Found Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/realtor_avg.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/realtor_low.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:29 GMT |
GET /static/images/search_v2/far_arrow.png HTTP/1.1
| HTTP/1.1 200 OK Date: Thu, 08 Nov 2012 00:20:30 GMT |
