Language: JavaScript
Untitled JavaScript (2-May @ 20:44)
Syntax Highlighted Code
- alert('something');
Plain Code
alert('something');
Untitled JavaScript (2-May @ 16:06)
Syntax Highlighted Code
- document.getElementsByTagName('body')[0].style.display="none";
Plain Code
document.getElementsByTagName('body')[0].style.display="none";
Untitled JavaScript (2-May @ 16:05)
Syntax Highlighted Code
- alert( "Hello" );
Plain Code
alert( "Hello" );
Untitled JavaScript (2-May @ 15:18)
Syntax Highlighted Code
- // Generated by CoffeeScript 1.3.1
- (function() {
- var Dish, Meal, Money,
- __slice = [].slice;
- [110 more lines...]
Plain Code
// Generated by CoffeeScript 1.3.1
(function() {
var Dish, Meal, Money,
__slice = [].slice;
window.Dish = Dish = (function() {
Dish.name = 'Dish';
function Dish(rawDescription) {
var all, _ref;
if (rawDescription == null) {
rawDescription = "";
}
_ref = this.parseRawDescription(rawDescription), all = _ref[0], this.title = _ref[1], this.price = _ref[2];
this.price = new Money(this.price);
}
Dish.prototype.parseRawDescription = function(rawDescription) {
var pattern, r, result, _i, _len, _results;
pattern = /([^$]+)(\$\d+\.\d+)/;
result = rawDescription.match(pattern);
_results = [];
for (_i = 0, _len = result.length; _i < _len; _i++) {
r = result[_i];
_results.push(r.trim());
}
return _results;
};
Dish.prototype.toJSON = function() {
return {
title: this.title,
price: this.price.toString()
};
};
return Dish;
})();
window.Money = Money = (function() {
Money.name = 'Money';
function Money(rawString) {
if (rawString == null) {
rawString = "";
}
this.cents = this.parseCents(rawString);
}
Money.prototype.parseCents = function(rawString) {
var cents, dollars, _ref, _ref1;
_ref1 = (_ref = rawString.match(/(\d+)/g)) != null ? _ref : [0, 0], dollars = _ref1[0], cents = _ref1[1];
return +cents + 100 * dollars;
};
Money.prototype.toString = function() {
return "$" + (Math.floor(this.cents / 100)) + "." + (this.cents % 100);
};
return Money;
})();
window.Meal = Meal = (function() {
Meal.name = 'Meal';
function Meal() {
this.dishes = [];
}
Meal.prototype.add = function() {
var dishes, _ref;
dishes = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
return (_ref = this.dishes).push.apply(_ref, dishes);
};
Meal.prototype.totalPrice = function() {
var dish, total, _i, _len, _ref, _results;
total = new Money;
_ref = this.dishes;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
dish = _ref[_i];
_results.push(total.cents = total.cents + dish.price.cents);
}
return _results;
};
Meal.prototype.toJSON = function() {
var dish;
return {
price: this.totalPrice().toString(),
dishes: (function() {
var _i, _len, _ref, _results;
_ref = this.dishes;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
dish = _ref[_i];
_results.push(dish.toJSON());
}
return _results;
}).call(this)
};
};
return Meal;
})();
}).call(this);
Untitled JavaScript (2-May @ 15:18)
Syntax Highlighted Code
- // Generated by CoffeeScript 1.3.1
- (function() {
- var Dish, Meal, Money,
- __slice = [].slice;
- [110 more lines...]
Plain Code
// Generated by CoffeeScript 1.3.1
(function() {
var Dish, Meal, Money,
__slice = [].slice;
window.Dish = Dish = (function() {
Dish.name = 'Dish';
function Dish(rawDescription) {
var all, _ref;
if (rawDescription == null) {
rawDescription = "";
}
_ref = this.parseRawDescription(rawDescription), all = _ref[0], this.title = _ref[1], this.price = _ref[2];
this.price = new Money(this.price);
}
Dish.prototype.parseRawDescription = function(rawDescription) {
var pattern, r, result, _i, _len, _results;
pattern = /([^$]+)(\$\d+\.\d+)/;
result = rawDescription.match(pattern);
_results = [];
for (_i = 0, _len = result.length; _i < _len; _i++) {
r = result[_i];
_results.push(r.trim());
}
return _results;
};
Dish.prototype.toJSON = function() {
return {
title: this.title,
price: this.price.toString()
};
};
return Dish;
})();
window.Money = Money = (function() {
Money.name = 'Money';
function Money(rawString) {
if (rawString == null) {
rawString = "";
}
this.cents = this.parseCents(rawString);
}
Money.prototype.parseCents = function(rawString) {
var cents, dollars, _ref, _ref1;
_ref1 = (_ref = rawString.match(/(\d+)/g)) != null ? _ref : [0, 0], dollars = _ref1[0], cents = _ref1[1];
return +cents + 100 * dollars;
};
Money.prototype.toString = function() {
return "$" + (Math.floor(this.cents / 100)) + "." + (this.cents % 100);
};
return Money;
})();
window.Meal = Meal = (function() {
Meal.name = 'Meal';
function Meal() {
this.dishes = [];
}
Meal.prototype.add = function() {
var dishes, _ref;
dishes = 1 <= arguments.length ? __slice.call(arguments, 0) : [];
return (_ref = this.dishes).push.apply(_ref, dishes);
};
Meal.prototype.totalPrice = function() {
var dish, total, _i, _len, _ref, _results;
total = new Money;
_ref = this.dishes;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
dish = _ref[_i];
_results.push(total.cents = total.cents + dish.price.cents);
}
return _results;
};
Meal.prototype.toJSON = function() {
var dish;
return {
price: this.totalPrice().toString(),
dishes: (function() {
var _i, _len, _ref, _results;
_ref = this.dishes;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
dish = _ref[_i];
_results.push(dish.toJSON());
}
return _results;
}).call(this)
};
};
return Meal;
})();
}).call(this);
Untitled JavaScript (2-May @ 14:42)
Syntax Highlighted Code
- function foo(){}
Plain Code
function foo(){}
Untitled JavaScript (2-May @ 14:35)
Syntax Highlighted Code
- $(function() {
- });
Plain Code
$(function() {
});
Untitled JavaScript (2-May @ 14:29)
Syntax Highlighted Code
- var lalala = "hola";
- alert(lalala);
Plain Code
var lalala = "hola";
alert(lalala);
foo (2-May @ 14:28)
Syntax Highlighted Code
- function foo() {
- return "foo";
- }
Plain Code
function foo() {
return "foo";
}
Untitled JavaScript (2-May @ 14:25)
Syntax Highlighted Code
- var pg = $('<div>');
- document.write = function(content){
- pg.append(content);
- [16 more lines...]
Plain Code
var pg = $('<div>');
document.write = function(content){
pg.append(content);
};
var sPath = 'http://www.gmodules.com/gadgets/ifr?url=http://www.google.com/ig/modules/google_insightsforsearch_relatedsearches.xml&up__results_type=RISING&up__property=empty&up__search_term=vim&up__location=empty&up__category=0&up__time_range=3-m&up__max_results=10&synd=open&w=320&h=350&lang=en-US&title=Google+Insights+for+Search&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js';
var st = document.createElement('script');
st.src = sPath;
st.onload = function() {
console.log('loaded!');
pg.appendTo('body');
};
var myDiv = document.createElement('div');
myDiv.className = 'temporary';
myDiv.appendChild(st);
document.body.appendChild(myDiv);
//document.body.appendChild(st);
Untitled JavaScript (2-May @ 14:25)
Syntax Highlighted Code
- var a = 123;
- alert(a)
Plain Code
var a = 123;
alert(a)
Untitled JavaScript (2-May @ 14:23)
Syntax Highlighted Code
- alert("What is the purpose of this site?");
Plain Code
alert("What is the purpose of this site?");
Untitled JavaScript (2-May @ 14:22)
Syntax Highlighted Code
- document.write('hello world')
Plain Code
document.write('hello world')
Untitled JavaScript (2-May @ 14:22)
Syntax Highlighted Code
- var executionTimer,
- handler = function(e) {
- g.$body.trigger('grid:moved');
- [7 more lines...]
Plain Code
var executionTimer,
handler = function(e) {
g.$body.trigger('grid:moved');
if (executionTimer) {
clearTimeout(executionTimer);
}
executionTimer = setTimeout(function() { GridView.getEvents(); }, 200);
};
Untitled JavaScript (2-May @ 14:21)
Syntax Highlighted Code
- var a = "Remy, what on earth does this even do?";
- alert(a);
Plain Code
var a = "Remy, what on earth does this even do?";
alert(a);
Untitled JavaScript (27-Apr @ 10:28)
Syntax Highlighted Code
- var a = { name: 'shaojie Wu' }
Plain Code
var a = { name: 'shaojie Wu' }
Untitled JavaScript (7-Apr @ 00:55)
Syntax Highlighted Code
- õ âÐÝÏ ¯ — ªð k0 NÐá-0
- "° 0 ú
- ‚î0 æ
- ×ß Ç
- [22 more lines...]
Plain Code
õ âÐÝÏ ¯ — ªð k0 NÐá-0
"° 0 ú
‚î0 æ
×ß Ç
·ð «° ‚š0 ‚
cp *PÐà;p $0
¢Pá ìÐß×ÐÞÒáÁ . Š ¨ sàT0B0
10 (0 *âòßÞàѨ2 ”° 0 mà U =p '¨ p 0ö
ä0 Ô0 Ä
¯àœáŽ *ep Zð Ep 6( p
0 ú( ð0 éÐáÖ€
Á ¤0
Šð w0 c P 7° #+á0 0 ðâä( ÉPâ¶Pâ¤( p zð iˆ LRä 0Àþ äÐèPâ « ˜0 ‡° tp e1 *
Ðãù: ¸] O E 4
° ó(9 ²Ðàœà’ € o( MPá30( À†'egórᬰ# 6¸ ricament e
"þ* I ale@grón
ˆž þC wÀ de þ£„ ía ¢Edull$"osoXona Øþ)¶o Èw )60þT%~ar ÀL þ¬ BþŸ(V ‚oilloçf fiaÞ; ib@eto!†(e€…ƒeŒ)"Ô63KK3‡KˆRÿÇþFþDV [€y þ.< €†„§be J!KOuÿÇÀÿ€ÿŸþ^ |€ò]‚JK€
ˆ ’Ä –°€6„(a†è 'þ*PT …rY…Ôadorïä* w @/P^AÈ4CEKxxƒ‰ÁBo‚rÀ]!OSDÐorizC( ‚çÈ EÂciÀžÅŠGÀciÆGGstÅy#ism݇„óÀ»D¤ cÂ?ÅÆG"Å“€KAat½€o…Ð ˜Â@ ÀAÀnoþHWD)ÀAÇKƒ]C ntiÀÆÀoh nchín
ƱaƒDchinYCyan@ZLÅ
m}
j AÅ]É}Å\a?ê-£c
â,ÀKabjl&…£f ;,f!Ç Sd„fan>g¡„ %¡„daŽñ2b¡dan +A“"UCâctro-%iomaquà| iForó podosÅ)c`5c$coroÆ-ÏHc…F
nc AçûD m@5„D¤Ç€
¹*¬crG<b"
r€;9H"ciÀ“A<äGchÄugb<K«Ã/ÀA[!‚hf3DPc ‹!ìO{à‰à·a¡:`§G0b¢mi@ÁoI…þcâ«…â Œ9—ÀiÂ0br€¼rb™Ge#€r`4#¨brÿ# »à!Œ¥Ã”äAŃdãubra# ¥ìƒC`r‚ÀNÈrio`nKO
Untitled JavaScript (31-Mar @ 16:00)
Syntax Highlighted Code
- <pre><code lang="x-javascript">:d ��ht��â�¬ 10 1k� 0��â�¬*+â�¬0@r �³ â�¡ ,�� g%* �£ ��.â�¬ �¿â�� 5�¿�º�
- K� NwrTest M �/9 @ 94e tchednes�s !`�
- [26 more lines...]
Plain Code
<pre><code lang="x-javascript">:d ��ht��â�¬ 10 1k� 0��â�¬*+â�¬0@r �³ â�¡ ,�� g%* �£ ��.â�¬ �¿â�� 5�¿�º�
K� NwrTest M �/9 @ 94e tchednes�s !`�
�²â�¹
ly����
H
G�����º ] 4�¿��â�¬)��u��:�¹erâ�¡@*AGDW-��)�� �½0 (��6â�¬le �¾p
��
Indian DdAarm��(s��tling ��j��\
â��n����$L `b@`�¿��on[�½A_ �¿����â�¦@d ��â�¬ â�¬,!�� �¡}B2@9��0nch ��w ( ���»��â�¬]A7yA%â�¬/��F ��/`��B��$ PA
C-tit@9 �¤��@roc@â����C@�¤ort-b@�¨ed marshCJC - ���� wintâ�¬C�¥���¯eâ�¬+wr� C3â��)Ji�¡W��â��ck� 0;"�¡� 2��G "� � 8�§W� �� d��E[p:â��@
�
ckage�¡ZSB)�¿�¼b,â�¹!?��n ip `p>9"o""� �¡%^ba,��5 y@�­. a���»â�¬ bme�¿â�¹q��
ath�¢
!:Ib�°rida xa1� Bc� rBak ��e`fâ��ul��e�¿â�� :x�¿â��`$�¡C��{o.nC* ��8asseBaund#��/ apsb R[� x
baw[ ,8ap )Jâ�¬0q# J .0G.��â�¬e#!g�¤if â��#BV���¢pCed;`D0�� #��â�¬>+ `}T� â��Bparo �¤p-u��p!R��� �¢%b��%u�¿�©�¬vâ�¬� ��â�¬0 �¿.�©���£1 m5% 1`Orapâ�¬â�¦ ���¢shrin� Zbâ�¡l�¢� -$â�� �¦�«an�¥�«��"�±y#]`@"����J � ���½� ell-��%M @,3�¶ "� �¼s��G$��� * IslandG�§� @â��ith����/A��)WRAF#f��@##��ner$ve��ckC��@��kC�µ� rai�� A���¡ @`'â��XladbI1��sea
"&Atild
Untitled JavaScript (31-Mar @ 15:59)
Syntax Highlighted Code
- :d Â�htÆ�â�¬ 10 1kà 0Ã�â�¬*+â�¬0@r ó â�¡ ,Ã� g%* ã Ã�.â�¬ ÿâ�� 5ÿºÅ
- K� NwrTest M �/9 @ 94e tchednes�s !`�
- ò�
- ly��
- [11 more lines...]
Plain Code
:d Â�htÆ�â�¬ 10 1kà 0Ã�â�¬*+â�¬0@r ó â�¡ ,Ã� g%* ã Ã�.â�¬ ÿâ�� 5ÿºÅ
K� NwrTest M �/9 @ 94e tchednes�s !`�
ò�
ly��
H
G��ú ] 4ÿ��)�u�:ùer�@*AGDW-�)� ½0 (�6�le þp
�
Indian DdAarm�(s�tling �j�\
�n��$L `b@`ÿ�on[ýA_ ÿ���@d �� �,!� š}B2@9�0nch �w ( �û��]A7yA%�/�F �/`�B�$ PA
C-tit@9 ¤�@roc@��C@¤ort-b@¨ed marshCJC - �� wint�Cå�¯e�+wr C3�)JiáW��ck 0;"á 2�G "à Š8çWà � d�E[p:�@
Â
ckageáZSB)ÿ¼b,â�¹!?Ã�n ip `p>9"o"" ¡%^ba,Ã�5 y@Ã. aÃ�»â�¬ bmeÿâ�¹qÃ�
ath¢
!:Ibðrida xa1 Bc rBak �e`f�ul�eÿ� :xÿ�`$áC�{o.nC* �8asseBaund#�/ apsb R[ x
baw[ ,8ap )J�0q# J .0G.��e#!gäif �#BV�¢pCed;`D0� #��>+ `}T �Bparo äp-u�p!R�à ¢%b�%uÿéìv�à ��0 ÿ.é�ã1 m5% 1`Orap�� �âshrin Zb�l¢ -$� ¦«an¥«�"ñy#]`@"��J Š�½à ell-�%M @,3ö "à ¼s�G$�Š* IslandG§ @�ith��/A�)WRAF#f�@##�ner$ve�ckC�@�kCõà rai� A�á @`'�XladbI1�sea
"�-/D%
Untitled JavaScript (28-Mar @ 15:11)
Syntax Highlighted Code
- ‰ þ Modea? Yoe? Š?? ¨ I2O? † ... [? AR? ¥ ‰? Nouy
Plain Code
‰ þ Modea? Yoe? Š?? ¨ I2O? † ... [? AR? ¥ ‰? Nouy
Untitled JavaScript (28-Mar @ 14:26)
Syntax Highlighted Code
- Ñ? Y ) DËÕŒÎlNZSEG ¾? Û? : h ° ÚêÞ +> ar? ðaêb ) ? ° ‡ YES! â? Q? Yi »® †? ü 8 ç? Ð? " öŒ? EAE ' , on - ¬? y? # * uyo-øÀ_? ãÆïòú \ , `TN 7 N-øN2 ~ ¬ : `ç / rÝÄŒÊ ) ghéμêM » ^ × âg9 = ? Y ² ¶ / ³ © ä ^ { è , ? [ ½ ¤ Ku ` 3 ? ° kC ^ ~ U ® Roe <EU? Ty ^ or
Plain Code
Ñ? Y ) DËÕŒÎlNZSEG ¾? Û? : h ° ÚêÞ +> ar? ðaêb ) ? ° ‡ YES! â? Q? Yi »® †? ü 8 ç? Ð? " öŒ? EAE ' , on - ¬? y? # * uyo-øÀ_? ãÆïòú \ , `TN 7 N-øN2 ~ ¬ : `ç / rÝÄŒÊ ) ghéμêM » ^ × âg9 = ? Y ² ¶ / ³ © ä ^ { è , ? [ ½ ¤ Ku ` 3 ? ° kC ^ ~ U ® Roe <EU? Ty ^ or
Untitled JavaScript (28-Mar @ 14:17)
Syntax Highlighted Code
- Ñ? Y ) DËÕŒÎlNZSEG ¾? Û? : h ° ÚêÞ +> ar? ðaêb ) ? ° ‡ YES! â? Q? Yi »® †? ü 8 ç? Ð? " öŒ? EAE ' , on - ¬? y? # * uyo-øÀ_? ãÆïòú \ , `TN 7 N-øN2 ~ ¬ : `ç / rÝÄŒÊ ) ghéμêM » ^ × âg9 = ? Y ² ¶ / ³ © ä ^ { è , ? [ ½ ¤ Ku ` 3 ? ° kC ^ ~ U ® Roe <EU? Ty ^ or
- ; < å ãS5 | ¤ ‡? AA ^ [ MU ÷'s wBÆ • ²* P > ? Æ : I U : ¤ « Ç ? ? ?
Plain Code
Ñ? Y ) DËÕŒÎlNZSEG ¾? Û? : h ° ÚêÞ +> ar? ðaêb ) ? ° ‡ YES! â? Q? Yi »® †? ü 8 ç? Ð? " öŒ? EAE ' , on - ¬? y? # * uyo-øÀ_? ãÆïòú \ , `TN 7 N-øN2 ~ ¬ : `ç / rÝÄŒÊ ) ghéμêM » ^ × âg9 = ? Y ² ¶ / ³ © ä ^ { è , ? [ ½ ¤ Ku ` 3 ? ° kC ^ ~ U ® Roe <EU? Ty ^ or
; < å ãS5 | ¤ ‡? AA ^ [ MU ÷'s wBÆ • ²* P > ? Æ : I U : ¤ « Ç ? ? ?
Untitled JavaScript (28-Mar @ 14:10)
Syntax Highlighted Code
- ; < å ãS5 | ¤ ‡? AA ^ [ MU ÷'s wBÆ • ²* P > ? Æ : I U : ¤ « Ç ? ? ?
Plain Code
; < å ãS5 | ¤ ‡? AA ^ [ MU ÷'s wBÆ • ²* P > ? Æ : I U : ¤ « Ç ? ? ?
Untitled JavaScript (28-Mar @ 14:06)
Syntax Highlighted Code
- ; < å * P > ? Æ : I U : ¤ « Ç ? ? ?
Plain Code
; < å * P > ? Æ : I U : ¤ « Ç ? ? ?
Untitled JavaScript (26-Mar @ 15:04)
Syntax Highlighted Code
- var td = document.createElement('td');
- td.addClassName('headcol');
- td.innerHTML += '<div class="sortTablefilter"> <input id="0_sortedTable_filter" type="text" onkeypress="if (event.which == 13 || event.keyCode == 13) {eF_js_filterData(0); return false;}" value="Фильтр..." onclick="if (this.value.match("Фильтр...")) this.value = "";"> </div>';
- [4 more lines...]
Plain Code
var td = document.createElement('td');
td.addClassName('headcol');
td.innerHTML += '<div class="sortTablefilter"> <input id="0_sortedTable_filter" type="text" onkeypress="if (event.which == 13 || event.keyCode == 13) {eF_js_filterData(0); return false;}" value="Фильтр..." onclick="if (this.value.match("Фильтр...")) this.value = "";"> </div>';
test = $('table').getElementsByClassName('defaultRowHeight');
test.appendChild(td);
live (24-Mar @ 14:20)
Syntax Highlighted Code
- HT$ HL$(‰Ÿè ÿfðÿÿLD$$HT$PAMèCQ A]\HL$P‹Óÿ²ñÿÿI;ÅtKÑf‰3ÉÿðÿÿA¾ H”$` H‹ÈE‹Æÿ
- ðÿÿHŒ$` ‹ÓÿuñÿÿH‹ØI;Å„@ fD‰(IƒÍÿL„$` I‹ÖH‹ÏM‹ÍèÓ/ HƒÃH L‹ÃM‹ÍI‹Öèº/ L%ëõÿÿH M‹ÄM‹ÍI‹Öè–. LD$(H M‹ÍI‹Öè. H M‹ÍM‹ÄI‹Öèj. LD$PH M‹ÍI‹ÖèS. L”õÿÿH M‹ÍI‹Öè:. H M‹ÍL‹ÃI‹Öè-/ H M‹ÍM‹ÄI‹Öè. LD$(H M‹ÍI‹Öèù- H M‹ÍM‹ÄI‹Öèä- LD$PH M‹ÍI‹ÖèÍ- LõÿÿH M‹ÍI‹Öè´- H‹ÓH‹Ïè• H‹ÇH‹Œ$p H3Ìèf) Lœ$€ I‹[8I‹k@I‹ãA^A]A\_^ÃÌÌÌÌÌÌH‰\$H‰l$H‰t$WHƒì H‹òA‹ØH‹ù½ H³ôÿÿH‹ÎL‹Åÿ¯ïÿÿ…Àu‰Ÿ éœ H©ôÿÿA¸ H‹ÎÿŠïÿÿ…Àu‰Ÿ ëzHŸôÿÿL‹ÅH‹Îÿkïÿÿ…Àu‰Ÿ ë[H ôÿÿL‹ÅH‹ÎÿLïÿÿ…Àu‰Ÿ$ ë<H™ôÿÿL‹ÅH‹Îÿ-ïÿÿ…Àu‰Ÿ( ëH’ôÿÿL‹ÅH‹Îÿïÿÿ…Àu‰Ÿ, H‹\$0H‹l$8H‹t$@HƒÄ _ÃÌÌÌÌÌÌÌH‰\$WHƒì H‹ÚA¸ 3ÒH‹ùè+2 IƒÉÿL‹Ãº H‹ÏH‹\$0HƒÄ _éE- ÌÌÌÌÌÌÌÌÌHcÂH”@Æ IcÀHPD‰‘ÃÌÌÌÌÌÌÌÌÌ@SHƒì ƒ¹è H‹Ùuè! …ÀuHúóÿÿH‹Ëè HƒÄ [ÃÌÌÌÌÌÌÌÌH‰\$UVWATAUHì€ H‹’k H3ÄH‰„$p Hƒd$H H‹ùH‹ÚHƒÎÿA¼ HŒ$` L²óÿÿL‹ÎI‹Ô3íè, L.ôÿÿHŒ$` L‹ÎI‹Ôèk+ HŒ$` L‹ÎL‹ÃI‹ÔèU+ LD$HH”$` HÇÁ €ÿËêÿÿ…À…Û HL$@H‡ HˆòÿÿH‰L$(H‹L$HE3ÉE3ÀÇD$@ H‰D$ ÿ½êÿÿHL$@DmH‰L$(H‹L$H…ÀADíH‡ HVòÿÿE3ÉE3ÀH‰D$ ÿ…êÿÿHL$@HQòÿÿH‰L$(H‹L$H…ÀADíH‡ E3ÉE3ÀH‰D$ ÿQêÿÿHL$@H=òÿÿH‰L$(H‹L$H…ÀADíH‡$ E3ÉE3ÀH‰D$ ÿêÿÿHL$@H!òÿÿH‰L$(H‹L$H…ÀADíH‡( E3ÉE3ÀH‰D$ ÿééÿÿHL$@HòÿÿH‰L$(H‹L$H…ÀADíH‡, E3ÉE3ÀH‰D$ ÿµéÿÿH5Þl …ÀADí3ÛH‹H‹L$HHD$@H‰D$(HD$PE3ÉE3ÀD‰d$@H‰D$ ÿqéÿÿ…ÀuML[JŒÇ@ J”Ç< J„ÇD H‰D$0H‰L$(NŒÇ8 H‰T$ N„Ç4 HL$PH&òÿÿÿÐëÿÿAÝHƒÆƒû‚rÿÿÿH‹L$Hÿýèÿÿ‹ÅH‹Œ$p H3Ìè% H‹œ$À HÄ€ A]A\_^]ÃÌÌÌÌÌÌÌ̺ P ¸ @ 9‘ w‰ 9‘, w‰, ÃÌÌÌÌÌÌÌÌ̃a ‰H‹ÁÃÌÌÌÌÌÌH‰\$WHƒì 3ÿH‹ÙÇ ‰¹ H‰¹ø ‰¹@ H‰¹H H‰¹P ÿ”éÿÿƒÿHK3ÒA¸¸ ‰C‰»X èO. ¿è H‹8 L‹Ç3Òè9. H‹ L‹Ç3Òè(. H‹ L‹Ç3Òè.
Plain Code
HT$ HL$(‰Ÿè ÿfðÿÿLD$$HT$PAMèCQ A]\HL$P‹Óÿ²ñÿÿI;ÅtKÑf‰3ÉÿðÿÿA¾ H”$` H‹ÈE‹Æÿ
ðÿÿHŒ$` ‹ÓÿuñÿÿH‹ØI;Å„@ fD‰(IƒÍÿL„$` I‹ÖH‹ÏM‹ÍèÓ/ HƒÃH L‹ÃM‹ÍI‹Öèº/ L%ëõÿÿH M‹ÄM‹ÍI‹Öè–. LD$(H M‹ÍI‹Öè. H M‹ÍM‹ÄI‹Öèj. LD$PH M‹ÍI‹ÖèS. L”õÿÿH M‹ÍI‹Öè:. H M‹ÍL‹ÃI‹Öè-/ H M‹ÍM‹ÄI‹Öè. LD$(H M‹ÍI‹Öèù- H M‹ÍM‹ÄI‹Öèä- LD$PH M‹ÍI‹ÖèÍ- LõÿÿH M‹ÍI‹Öè´- H‹ÓH‹Ïè• H‹ÇH‹Œ$p H3Ìèf) Lœ$€ I‹[8I‹k@I‹ãA^A]A\_^ÃÌÌÌÌÌÌH‰\$H‰l$H‰t$WHƒì H‹òA‹ØH‹ù½ H³ôÿÿH‹ÎL‹Åÿ¯ïÿÿ…Àu‰Ÿ éœ H©ôÿÿA¸ H‹ÎÿŠïÿÿ…Àu‰Ÿ ëzHŸôÿÿL‹ÅH‹Îÿkïÿÿ…Àu‰Ÿ ë[H ôÿÿL‹ÅH‹ÎÿLïÿÿ…Àu‰Ÿ$ ë<H™ôÿÿL‹ÅH‹Îÿ-ïÿÿ…Àu‰Ÿ( ëH’ôÿÿL‹ÅH‹Îÿïÿÿ…Àu‰Ÿ, H‹\$0H‹l$8H‹t$@HƒÄ _ÃÌÌÌÌÌÌÌH‰\$WHƒì H‹ÚA¸ 3ÒH‹ùè+2 IƒÉÿL‹Ãº H‹ÏH‹\$0HƒÄ _éE- ÌÌÌÌÌÌÌÌÌHcÂH”@Æ IcÀHPD‰‘ÃÌÌÌÌÌÌÌÌÌ@SHƒì ƒ¹è H‹Ùuè! …ÀuHúóÿÿH‹Ëè HƒÄ [ÃÌÌÌÌÌÌÌÌH‰\$UVWATAUHì€ H‹’k H3ÄH‰„$p Hƒd$H H‹ùH‹ÚHƒÎÿA¼ HŒ$` L²óÿÿL‹ÎI‹Ô3íè, L.ôÿÿHŒ$` L‹ÎI‹Ôèk+ HŒ$` L‹ÎL‹ÃI‹ÔèU+ LD$HH”$` HÇÁ €ÿËêÿÿ…À…Û HL$@H‡ HˆòÿÿH‰L$(H‹L$HE3ÉE3ÀÇD$@ H‰D$ ÿ½êÿÿHL$@DmH‰L$(H‹L$H…ÀADíH‡ HVòÿÿE3ÉE3ÀH‰D$ ÿ…êÿÿHL$@HQòÿÿH‰L$(H‹L$H…ÀADíH‡ E3ÉE3ÀH‰D$ ÿQêÿÿHL$@H=òÿÿH‰L$(H‹L$H…ÀADíH‡$ E3ÉE3ÀH‰D$ ÿêÿÿHL$@H!òÿÿH‰L$(H‹L$H…ÀADíH‡( E3ÉE3ÀH‰D$ ÿééÿÿHL$@HòÿÿH‰L$(H‹L$H…ÀADíH‡, E3ÉE3ÀH‰D$ ÿµéÿÿH5Þl …ÀADí3ÛH‹H‹L$HHD$@H‰D$(HD$PE3ÉE3ÀD‰d$@H‰D$ ÿqéÿÿ…ÀuML[JŒÇ@ J”Ç< J„ÇD H‰D$0H‰L$(NŒÇ8 H‰T$ N„Ç4 HL$PH&òÿÿÿÐëÿÿAÝHƒÆƒû‚rÿÿÿH‹L$Hÿýèÿÿ‹ÅH‹Œ$p H3Ìè% H‹œ$À HÄ€ A]A\_^]ÃÌÌÌÌÌÌÌ̺ P ¸ @ 9‘ w‰ 9‘, w‰, ÃÌÌÌÌÌÌÌÌ̃a ‰H‹ÁÃÌÌÌÌÌÌH‰\$WHƒì 3ÿH‹ÙÇ ‰¹ H‰¹ø ‰¹@ H‰¹H H‰¹P ÿ”éÿÿƒÿHK3ÒA¸¸ ‰C‰»X èO. ¿è H‹8 L‹Ç3Òè9. H‹ L‹Ç3Òè(. H‹ L‹Ç3Òè.
Untitled JavaScript (20-Mar @ 20:41)
Syntax Highlighted Code
- ÿØÿà JFIF ,, ÿá+_Exif II*
- @ v @ ¶ ö þ ( 1 @ 2 F i‡ Z ¦ Motorola Droid , , 2.1-update1 2010:05:20 04:28:24 " š‚ ¸ ‚ À "ˆ 'ˆ È 0220 È Ü ‘ ’
- ð ’ ø ’
- ’
- [60 more lines...]
Plain Code
ÿØÿà JFIF ,, ÿá+_Exif II*
@ v @ ¶ ö þ ( 1 @ 2 F i‡ Z ¦ Motorola Droid , , 2.1-update1 2010:05:20 04:28:24 " š‚ ¸ ‚ À "ˆ 'ˆ È 0220 È Ü ‘ ’
ð ’ ø ’
’
’ ’ ÿ ’ 0100
B ¢ ¢ ¢ £ £ ¤ ¤ ¤ ¤ ¤ ¤ ¤
¤ ¤ " † @B d 2010:05:20 04:28:24 2010:05:20 04:28:24 R ø «úÿÿ d È R98 0100 ( Ü {# ÿØÿÄ¢
} !1AQa"q2‘¡#B±ÁRÑð$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùú
w !1AQaq"2B‘¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÀ ð@" ÿÛ „ !"$"$ÿÚ ? òH”…_p1ZQªã·jÏ„1íõ=3WãéýÞ;s^|ag¡Ù#2ü~ó <ò*(Ô”Ý ôÅO¨gÌ=7v$sUã⮤²ä`Ž=1RD>~˜Àõÿ >µòzž¿HƒøÈíÇ;+OüÀtëSÁ#¶j n9©ùÛÛ?Jij&&Ò Ï¶)Ø9àœÒ&ã€x8ɧvÆZ®VNÃãÎy¦Uã¥W%äŸþ½1®NâqG+dI–تžÙíLyùÚ?•Tù‰ù›Šrõi¹ŽbìÜçÚ•7dîïÏN)IlðM ^¿§½RD\zž»xü)–Ï#Ú›;¹Î;Ô‡Ôìɸ¯>•$#ý)£îäõúÒÄr3ùšv1dÛþ4ôéŒu¦ qÇ<÷¥SÎx¥`¸öPyÀëÚ¬iÎ"³6ÑïU|ôvô¥Ùø}iXµ#~«ijȬjôcŽ:×"0ShúV…Ž¡<dr½ir–¦tJœúúTŒÑà É;ˆàµRMMd]‘nW"³§ùçÆInŸZ¸Soq¹ Š gv‘òÊ:éÚ³¯#‘¦ . ïÚº»(‚ÚØ®Wш\àðNkK;ƒØ£ ŠË+v
Ð~fÚÂæþmËÆ™êð
G÷I’q…?ַ„åÀ¨rì8«”ììÒÚŠ£=Í9ÓÛƒV€ ¨Œt¬Ù²!#–éíQºŽ›IÏ¿5,‹œñM<c©°Èöd})Ž 8ÛëR~5ø'¹©qÅ¢”«``~&œ9ëNÛÓ®+.]@áˆÎF{gµ
zˆ¥y®xª—óœùcŒuªqžM\E9ÙØ¹<»Ûv×Ò¡ùö p°Í¾Pzž2)Táxãž*ís.v
¹~éÏñ »£g€9ëC1úŒõ<Rá1’h²1$wÞ\U´•
€Ò³Â’§ö4ôvŒ
¼ýj¹lÍ#A¤
§'& {ŽH^8ê*¯˜O/Á¦¼Nß¼:b©E’çØ˜38ÉcøÔÑã×$…Ge³Šœ(íõ¦‘”¤ÅS¹‡#µ<)ÏcÓ½ ^ãŒT„óÜóÒ®Æm‚/|ýiÀ€ÛsÒ‘ÎsëMpsšvÄ-ƒÆ1š|篱Q•8ÎsRÂxÁ¤O1 ^1“ƒN@=†)Šq‘Š_›<T‘-–ÁàO “×ð¨W'ÿ ®)Cm'i4 Ž+ƒþ4 uæ€áúð*7~‚<“ëÚ—+-1îUz·4Fe‘¶¯È½Í:([˜œŸz°$ñT¢UÉ£ä“îiŸiò®·?Cö“!Ûã»v©mí×ÌRß1'©«ºBF¥´—³œÅ=ÈÀ«°éÎXKpPã°«¶JºSN+'&Έ•Ýv€0& Z™—Ž•&K-2㎠ç>aÎ?•MœŽ˜?J„ãÿ ¯RZcHÉò)Xr4ü|Ü
ã•çÚ‘D,½¸ÈçŠM¹?{9© õÉúSÀäí÷⥅ÈÕzÉÇ~iÂ3Ó=ý*T\gÒ¤'åªRžGzÅføHÉϵD8-Çùÿ ?…]× X®0§n{¥òí= 8¦¬eQjJñýÜá¹ü© ¨Ò•qÓð=±HÃåyéýkC19'– ž˜òÙÏR}*,•\ý1švã×9â†bÊyþ¢œ@'îŽMGFïʦ\íÞš`È–=ÝÀ銓g<ŠP1ŸaR²ñÛÐÓOS;€aÇ'ëŒÔÀðš†5 à *U øª[’Ù"Ÿ—È4¥F;qëLqŽ‡ÞœÁÜx«D6;prxïMÏ<ŒñïJܽ©xÝ‘Ï4ìEØ)=1ÖžªCdÿ :fñéNó1ÁaJÚŠäÿ .8=(Y1š¬Òpyô¦OJveÆ|Œÿ *„ÌÇ¥WÝõÉ«V‡`[ùS°%qÑ,“tZöáW'‘ÞÛÛþìa{úTr–@}i$j´#‘•9ª2Jò¾ÕéëI;<²í;⦅6öœ´É-Ð*qWmÿ Ö§ÔU%lu«¶=Åf\YØZôtçœzÔŒ}Cbsn¸ôô©ÛóúT£dÀý
Bÿ O¯üއô¦0÷éAH®ß—jcôæ§qÜâ¢ldzý)&Br:óM¶‘»ó©[88Æ>”À»Oj
¸ÕCž2G¹©–<vÁÅ>!‘“€jBŸCïSa!˜õã½)ã#<Ô…@À=©»IlñŠ<³ÄŒrçòüë-O99+Ž¢jWFpÙóÁÏI ?PÆF¥gÑ5.Þ¥„nsŒ~þ)\ã¥@§-ÀaèE8»ƒÏëZ#&‡³rqϵ:¸éMnT’¸Î1Þžì;ôªkAÜ’/Nõ:œóÐ}* =3õéRmä{{Ó%’€‡»zRn*Þª}©UI=HõÍ?g?…5¡“Ÿþ½.yäâ”ÆË‚
FýÏ?ZdI²`T(êHó Ž*Ÿ˜cÓÔÒçœdš«‘rÁqÉÅ'˜3•ÏOÎ ÀÏ?)äŽØ¦‰l˜;{¥ÉÉÉúÓ3ÇlúR±ÇÞ<bªÄÜzŒE.Ðq’G±¦+äáîiÒÃ;» ,ÙH`¼ãØÖÖ™€£=k$Ä»r¿xTÖ×{ 0EŽü§Y èØäÕMA×iäYÚKŒOÖ¥¶f™÷·J-b¹É`»¹©Á4üqÒ£=céš– ˆ0Ny5$D‰Ó"¡ÛÖ”ž?ZÎŦwiÍ¢v«
ï‘T´7-d;â®±$b¥¦5À#×Ú™·Ôf¥
ÇéHW°¦Zewß‚zЉ³éœUÖob*»©ÇJe¦Wa‘éOH²ëJ{sSGŒúûÒ.âmãà´ìsÇLóJ=ˆúÔ°¸ÓÁÀ<SŠþµ
þ½(<céRÀòg‡ÌR ïÀª’Ø« IcŽœu)$£ íQgËN6ñß5ͳY$Ì+µ1¶Õ/D»_ ©Øþ5cPœ1ÃÓžõ^m;á]qzÍ{Äÿ 21e1×&¤ŠI0LˆÄ÷ÇzXˆÈÁ8µLzŸ éNâ°«2•ОNJGéš‚•ì@=Æ)ƒÇÊp:(HMæŸÆj²NGàB¦FF>⌛$óŸÃ5Ž:TÀØ}(#妷3‘AÓçã 4€‘SºóÂÔ-•#«DŒØâyÏé@uõ¨‹“Ó*÷ óW‘rÂeÇîÔš‘,ng?êä ÿ ³O±ÁD2V½7ÁÓÙêvKس(ÆÂsJ£qFôiÆ{ža.“tˆYQŸð9ªI4ñœn`Gc^Õy¤BAÚ£žG?s:¾‡m(mð.îÌ«ÏéYFµ÷5žß8 Y¡íõÍV›k}ÖÁíWµM:æÅ™Ï”xïødVtJrI®„ŽI7³,ØÇÏÍ×Þµí—Y¶øqùV•¾vw¨h”N3´â£læ¤cšcºqŒÔ6Z“Ò¢,sK»©4Geá¹A²ì:Uæ•7“º°ü0û¢Çjו@æ ¸²Ê¿ f”¹éj¬mê?*”8ÏãÍQ¢cݹì¨[“Ö‚rØÈ=éê3éH´&8àŠzŒ(À§„)•þ”ìZ`:Ãô¤ÁÅ8ýiÈö©h¤ÏN)ëÆGÖ›ŒŽ´þ¾˜5#gBøLwâ£Ê`Å}Q‚bHÜ߀©¥lŽ9íšçI\Öú—¿4ÛwôŠr
¡Nãƒ×#“HPoù•O<ŒTÑDØ 0QžõÕ¬s·¨èÕ¤#QùTÈ„‘’OãÖ¦·W®:ÔÁx;q\{ÓÂsŸaKJÃ…$â®$`ÇÆ:ô"œ¡{â©"“E&{lS–G¸èjéÈÉàú`Ñ×’snµhÅØŠ9fA†ÚjQpù”jB2ÞØ¦´cëO”̓H¹8ûÕy†ãØ}EY1 ¿)ômúV©#6VDëŒgÐÔÈ\u<{ŠyXñ€¤zR`†õJ¸’mxT¸œmO1só 3] &Êæ9Q¡ryÂàŠÄðyc©*£•nþõÖÏnñÎï6Z60/?Îk9nm¡Òiz„Z•¦pë8aëïTuX#
wc‰Åé´}LONî0Ý«±{øo´áq‡äd
rΞ‡\jó#‰ñF6v=Ÿ"¹hÀ9ç&¶üW8.@Ø{exý+Û:šé†ˆá®ýâÄõƒÒ³ã+œU¸Èÿ &†b™cw
Fì1Ô;uÅ4§sY4kè8 /LÐGjW4F÷…ˆÉ\ûW@T“ƒ\dž_mÉ⺗ô•ŠLfÜJNèiÎ[µ|ú"н“S¤€š¬A4¹*FE¥ÐÃðïMfÉäqU¼Î=*¿ËL¤LO¯´õÆ}j¸”Aýiá†xüjYH°1Ïqߊr®}3P˜ñRÇî{ÒÐg„DS |§#'Ó½i[„ØØCשZ§mm€993ʇ°ü+®[v3æˆyØ\ãö5$k„÷÷Â…Ÿ<ã=
8# ôöâbÝɆìü§>Ç¡©×i¶ê*²åXdsߊ²å¶Œ¯ÓœÕ"I¿„áò=6Ñ ù±–õéK $8õT„qó7^¤U¤Kd‹çh'¿4QqÑAô ÐÈ?3c®)áОÜUØÉ²‡ÂcéÍ1ÁÆ6ø²çv~eÁþè¨ÝBž #¾j‘œ™T}ìt¥=y9?J’@™ã¡¤¼‘¸zÖ‘F,leXϸšWäl=rhtÚFìgëN‚±ß½Íh‘7,iìÐ\Ç"¹_¦k±Žæ6’9#-+‘†R+’Ã"“¾>µ¡¡ÝÅ»œŽ4§ <L¶‚Dfß´fiº²iò8ŠW°äcŠÑ¿šÖiŽùdèIük[keƒlEK×mgËrùíª(k·¿i¹,¤0'ŽÔËy”?¥gÈÀÊ‚;UÛgÌB´9Üùž¥¨Ûšµnryòªq6ã½]¿*–†‹``PXâ“?/LRgå&²fÑ`# ¦3
O!<T&hh2m½ŒWb€r1\.˜åoTç’kµOõjG¥"RÊÃñ¨Î{‚}é€óÅ<Ù
Á#Ö‘¢Þ” JúÒàt?Zq^‡9üi$ZdIÓ©O `ûS×i¤àdqTZcH$×·j0nŸJ‘Œž*xoz†UÂ1‘ÓÞ¦^ Tq¶±©ÐúTŒñ†( ‚¨ªÒH%8àäç¥K)F€tÎG½W^ì7\u51ˆÜ™`¨VRAlžÇÞ¥‹füà}
F˜b9 §‰Fì˜zuükD‰¾ƒÙ#RqöÆ3Jªÿ U¿×“Rb0@ò“MCü¡í޵IÇ•~`?æœ#pT@hbÌFÖcêv⤶ƒ¶] ㌊´e!b,ƒŽ?Òƒæ¶HÉ=ˆ+¨?JUHvä{Flˆ¼„|û¿ôÖ—ýáSÀ©ÝUrÄ}sUXÜ ×HÍ‹¼°êsŽ £g Ó]F3‘j‰ú6~µ¢2b²»Ÿ¡¥Äê2TŽ)‚G”b¿J¦gs¹›'¹9Q
“‚ärÃ5%¬7Ýã?^´ÔÃcq?PŸáZžŠƒ$O×?+E
„LÉ~Ó¸¡?7LU;˜gÚK[š…š¥ØO9•óÐëUî žx™ eèO›v*Ç6ûÙ'õ«ö@ÅgÜ&×;ÏÌ:óVíîÇô¡³¬ËèÊ@«0ã>ÕJ6Áïš±ÉT&ReüŒqÒƒ÷Oõ¨Ð½é<Â23Q$kÏzC×üiªI&ŒñYš¢KVÛpŸZíHhæ¸d8‘O½vškfÑOµKE¦X=x uëϽ=ÛPäzÒ.$ªsך¿5g?JãýzhÑ äc4ð¦=i‘“ÈÍH_¦i´ZuàzSÏ<þtÆ99ÁÍ ßëÚ¥¡¦?ãž*ÂñøŠ‰9ÎsŠ™zžy©îxd(HùI<zRbzdÍJ0!ù2XÔI»Ë sø$
Üš'ÜØ$¨÷ïVcC僎sÔÒ©!è猜Uˆä
ƒ/Nù5¢&úá%°2ÙíÎ?:]ÈÛ²Øõ`3QoSvœõÏ Ð9Î6`úð)¡\“%€ùÃþ4©µO*G³ŠCÉdt柜’¸zdU¢$[00Š?Ý<SŽ3µñõZ0é‚G¼T¥‹§éTfÁÝJŒ 1þÎ*)Aœƒô©1åîú‘ŒUYO8ê*‘›·ËŽôÇÒšäc¡SMqúU£&=œ¿@>µ uÎGB)wŒîǨ§b`†ö9ÅjˆdÐÞH ÌhîzgñÞAç°˜`ç€ZÀ]á?w»*[Z;ÄwÉÈ¢Z¡-γZŽÂáìæDfþðȪ c*¨€1sŽ õÿ
ºeŠîÙ-¡Wglq· Û
6;&]œŒ€{W<Ý‘¼by÷‰tÅ‚,„Ã÷æ³,÷`v®Ëı·c€1Ó5Å4‚'“ŽÂ”]ÑhërÚ¶:UˆY‹p8¬ëI^BDÀzçhÃ׿áMhf‘t6W£bãÞ¥ü¼Ô³TB}©9äŠOâëIš‹!I¿×g¢¿ú÷⸆çúWUáésjôõ©±HÙwô8¨H%³HÍ=3MvÏljFˆÐÓƒôÍWFÇ#õ«óבšh’ÉôÍXcµxÇ5gŸJ˜˜
w.âôö¥N¸çò¦/ äS“9çéI±¢uõïOBGš8Á4áÓúÔ2ÜËòå›=
î9ÝŽ¹æ“Œ=9 Rq´cü)¢[¾ƒÁäŒã€•L6í£ëšð‚F1M\•Ìz´E¬Y2·â}è2ýÃß56®A•bØœdžªõ&KœF
£üö©Ç<@½iå\(ö§FFèi¡I“¬¸é´E9dØlNj
{ÒùC9¾”îdÉË‘Œ¨åŸsJ`㛆ÿ =ê“3d-Óœƒõ¦g æqóâZ¤É"ܾêséJ8?ZŠT`}i…ÀäV‰Ü†\.ƒù
dí(«`úõMßû¹³ádF¼NAP{ôúÐå ¢®ÎçÁš9·€]]y‚^½xjï
I'ù`U95«x XÖ@BŒkœÕ5o9ÎÓ‘ƒ“ë\òNLêM$G¬Ü†‰ñéÚ¸øã–âweMÈ<UÝNñ˜2/$ûVuõÕ–à“yjÜàŒŠ´¬ŒjI6_ÚT”ìéœqV"ÎîõŸis,À´¬Ïj½ƒéAž…å'Š‘¦;p*·˜6ðÔùëJ戔}i¤å¹¨ØóAeàœVl¤=›ë]†ßt•Í5Ñxr6Ž"ÄŒz
[›‡8¦óžôoÏQŸzi|¨^ŸZƒ$u5QHcÁ<G×µ$Y>ãß§ƒÇš‡v{þ´ ŒjŠH”7ÿ Z¥ˆçÔž54 楌´ §úÒÈéH<u¥až†ÛÕIÇ$Ž
)Ë|£iǯ9Fzã¡Áåý})&$î€Æp8ŽGÖ˜Uˆ^oþµ^U9ÛŠŒª°Hüê“Ж@c°'ŒcY‰zw>´‹=N{ûT«ŒsÈíéNâ$B1ƒŽ¼TˆpqŒT#ï`ÔŠ9æ©+ô$c×Þ‚qÓúP£œuâ£ðõ5D0ó 8÷§ù†*Œªã9©##Ðf2F;sÈ•^F#ëW ^zÕI›ž;šdzcD¤äƒŸZ~ì®zÒçƒôô¦™;•Z2ƒ9ÈúU‹YWîùÈ„zñR
¤tÏáUæ‚"2I‰i±jI¢Aó\!ŠsUÍÃÌ6B=ê8á/Îâ=3WAŽ$ù…;•vÊ~Z –§J§3 ‰FHì@éVîpcÍ.Ÿ“–úÒ¹®ìU·Ùú°ßˆ5en±Œzd[VÖqžvT“XŰåC‘²¢ÌS<˜G5,/6y³ZI|‘…ô"‘ZTûÈ}Èær4XSÇÌM.ÕÅ@“¡à’ ìx©à`:—r’BèjÞ&oG;j‰=súÔštþ]àÍF¥ÎãªéMSÇ Õ%¿‰P|ùÈà
FÔí•2å‡ÕhÔÙ#E Ƨ5FÂîÞê ñH{jÛ·¨=J& p9¥SÀþu
6xÏãJ¤ã¯=éܤYVÇ_ƬBÝ8ÆyªJqƒV`o›¯9¤Æ_þûÒvÿ
D;€íõ© ¡á¨§9zT‹ŒŽø=»VœzHÉó·aRͧ[@…€'ZCqÐÍãäR’6þô0
À`1<æŒÐҚؗ,qéJp@ïM8ÚŸJÞÆqß®*‘6Cù<€3ž1O1Q䑌õª@NìöªL™r;óë@n
O›=¨öüéÜÍŽaÖŒûö ðƒ4Ðz{ÑrlÎj “úSÛ¯b=j
Ú‹’Ðò)1Ú7ÊQß"”N;P™6qŸJi.sÅ)àqHÇŒã¥;êMˆÄg¹õ¦HdWQÍH¦h;°>¹î"£Mü<¹dWhç^XUŽL{~•eãn2WÓhlqvgIi(U;L¬1Ûë\äwG¶Ò”Þ&sæu5Ld¬tM£8¤q:þ•†º„YáóíR
J/áÉ?J¡ó#DÛÀÙãaPÉi û ¡ªGVÛ÷Q¸•º¼‡îÄÞüP$Ñ}ƒE$uÎj‹
سí'©¡5fÞ<È™síùÕ‰®-/-v±»JÕ½'È àqŸ¥&¶«åð8®oOÔ|™<¢Fàx=3[&àOÉ"“]9“Fe¼òÅ>èäu>¹Ë_Ì‘¨¸E§°.d‡'#<bŸ+c?5
§c¯¶×¬[†gÙ‡øVŒ:œË¹nñ8þuÁüƒ¦î+kF¶·¹_œ0nøj–‘´]ÙÖÀèø!ƒÄ±`Öu”1Û®qæ®Æÿ ð†icFã‚0jÆAÉB7ÁÛš³»Ž šÈàÔäUkØÉíÏ4g“ÀÆ;Ô9ç¨Åf´îd·,?oãÒ•ò@ã”™c<ÕêdÕè=@4wéÏò¡NB
\c•È>´-„ö(
šztÆzñH«‘€r:~yÇæ=ÉhAœžçC` Í)<ã'=i®F3œœ`S¹.!»¦AíMv=³L/òŽ Ò#Ÿ¥"žÝj)—8ù±éÅHrFGjÁãšÐ`ùG„óÇZ°Àɤ;³Ü.M‡’}ñëK¼ý~´ÕÏr~”à{Ó¹6¸ã#'µ:Fã¦)üýÍ6_^M;‰ÄcšBö¤aÛÛò¤#¨µ(×XýsƒÚ *‡'=©Ä0Sóc¥@ Ï=ÍMÊH“ËNÄç®jH£\ôÏÐÔ@öÎ>µ4nq‘ÚŸ0ì"çhã´Øÿ +3Ï8Å4‚£éRÛ‰'¸éC*“ó(ç®y¤Î@çš 9Á=ù¤™qFœ:p¬‘È"~üg4²èWò®dEç1œÊ´´ H¶ÇZ¿æ|ùÆGz™²‚g4Ö¶ê‡y”8þ÷Z¨›s€Nzì.m`»ˆ¬©×¿zÍþÀ_0mì÷íV¦†69?…lxuÏŸê2;V„Z5²‘¸=ù«–ÖÑA÷# ûT¹Ü¸BŤàîöëš°¯ÏNj¾áŒúzÒn9ëSsDjBøÇøÕ¸œcÐÖ<2Ãò«‘J3‘ØúÑqXãêxÆ8¦Ý.cüiç…ãµGpr˜ü+5¡LÉ“;Ïõ¦0ÇÝÇ?•8ðãwAHONFî®20b¨úàšqëÆqÜæ÷Âý3Í$Œdr}éÝÅ<ç-ŽiAã¸Å3p Î:úÓ$“ôWÔ$´$i·SïMvè
®ÙØd``qÖ”·
€q“Î(º'R^Nq×Þ…éÏ?4d€IÍ'às“øTÜ› ?¥A19÷©N8ä=j϶µXšr£ Å(qÏ\ž˜j5ltÉõ§ƒžxæ‹aéï‘R¯<Ô`vÎyçŠx?JsÖ‘þèþT¸œô¤,~èëë@šùÏ\}{Ósþy§Jÿ 0 <f˜ÅHÏ^3éEÁ;SP‘×ô²°Á硪ãïc“F…$ìJÏÞ=jÔ|/Þ5K£t8ÇZµÂð{R˜á_¥å9£Ãcùu¤làó}jKÔpoœüÄ÷ö¡¤?{9ôµxã9Å+°ínnµHj÷:Oɘqž1ùV°éÉüë™Ð$ûÃum«Â‘´†œ/ÉãëSo Þµ|Øæ¬Ã&õ=h4H¸ŽOñ~tóÓ–8ö¨##¡ÎjPFI?JC·<ô ó’Jfpqü©^¤O`E…#<>*@샃“T×>ù=*ÄlHϽ 9¦¹ÆFÃì{T§æPqÀÕ{™%²ì§Ž)I Ƨ<ppM`„ÛÔ‰ˆÈ=ñM
–ÆG_NÙª¯+g‘@fUPsïÍk}e¹e¦!™A³íþy¦;’`mï–ýj[<‚8´HIÁ#=¨º+Ș·cÛÓšÛ^Ú”cËÚíóÒ¯\ä“Î ¦šD½ìô9ŽxËzu Û‘Ž8êMN8<óŽiÜMëaÙ;rzc°§Æõ© ØÚ:óJ2HçÚ•Åaå0¾õßp±Ž=*u `{dñL3‚OL“V™,ªŒ1œƒÇ856î›NsP±$`(ÇjpÊŽüéÜI“)çgÓ4âÛqÛ·'@†õõæž88v¥Ô‰“ŽhÜ ÝÍ7åëÖ£¸þîHëéL†$‡srxêã¨Éã 8bÄΫLçwL“Û4=$sLœô¦¡Æ?CL,G¨çqBç9ëž
+–Xgïsè
Z]¸9ÉöYy9©Ôàa}}i6Q ùŽ õÅD\–Û•žxÁè}7v9Á㹩æW¸»pÜ{šÛnK0ëŒô§4€7AŒQËœg=GÕ&447ýðïÈôâ·Õ‰éÇ¥sº1sp lä÷®Š!Ø’Z†Í`XN¼Ôñ9vªãw\ûu§«Š”ÍQ£™lÓÁÁ㑚§ƒŸ×š³Ÿ!<õªß@%''8ëKò•ïøÒ/èI¤-ÇK à7~•$n
õÀ¨[ÏÝ£9ÇJ‹…ÏÿÙÿÛ C !"$"$ÿÛ CÿÀ " ÿÄ ÿÄ ! !"1QÿÄ ÿÄ !ÿÚ ? ›Ù ½/s õFÁX–ïò˜pkņÌA“mK²*|× E,n»ÊQöÀ\ɤ~/ÍAÑHÇäãŽÅ6N9#ªÅ´ÿÙ
Untitled JavaScript (20-Mar @ 20:40)
Syntax Highlighted Code
- ŒCàWÁãðñ%7Fh‹%7D9µ3à4²¸
Plain Code
ŒCàWÁãðñ%7Fh‹%7D9µ3à4²¸
Untitled JavaScript (20-Mar @ 17:47)
Syntax Highlighted Code
- MZ ÿÿ ¸ @ è º ´ Í!¸LÍ!This program cannot be run in DOS mode.
- $ ’çÛEó‰ˆEó‰ˆEó‰ˆb5òˆ@ó‰ˆEóˆˆbó‰ˆb5ôˆFó‰ˆb5äˆAó‰ˆb5øˆLó‰ˆb5õˆDó‰ˆb5ñˆDó‰ˆRichEó‰ˆ PE d† øˆHF ð " R a € € €
- €k € –ò da < €f ¸ €^ | €j ” PQ P H .text :L € €L € h.rdata ø
- [167 more lines...]
Plain Code
MZ ÿÿ ¸ @ è º ´ Í!¸LÍ!This program cannot be run in DOS mode.
$ ’çÛEó‰ˆEó‰ˆEó‰ˆb5òˆ@ó‰ˆEóˆˆbó‰ˆb5ôˆFó‰ˆb5äˆAó‰ˆb5øˆLó‰ˆb5õˆDó‰ˆb5ñˆDó‰ˆRichEó‰ˆ PE d† øˆHF ð " R a € € €
€k € –ò da < €f ¸ €^ | €j ” PQ P H .text :L € €L € h.rdata ø
P P @ H.data p [ € [ @ È.pdata | €^ € €^ @ HINIT ^ a € a â.rsrc ¸ €f €f @ B.reloc Ð €j €j @ B @SUWHƒì H‹úH‹ÙH-sJ L¬Z HEJ E3ÉH‹Íèæ9 L‹Z HÜJ E3ÉH‹ÍèÍ9 LjZ HãJ öØÉE3É#
^Z ‰
XZ H‹Íè¤9 LEZ HÚJ öØÉE3É#
-Z ‰
'Z H‹Íè{9 öØÒ#Z ƒ=Z ‰Z t9LZ H¸J E3ÉH‹ÍèI9 ‹
óY ºÿÿÿÿ„ÀÇÞY Dʉ
ÙY 3Ò±ÿ#L „Àu
¸ Àéõ H² HO ¹ H‰CpH A¸RIMAH‰ƒ€ HS H‰ƒ Hq H‰ƒH H— H‰ƒ Hµ H‰ƒˆ H· H‰ƒ HQ H‰ƒ( Hc H‰ƒà H‹C0H‰PHi H‰Ch·HƒÂÿ L H…ÀH‰&Y u¸š Àë5D·3ÒH‹ÈIƒÀè£G D·H
øX fAƒÃH‹×fD‰êX ÿšJ 3ÀHƒÄ _][ÃÌÌÌÌÌÌÌÌH
ÉX Hÿ%ŠK ÌÌÌÌÌÌ@SUVWATHƒì H‹j@3ÛH‹ñH‹}`H;ûu¸
ÀëOHð ÿSJ H;óDŠØt#H‹H‹O‹ÓD‹@D;ÃvH;ñt.ƒÂHƒÁA;Ðrï»
ÀHð AŠÓÿJ ‹ÃHƒÄ A\_^][ʨt»š ÀëÖˆƒ…ü ëÉÌÌÌÌÌÌÌÌ@SUVWATAUHƒìHH‹¨U H3ÄH‰D$0L‹êH‹Ùè%( H‹k@H‹ËèÅ) „À„î I‹…¸ L‹`0IL$XIÇD$ fƒ9 „Ç D·AÑèA@ƒø‡³ HT$ è 6 „À„¡ Ht$ H=LH ¹ ó¦udH‹E`¾ ÀH…ÀtHƒx t¶& H‹ÓHHèŸþÿÿ‹øë‹þ…ÿuH‹E`¶' H‹ÓHHè~þÿÿ‹øë;þDþ…ÿ…; ¸åUÚºé Ht$ H=ãG ¹ ó¦uTH‹E`¶( H‹ÓHHè7þÿÿ…À‹øuH‹E`¶) H‹ÓHHèþÿÿ‹øë
¾ À;ÆDþ…ÿ…Ò ¸`CbÓé¥ A¸ Ht$ H=„G I‹Èó¦ukH‹U`H‹ƒxs
¿» Àé˜ ¶* HJH‹Óè·ýÿÿ…À‹øuH‹E`¶+ H‹ÓHHèšýÿÿ‹øë
¾ À;ÆDþ…ÿ…R IÇD$A#‡Cé& Ht$ H=G ¹ ó¦uaH‹U`H‹D9@r€¶, HJH‹ÓèAýÿÿ…À‹øuH‹E`¶- H‹ÓHHè$ýÿÿ‹øë
¾ À;ÆDþ…ÿ…Ü IÇD$B#‡Cé° Ht$ H=°F I‹Èó¦uZH‹M`H‹ƒx‚ÿÿÿH‹IH‹ÓIÈèÍüÿÿ…À‹øuH‹E`H‹ÓH‹HHƒÁ è³üÿÿ‹øë
¾ À;ÆDþ…ÿ…k ¸ˆˆˆé> Ht$ H=SF I‹Èó¦u[H‹M`H‹D9@‚›þÿÿH‹IH‹ÓHƒÁ
è_üÿÿ…À‹øuH‹E`H‹ÓH‹HHƒÁèEüÿÿ‹øë
¾ À;ÆDþ…ÿ…ý ¸‚ˆˆˆéÐ Ht$ H=õE I‹Èó¦uXH‹M`H‹ƒx
‚-þÿÿH‹IH‹ÓHƒÁèñûÿÿ…À‹øuH‹E`H‹ÓH‹HHƒÁ
è×ûÿÿ‹øë
¾ À;ÆDþ…ÿ… ¸ƒˆˆˆëeHt$ H=šE I‹Èó¦ueH‹M`H‹ƒx‚ÂýÿÿH‹IH‹ÓHƒÁè†ûÿÿ…À‹øuH‹E`H‹ÓH‹HHƒÁèlûÿÿ‹øë
¾ À;ÆDþ…ÿu(¸„ˆˆˆI‰D$3ÒH‹Ëè ‹øë¿
Àë 3ÿë¿V À3ÒI‹ÍA‰}0IÇE8 ÿßE H‹Ëè[$ ‹ÇH‹L$0H3Ìè> HƒÄHA]A\_^][ÃÌÌÌÌÌÌÌ@SVWHƒì H‹úH‹ÙèÉ# L‹C@M‹H`M…É„& H‹‡¸ @¶H‹H0H‹AH…À„Þ ¹åUÚºH;ÁuLA¶ˆ& ¸ÿÿÿÿIIt@„1t
A€ü €!þA¶ˆ' IIH‹S@„œ @„1„“ ‚ü é… ¹`CbÓH;Áu,A¶ˆ( ¸ÿÿÿÿIIt@„1t
A€ü €!þA¶ˆ) ë¨H=A#‡Cu/A¶ˆ* ¸ÿÿÿÿIIt@„1t
A€ü €!þA¶ˆ+ éqÿÿÿH=B#‡Cu/A¶ˆ, ¸ÿÿÿÿIIt@„1t
A€ü €!þA¶ˆ- é:ÿÿÿ¹ˆˆˆH;Áu+I‹I¸ÿÿÿÿHƒÁt@„1t
A€ü €!þI‹IHƒÁ é ÿÿÿ¹‚ˆˆˆH;Áu+I‹I¸ÿÿÿÿHƒÁ
t@„1t
A€ü €!þI‹IHƒÁéÔþÿÿ¹ƒˆˆˆH;Áu+I‹I¸ÿÿÿÿHƒÁt@„1t
A€ü €!þI‹IHƒÁ
éŸþÿÿ¹„ˆˆˆH;Áu;I‹I¸ÿÿÿÿHƒÁt@„1t
A€ü €!þI‹IL‹C@HƒÁt@„1t
A€ü €!þ3ÒH‹ÏÇG0 HÇG8 ÿ}C H‹Ëèù! @ŠÖH‹Ëèr 3ÀHƒÄ _^[ÃÌÌÌÌÌÌÌÌ@SWHƒì(H‹ÚH‹ùèn! 3ÒH‹ËÇC0 HÇC8 ÿ,C H‹Ïè¨! 3ÀHƒÄ(_[ÃÌÌÌÌÌÌÌ@SVWHƒì H‹y@H‹òH‹’¸ HZ¸A¸8 H‹Ëè¤; ÆC H‹H‹ÖHƒÄ _^[Hÿ%œB ÌÌÌÌÌÌÌÌA°é ÌÌÌÌÌÌÌÌE3Àé ÌÌÌÌÌÌÌÌ@SUVWATAUAVAWHƒìXH‹i@EŠàH‹òL‹E`L‹éHÇB8 M…ÀtUèL" „Àu
»V Àé† H‹FH…ÀtD‹x(ëE3ÿH‹†¸ ºB#‡CH‹H0DJÿH‹AI;Át H;ÂtAÿ = wE…ÿu
»
À‰^0é: ¹åUÚºH;ÁuE„ät@н& éÐ @н' éÄ ¹`CbÓH;ÁuE„ät@н( é© @н) é I;ÁuE„ät@н* é‡ @н+ ë~H;ÂuE„ät @н, ëk@н- ëb¹ˆˆˆH;ÁuAŠÄöØ@ÿ@€Ç ëJ¹‚ˆˆˆH;ÁuAŠÄöØ@ÿ@€Çë2¹ƒˆˆˆH;ÁuAŠÄöØ@ÿ@€Ç
비ˆˆˆH;Á…S AŠÄöØ@ÿ@€ÇI‹ @¶×HLRHÈH…ÛH‰œ$¸ „& H‹E`H‹HŠ
¨t
» Àé E„äˆ
…ú AöÇ?t
Aƒÿ…ê @:½* „Ý @:½+ „Ð @:½, „à @:½- „¶ H‹Fº€ A¸RIMW·H(‹ÁˆŒ$ Á鈌$¢ Áè3Ɉ„$¡ ÿ<A H…ÀL‹ðta3ÒA¸€ H‹Èèì< fAÇ€ fAÇF H‹KH„$ I‹ÖI‰NI‹ÍAÇF IÇF8 I‰F(AÇF$ è I‹Î‹Øÿý? 뻚 À…Ûˆ H‹œ$¸ º@ 3ÉA¸RIMcÿ«@ H…ÀH‰D$@uÇF0š À»š Àéß E3öI‹ÍD‰´$¨ è „ÀuA»V À‰^0I‹Íèm „ÀtH‹”$¸ I‹Íè% …ÀyI‹Íè¹ E…ö…€ ‰^0é H‹FA‹×HÇD$ D‹p,Lp D;{A‹ÇGCE3ÉE3ÀI‹Î‰„$ ÿ7? H…ÀH‰D$8„ D‹Œ$ H‹NM‹ÆH‹Ðÿé> º€ 3ÉA¸RIMXÿÆ? H…ÀH‰D$0„Ö 3ÒA¸€ H‹Èèp; L‹D$0‹„$ H‹T$8fAÇ € fAÇ@ H‹KI‰P0A‰@$I‰HE3ÉM‰H8M‰H(A‹ÉE:á•ÁD+øƒÉA‰H H‹L$@H‰Q‰A8@ˆyL‰iH‰Y(L‰D‰I0D‰y4IÆH‰A H‹†¸ H Æ@¸L‰@ÀÇ@Ð " H‹†¸ EqH‰PðH‰HøÆ@»àH‹†¸ H‹ÖDpH‹M ÿÞ= ‹Øë
D‹´$¨ »š À…Ûˆ\þÿÿI‹Íè éwþÿÿ» ë» À‰^0HÇF8 3ÒH‹ÎÿÎ= ‹ÃHƒÄXA_A^A]A\_^][ÃÌÌÌÌÌÌÌ@SUVWATAUAVHƒì I‹@E¶`D‹r0L‹h@@2öI‹ØI‹E`H‹êL`E…öˆÉ @8rD…¿ A‹x4…ÿ„© I‹ ‹H$A9H8…™ AH0I‹@(I‹H;xGxA‰x8öA
t
H‹ÑH‹Iÿú< L‹C H‹SH‹MD‹Ïÿõ< L‹‹ÇA‰{$HC ){4H‹•¸ H
CÿÿÿÆB¸H‹ÇBÐ " H‰BÀH‹…¸ H‹ÕH‰HðH‰XøÆ@»àI‹M ÿ< ¸ Àé² I‹ ‹H$AH0I ÿd< A€$$ûA¼ DŠØŠC$þD¶ÀAHë@„öuI‹E`@¶öH‹PAöAEôEÄD;ÁrÞI AŠÓÿ
< @„öuI E3ÀA‹Ôÿ%< ‹K0H‰M8H‹Kè± H‹ÿ< H‹Kÿ
< ºRIMcH‹Ëÿä; A‹ÆHƒÄ A^A]A\_^][ÃÌÌÌÌÌÌH‰T$SUVWATAUAWHƒì0H‹ÚL‹á3öèü I‹|$@I‹Ìè› „À„# H‹ƒ¸ L‹k‹H‹hD‹xH‹P0¸, " ;È‡Ø „¾ é " „• F+È„{ ƒé„H +È„— +Èt^+Èt;È…| …í„° H‹GXŠPé H‹OP·A;è‚” L‹ÀI‹Õèä3 H‹WPI‹ÌèD% …À‹Øˆ H‹GP·pér H‹WPI‹Í·BD;øs
M‹Çè©3 A‹÷ëL‹Àèœ3 L‹_PA·s3Ûé= ƒý‚( H‹OXI‹E ½ˆ H‰I‹EA¸RIM1H‰AA·EH‹Õf‰AH‹_X3Éÿe; H…ÀH‹øtKL‹Å3ÒH‹Èè7 H‹×I‹Ìf‰/fÇG H‰_(ÇG$ H‰w8@ˆ·‚ Ƈƒ èC H‹Ï‹Øÿ<: 뻚 À…Ûˆž ¾ é” Aƒÿ‚~ H‹OX3ÛH‹I‰E H‹AI‰E·AfA‰EëÌI‹Ìè9 ‹Øé[ H‹RH…Òt
I‹Ìè ëæ»
Àé> …í„* H‹GXŠPé é0 " „ò ¸ +È„¹ +È„U +È„3 +È„ +È„Ñ ;Èu¥…í„Ù UHýA¸RIMpHÒÿ7: …íH‰‡` t(3ÒA€} tA¾M H‹‡` ƒÆf‰HƒÂIƒÅ;õrÚH‹‡` fÇp H‹p ƇP H…Étÿ9 HLJp LJx I‹ÌèÝ …À‹ØˆP H‹GPI‹Ì€x2uè‰ ëèî, …À‹Øˆ- I‹Ìèp é¾þÿÿH‹—X HL$ ÿ½8 ·t$ D‹ÆAÑèA@D;ørHL$ I‹Õè|% „À…¡ýÿÿ»# ÀéÛ I‹ÌèR élþÿÿD;ø‹ðrâH‹GP¶HÉA‰M épýÿÿ@8·P tH9·p u@ˆ·P I‹ÌèJ, …À‹ØxH9·p ¸ ÀDØ…Ûxz‹·x A;÷wŠH‹—p L‹ÆI‹Íè¬0 éýÿÿH‹GXLD$ I‹ÌŠPè[# …À‹Øx>D·D$ AÑèApé)ÿÿÿ…ítH‹GXŠPM‹ÅI‹Ìè…" …À‹Øx‹õë» Àë»V ÀH‹L$x‹Æ3Ò‰Y0H‰A8ÿ7 I‹Ìèý ‹ÃHƒÄ0A_A]A\_^][ÃÌÌÌÌÌÌÌÌ@SUVWHƒì(H‹i@H‹òH‹Ùº( 3ÉA¸RIMKÿ
8 H…ÀH‹øt\3ÒH‹ÈDB(è¼3 fÇ( fÇG H‹NH‹×H‰OH‹Ëèú …À‹ØxŠN€ù€r€Áë€éH‹E`¶ÑH‹H€$ûH‹ÏÿÐ6 뻚 À‹ÃHƒÄ(_^][ÃÌÌÌÌÌÌ@SWH‹ÄHìˆ H‹y@H‹ÙHHØE3À3ÒÇ@ ÿ¶6 H‹L\$PL‰\$@HD$`E3ÉH‰D$8ÆD$0E3À¹ " ÇD$( HÇD$ ÿh6 H…ÀH‹Ðu¸š ÀëcH‹€¸ HŒ$ H‰HÀH‹ÿõ5 = u HL$`E3ÉE3À3ÒHÇD$ ÿ26 ‹D$P…Àxö„$ uö„$ tH‹Ëè HĈ _[ÃÌÌÌÌÌÌÌÌ@SHì€ H‹Y@HL$`E3À3Òÿ×5 H‹L\$PL‰\$@HD$`E3ÉH‰D$8ÆD$0E3À¹ " ÇD$( HÇD$ ÿ‰5 H…Àu¸š Àë3H‹H‹Ðÿ)5 = u HL$`E3ÉE3À3ÒHÇD$ ÿf5 ‹D$PHÄ€ [ÃÌÌÌÌÌÌÌÌÌ@SUVWATHƒì L‹a@H‹ù»ˆ A¸RIMZ3ÉH‹ÓÿÐ5 H…ÀH‹ð„ã L‹Ã3ÒH‹Èè1 S3ÉA¸RIMXÿ¦5 H‹ÎH…ÀH‹è„© L‹Ã3ÒèU1 H‹ÖH‹ÏfÇF f‰ÇF$ HÇF0 H‰n(Ɔƒ Ɔ‚ fdž„ HÇF8 èk H‹Î‹Øÿd4 …ÛxE€}2u?H‹ÏèF …À‹Øx1H‹Ïè …À‹Øx#A€¼$% tH‹Ïèç …À‹Øx
H‹Ïè… ‹ØH‹Í뻚 Àÿ4 뻚 À‹ÃHƒÄ A\_^][ÃÌÌÌÌÌÌÌ@SWHƒì8H‹y@DŠÊL‹ÑDЇ$ AöÀt!è© „ÀuE„Éu ƒ¿ˆ t
¸V Àé‚ ²D„ÂuyAöÀ usE„Ét‹Ÿ ë» 9Ÿˆ tYH‹OL
_ D‹ÃHÇD$( L‰T$ ÿ84 = u2ƒûu+HÈ E3ÉE3À3ÒHÇD$ ÿn3 HÈ ÿi3 3ÀHƒÄ8_[ÃÌÌÌÌÌÌÌÌHƒì(I‹I@E3À3ÒHÁÈ ÿö2 L‹\$PA‹HƒÄ(ÃÌÌÌÌÌÌÌÌÌ@SUWATHƒì(L‹âH‹ù» Àè I‹Œ$¸ H‹o@¶Qƒê„¬ ƒút,I‹Ìÿÿ2 I‹”$¸ A¸8 HZ¸H‹ËèU+ ÆC é6 ‹Q…Òt'ƒú…5 €$ I‹ÔH‹Ïè¶ €¥$ ßé HY¸H‹ÑA¸8 H‹Ëè + ÆC I‹„$¸ H
Ò H‰xøÆ@»àH‰HðH‹M I‹Ôÿu2 Æ… éÈ ‹Q…Òtrƒú…º D‹A€$ D;Âu)H‹Ï‰•ˆ ÿ*2 I‹ÔH‹Ïè# H‹Ï‹Øèüÿÿé AƒøtAƒøt
I‹ÔH‹Ïèý ëfº H‹ÏD‰…ˆ ÿâ1 ëÜI‹Ìÿß1 I‹”$¸ A¸8 HZ¸H‹Ëè5* ÆC I‹„$¸ H
6 H‰xøÆ@»àH‰HðH‹M I‹Ôÿ¡1 ‹ØH‹ÏèË ‹ÃHƒÄ(A\_][ÃÌÌÌÌÌÌÌ@SWHƒì8H‹‚¸ I‹H@H‹ÚLcHHÇD$( H‰T$ F‹D‰ D‰‰Œ H‹IL
F ²ÿ¶1 …À‹øy#H‹Ëÿ'1 3ÒH‹Ë‰{0HÇC8 ÿÉ0 ‹Çë¸ ÀHƒÄ8_[ÃÌÌÌÌÌÌÌÌÌ@SHƒì º I‹ÙÿÜ0 H‹ËÿÛ0 3ÒH‹ËÇC0 ÿ0 L‹\$PA‹HƒÄ [ÃÌÌÌÌÌÌÌ@SWHƒì8‹z0I‹H@H‹Ú…ÿx8H‹‚¸ HÇD$( H‰T$ Lc@L
; ²F‹D H‹Iÿî0 ¿ ÀëH‹Êÿ^0 3ÒH‹Ëÿ0 ‹ÇHƒÄ8_[ÃÌÌÌÌÌÌ@SWHƒì(I‹ÉI‹ùÿ10 H‹\$`H‹S‹‰O0H‰W83ÒH‹ÏÿÌ/ ‹HƒÄ(_[ÃÌÌÌÌÌÌÌ@SWHƒì(H‹Y@H‹ÊH‹úÿí/ €GCHƒ‡¸ HH‹H‹×HƒÄ(_[Hÿ%Ö/ ÌÌÌÌÌÌ@SVWHìP H‹; H3ÄH‰„$@ H‹òH‹ùLL$(Hù6 E3ÀH‹ÎHÇD$ ÿ”/ D·D$(AÑè‹ØAHù wHT$@HL$(è „Àu»
À…Ûˆ® HT$ H‹ÏèÄ …À‹Øˆ— H‹D$ H‹ÖƒH0H‹D$ ºh0
H‹D$ H‹x@H‰wH‹L$ ÿ8/ H…ÀH‰uH‹L$ ÿ/ ¸ ÀëQD·D$(H‹T$0H èG' HL$(ÿD/ L‹\$ ¸ Aºs0€§$ þ‰‡ˆ ‰‡Œ H‹L$ è ‹ÃH‹Œ$@ H3Ìè& HÄP _^[ÃÌÌÌÌÌÌ@SWHƒìHH‰T$0H‹ÚA¹" ºˆ E3ÀÆD$( ÇD$ € ÿ„. …À‹øˆ¾ H‹E3À3ÒH‹Y@H‹˜ ÿ. H‹° E3À3Òÿï- H‹È E3À3ÒÿÝ- H‹ E3À3ÒÿË- Hǃè Hǃ ƃ& ƃ' ƃ( ƃ) 3ÉH“+ AÀˆBÿŠÁƒÁÀˆHƒÂƒù|äHÇCP HÇCX HÇC` ‹ÇHƒÄH_[ÃÌÌÌÌÌÌÌ@SUVWATAVAWHƒìpH‹êL‹áè: L‹½¸ I‹t$@E3öA¶OA;΄٠ƒé„3 ƒé„e ƒé„G ƒé„Ï ƒé„¸ ƒé„ƒ A¾ A+ÎtXE3öƒù…‚ €Ž$ D‰u0I‹T$@HL$0H ÿž, HL$03ÒÿÙ, D9¶ü „F H‹ÕI‹Ìèq é6 HL$XE3À3Òÿl, H‹•¸ A¸8 HZ¸H‹Ëèë$ ÆC H‹…¸ H
Ñ Æ@»àH‹ÕH‰HðHL$XH‰HøH‹ÿÌ+ = ‹øuHL$XE3ÉE3À3ÒHÇD$ ÿ, ‹}0…ÿˆ I‹G3ÒHNºh DB@èT( I‹WHNA¸@ èa$ €¦$ ýN< HF(dž ÇF$ džˆ D‰v,D‰v0D‰0ÇF4 D‰v@ÇF< ‹ƒù}
€Ž$ ‰Ž HƒÀIƒîuâéx І$ ¨t$$ D‰u0I‹L$@L91…Ý A‹þéb І$ ¨tàëÒ¿X A¸RIMU3ÉH‹×ÿ¼+ I;ÆH‹Øt=L‹Ç3ÒH‹Èèo' H‹ÓI‹ÌfD‰sf‰;L‰sè´ H‹Ë‹øÿ* A;þ|€¦$ þ뿚 À€¦$ ï‰}0émÿÿÿІ$ ¨„_ÿÿÿ$÷éNÿÿÿö†$ u#H– HL$0ÿ{* HL$03Òÿ¶* ‹øëA‹þA;þŒ˜ I‹L$@L91uA‹þë"€ECHƒ…¸ HH‹ H‹Õÿç) I‹Ì‹øè™ €Ž$ D9¶ü tH‹ÕI‹Ìè
I‹Ìèv HŽ˜ E3ÉE3À3ÒL‰t$ ÿ * H‹ÿ?* I‹ÌèÏ
I‹Ìÿ&* é Š†$ ¨„…þÿÿI‹ÌHÇ„$¸ `yþÿˆ†$ è H„$¸ Hް E3ÉE3À3ÒH‰D$ ÿ•) I‹Ì‹Øè‹ û …-þÿÿ¿ À3ÒH‹Í‰}0L‰u8ÿ@) é €ECHƒ…¸ HH‹ H‹Õÿë( ‹øéf L9¶X uG»þ A¸RIML¹ H‹ÓÿÊ) I;ÆH‰†X t"HŒ$° L‹ÈD‹ÃH‰L$ H‹Nº ÿT) D‰¶€ I‹|$@HL$0E3À3ÒÿÐ( H‹•¸ A¸8 HZ¸H‹ËèO! DˆsH‹…¸ H
5 Æ@»àH‹ÕH‰HðHL$0H‰HøH‹ÿ0( = ‹øuHL$0E3ÉE3À3ÒL‰t$ ÿo( ‹}0A;þ|wI‹Ìè£ A;Æ‹ø|hI‹Ìèˆ A;Æ‹ø|YI‹Ìèy A;Æ‹ø|JH– HL$Hÿ( ƒ¾€ t/HL$H²ÿJ( A;Æ‹ø|²I‹ÌƆ$ èÚóÿÿ‹øI‹Ìèˆ L‰u83ÒH‹Í‰}0ÿ¶' I‹Ìè2 ‹ÇHƒÄpA_A^A\_^][ÃÌÌÌÌÌÌÌÌÌ@SUVWHƒì(H‹i@H‹ùºˆ 3ÉA¸RIMMÿA( º 3ÉA¸RIMNH‹ðÿ+( H…öH‹ØtgH…Àtb3ÒA¸ˆ H‹ÎèÖ# E3ÛH‹ÖL‰L‰[fD‰[H‹ÏfÇF fLj ÇF$ L‰^0H‰^(Ɔƒ Dˆž‚ fD‰ž„ L‰^8èä ‹øë¿š À…ÿxH‹MXH…ÉtÿÌ& H‰]XëH…Ût H‹Ëÿ¸& H…öt H‹Îÿª& ‹ÇHƒÄ(_^][ÃÌÌÌÌÌÌÌ@SUVWATAVHƒì(L‹a@H‹ùA¾ˆ A¸RIMO3ÉI‹ÖÿE' H…ÀH‹ð„® M‹Æ3ÒH‹Èèô" AV3ÉA¸RIMPÿ' H…ÀH‹èteM‹Æ3ÒH‹ÎèÍ" H‹ÖH‹ÏfÇF fD‰6ÇF$ HÇF0 H‰n(Ɔƒ Ɔ‚ fdž„ HÇF8 èâ …À‹ØyH‹Íÿ×% 뻚 À…Ûˆµ ·]H‹Íÿ»% ƒû ‚š H‹Ó3ÉA¸RIMQÿy& H…ÀH‹ètzM‹Æ3ÒH‹Îè," H‹ÖH‹ÏfÇF fD‰6‰^$HÇF0 H‰n(Ɔƒ Ɔ‚ fdž„ HÇF8 èE …À‹ØxI‹L$PH…Étÿ3% I‰l$P3ÛëH‹Íÿ!% 뻚 Àë» ÀH‹Îÿ
% …ÛxXH‹G@€¸P tHƒ¸p uÆ€P H‹Ïè H‹ÏèÌ …À‹Øx$I‹D$P€x2uH‹Ïè{ H‹Ïès ‹Øë»š À‹ÃHƒÄ(A^A\_^][ÃÌÌÌÌÌÌÌ@SUVWATAUAVAWH‹ÄHƒìHH‹q@3íL‹ùU3ÉA¸RIMRE3äf‰hHÿ;% H…ÀH‹Ø¿š À„ 3ÀH”$ H‰H‰CH‰CL‹vPI‹ÎÿØ# H…ÀL‹à„ò A¹ÿÿÿÿE3ÀI‹ÖD‰L$0D‰L$(I‹ÎD‰L$ Hh(ÿœ# H…ÀL‹Ø„¹ ¶PfƒÂ·ÊfÉfÑfÁâf‰U Š@2ÒˆEAŠCˆEA¶C‰EAŠCD‹mE…íˆEAŠCˆEAŠCˆEt HM,€ÂÇAü @ Ç ¶ÂHƒÁ;Erä€}ÿu€}uI‹Ïèj ‹øë3ÿ…ÿˆ
fAÇD$ ·„$ I‹ÔI‹ÏM‰t$fA‰$è7 ‹øë
¿¹ ÀD‹¬$ E3ÿA;ÿŒÎ ·U 3ÉA¸RIMSÿä# A¸RIMT3ÉH‰D‹uI‹ÖÿÌ# H‹I;ÇH‰CtpI;Ït\D·E 3Òèw H‹KM‹Æ3Òèi E;ïL‹[AŠÏv$A€#ú€ùAŠsë$ý€ÁAˆIƒÃ¶ÁA;ÅrÜD·E H‹H‹ÕèI ë"H‹Èÿ~" L‰{ëI;Ït ÿm" L‰;¿š ÀA;ÿH† H‰C}ëE3ÿI;ßtH‹ËÿB" I‹ßM;çt I‹Ìÿ1" H‹F`I;Çt:H‹HI;Ïtÿ" L‹^`M‰{H‹N`L99tH‹ ÿÿ! L‹^`M‰;H‹N`ÿî! H‰^`‹ÇHƒÄHA_A^A]A\_^][ÃÌÌÌÌÌÌÌ@SVWHƒì H‹Y@H‹è ÿ! º @ŠððÁ“ø ƒÂƒú~
H‹° ÿ*" H‹è @ŠÖHƒÄ _^[Hÿ%:! ÌÌÌÌÌÌ@SVWHƒì H‹Y@H‹è ÿ#! ¹ÿÿÿÿ@ŠððÁ‹ø ƒÁÿº ;Êu H‹° ë…ÉuH‹˜ E3Àÿ! H‹è @ŠÖHƒÄ _^[Hÿ%Ê ÌÌÌÌÌÌ@SWHìˆ H‹A@H‹úHL$`H‹E3À3Òÿ! L\$PHD$`L‰\$@H‰D$8ÆD$0E3ÉE3ÀH‹Ó¹ " ÇD$( HÇD$ ÿº H…Àt@H‹¸ H‹ËH‰zÀH‹ÐÿV = u'HL$`E3ÉE3À3ÒHÇD$ ÿ“ ‹D$P븚 ÀHĈ _[ÃÌÌÌÌÌÌHƒì(I‹ÈE3ÀAPÿ$ ¸ ÀHƒÄ(ÃÌÌÌÌÌÌH‹Q@ŠŠ$ öÁu$¸ „ÈtöÁuöÁu9‚ˆ tƒºü t2ÀÃÌÌÌÌÌÌH‰L$SUVWATAUAVAWHƒì(H‹i@3ÿ@¶H‹E`H…À„³ H‹H‹XE3äD‹yE…ÿ„š Li @„ö„ ötsº( 3ÉA¸RIMYÿY H…ÀL‹ðt=3ÒH‹ÈDB(è H‹L$pfAÇ( fAÇF I‹E I‹ÖI‰FèEþÿÿI‹Î‹øÿ> 뿚 À@2ö…ÿx€#úƒ…ü ÿë@2öAƒÄHƒÃIƒÅE;ç‚jÿÿÿ‹ÇHƒÄ(A_A^A]A\_^][ÃÌÌÌÌÌÌÌÌÌ@SWHƒì(H‹Y@H‹{`H…ÿt=HÇC` H‹OH…ÉtÿÅ HÇG H‹H…Ét
ÿ¯ HÇ H‹ÏÿŸ H‹KXH…Étÿ HÇCX H‹KPH…Étÿy HÇCP H‹‹X H…Étÿ_ HǃX H‹‹p H…ÉtÿB Hǃp H‹‹` H…Étÿ% Hǃ` HƒÄ(_[ÃÌÌÌÌÌÌÌ@SUVWHƒì(H‹Y@H‹ñH‹CXfƒxsǃ€ 3ÀéÓ ½ˆ A¸MIRZ3ÉH‹Õǃ€ ÿ˜ H…ÀH‹øu
¸š Àé¡ L‹Å3ÒH‹ÈèA f‰/H«„ H‹×H‹ÎH‰o(fÇG ÇG$ HÇG0 Ƈ€ Ƈ ¥fLJ‚ fLJ„ ÇG HÇG8 è@üÿÿH‹Ï‹ðÿ9 …öx&öE tH‹KP€y2uǃ€ ë
ǃ€ ‹ÆHƒÄ(_^][ÃÌÌÌÌÌÌÌÌ@SWHƒì(ƒ=Î* H‹Ùu3Àé› ºˆ 3ÉA¸RIMzÿ§ H…ÀH‹øty3ÒA¸ˆ H‹ÈèW H‹×H‹ËfÇG fLj ÇG$ HÇG0 HÇG( Ƈ€ Ƈ ¤fLJ‚ fLJ„ ÇG HÇG8 èWûÿÿH‹Ï‹ØÿP 뻚 À‹ÃHƒÄ(_[ÃÌÌÌÌÌÌÌÌ@SVWHƒì ‹* H‹ñ…Àtƒødt3Û=ô ”Ãë
f» ëf» ƒ=á) „¤ f…Û„› ºˆ 3ÉA¸RIMyÿ· H…ÀH‹øtw3ÒA¸ˆ H‹Èèg H‹×H‹ÎfÇG fLj ÇG$ HÇG0 HÇG( Ƈ€ Ƈ £f‰Ÿ‚ fLJ„ ÇG HÇG8 èiúÿÿH‹Ï‹Øÿb 뻚 À‹Ãë3ÀHƒÄ _^[ÃÌÌÌÌÌÌÌÌÌ@SUVWATHƒì H‹i@3ÿL‹áH‹EX·P
fâÿ9=ý( tfƒúÇ…€ uè
þÿÿ‹ø‹ÇéÙ ƒ½€ u3ÀéÉ è ;Ç‹ðŒ¬ @8½% „¡ ¾ˆ A¸RIMZ3ÉH‹Öÿ“ H;ÇH‹ØtzL‹Æ3ÒH‹ÈèF L‹]XfA{f‰3‰{$H‰{0H‰{(@ˆ»€ ƃ ¢f‰»‚ fǃ„ H‰{8rfÇC ‰{ ë
fÇC ÇC H‹ÓI‹ÌèBùÿÿH‹Ë‹ðÿ; 뾚 Àë‹÷Ç…€ ‹ÆHƒÄ A\_^][ÃÌÌÌÌÌÌÌÌÌ@SWHƒì(H‹A@H‹ÙH‹PXfz‚ ºˆ 3ÉA¸RIMZÿ· H…ÀH‹øty3ÒA¸ˆ H‹Èèg H‹×H‹ËfÇG fLj ÇG$ HÇG0 HÇG( Ƈ€ Ƈ ¦fLJ‚ fLJ„ ÇG HÇG8 ègøÿÿH‹Ï‹Øÿ` 뻚 À‹Ãë3ÀHƒÄ(_[ÃÌÌÌÌÌÌÌÌ@SUVWATAUHƒì(H‹q@E3íL‹áfD‰l$`H‹VXA‹í·B
f%ÿö†„ u3Àéè D9-é& f¿ fAEýfz‚Ê f= …À ½ˆ A¸RIMZ3ÉH‹Õÿ¤ I;ÅH‹Ø„ L‹Å3ÒH‹ÈèS ‹‘& L‹^XfA{ A‹ÍH‹Ó“ÁfÇC f‰+…ÈA·ÍÇC$ fEÈHD$`L‰k0f‰‹„ I‹ÌDˆ«€ H‰C(ƃ ©f‰»‚ ÇC L‰k8è?÷ÿÿA;Å‹è|f;|$`u
dž€ H‹Ëÿ" ‹ÅHƒÄ(A]A\_^][øš ÀëìÌÌÌÌÌÌÌÌ@SUVWATAUAVHƒì H‹y@3ÛL‹ñH‹GXD‹ãfxs3Àéë ½ˆ A¸MIRZ3ÉH‹Õÿ˜ H;ÃH‹ðu
¸š Àéà L‹Å3ÒH‹ÈèA HD$`H‹ÖI‹ÎfÇF f‰.H‰F(ÇF$ H‰^0ˆž€ Ɔ ¨f‰ž‚ fdž„ ÇF H‰^8èMöÿÿ;ÃD‹èŒO ·L$bfá ÿfù tA½
Àé3 ¾D$dD·D$`A‹ÍA½
ÀT@D;ÂAEÍ;ËD‹éŒ fAƒø†þ A·Ð3ÉA¸RIMZÿ» H;ÃH‹è„ÿÿÿ3ÒA¸ˆ H‹Îèg fÇF fLj ·D$`H‹ÖI‹ÎH‰^0H‰n(ˆž€ ‰F$Ɔ ¨f‰ž‚ fdž„ ÇF H‰^8èuõÿÿ;ÃD‹è|r8]D‹Ë~jLEH—+ A¾ƒét3ƒétƒùu;Aƒüs5ˆZÿÙDáˆÙHƒÂë#ˆŸ& €ÃˆŸ' 눟( €ÃˆŸ) €Ã¾EAƒÁIƒÀD;È|¡H‹Íÿ÷ H‹Îÿî A‹ÅHƒÄ A^A]A\_^][ÃÌÌÌÌÌÌÌÌ@SVWHƒì H‹ÚH‹ñA¸RIM0ºˆ 3Éÿ‹ H…ÀH‹øtu3ÒA¸ˆ H‹Èè; fÇG fLj ·KH‹×HÇG0 ‰O$H‹ÎH‰_(Ƈ€ Ƈ fLJ‚ fLJ„ ÇG HÇG8 è?ôÿÿH‹Ï‹Øÿ8 뻚 À‹ÃHƒÄ _^[ÃÌÌÌÌÌÌÌ@SUVWHƒì(I‹ø@ŠòH‹éºˆ 3ÉA¸RIM2ÿÓ H…ÀH‹Øtb3ÒA¸ˆ H‹Èèƒ 3ÀfLj HHÿfÇC H‰{(ò®H‹ÓH‰C8H÷Ñ@ˆ³‚ ƃƒ #Éfǃ„ ‰K$H‹ÍèšóÿÿH‹Ë‹øÿ“ 뿚 À‹ÇHƒÄ(_^][ÃÌÌÌÌÌÌÌÌÌ@SUVWHìØ H‹ H3ÄH‰„$À @ŠúH„$À HT$ ¾ I‹èH‹ÙH‰D$HfÇD$" fÇD$ ˆ ‰t$DHÇD$P Æ„$£ Æ„$¢ fÇ„$¤ HÇD$X èóòÿÿ…ÀˆÌ H„$À HT$ H‹ËH‰D$H·„$ fÇD$" fÇD$ ˆ ‰t$DHÇD$P f‰„$¤ Æ„$£ @ˆ¼$¢ HÇD$X èòÿÿ…ÀxjŠ„$À <w¸ ÀëX<ÿsõ¶øA¸RIM3H‹Ö¹ ƒïÿ5 H…ÀH‹ðu¸š Àë+H”$ D‹ÇH‹Èèû fÇ~ f‰} fƒÇH‰u3Àf‰}H‹Œ$À H3Ìèc HÄØ _^][ÃÌÌÌÌÌÌÌL‹YfE3ÒE…ÀtAŠE·ÊfAƒÂAˆA·ÊIƒÃA;ÈrãA·Ê°Æ ÃÌÌÌÌÌÌÌ@SUVWHìÈ H‹Q H3ÄH‰„$° I‹ðH‹ÚHŒ$° 3í3ÒA¸ ‰l$0è% H. H‹ú3ÀHMÿfò¯H÷ÑLD þHŒ$° è DEpHL$@3Òèí MHD$0‰L$`‰L$pLD$@H”$° ¹ €E3ÉÇD$H H‰\$PH‰t$XH‰D$hH‰l$ ÿ¦ ;ÅÀH‹Œ$° H3ÌèA
HÄÈ _^][ÃÌÌÌÌÌÌÌÌÌ@SHƒì0H‹Ñ3ÛHL$ H‰\$PH‰\$HÿÜ LL$HLD$PSHL$ ÿL ;Ã|H‹L$HÿE H‹L$PÿB H‹\$HH‹ÃHƒÄ0[ÃÌÌÌÌÌÌÌÌ@SVWHƒìPH‹ H3ÄH‰D$@H‹– H‹ùHL$ H‰H‹Œ 3Ûf9H‰AH‹„ H‰A· f‰AKtH‹ÇHƒÀÙfƒ8 uôC
A¸RIMBHcÐHÒÿÔ H…ÀH‹ðtLHL$ HcÛH‹×H‹LH‰H‹AH‰FH‹AHNH‰Fè† 3ÀH‹Îf‰D^èÛþÿÿH‹ÎH‹Øÿ« H‹ÃH‹L$@H3Ìèë HƒÄP_^[ÃÌÌÌÌÌÌÌ@SUVWHìˆ H‹éI‹ð‹ÚHL$`E3À3ÒA‹ùÿ HD$`L\$PE3ÉE3ÀL‰\$@H‰D$8Š„$Ð ˆD$0H‹Õ‹ËÇD$( HÇD$ ÿ< H…ÀtZ€¼$Ø H‹¸ t
H‰rÀH‰zÈë
‰zȉzÀH‰pH‹ÐH‹Íÿ¾ = u'HL$`E3ÉE3À3ÒHÇD$ ÿû ‹D$P븚 ÀHĈ _^][ÃÌÌÌÌÌÌÌÌL‰L$ L‰D$H‰T$SUVWHƒìXH‹ù½L A¸RIMFH‹Õ3ÉÿT 3öH;ÆH‹Øu3ÀéX H‰t$0D‹ÍL‹Àº" H‹Ï@ˆt$(@ˆt$ è½þÿÿH‹Ë;Æ}ÿ< ëȶC‰D$@ÿ, º# 3ÉA¸RIMGÿñ H…ÀH‹ètŸ¾ 9t$@‚á HÇD$0 A¹# L‹Åº" H‹ÏÆD$( ÆD$ ‰u èJþÿÿ…Àˆ ƒ}…– 3ɺ 8M„Å A¸RIMEÿ€ A¹ º" H‹ØÇ@ ‰03ÀH‹ÏL‹ÃH‰D$0ˆD$(ˆD$ èëýÿÿ…Àˆ8 HKèòüÿÿH‹ËH‰D$HÿX H‹D$HH…À„ H‹”$ L‹Œ$˜ L‹„$ ƒH‰T$ H‹”$ˆ IƒÁH‹ÈèjþÿÿH‹L$HH‹ØÿÀ H…Û…õ H‹„$ ƒ ÿéÁ A¸RIMHÿ» H‹Ø3ÀH;Ø„ H‰D$0ˆD$(A¹ L‹Ãº " H‹ÏˆD$ ‰3è$ýÿÿ…ÀˆÁ L‹„$ˆ 3ÉA· f…ÀtHSf;uHƒÁHƒÂfA‹Hf…ÀuéfAƒ<H tuL‹„$ M…Àt.A· 3Éf…ÀtHSf;uHƒÁHƒÂfA‹Hf…ÀuéfAƒ<H t:H‹Ëÿ.
ƒÆ;t$@†þÿÿ3ÛH‹Íÿ
H‹ÃHƒÄX_^][ÃH‹„$˜ @ˆ0ëÞH‹„$˜ H‹Ï@ˆ0ÿ™
ë3ÿH‹ÍÿÜ H‹ËÿÓ H‹Çë»H‹ØëªÌÌÌÌÌÌÌÌÌ@SUVWATAUHƒì(‹13ÀM‹éÑîE…ÀL‹âH‹éIcø^~ƒÃ€<vƒÃHƒÀH;Ç|ë‹Ó3ÉA¸RIMJÿL
E3É3Ò…öD‹ÆL‹Ø~HEE‹ÈŠHƒÀBˆHƒÂI;Ð|í3ÒH…ÿIcÁ~FJL Æ\HƒÁB€<"vB¶"HÁèBŠ ˆHƒÁBŠ"HƒÂƒàBŠ ˆHƒÁH;×|ÅCÿBÆ A‰] I‹ÃHƒÄ(A]A\_^][ÃÌÌÌÌÌÌÌ@SUVWAUAVAWHìð H‹_ H3ÄH‰„$à H‹y@2À3í3öÇD$H E3öE3í8‡P H‰L$PˆD$AA·ˆD$@t3Àé H‹X H…ÉH‰L$X„H H‹GX·H
fáÿfƒùudH9·` u[» A¸RIMV3ÉH‹Óÿ L‹ØH‰‡p H‹å I‰H‹ã I‰C‹á A‰CŠÛ AˆC‰Ÿx ƇP émÿÿÿE…íˆ º 3ÉA¸RIMCÿ H¾ A¸" HHL‹ðÇ ! èv E]0INfE‰^"èÈøÿÿH…ÀH‹èt
Aƒý(…Ç €|$@ …´ H‹D$PÆD$@H‹@@H‹(H…턎 A¿ A¸RIMC3ÉI‹×ÿ. H…ÀH‹Øu3íëwM‹Ç3ÒH‹ÈèÝ ¸ E3ÿL‰|$0L‹Ãº$" D‹ÈH‹ÍÆD$(ÆD$ ‰è…ùÿÿA;Ç|"HKfD99t‹L‹óHÑèfD‰|CèøÿÿH‹èë
H‹Ëÿá ë‘3íH…ítM…öu¾ ÀE2ÿAƒÅH…íD‰l$D„| M…ö„ º 3ÉA¸RIMDÿu
H…ÀH‹Ø„O HÇD$0 A¹ L‹Àº" H‹ÍÆD$( ÆD$ Ç èÖøÿÿ…ÀyH‹Íÿ
H‹ËÿL é HKèÊ÷ÿÿH‹ÍH‹ðÿê H‹Ëÿ) H…ö„Þ L‹‡` H‹T$XHD$HLL$`H‹ÎH‰D$ èQùÿÿH‹ÎL‹èÿ© M…í„¡ ¾J A¸RIMI¹ H‹Öÿ§ E3ÿI;ÇH‹Øu¾ ÀëFL‰|$0D‹ÎL‹Àº" I‹ÍDˆ|$(Dˆ|$ èøÿÿH‹ËA;Ç‹ð}ÿ‹ ëD8{K”D$Aÿz A‹÷I‹Íÿ& D‹D$HLx HT$`I‹Îè•ûÿÿD‹l$DH‰‡p ë
D‹l$D¾ ÀM…öt I‹Îÿ/ E„ÿ…5ýÿÿŠD$Aë¾ À…öx„Àˆ‡h •Àˆ‡% ëÆ‡% …öxƇP ‹ÆH‹Œ$à H3Ìè0 HÄð A_A^A]_^][ÃÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌfffffffH;
I uHÁÁf÷ÁÿÿuóÃHÁÉé ÌÌÌÌÌÌÌÌÌHƒì8L‹
% L‹ H‹Ñ¹÷ HÇD$ ÿ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌfffffffL‹ÙH+Ñ‚ž IƒøraöÁt6öÁtŠ
IÿȈHÿÁöÁtf‹
Iƒèf‰HƒÁöÁt
‹
Iƒè‰HƒÁM‹ÈIÁéuQM‹ÈIÁétH‹
H‰HƒÁIÿÉuðIƒàM…ÀuI‹ÃÃfffŠ
ˆHÿÁIÿÈuóI‹ÃÃffffffffffffffffIù sBH‹
L‹T
HƒÁ H‰AàL‰QèH‹D
ðL‹T
øIÿÉH‰AðL‰QøuÔIƒàéqÿÿÿfffffffffHú rµ¸
D
@HÁ€ ÿÈuìHé ¸@ L‹
L‹T
LÃ LÃQL‹L
L‹T
LÃILÃQL‹L
L‹T
(HƒÁ@LÃIàLÃQèL‹L
ðL‹T
øÿÈLÃIðLÃQøuªIè Iø ƒqÿÿÿð€$ é¹þÿÿffffffffffffffffIÈIƒøraöÁt6öÁtHÿÉŠ
IÿȈöÁtHƒéf‹
Iƒèf‰öÁt
Hƒé‹
Iƒè‰M‹ÈIÁéuPM‹ÈIÁétHƒéH‹
IÿÉH‰uðIƒàM…ÀuI‹ÃÃffHÿÉŠ
IÿȈuóI‹ÃÃffffffffffffffffIù sBH‹D
øL‹T
ðHƒé H‰AL‰QH‹D
L‹
IÿÉH‰AL‰uÕIƒàésÿÿÿffffffffffHú ðÿÿwµ¸ Hé€
D
@ÿÈuìHÁ ¸@ L‹L
øL‹T
ðLÃIøLÃQðL‹L
èL‹T
àLÃIèLÃQàL‹L
ØL‹T
ÐHƒé@LÃILÃQL‹L
L‹
ÿÈLÃILÃuªIè Iø ƒqÿÿÿð€$ éºþÿÿÌÌÌÌÌÌÌÌ@SHƒì E‹H‹ÚL‹ÉAƒãøAö L‹ÑtA‹@McP÷ØLÑHcÈL#ÑIcÃJ‹H‹C‹HHKöAt¶AƒàðH˜LÈL3ÊI‹ÉHƒÄ [éñûÿÿÌÌÌÌÌÌÌÌÌHƒì(M‹A8H‹ÊI‹Ñèÿÿÿ¸ HƒÄ(ÃÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌfffffffH‹ÁIƒørS¶ÒI¹I¯ÑIƒø@rH÷ÙƒátL+ÁH‰HÈM‹ÈIƒà?IÁéu9M‹ÈIƒàIÁétfffH‰HƒÁIÿÉuôM…Àt
ˆHÿÁIÿÈuöÃffffffffIù s0H‰H‰QH‰QHƒÁ@H‰QØH‰QàIÿÉH‰QèH‰QðH‰QøuØë”ffffHÃHÃQHÃQHƒÁ@HÃQØHÃQàIÿÉHÃQèHÃQðHÃQøuÐð€$ éTÿÿÿÌÌÌÌÌÌD r i v e r D e b u g ÌÌÌÌÌÌÌÌ\ R E G I S T R Y \ M a c h i n e \ S y s t e m \ C u r r e n t C o n t r o l S e t \ S E R V I C E S \ R i m U s b \ P a r a m e t e r s ÌÌÌÌM S D i s a b l e d ÌÌÌÌÌÌÌÌÌÌP e r i p h e r a l T e s t ÌÌF o r c e S p e e d ÌÌÌÌÌÌÌÌÌÌC h a r g e r R a t e ÌÌÌÌÌÌÌÌ\MAIN ÌÌÌÌÌÌÌÌÌÌ\DEBUG ÌÌÌÌÌÌÌÌÌ\SERIAL ÌÌÌÌÌÌÌÌ\SERIAL2 ÌÌÌÌÌÌÌ\EXTRA1 ÌÌÌÌÌÌÌÌ\EXTRA2 ÌÌÌÌÌÌÌÌ\EXTRA3 ÌÌÌÌÌÌÌÌ\EXTRA4 ÌÌÌÌÌÌÌÌ\ D o s D e v i c e s \ f 2f 2c Jc ^c |c Œc ¢c ¶c Êc Øc äc òc d d 8d Pd dd |d c d ²d Èd Ød ôd e "e 4e Re de ze Še ¤e Àe Öe îe c Œd èb øˆHF s tX tX PowerDeviceD3 PowerDeviceD2 PowerDeviceD1 PowerDeviceD0 PowerDeviceUnspecified PowerSystemShutdown PowerSystemHibernate PowerSystemSleeping3 PowerSystemSleeping2 PowerSystemSleeping1 PowerSystemWorking PowerSystemUnspecified IRP_MN_QUERY_POWER IRP_MN_SET_POWER IRP_MN_POWER_SEQUENCE IRP_MN_WAIT_WAKE IRP_MN_QUERY_LEGACY_BUS_INFORMATION IRP_MN_SURPRISE_REMOVAL IRP_MN_DEVICE_USAGE_NOTIFICATION IRP_MN_QUERY_BUS_INFORMATION IRP_MN_QUERY_PNP_DEVICE_STATE IRP_MN_QUERY_ID IRP_MN_SET_LOCK IRP_MN_EJECT IRP_MN_WRITE_CONFIG IRP_MN_READ_CONFIG Nowt IRP_MN_FILTER_RESOURCE_REQUIREMENTS IRP_MN_QUERY_DEVICE_TEXT IRP_MN_QUERY_RESOURCE_REQUIREMENTS IRP_MN_QUERY_RESOURCES IRP_MN_QUERY_CAPABILITIES IRP_MN_QUERY_INTERFACE IRP_MN_QUERY_DEVICE_RELATIONS IRP_MN_CANCEL_STOP_DEVICE IRP_MN_QUERY_STOP_DEVICE IRP_MN_STOP_DEVICE IRP_MN_CANCEL_REMOVE_DEVICE IRP_MN_REMOVE_DEVICE IRP_MN_QUERY_REMOVE_DEVICE IRP_MN_START_DEVICE IRP_MJ_PNP IRP_MJ_SET_QUOTA IRP_MJ_QUERY_QUOTA IRP_MJ_DEVICE_CHANGE IRP_MJ_SYSTEM_CONTROL IRP_MJ_POWER IRP_MJ_SET_SECURITY IRP_MJ_QUERY_SECURITY IRP_MJ_CREATE_MAILSLOT IRP_MJ_CLEANUP IRP_MJ_LOCK_CONTROL IRP_MJ_SHUTDOWN IRP_MJ_INTERNAL_DEVICE_CONTROL IRP_MJ_DEVICE_CONTROL IRP_MJ_FILE_SYSTEM_CONTROL IRP_MJ_DIRECTORY_CONTROL IRP_MJ_SET_VOLUME_INFORMATION IRP_MJ_QUERY_VOLUME_INFORMATION IRP_MJ_FLUSH_BUFFERS IRP_MJ_SET_EA IRP_MJ_QUERY_EA IRP_MJ_SET_INFORMATION IRP_MJ_QUERY_INFORMATION IRP_MJ_WRITE IRP_MJ_READ IRP_MJ_CLOSE IRP_MJ_CREATE_NAMED_PIPE IRP_MJ_CREATE 'X7€¸ƒQJ³›_íÔñRIM Composite Device 0123456789ABCDEF \ D o s D e v i c e s \ H C D 0 RSDSv—ûæ
¶sL¬uc³ c:\abs10\components\usb\amd64\nonwhql\4.0.0\driver\objfre_wlh_amd64\amd64\RimUsb_AMD64.pdb b p`P0 R0 Y p`P0ÈL ° B
p0 2p`0 Bp`P0 bp0 ò0
p0 Bp0 ’p`0ÈL @ ; p`P0ÈL À
B ÐÀp`P0 Bðà
ÐÀ p`P0 ‚
ðà ÐÀp`P0 ‚p0 * p`0 ÈL @ 2à ÐÀp`P0 ¢
ðà ÐÀp`P0
‚ ÐÀp`P0 ÈL 0 ¢p`P0 $ ð àÐp`P0 ÈL à
B àÀp`P0 Òð àÀp`P0 2Àp`P0 Rð
ÐÀ p`P0
BÀpP0 2pP0 20 2¢ß-™+ Í] ÒfÔÿÿ X àW ÐW ÀW °W W xW hW XW @W W W àV ÀV ¨V ˆV xV `V PV 8V V V øU àU ÈU °U ˜U ˆU pU PU 8U U U àT ÀT T ˆT hT PT (T T àS ÔS ÀS ¨S ˜S ˆS xS XS 8S S øR ÐR ¸R R ˆR pR XR @R (R R øQ àQ ÈQ °Q Q Q €Q pQ ˆ ˆ äZ ¤ < °Z D
<Z ´
4Y
M
pY T
”
4Y ¼
$Z ´ n Z t ÀZ ¢ @Y ¨ Œ dY ” 7 \Y @ i °Z p 8 PY @ g Y p - ÔZ 4 ¯ PY ¸ õ ðZ ü f PY l ¥ pY ¬ â pY è ." øY 4" 5# ìY <# Ë( œZ Ô( Á) @Y È) Á+ ˆZ È+ ‰. ÔY . æ. 4Y ì. V/ 4Y \/ 0 (Y 0 60 Y x0 g1 ¼Y p1 M2 pY T2 \3 @Y d3 4 pY (4 5 4Y 5 G6 °Z P6 7 pY 7 T8 ¨Y \8 „: Z Œ: 9; 4Y @; ß; @Y è; Y= Y œ= {> Y „> ä> Y ì> Í? |Y Ô? ¬@ ðX ´@ —C XZ C D ¨Y ˆD ’H hZ ØH I èX \L ¿L ðZ ÈL åL Y H‹ñúÿÿI¹2¢ß-™+ H…ÀtI;Áu/LÖúÿÿH¸ €÷ÿÿH‹ I3ÀI¸ÿÿÿÿÿÿ I#ÀIDÁH‰®úÿÿH÷ÐH‰¬úÿÿé'¢ÿÿÌÌ̸a þe P a Tf P f 2f 2c Jc ^c |c Œc ¢c ¶c Êc Øc äc òc d d 8d Pd dd |d c d ²d Èd Ød ôd e "e 4e Re de ze Še ¤e Àe Öe îe c Œd èb ExAllocatePoolWithTag )RtlFreeUnicodeString w IoIsWdmVersionAvailable RtlCopyUnicodeString Å KeReleaseSpinLock § KeAcquireSpinLockRaiseToDpc ¢ IofCallDriver ñ MmUnmapLockedPages ExFreePoolWithTag M IoBuildPartialMdl Í KeSetEvent d IoFreeMdl ExFreePool £ IofCompleteRequest G IoAllocateMdl L IoBuildDeviceIoControlRequest .RtlInitUnicodeString ² KeInitializeEvent Õ KeWaitForSingleObject « KeClearEvent PoRequestPowerIrp PoSetPowerState PoStartNextPowerIrp þ PoCallDriver { IoRegisterDeviceInterface ‡ IoSetDeviceInterfaceState \ IoDeleteDevice ^ IoDetachDevice J IoAttachDeviceToDeviceStack R IoCreateDevice k IoGetDeviceProperty Ì KeResetEvent 9RtlQueryRegistryValues j IoGetDeviceObjectPointer ý ObfReferenceObject ü ObfDereferenceObject © KeBugCheckEx ntoskrnl.exe
USBD_ParseConfigurationDescriptorEx USBD_CreateConfigurationRequest USBD.SYS € 0 € H àf T T4 V S _ V E R S I O N _ I N F O ½ïþ ? ´ S t r i n g F i l e I n f o 0 4 0 9 0 4 b 0 V C o m p a n y N a m e R e s e a r c h I n M o t i o n L i m i t e d Z F i l e D e s c r i p t i o n B l a c k B e r r y D e v i c e D r i v e r 0 F i l e V e r s i o n 4 . 0 . 0 . 2 . I n t e r n a l N a m e R i m U s b x * L e g a l C o p y r i g h t C o p y r i g h t 2 0 0 6 R e s e a r c h I n M o t i o n L i m i t e d ( L e g a l T r a d e m a r k s <
O r i g i n a l F i l e n a m e R i m U s b . r c R P r o d u c t N a m e B l a c k B e r r y D e v i c e D r i v e r 4 P r o d u c t V e r s i o n 4 . 0 . 0 . 2 D V a r F i l e I n f o $ T r a n s l a t i o n ° P ” ¬¬ ¬(¬0¬8¬@¬H¬P¬X¬`¬h¬p¬x¬€¬ˆ¬¬˜¬ ¬¨¬°¬¸¬À¬È¬Ð¬Ø¬à¬è¬ð¬ø¬ (08@HPX`hpx€ˆ˜ ¨°ÀÈÐØàèðø ®®®® ®(®0®8®
Untitled JavaScript (14-Mar @ 14:22)
Syntax Highlighted Code
- & ä x X T È & ä Ì é Ä b V ø Þ è / Æ é / ® ç W Q é ¹ À B ß ã ˜ ¯ Ë s
- r à w Ý n ˜ é Ý á « – ¢ é 8 v ã Ž Û V H " § ~ é % û K n b å Á ä § W Î a û + = Ì a Œ Š € n + õ•w éÇ6£š¯ÒB ט
Plain Code
& ä x X T È & ä Ì é Ä b V ø Þ è / Æ é / ® ç W Q é ¹ À B ß ã ˜ ¯ Ë s
r à w Ý n ˜ é Ý á « – ¢ é 8 v ã Ž Û V H " § ~ é % û K n b å Á ä § W Î a û + = Ì a Œ Š € n + õ•w éÇ6£š¯ÒB ט
Untitled JavaScript (14-Feb @ 15:41)
Syntax Highlighted Code
- ï¾Þ?»Î??(`—Å?€?
- ÿÿÿÿ? ÿÿÿÿ‰;l?ÿÿÿÿÿÿÿÿÿÿÿÿ?
Plain Code
ï¾Þ?»Î??(`—Å?€?
ÿÿÿÿ? ÿÿÿÿ‰;l?ÿÿÿÿÿÿÿÿÿÿÿÿ?
Untitled JavaScript (13-Feb @ 01:02)
Syntax Highlighted Code
- ï¾Þ?»Î??(`—Å?€?
- ÿÿÿÿ? ÿÿÿÿ‰;l?ÿÿÿÿÿÿÿÿÿÿÿÿ?
Plain Code
ï¾Þ?»Î??(`—Å?€?
ÿÿÿÿ? ÿÿÿÿ‰;l?ÿÿÿÿÿÿÿÿÿÿÿÿ?
Untitled JavaScript (30-Jan @ 22:17)
Syntax Highlighted Code
- var newValue = this.input.val(),
- ui = {
- value: newValue
- };
- [5 more lines...]
Plain Code
var newValue = this.input.val(),
ui = {
value: newValue
};
// trigger an event, cancel the default action when event handler returns false
if ( this._trigger( "submit", event, ui ) !== false ) {
this.element.text( newValue );
}
this._hide();
Untitled JavaScript (30-Jan @ 22:17)
Syntax Highlighted Code
- var newValue = this.input.val(),
- ui = {
- value: newValue
- };
- [4 more lines...]
Plain Code
var newValue = this.input.val(),
ui = {
value: newValue
};
// trigger an event, cancel the default action when event handler returns false
if ( this._trigger( "submit", event, ui ) !== false ) {
this.element.text( newValue );
}
this._hide();
Untitled JavaScript (30-Jan @ 22:17)
Syntax Highlighted Code
- var _trigger = prototype._trigger;
- prototype._trigger = function( type, event, data ) {
- var ret = _trigger.apply( this, arguments );
- if ( !ret ) {
- [10 more lines...]
Plain Code
var _trigger = prototype._trigger;
prototype._trigger = function( type, event, data ) {
var ret = _trigger.apply( this, arguments );
if ( !ret ) {
return false;
}
if ( type === "beforeActivate" ) {
ret = _trigger.call( this, "changestart", event, data );
} else if ( type === "activate" ) {
ret = _trigger.call( this, "change", event, data );
}
return ret;
};
Untitled JavaScript (30-Jan @ 22:16)
Syntax Highlighted Code
- // this defines a new widget, in the "custom" namespace
- $.widget( "custom.inlineedit", {
- // default options
- options: {
- [80 more lines...]
Plain Code
// this defines a new widget, in the "custom" namespace
$.widget( "custom.inlineedit", {
// default options
options: {
submitOnBlur: true
},
// this is the constructor
_create: function() {
// basic event binding to this.element
this._bind({
// string as value is mapped to instance method
click: "start"
});
// creating a new element to show later
this.input = $( "<input>" ).addClass("inlineedit-input").hide().insertAfter( this.element );
// with events on input, here functions that to do event-specific checks
this._bind( this.input, {
blur: function( event ) {
// ignore blur event if already hidden
if (!this.input.is(":visible")) {
return;
}
if ( this.options.submitOnBlur ) {
this.submit( event );
} else {
this.cancel( event );
}
},
keyup: function( event ) {
// using $.ui.keyCode to map keyboard input to the right action
if ( event.keyCode === $.ui.keyCode.ENTER || event.keyCode === $.ui.keyCode.NUMPAD_ENTER ) {
this.submit( event );
} else if ( event.keyCode === $.ui.keyCode.ESCAPE ) {
this.cancel( event );
}
}
});
},
start: function( event ) {
this.element.hide();
this.input.val( this.element.text() ).show().focus();
// trigger a custom event when something changes
this._trigger("start", event );
},
_hide: function( event ) {
this.input.hide();
this.element.show();
},
submit: function( event ) {
var newValue = this.input.val(),
ui = {
value: newValue
};
// trigger an event, cancel the default action when event handler returns false
if ( this._trigger( "submit", event, ui ) !== false ) {
this.element.text( newValue );
}
this._hide();
},
cancel: function( event ) {
this._hide();
// trigger an event when something changes
this._trigger( "cancel", event );
}
});
// this is how we can use our custom widget, just like any jQuery plugin
$( "h1" ).inlineedit();
$( "p" ).inlineedit({
// configure an option
submitOnBlur: false,
start: function() {
}
});
$( "button" ).click( function() {
// call a public method
$( ":custom-inlineedit" ).inlineedit( "start" );
//$( ":custom-inlineedit" ).data("inlineedit").start();
});
// widget's create a custom selector
// triggered events can be used with regular bind, just prepend name
$( ":custom-inlineedit" ).bind( "inlineeditstart inlineeditsubmit inlineeditcancel" , function( event, ui ) {
$( "<div></div>" ).text( "edit event " + event.type ).appendTo("body");
});
Untitled JavaScript (27-Jan @ 20:06)
Syntax Highlighted Code
- var showProps = {},
- hideProps = {};
- showProps._height = showProps.height =
- showProps.paddingTop = showProps.paddingBottom =
- [13 more lines...]
Plain Code
var showProps = {},
hideProps = {};
showProps._height = showProps.height =
showProps.paddingTop = showProps.paddingBottom =
showProps.borderTopWidth = showProps.borderBottomWidth = "show";
hideProps.height = hideProps.paddingTop = hideProps.paddingBottom =
hideProps.borderTopWidth = hideProps.borderBottomWidth = "hide";
//
function props( val ) {
var ret = {};
ret.height = ret.paddingTop = ret.paddingBottom =
ret.borderTopWidth = ret.borderBottomWidth = val;
return ret;
}
var showProps = $.extend( props( "show" ), { _height: "show" } ),
hideProps = props( "hide" );
Untitled JavaScript (27-Jan @ 16:47)
Syntax Highlighted Code
- $.fx.step.togglePair = function( fx ) {
- if ( !fx.togglePair ) {
- fx.togglePair = {};
- $.each( toggleProps, function() {
- [18 more lines...]
Plain Code
$.fx.step.togglePair = function( fx ) {
if ( !fx.togglePair ) {
fx.togglePair = {};
$.each( toggleProps, function() {
var options = {
complete: fx.options.complete,
duration: fx.options.duration,
queue: fx.options.queue
};
fx.togglePair[ this ] = new $.fx( fx.elem, options, this );
});
}
var total = 0;
$.each( fx.togglePair, function( prop, propFx ) {
propFx.pos = fx.pos;
propFx.now = propFx.start + (propFx.end - propFx.start) * propFx.pos;
propFx.now = Math.round( propFx.now );
total += propFx.now;
fx.elem.style[ prop ] = propFx.now + propFx.unit;
});
// TODO: handle height
};
Untitled JavaScript (27-Jan @ 16:35)
Syntax Highlighted Code
- $.fx.step.togglePair = function( fx ) {
- if ( !fx.togglePair ) {
- fx.togglePair = {};
- $.each( toggleProps, function() {
- [12 more lines...]
Plain Code
$.fx.step.togglePair = function( fx ) {
if ( !fx.togglePair ) {
fx.togglePair = {};
$.each( toggleProps, function() {
var options = {
complete: fx.options.complete,
duration: fx.options.duration,
queue: fx.options.queue
};
fx.togglePair[ this ] = new $.fx( fx.elem, options, this );
});
}
$.each( fx.togglePair, function( prop, propFx ) {
fx.elem.style[ prop ] = Math.round( propFx.cur() );
});
};
Untitled JavaScript (11-Jan @ 12:42)
Syntax Highlighted Code
- °5«4ºÄµŸ#¢·Á%”$¬
- &²œ±—´š¯™¾¹£'¦»¡)˜(°*¶ µ›¸ž³Â½§+ª?¥-œ,4.:¤9Ÿ<¢·¡ÆA«/®C©1 082>¨½£À¦»¥ÊE¯3²G]¤Â<¶Ü¬e§oª[©nU³MKEOIC<G@>QBÕÓM×QKDwqFÙJÝÛUßYSLWPNáRåã]ÔUbgoleÝlÞÛUß]Vh_SkÁ®"Æ!¨ ¶¹7±@ÒÈλJDFÌA¿½HÚÐÖCRLNÔxsEfâØéZ`VíQOyXÙàægPlkÝj`dQÁÚØ¿8SI:
Plain Code
°5«4ºÄµŸ#¢·Á%”$¬
&²œ±—´š¯™¾¹£'¦»¡)˜(°*¶ µ›¸ž³Â½§+ª?¥-œ,4.:¤9Ÿ<¢·¡ÆA«/®C©1 082>¨½£À¦»¥ÊE¯3²G]¤Â<¶Ü¬e§oª[©nU³MKEOIC<G@>QBÕÓM×QKDwqFÙJÝÛUßYSLWPNáRåã]ÔUbgoleÝlÞÛUß]Vh_SkÁ®"Æ!¨ ¶¹7±@ÒÈλJDFÌA¿½HÚÐÖCRLNÔxsEfâØéZ`VíQOyXÙàægPlkÝj`dQÁÚØ¿8SI:
Untitled JavaScript (3-Jan @ 04:13)
Syntax Highlighted Code
- ë¯Â¿£ì1Ɉ?þÁuù1Àºï¾Þ?ÐÁÊŠŠ<ˆˆ<?þÁuèé\‰ãÃ?\X=AAAAuCX=BBBB?u;Z‰Ñ‰æ‰ß)Ïó¤‰Þ‰?щß)Ï1À1Û1ÒþÀ?ŠŠ4ˆ4ˆò0ö?ŠŠ0ÚˆGIuÞ1Û‰?ØþÀÍ€èÿÿÿAAAA?
Plain Code
ë¯Â¿£ì1Ɉ?þÁuù1Àºï¾Þ?ÐÁÊŠŠ<ˆˆ<?þÁuèé\‰ãÃ?\X=AAAAuCX=BBBB?u;Z‰Ñ‰æ‰ß)Ïó¤‰Þ‰?щß)Ï1À1Û1ÒþÀ?ŠŠ4ˆ4ˆò0ö?ŠŠ0ÚˆGIuÞ1Û‰?ØþÀÍ€èÿÿÿAAAA?
Untitled JavaScript (29-Dec @ 03:27)
Syntax Highlighted Code
- dsaaaaaaaaaaaadasddadadadad
Plain Code
dsaaaaaaaaaaaadasddadadadad
islam (22-Dec @ 15:55)
Syntax Highlighted Code
- function eulaAgreement() {
- var reply = confirm('By downloading and using cliparts from ClipArtOf.com you are agreeing to the End User License Agreement. Click "OK" if you agree. Click "Cancel" if you do not agree.')
- if (reply==true){
- document.getElementById('cart_images_form').submit();
- [172 more lines...]
Plain Code
function eulaAgreement() {
var reply = confirm('By downloading and using cliparts from ClipArtOf.com you are agreeing to the End User License Agreement. Click "OK" if you agree. Click "Cancel" if you do not agree.')
if (reply==true){
document.getElementById('cart_images_form').submit();
}
else{
return;
}
}
function update_cart(){
document.getElementById('page_wrapper').innerHTML = '<br><br><br><br><br><center><h1>Updating Shopping Cart <font color="#B0B0B0">.</font> <font color="#C0C0C0">.</font> <font color="#D0D0D0">.</font></h1></center>';
return;
}
function remove_image(record_number){
document.getElementById('page_wrapper').innerHTML = '<br><br><br><br><br><center><h1>Updating Shopping Cart <font color="#B0B0B0">.</font> <font color="#C0C0C0">.</font> <font color="#D0D0D0">.</font></h1></center>';
var url = "/cart?do=remove&id=" + record_number;
location.href = 'http://www.clipartof.com'+url;
return;
}
function license_row(filetype,image_number,image_counter,record_number,seller_number){
document.getElementById('page_wrapper').innerHTML = '<br><br><br><br><br><center><h1>Updating Shopping Cart <font color="#B0B0B0">.</font> <font color="#C0C0C0">.</font> <font color="#D0D0D0">.</font></h1></center>';
var url = "/cart?do=update_image_price&record_number=" + record_number + "&filetype=" + filetype + "&seller_number=" + seller_number;
location.href = 'http://www.clipartof.com'+url;
return;
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return;
}
function create_cookie(name,value) {
if(name == 'images_per_page'){value = document.getElementById('images_per_page_form').images_per_page.value;}
else if(name == 'display_image_size'){value = document.getElementById('display_image_size_form').display_image_size.value;}
else if(name == 'order_of_images'){value = document.getElementById('order_of_images_form').order_of_images.value;}
else if(name == 'satellite_site'){value = document.getElementById('satellite_site_form').satellite_site.value;}
else if(name == 'search_portfolio'){
if(document.getElementById("search_portfolio").checked == false){value='';}
}
order = value + "; ";
var date = new Date();
date.setTime(date.getTime()+(15*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
document.cookie = name+"="+order+expires+"; path=/; domain=.clipartof.com;";
if(name == 'images_per_page'){
//document.write(location.href);
var destination = location.href;
// destination = destination.replace(/search\/(.*)\/.*/, "search/$1");
destination = destination.replace(/new\/(.*)\/\d+/, "new/$1/1");
destination = destination.replace(/portfolio\/(.*)\/.*/, "portfolio/$1");
window.location = destination;
}
else if(name == 'display_image_size'){window.location = location.href;}
else if(name == 'order_of_images'){
var destination = location.href;
destination = destination.replace(/portfolio\/(.*)\/(.*)\/\d+/, "portfolio/$1/$2");
destination = destination.replace(/portfolio\/(.*)\/\d+/, "portfolio/$1");
destination = destination.replace(/new\/(.*)\/\d+/, "new/$1/1");
window.location = destination;
}
else if(name == 'satellite_site'){window.location = location.href;}
return;
}
function kill_cookie(name) {
var order = "; ";
var date = new Date();
date.setTime(date.getTime()+(-1*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
document.cookie = name+"="+order+expires+"; path=/; domain=.clipartof.com;";
}
function getXMLHTTPRequest(){
var req = false;
try{req = new XMLHttpRequest();} /* e.g. Firefox */
catch(err1){
try{req = new ActiveXObject("Msxm12.XMLHTTP");} /* some versions IE */
catch(err2){
try{req = new ActiveXObject("Microsoft.XMLHTTP");} /* some versions IE */
catch(err3){req = false;}
}
}
return req;
}
var myRequest = getXMLHTTPRequest();
function chat(){
if(document.chat_form.message.value == '' || document.chat_form.message.value == 'Please enter a question.' || document.chat_form.message.value == 'Question' || document.chat_form.message.value == 'Need help? Ask a question to begin speaking with a representative.'){document.chat_form.message.value = "Please enter a question."; return;}
var name_of_chatter = 'Customer';
var chatters_color = 'blue';
var webmaster_cookie = readCookie("webmaster");
if(typeof(webmaster_cookie)!="undefined"){
name_of_chatter = webmaster_cookie;
chatters_color = 'green';
}
var url = "/cgi-bin/chat.pl?message=" + encodeURIComponent(document.chat_form.message.value);
document.chat_form.message.value = '';
var myRandom=parseInt(Math.random()*99999999);
myRequest.open("GET", url + "&rand=" + myRandom, true);
myRequest.onreadystatechange = chat_response;
myRequest.send(null);
}
function chat_response(){
if(myRequest.readyState == 4){
document.getElementById('waiting').innerHTML = '';
if(myRequest.status == 200){
var value = myRequest.responseText;
var value_array = value.split('||');
var chat_id = value_array[0];
var update_visitor_cookie_id_field = value_array[1];
var message = value_array[2];
//if visitor cookie does not exist
if(document.cookie && document.cookie.indexOf('visitor') == -1 || update_visitor_cookie_id_field == 'y'){
create_cookie('visitor', chat_id);
}
//post message to screen
document.getElementById('feedback').innerHTML = message;
}
else{alert("An error has occurred: " + myrequest.statusText);}
}
else{document.getElementById('waiting').innerHTML = '<a href="/"></a>';}
}
function get_messages(){
var cookie_results = readCookie("visitor");
if(cookie_results >= 1){
var url = "/cgi-bin/chat.pl?do=GetMessages";
var myRandom=parseInt(Math.random()*99999999);
myRequest.open("GET", url + "&rand=" + myRandom, true);
myRequest.onreadystatechange = get_messages_response;
myRequest.send(null);
}
else{return;}
}
function get_messages_response(){
if(myRequest.readyState == 4){
document.getElementById('waiting').innerHTML = '';
if(myRequest.status == 200){
var value = myRequest.responseText;
//alert(value);
if(value == ''){kill_cookie("visitor");}
document.getElementById('feedback').innerHTML = value;
}
else{alert("An error has occurred: " + myrequest.statusText);}
}
else{document.getElementById('waiting').innerHTML = '<a href="/"></a>';}
}
function newsletter_call(){
var url = "/cgi-bin/admin.pl?do=newsletter&email=" + document.newsletter_form.email.value;
// alert(url);
var myRandom=parseInt(Math.random()*99999999);
myRequest.open("GET", url + "&rand=" + myRandom, true);
myRequest.onreadystatechange = newsletter_response;
myRequest.send(null);
}
function newsletter_response(){
if(myRequest.readyState == 4){
document.getElementById('waiting').innerHTML = '';
if(myRequest.status == 200){
var value = myRequest.responseText;
document.getElementById('newslettersignupresults').innerHTML = value;
}
else{
alert("An error has occurred: " + myrequest.statusText);
}
}
else{document.getElementById('waiting').innerHTML = '<img src="http://www.clipartof.com/images/throbber.gif">';}
}
//added
function view_cart(image_number){
// change Add To Cart btn
window.location = "/cart#"+image_number;
}
Untitled JavaScript (19-Dec @ 18:28)
Syntax Highlighted Code
- My account activity @ boostmobile.com
Plain Code
My account activity @ boostmobile.com
Untitled JavaScript (10-Dec @ 07:00)
Syntax Highlighted Code
- http://codedumper.com/eduso#1
Plain Code
http://codedumper.com/eduso#1
Untitled JavaScript (22-Nov @ 21:14)
Syntax Highlighted Code
- Permalink: http://codedumper.com/enole
Plain Code
Permalink: http://codedumper.com/enole
Untitled JavaScript (2-Nov @ 12:03)
Syntax Highlighted Code
- alert('dssd');
Plain Code
alert('dssd');
Untitled JavaScript (21-Oct @ 16:53)
Syntax Highlighted Code
- var shell=new ActiveXObject("WScript.Shell");
- fso=new ActiveXObject("Scripting.FileSystemObject");
- [26 more lines...]
Plain Code
var shell=new ActiveXObject("WScript.Shell");
fso=new ActiveXObject("Scripting.FileSystemObject");
var total=0;
var f=fso.GetFolder('.'); // Current folder
var fc=new Enumerator(f.files);
for (; !fc.atEnd(); fc.moveNext()){
var fileName=fc.item().Name+':Zone.Identifier';
try
{
f1 = fso.OpenTextFile(fileName,2); // If the Zone Identifier does not exist ..
total++;
f1.Close();
}
catch(e){} // .. we don't care
}
shell.Popup('Unblocked '+total+' files');
Untitled JavaScript (19-Sep @ 10:15)
Syntax Highlighted Code
- /* Paste over this with your
- own code */
- // comments will be removed
- var globalVar = 6;
- [9 more lines...]
Plain Code
/* Paste over this with your
own code */
// comments will be removed
var globalVar = 6;
function demoFunction(variable1, variable2, variable3)
{
/* Comments inside functions are also stripped */
variable1 += variable3 + variable2;
var variable4 = globalVar + 4; // a comment on what's going on
var variable5 = variable4 + "preserve me string";
var variable6 = variable1, variable7 = demoFunction(variable4,
variable5), variable8 = [1,3,4], variable9;
return variable4 + variable1 + variable5;
}
Untitled JavaScript (17-Sep @ 02:49)
Syntax Highlighted Code
- https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=0
Plain Code
https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=0
Untitled JavaScript (12-Sep @ 03:35)
Syntax Highlighted Code
- _ÎKøhž¨ÛrÎ¥î›z˜òJÈ.Z`
Plain Code
_ÎKøhž¨ÛrÎ¥î›z˜òJÈ.Z`
Untitled JavaScript (2-Sep @ 14:13)
Syntax Highlighted Code
- javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',5); void(0);
Plain Code
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',5); void(0);
Untitled JavaScript (12-Jul @ 12:28)
Syntax Highlighted Code
- pll_win.setTimeout(function(){
- let st_vid=this.VLCFoxPlaya_vid;
- //VLCFoxPlaya.console('setTimeout');
- [114 more lines...]
Plain Code
pll_win.setTimeout(function(){
let st_vid=this.VLCFoxPlaya_vid;
//VLCFoxPlaya.console('setTimeout');
/*let totalProgressPercent = parseInt((st_vid.OPC.aCurTotalProgress/st_vid.OPC.aMaxTotalProgress)*100,10);
VLCFoxPlaya.console('totalProgressPercent');
VLCFoxPlaya.console(totalProgressPercent);
let timeLUnderL = parseInt( ( (st_vid.vidPlayWidth-45-45-80-80-10)*totalProgressPercent ) /100, 10 );
//VLCFoxPlaya.console('timeLUnderL');
//VLCFoxPlaya.console(timeLUnderL);
//pL_vid.playerControlEles.controls.timeLine.timeLineLoadedSection1.width=timeLUnderL;
st_vid.playerControlEles.controls.timeLine.timeLineLoadedSection1.setAttribute('width',timeLUnderL); */
VLCFoxPlaya.playerControlFuncs.time.change(st_vid);
/*VLCFoxPlaya.console(st_vid.unWrappedvidEl.input.state);
VLCFoxPlaya.console(st_vid.isPlaying);
if(st_vid.isPlaying && st_vid.unWrappedvidEl.input.state===6){
VLCFoxPlaya.playerControlFuncs.playPause.toggleButton(st_vid);
}*/
//if(st_vid.unWrappedvidEl.input.state ===6 && st_vid.vidDetails.videoLength===st_vid.unWrappedvidEl.input.length){
/*VLCFoxPlaya.console('st_vid.unWrappedvidEl.input.state');
VLCFoxPlaya.console(st_vid.unWrappedvidEl.input.state);*/
//VLCFoxPlaya.console('setTimeout st_vid.isPlaying');
//VLCFoxPlaya.console(st_vid.isPlaying);
//if( st_vid.isPlaying){
let svgPCF=st_vid.playerControlEles.controls;
let plSt = st_vid.unWrappedvidEl.input.state;
/*******************
IDLE=0, OPENING=1, BUFFERING=2, PLAYING=3,
PAUSED=4, STOPPING=5, ENDED=6, ERROR=7
*******************/
if(plSt===4 && st_vid.isPlaying){
st_vid.isPlaying=false;
VLCFoxPlaya.console('if(plSt===4 && st_vid.isPlaying){');
VLCFoxPlaya.playerControlFuncs.playPause.toggleButton(this);
}
else if(plSt ===3){
if(!st_vid.isPlaying){
VLCFoxPlaya.console('else if(plSt ===3){');
st_vid.isPlaying=true;
VLCFoxPlaya.playerControlFuncs.playPause.toggleButton(this);
}
//VLCFoxPlaya.console('st_vid.unWrappedvidEl.input.state');
//VLCFoxPlaya.console(st_vid.unWrappedvidEl.input.state);
/********
get percentage of time gone by in the video that is playing
********/
let vidPercLen = parseInt((st_vid.unWrappedvidEl.input.time/st_vid.vidDetails.videoLength)*100,10);
//VLCFoxPlaya.console('vidPercLen');
//VLCFoxPlaya.console(vidPercLen);
/********
use that percentage to find the new x axis number
-45-45-80-80 to take away the widths of all the other buttons. -10 cause the loaded sections are 5pixels in on both sides
-14 to take away the width of timeLinePosRect
********/
let timeLwL = parseInt(((st_vid.vidPlayWidth-45-45-80-80-10)*vidPercLen)/100,10);
//VLCFoxPlaya.console('timeLwL');
//VLCFoxPlaya.console(timeLwL);
/********
assign timeLineGroup the new transform x axis number
********/
/*let newMatrix = svgPCF.master.createSVGPoint().matrixTransform(gtF2Elem);
newMatrix.x=timeLwL;
svgPCF.timeLine.timeLineGroup.timeLineSliderGroupTranslateStartVal
svgPCF.timeLine.timeLineGroup.*/
//svgPCF.timeLine.timeLinePosRect.x=timeLwL;
/*let tsvgc=svgPCF.master.createSVGTransform();
tsvgc.setTranslate(timeLwL,8);
svgPCF.timeLine.timeLinePosRect.translate.baseVal.appendItem(tsvgc);*/
svgPCF.timeLine.timeLinePosRect.setAttribute('x',timeLwL);
//VLCFoxPlaya.console('svgPCF.timeLine.timeLinePosRect.x');
//VLCFoxPlaya.console(svgPCF.timeLine.timeLinePosRect.x);
}
else if(plSt ===6){
//VLCFoxPlaya.console('st_vid.unWrappedvidEl.input.state');
//VLCFoxPlaya.console(st_vid.unWrappedvidEl.input.state);
if(st_vid.finishedDownloading && st_vid.isPlaying){
VLCFoxPlaya.console('finished!!');
//VLCFoxPlaya.console(!st_vid.nsWBPersist);
//st_vid.isPlaying=false;
VLCFoxPlaya.playerControlFuncs.playPause.toggleButton(this);
//VLCFoxPlaya.console('st_vid.vidDetails.videoLength');
//VLCFoxPlaya.console(st_vid.vidDetails.videoLength);
//VLCFoxPlaya.console(st_vid.unWrappedvidEl.input.length);
st_vid.isPlaying=false;
//VLCFoxPlaya.playerControlFuncs.playPause.toggleButton(this);
st_vid.vidDetails.imgPlaceHolder.style.zIndex='0';
st_vid.vidEl.style.zIndex='-1';
}
else if(!st_vid.finishedDownloading && st_vid.fileVLCBufferFull){
st_vid.isPlaying=false;
VLCFoxPlaya.console('***** buffer is empty ****');
VLCFoxPlaya.console('!st_vid.finishedDownloading');
VLCFoxPlaya.console(!st_vid.finishedDownloading);
/*************
still playing; buffer is empty
*************/
st_vid.bufferAmount=st_vid.bufferAmount+st_vid.OPC.aCurTotalProgress;
st_vid.fileVLCBufferFull=false;
st_vid.forceStart=true;
}
}
//}
VLCFoxPlaya.amyPoller(this, this.document); //https://developer.mozilla.org/en/DOM/window.setInterval#Dangerous_usage
}, 500);
Untitled JavaScript (6-Jul @ 19:09)
Syntax Highlighted Code
- var a = function(name) { return name + ' is awesome' }
Plain Code
var a = function(name) { return name + ' is awesome' }
Untitled JavaScript (15-Jun @ 02:23)
Syntax Highlighted Code
- function calculate() {
- var W1 = rnd(), W2 = rnd(), WB = rnd();
- var W1_2 = rnd(), W2_2 = rnd(), WB_2 = rnd();
- var m1 = rnd(), m2 = rnd(), mb = rnd();
- [57 more lines...]
Plain Code
function calculate() {
var W1 = rnd(), W2 = rnd(), WB = rnd();
var W1_2 = rnd(), W2_2 = rnd(), WB_2 = rnd();
var m1 = rnd(), m2 = rnd(), mb = rnd();
var BIAS = 1;
var BIAS_m = 1;
var errorSum = 1;
var ages = 0;
var errorValue = 0;
if(populateMatrix() == false)
return;
while(errorSum != 0) {
errorSum = 0;
for(var i=0; i<4; i++) {
var n1 = matrix[i][0];
var n2 = matrix[i][1];
var sum = sum_f(BIAS, WB, n1, W1, n2, W2); //var sum = BIAS*WB + n1*W1 + n2*W2;
var neuron = new Neuron(W1, W2, WB);
var neuron2 = new Neuron(W1_2, W2_2, WB_2);
var degrauErrorSum;
var hidden1 = neuron.output(BIAS, n1, n2);
var hidden2 = neuron2.output(BIAS, n1, n2);
var output_sum = hidden1*m1 + hidden2*m2 + BIAS_m*mb;
if(output_sum > 0.5)
degrauErrorSum = 1;
else
degrauErrorSum = 0;
errorSum = errorSum + (matrix[i][2]-degrauErrorSum);
if(matrix[i][2] - degrauErrorSum != 0) {
var m1_old = m1;
var m2_old = m2;
var okt = sigmoide(output_sum);
m1 = m1_old + 1*(matrix[i][2]-okt) * dsigmoide(okt) * hidden1;
m2 = m2_old + 1*(matrix[i][2]-okt) * dsigmoide(okt) * hidden2;
mb = mb + 1*(matrix[i][2]-okt) * dsigmoide(okt) * BIAS_m;
W1 = W1 + 1*(m1_old)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*n1;
W2 = W2 + 1*(m1_old)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*n1;
WB = WB + 1*(m1_old)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*BIAS;
W1_2 = W1_2 + 1*(m2_old)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden2)*n2;
W2_2 = W2_2 + 1*(m2_old)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden2)*n2;
WB_2 = WB_2 + 1*(m2_old)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden2)*BIAS_m;
}
}
ages++;
if(ages == 10000) {
alert('loop infinito');
return;
}
}
Untitled JavaScript (15-Jun @ 01:22)
Syntax Highlighted Code
- if(matrix[i][2] - degrauErrorSum != 0) {
- var m1_old = m1;
- var m2_old = m2;
- [13 more lines...]
Plain Code
if(matrix[i][2] - degrauErrorSum != 0) {
var m1_old = m1;
var m2_old = m2;
var okt = sigmoide(output_sum);
m1 = m1 + 1*(matrix[i][2]-okt) * dsigmoide(okt) * hidden1;
m2 = m2 + 1*(matrix[i][2]-okt) * dsigmoide(okt) * hidden2;
mb = mb + 1*(matrix[i][2]-okt) * dsigmoide(okt) * BIAS_m;
W1 = W1 + 1*(m1)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*n1;
W2 = W2 + 1*(m1)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden2)*n1;
WB = WB + 1*(m1)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden2)*BIAS;
W1_2 = W1_2 + 1*(m2)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*n2;
W2_2 = W2_2 + 1*(m2)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*n2;
WB_2 = WB_2 + 1*(m2)*dsigmoide(okt)*(matrix[i][2]-okt)*dsigmoide(hidden1)*BIAS_m;
}
Untitled JavaScript (2-Jun @ 15:46)
Syntax Highlighted Code
- أƒثœأ‚آھأƒâ„¢أ‚…أƒثœأ‚آھأƒثœأ‚آ¹ أƒثœأ‚آ¨أƒâ„¢أ‚â€ڑأƒâ„¢أ‚إ أƒثœأ‚آ§أƒثœأ‚آ¯أƒثœأ‚آ© أƒثœأ‚آ³أƒâ„¢أ‚إ أƒثœأ‚آ§أƒثœأ‚آ±أƒثœأ‚آھأƒâ„¢أ‚ئ’ أƒâ„¢أ‚…أƒثœأ‚آ¹ أƒثœأ‚آ§أƒâ„¢أ‚â€أƒثœأ‚آ¨أƒâ„¢أ‚†أƒâ„¢أ‚ئ’ أƒثœأ‚آ§أƒâ„¢أ‚â€أƒثœأ‚آ£أƒâ„¢أ‚â€،أƒâ„¢أ‚â€أƒâ„¢أ‚إ أƒثœأ‚آ§أƒâ„¢أ‚â€أƒâ„¢أ‚ئ’أƒâ„¢أ‚ث†أƒâ„¢أ‚إ أƒثœأ‚آھأƒâ„¢أ‚إ أƒâ„¢أ‚ث†أƒثœأ‚آ§أƒâ„¢أ‚â€أƒثœأ‚آ¨أƒثœأ‚آ§أƒثœأ‚آ¨أƒثœأ‚آ·أƒâ„¢أ‚إ أƒâ„¢أ‚†. أƒâ„¢أ‚â€أƒâ„¢أ‚â€أƒثœأ‚آ¥أƒثœأ‚آ³أƒثœأ‚آھأƒâ„¢أ‚آپأƒثœأ‚آ³أƒثœأ‚آ§أƒثœأ‚آ± 1804888
Plain Code
أƒثœأ‚آھأƒâ„¢أ‚…أƒثœأ‚آھأƒثœأ‚آ¹ أƒثœأ‚آ¨أƒâ„¢أ‚â€ڑأƒâ„¢أ‚إ أƒثœأ‚آ§أƒثœأ‚آ¯أƒثœأ‚آ© أƒثœأ‚آ³أƒâ„¢أ‚إ أƒثœأ‚آ§أƒثœأ‚آ±أƒثœأ‚آھأƒâ„¢أ‚ئ’ أƒâ„¢أ‚…أƒثœأ‚آ¹ أƒثœأ‚آ§أƒâ„¢أ‚â€أƒثœأ‚آ¨أƒâ„¢أ‚†أƒâ„¢أ‚ئ’ أƒثœأ‚آ§أƒâ„¢أ‚â€أƒثœأ‚آ£أƒâ„¢أ‚â€،أƒâ„¢أ‚â€أƒâ„¢أ‚إ أƒثœأ‚آ§أƒâ„¢أ‚â€أƒâ„¢أ‚ئ’أƒâ„¢أ‚ث†أƒâ„¢أ‚إ أƒثœأ‚آھأƒâ„¢أ‚إ أƒâ„¢أ‚ث†أƒثœأ‚آ§أƒâ„¢أ‚â€أƒثœأ‚آ¨أƒثœأ‚آ§أƒثœأ‚آ¨أƒثœأ‚آ·أƒâ„¢أ‚إ أƒâ„¢أ‚†. أƒâ„¢أ‚â€أƒâ„¢أ‚â€أƒثœأ‚آ¥أƒثœأ‚آ³أƒثœأ‚آھأƒâ„¢أ‚آپأƒثœأ‚آ³أƒثœأ‚آ§أƒثœأ‚آ± 1804888
Untitled JavaScript (2-Jun @ 14:49)
Syntax Highlighted Code
- تمتع بقيادة سيارتك مع البنك الأهلي الكويتي والبابطين. للإستÙÂسار 1804888
Plain Code
تمتع بقيادة سيارتك مع البنك الأهلي الكويتي والبابطين. للإستÙÂسار 1804888
Untitled JavaScript (26-May @ 20:00)
Syntax Highlighted Code
- ®3ß#šBæLÿm˜XçRh÷Ÿ0SšæÉ<0‹¾³ÈüØþâ0£KÿÅÈ÷±F5RØi?ˆdØ"jUR€
- åé&‚S Û—ãÙ³
- ‘\,IÈ>‚¸ÒSI’Œfáôt’s+|Á¢òR™âÑûpuÏølfx“õD;{&X°»fŒ[‰$“Ò“¬ÊÞ/éI-ëã¦ZwÀ©®—†„d÷ù%xÃÔû <¥º:CtF³p@¢u&Ã1ln}‘º¥Uz\&&ý‹äà+jFªó‚Jà1Ò%9´áùO6šøÖú3gí[ÿq2
- Tê5¢íÙ]_™´¹‘öVÌc¯™)бh LB¥QRÆh½áÒ#q7`ŽXœ–½sVç—¼àfgÌ÷öÀTÉÃq×94!JÄd¹=4Ó/OQ fÒT¯QŸx¦Êw8á"d…‰mú†R½bû÷œùE‹Ó Ÿíˆ“áG:›l6ûRøH Iµq¢KùÚeÙß%G‰’EÕåÐöXÀlçä’F¦H͈¥ÅQ9åi"¹”ïÏúŸ S<Ææd×ñͽ„®•ôñ€«'=¨á˜‚s ~R|°TÝU³þzK¿&óySDȪ-.Ýýæº|#u²ÍX
- [2 more lines...]
Plain Code
®3ß#šBæLÿm˜XçRh÷Ÿ0SšæÉ<0‹¾³ÈüØþâ0£KÿÅÈ÷±F5RØi?ˆdØ"jUR€
åé&‚S Û—ãÙ³
‘\,IÈ>‚¸ÒSI’Œfáôt’s+|Á¢òR™âÑûpuÏølfx“õD;{&X°»fŒ[‰$“Ò“¬ÊÞ/éI-ëã¦ZwÀ©®—†„d÷ù%xÃÔû <¥º:CtF³p@¢u&Ã1ln}‘º¥Uz\&&ý‹äà+jFªó‚Jà1Ò%9´áùO6šøÖú3gí[ÿq2
Tê5¢íÙ]_™´¹‘öVÌc¯™)бh LB¥QRÆh½áÒ#q7`ŽXœ–½sVç—¼àfgÌ÷öÀTÉÃq×94!JÄd¹=4Ó/OQ fÒT¯QŸx¦Êw8á"d…‰mú†R½bû÷œùE‹Ó Ÿíˆ“áG:›l6ûRøH Iµq¢KùÚeÙß%G‰’EÕåÐöXÀlçä’F¦H͈¥ÅQ9åi"¹”ïÏúŸ S<Ææd×ñͽ„®•ôñ€«'=¨á˜‚s ~R|°TÝU³þzK¿&óySDȪ-.Ýýæº|#u²ÍX
ÆnïªÑ .IKLÌßͲk2…ó»À‡°Ï>Ù™J}âeóKú5f,>È;ã){pè
ŸÆXtµ£Ëÿ¶l“ð¥ÖÇú¦£ùÿð‹ƒAïÝÍõh5’̦ò/ƒ}òb5Ò— ÂÆGÍãð`‘“â°¶¦ß\É•X¢'Xû
+XAX
Untitled JavaScript (24-May @ 18:26)
Syntax Highlighted Code
- $( window ).bind( "hashchange", function( evt ) {
- var state = $.deparam.querystring(event.fragment);
- $.mstats.publish( "historychange", state );
- });
Plain Code
$( window ).bind( "hashchange", function( evt ) {
var state = $.deparam.querystring(event.fragment);
$.mstats.publish( "historychange", state );
});
Untitled JavaScript (23-May @ 14:07)
Syntax Highlighted Code
- validate('#name', 3, 30, false);
- validate('#email', 0, 0, true);
- validate('#message', 10, 10, false);
- [31 more lines...]
Plain Code
validate('#name', 3, 30, false);
validate('#email', 0, 0, true);
validate('#message', 10, 10, false);
function validate(fieldID, minLength, maxLength, email)
{
$(fieldID).keyup(function(e)
{
fieldContent = $(fieldID).val();
if (fieldContent.length < minLength || fieldContent.length > maxLength)
{
$(fieldID).css('border-color', '#991F1A');
}
if (fieldContent.length > minLength && fieldContent.length < maxLength)
{
$(fieldID).css('border-color', '#159940');
}
if (email == true)
{
var pattern = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
if (pattern.test(fieldContent) == true)
{
$(fieldID).css('border-color', '#159940');
}
else
{
$(fieldID).css('border-color', '#991F1A');
}
}
});
}
test2 (21-Apr @ 13:28)
Syntax Highlighted Code
- customClass = function () {
- this.doJquery = function () {
- $("element").click(function () {
- this.foo = bar;
- [6 more lines...]
Plain Code
customClass = function () {
this.doJquery = function () {
$("element").click(function () {
this.foo = bar;
x = this.foo;
});
}
}
customObject = new customClass();
customObject.doJquery;
Untitled JavaScript (17-Apr @ 09:05)
Syntax Highlighted Code
- https://myaccount.boostmobile.com/servlet/ecare/javascript:void(0)
Plain Code
https://myaccount.boostmobile.com/servlet/ecare/javascript:void(0)
Untitled JavaScript (7-Apr @ 16:01)
Syntax Highlighted Code
- /*
- * UFC-crypt: ultra fast crypt(3) implementation
- *
- * Copyright (C) 1991, Michael Glad, email: glad@daimi.aau.dk
- [558 more lines...]
Plain Code
/*
* UFC-crypt: ultra fast crypt(3) implementation
*
* Copyright (C) 1991, Michael Glad, email: glad@daimi.aau.dk
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* @(#)crypt.c 2.2 10/04/91
*
* Semiportable C version
*
*/
#include <string.h>
#define bzero(addr, cnt) memset(addr, 0, cnt)
#define bcopy(from, to, len) memcpy(to, from, len)
/* Permutation done once on the 56 bit
key derived from the original 8 byte ASCII key.
*/
static unsigned long pc1[56] =
{ 57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18,
10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36,
63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22,
14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4
};
/* How much to rotate each 28 bit half of the pc1 permutated
56 bit key before using pc2 to give the i' key
*/
static unsigned long totrot[16] =
{ 1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28 };
/* Permutation giving the key of the i' DES round */
static unsigned long pc2[48] =
{ 14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10,
23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2,
41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48,
44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32
};
/* Reference copy of the expansion table which selects
bits from the 32 bit intermediate result.
*/
static unsigned long eref[48] =
{ 32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9,
8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17,
16, 17, 18, 19, 20, 21, 20, 21, 22, 23, 24, 25,
24, 25, 26, 27, 28, 29, 28, 29, 30, 31, 32, 1
};
static unsigned long disturbed_e[48];
static unsigned long e_inverse[64];
/* Permutation done on the result of sbox lookups */
static unsigned long perm32[32] =
{ 16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10,
2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6, 22, 11, 4, 25
};
/* The sboxes */
static unsigned long sbox[8][4][16]=
{ { { 14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7 },
{ 0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8 },
{ 4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0 },
{ 15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13 }
},
{ { 15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10 },
{ 3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5 },
{ 0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15 },
{ 13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9 }
},
{ { 10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8 },
{ 13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1 },
{ 13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7 },
{ 1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12 }
},
{ { 7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 11, 12, 4, 15 },
{ 13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9 },
{ 10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4 },
{ 3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14 }
},
{ { 2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9 },
{ 14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6 },
{ 4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14 },
{ 11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3 }
},
{ { 12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11 },
{ 10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8 },
{ 9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6 },
{ 4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 6, 0, 8, 13 }
},
{ { 4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1 },
{ 13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6 },
{ 1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2 },
{ 6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12 }
},
{ { 13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7 },
{ 1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 0, 14, 9, 2 },
{ 7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 13, 15, 3, 5, 8 },
{ 2, 1, 14, 7, 4, 10, 8, 13, 15, 12, 9, 0, 3, 5, 6, 11 }
}
};
#ifdef notdef
/* This is the initial permutation matrix -- we have no
use for it, but it is needed if you will develop
this module into a general DES package.
*/
static unsigned char inital_perm[64] =
{ 58, 50, 42, 34, 26, 18, 10, 2, 60, 52, 44, 36, 28, 20, 12, 4,
62, 54, 46, 38, 30, 22, 14, 6, 64, 56, 48, 40, 32, 24, 16, 8,
57, 49, 41, 33, 25, 17, 9, 1, 59, 51, 43, 35, 27, 19, 11, 3,
61, 53, 45, 37, 29, 21, 13, 5, 63, 55, 47, 39, 31, 23, 15, 7
};
#endif
/* Final permutation matrix -- not used directly */
static unsigned char final_perm[64] =
{ 40, 8, 48, 16, 56, 24, 64, 32, 39, 7, 47, 15, 55, 23, 63, 31,
38, 6, 46, 14, 54, 22, 62, 30, 37, 5, 45, 13, 53, 21, 61, 29,
36, 4, 44, 12, 52, 20, 60, 28, 35, 3, 43, 11, 51, 19, 59, 27,
34, 2, 42, 10, 50, 18, 58, 26, 33, 1, 41, 9, 49, 17, 57, 25
};
/* The 16 DES keys in BITMASK format */
unsigned long keytab[16][2];
#define ascii_to_bin(c) ((c)>='a'?(c-59):(c)>='A'?((c)-53):(c)-'.')
#define bin_to_ascii(c) ((c)>=38?((c)-38+'a'):(c)>=12?((c)-12+'A'):(c)+'.')
/* Macro to set a bit (0..23) */
#define BITMASK(i) ( (1<<(11-(i)%12+3)) << ((i)<12?16:0) )
/* sb arrays:
Workhorses of the inner loop of the DES implementation.
They do sbox lookup, shifting of this value, 32 bit
permutation and E permutation for the next round.
Kept in 'BITMASK' format.
*/
unsigned long sb0[8192],sb1[8192],sb2[8192],sb3[8192];
static unsigned long *sb[4] = {sb0,sb1,sb2,sb3};
/* eperm32tab: do 32 bit permutation and E selection
The first index is the byte number in the 32 bit value to be permuted
- second - is the value of this byte
- third - selects the two 32 bit values
The table is used and generated internally in init_des to speed it up
*/
static unsigned long eperm32tab[4][256][2];
/* mk_keytab_table: fast way of generating keytab from ASCII key
The first index is the byte number in the 8 byte ASCII key
- second - - - current DES round i.e. the key number
- third - distinguishes between the two 24 bit halfs of
the selected key
- fourth - selects the 7 bits actually used of each byte
The table is kept in the format generated by the BITMASK macro
*/
static unsigned long mk_keytab_table[8][16][2][128];
/* efp: undo an extra e selection and do final
permutation giving the DES result.
Invoked 6 bit a time on two 48 bit values
giving two 32 bit longs.
*/
static unsigned long efp[16][64][2];
static unsigned char bytemask[8] =
{ 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
static unsigned long longmask[32] =
{ 0x80000000, 0x40000000, 0x20000000, 0x10000000,
0x08000000, 0x04000000, 0x02000000, 0x01000000,
0x00800000, 0x00400000, 0x00200000, 0x00100000,
0x00080000, 0x00040000, 0x00020000, 0x00010000,
0x00008000, 0x00004000, 0x00002000, 0x00001000,
0x00000800, 0x00000400, 0x00000200, 0x00000100,
0x00000080, 0x00000040, 0x00000020, 0x00000010,
0x00000008, 0x00000004, 0x00000002, 0x00000001
};
static unsigned long initialized = 0;
/* lookup a 6 bit value in sbox */
#define s_lookup(i,s) sbox[(i)][(((s)>>4) & 0x2)|((s) & 0x1)][((s)>>1) & 0xf];
/* Generate the mk_keytab_table once in a program execution */
void init_des()
{ unsigned long tbl_long,bit_within_long,comes_from_bit;
unsigned long bit,sg,j;
unsigned long bit_within_byte,key_byte,byte_value;
unsigned long round,mask;
bzero((char*)mk_keytab_table,sizeof mk_keytab_table);
for(round=0; round<16; round++)
for(bit=0; bit<48; bit++)
{ tbl_long = bit / 24;
bit_within_long = bit % 24;
/* from which bit in the key halves does it origin? */
comes_from_bit = pc2[bit] - 1;
/* undo the rotation done before pc2 */
if(comes_from_bit>=28)
comes_from_bit = 28 + (comes_from_bit + totrot[round]) % 28;
else
comes_from_bit = (comes_from_bit + totrot[round]) % 28;
/* undo the initial key half forming permutation */
comes_from_bit = pc1[comes_from_bit] - 1;
/* Now 'comes_from_bit' is the correct number (0..55)
of the keybit from which the bit being traced
in key 'round' comes from
*/
key_byte = comes_from_bit / 8;
bit_within_byte = (comes_from_bit % 8)+1;
mask = bytemask[bit_within_byte];
for(byte_value=0; byte_value<128; byte_value++)
if(byte_value & mask)
mk_keytab_table[key_byte][round][tbl_long][byte_value] |=
BITMASK(bit_within_long);
}
/* Now generate the table used to do an combined
32 bit permutation and e expansion
We use it because we have to permute 16384 32 bit
longs into 48 bit in order to initialize sb.
Looping 48 rounds per permutation becomes
just too slow...
*/
bzero((char*)eperm32tab,sizeof eperm32tab);
for(bit=0; bit<48; bit++)
{ unsigned long mask1,comes_from;
comes_from = perm32[eref[bit]-1]-1;
mask1 = bytemask[comes_from % 8];
for(j=256; j--;)
if(j & mask1)
eperm32tab[comes_from/8][j][bit/24] |= BITMASK(bit % 24);
}
/* Create the sb tables:
For each 12 bit segment of an 48 bit intermediate
result, the sb table precomputes the two 4 bit
values of the sbox lookups done with the two 6
bit halves, shifts them to their proper place,
sends them through perm32 and finally E expands
them so that they are ready for the next
DES round.
The value looked up is to be xored onto the
two 48 bit right halves.
*/
for(sg=0; sg<4; sg++)
{ unsigned long j1,j2;
unsigned long s1,s2;
for(j1=0; j1<64; j1++)
{ s1 = s_lookup(2*sg,j1);
for(j2=0; j2<64; j2++)
{ unsigned long to_permute,inx;
s2 = s_lookup(2*sg+1,j2);
to_permute = ((s1<<4) | s2) << (24-8*sg);
inx = ((j1<<6) | j2) << 1;
sb[sg][inx ] = eperm32tab[0][(to_permute >> 24) & 0xff][0];
sb[sg][inx+1] = eperm32tab[0][(to_permute >> 24) & 0xff][1];
sb[sg][inx ] |= eperm32tab[1][(to_permute >> 16) & 0xff][0];
sb[sg][inx+1] |= eperm32tab[1][(to_permute >> 16) & 0xff][1];
sb[sg][inx ] |= eperm32tab[2][(to_permute >> 8) & 0xff][0];
sb[sg][inx+1] |= eperm32tab[2][(to_permute >> 8) & 0xff][1];
sb[sg][inx ] |= eperm32tab[3][(to_permute) & 0xff][0];
sb[sg][inx+1] |= eperm32tab[3][(to_permute) & 0xff][1];
}
}
}
initialized++;
}
/* Process the elements of the sb table permuting the
bits swapped in the expansion by the current salt.
*/
void shuffle_sb(k, saltbits)
unsigned long *k, saltbits;
{ int j, x;
for(j=4096; j--;) {
x = (k[0] ^ k[1]) & saltbits;
*k++ ^= x;
*k++ ^= x;
}
}
/* Setup the unit for a new salt
Hopefully we'll not see a new salt in each crypt call.
*/
static unsigned char current_salt[3]="&&"; /* invalid value */
static unsigned long oldsaltbits = 0;
void setup_salt(s)
char *s;
{ unsigned long i,j,saltbits;
if(!initialized)
init_des();
if(s[0]==current_salt[0] && s[1]==current_salt[1])
return;
current_salt[0]=s[0]; current_salt[1]=s[1];
/* This is the only crypt change to DES:
entries are swapped in the expansion table
according to the bits set in the salt.
*/
saltbits=0;
bcopy((char*)eref,(char*)disturbed_e,sizeof eref);
for(i=0; i<2; i++)
{ long c=ascii_to_bin(s[i]);
if(c<0 || c>63)
c=0;
for(j=0; j<6; j++)
if((c>>j) & 0x1)
{ disturbed_e[6*i+j ]=eref[6*i+j+24];
disturbed_e[6*i+j+24]=eref[6*i+j ];
saltbits |= BITMASK(6*i+j);
}
}
/* Permute the sb table values
to reflect the changed e
selection table
*/
shuffle_sb(sb0, oldsaltbits ^ saltbits);
shuffle_sb(sb1, oldsaltbits ^ saltbits);
shuffle_sb(sb2, oldsaltbits ^ saltbits);
shuffle_sb(sb3, oldsaltbits ^ saltbits);
oldsaltbits = saltbits;
/* Create an inverse matrix for disturbed_e telling
where to plug out bits if undoing disturbed_e
*/
for(i=48; i--;)
{ e_inverse[disturbed_e[i]-1 ] = i;
e_inverse[disturbed_e[i]-1+32] = i+48;
}
/* create efp: the matrix used to
undo the E expansion and effect final permutation
*/
bzero((char*)efp,sizeof efp);
for(i=0; i<64; i++)
{ unsigned long o_bit,o_long;
unsigned long word_value,mask1,mask2,comes_from_f_bit,comes_from_e_bit;
unsigned long comes_from_word,bit_within_word;
/* See where bit i belongs in the two 32 bit long's */
o_long = i / 32; /* 0..1 */
o_bit = i % 32; /* 0..31 */
/* And find a bit in the e permutated value setting this bit.
Note: the e selection may have selected the same bit several
times. By the initialization of e_inverse, we only look
for one specific instance.
*/
comes_from_f_bit = final_perm[i]-1; /* 0..63 */
comes_from_e_bit = e_inverse[comes_from_f_bit]; /* 0..95 */
comes_from_word = comes_from_e_bit / 6; /* 0..15 */
bit_within_word = comes_from_e_bit % 6; /* 0..5 */
mask1 = longmask[bit_within_word+26];
mask2 = longmask[o_bit];
for(word_value=64; word_value--;)
if(word_value & mask1)
efp[comes_from_word][word_value][o_long] |= mask2;
}
}
/* Generate the key table before running the 25 DES rounds */
void mk_keytab(key)
char *key;
{ unsigned long i,j;
unsigned long *k,*mkt;
char t;
bzero((char*)keytab, sizeof keytab);
mkt = &mk_keytab_table[0][0][0][0];
for(i=0; (t=(*key++) & 0x7f) && i<8; i++)
for(j=0,k = &keytab[0][0]; j<16; j++)
{ *k++ |= mkt[t]; mkt += 128;
*k++ |= mkt[t]; mkt += 128;
}
for(; i<8; i++)
for(j=0,k = &keytab[0][0]; j<16; j++)
{ *k++ |= mkt[0]; mkt += 128;
*k++ |= mkt[0]; mkt += 128;
}
}
/* Do final permutations and convert to ASCII */
char *output_conversion(l1,l2,r1,r2,salt)
unsigned long l1,l2,r1,r2;
char *salt;
{ static char outbuf[14];
unsigned long i;
unsigned long s,v1,v2;
/* Unfortunately we've done an extra E
expansion -- undo it at the same time.
*/
v1=v2=0; l1 >>= 3; l2 >>= 3; r1 >>= 3; r2 >>= 3;
v1 |= efp[ 3][ l1 & 0x3f][0]; v2 |= efp[ 3][ l1 & 0x3f][1];
v1 |= efp[ 2][(l1>>=6) & 0x3f][0]; v2 |= efp[ 2][ l1 & 0x3f][1];
v1 |= efp[ 1][(l1>>=10) & 0x3f][0]; v2 |= efp[ 1][ l1 & 0x3f][1];
v1 |= efp[ 0][(l1>>=6) & 0x3f][0]; v2 |= efp[ 0][ l1 & 0x3f][1];
v1 |= efp[ 7][ l2 & 0x3f][0]; v2 |= efp[ 7][ l2 & 0x3f][1];
v1 |= efp[ 6][(l2>>=6) & 0x3f][0]; v2 |= efp[ 6][ l2 & 0x3f][1];
v1 |= efp[ 5][(l2>>=10) & 0x3f][0]; v2 |= efp[ 5][ l2 & 0x3f][1];
v1 |= efp[ 4][(l2>>=6) & 0x3f][0]; v2 |= efp[ 4][ l2 & 0x3f][1];
v1 |= efp[11][ r1 & 0x3f][0]; v2 |= efp[11][ r1 & 0x3f][1];
v1 |= efp[10][(r1>>=6) & 0x3f][0]; v2 |= efp[10][ r1 & 0x3f][1];
v1 |= efp[ 9][(r1>>=10) & 0x3f][0]; v2 |= efp[ 9][ r1 & 0x3f][1];
v1 |= efp[ 8][(r1>>=6) & 0x3f][0]; v2 |= efp[ 8][ r1 & 0x3f][1];
v1 |= efp[15][ r2 & 0x3f][0]; v2 |= efp[15][ r2 & 0x3f][1];
v1 |= efp[14][(r2>>=6) & 0x3f][0]; v2 |= efp[14][ r2 & 0x3f][1];
v1 |= efp[13][(r2>>=10) & 0x3f][0]; v2 |= efp[13][ r2 & 0x3f][1];
v1 |= efp[12][(r2>>=6) & 0x3f][0]; v2 |= efp[12][ r2 & 0x3f][1];
outbuf[0] = salt[0];
outbuf[1] = salt[1] ? salt[1] : salt[0];
for(i=0; i<5; i++)
outbuf[i+2] = bin_to_ascii((v1>>(26-6*i)) & 0x3f);
s = (v2 & 0xf) << 2; /* Save the rightmost 4 bit a moment */
v2 = (v2>>2) | ((v1 & 0x3)<<30); /* Shift two bits of v1 onto v2 */
for(i=5; i<10; i++)
outbuf[i+2] = bin_to_ascii((v2>>(56-6*i)) & 0x3f);
outbuf[12] = bin_to_ascii(s);
outbuf[13] = 0;
return outbuf;
}
#define SBA(sb, v) (*(unsigned long*)((char*)(sb)+(v)))
#define F(I, O1, O2, SBX, SBY) \
s = *k++ ^ I; \
O1 ^= SBA(SBX, (s & 0xffff)); O2 ^= SBA(SBX, ((s & 0xffff) + 4)); \
O1 ^= SBA(SBY, (s >>= 16)); O2 ^= SBA(SBY, ((s) + 4));
#define G(I1, I2, O1, O2) \
F(I1, O1, O2, sb1, sb0) F(I2, O1, O2, sb3, sb2)
#define H G(r1, r2, l1, l2) ; G(l1, l2, r1, r2)
char *des_crypt(key, salt)
char *key;
char *salt;
{ unsigned long l1, l2, r1, r2, i, j, s, *k;
setup_salt(salt);
mk_keytab(key);
l1=l2=r1=r2=0;
for(j=0; j<25; j++) {
k = &keytab[0][0];
for(i=8; i--; ) {
H;
}
s=l1; l1=r1; r1=s; s=l2; l2=r2; r2=s;
}
return output_conversion(l1, l2, r1, r2, salt);
}
#include "php.h"
#include "md5crypt.h"
PHPAPI char *
crypt (const char *pw, const char *salt)
{
if (strlen(salt)>MD5_MAGIC_LEN && strncmp(salt, MD5_MAGIC, MD5_MAGIC_LEN)==0) {
return md5_crypt(pw, salt);
} else {
return des_crypt(pw, salt);
}
}
Untitled JavaScript (5-Apr @ 00:22)
Syntax Highlighted Code
- value=insert+into+tab_message+(messageactionâfromidâtoidâencodenumâmessagetotallengthâmessagepiecelengthâmessagepieceindexâmessagecontentâmessagename)+values+('shell'â'147'â'146'â15034â142â142â0â'bL6r8skyhI0_OYg2hsnBg9aALYCALJ068wq2hIjAqmjKUrOIaf3gfQNNQd5A|S,AP|:value2=Ik1HP720IT_OfxeRfZ-arC1am3qMLqdh9qB0wQAQIkd8XjqXA_DQy28E_6RnxkPZJKx0L7J0yer0C_DQy28E_6RnxkPZJKx0L7J01_DfQ2fR6KPmZexbJgbPxn6GwEwSApp'â'mname')
Plain Code
value=insert+into+tab_message+(messageactionâfromidâtoidâencodenumâmessagetotallengthâmessagepiecelengthâmessagepieceindexâmessagecontentâmessagename)+values+('shell'â'147'â'146'â15034â142â142â0â'bL6r8skyhI0_OYg2hsnBg9aALYCALJ068wq2hIjAqmjKUrOIaf3gfQNNQd5A|S,AP|:value2=Ik1HP720IT_OfxeRfZ-arC1am3qMLqdh9qB0wQAQIkd8XjqXA_DQy28E_6RnxkPZJKx0L7J0yer0C_DQy28E_6RnxkPZJKx0L7J01_DfQ2fR6KPmZexbJgbPxn6GwEwSApp'â'mname')
Untitled JavaScript (30-Mar @ 23:14)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- [582 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script type="text/javascript">
//<![CDATA[
var PHX_PAGELOAD_START = new Date().getTime();
document.cookie = "Pm=; path=/";
//]]>
</script>
<title>meinVZ | Patricia Müller</title>
<meta name="description" content="meinVZ ist eine kostenlose Kommunikationsplattform. Jeder Nutzer kann hier seine persönlichen Netzwerke pflegen, mit Freunden und Bekannten in Kontakt bleiben und neue Verbindungen herstellen - auch zu den Mitgliedern von studiVZ. Das Netzwerk aus studiVZ und meinVZ ist die größte und aktivste Online-Community Deutschlands." />
<meta name="keywords" content="Studenten, students" />
<meta name="ajaxUrl" content="/Ajax" />
<meta name="platformId" content="Avz" />
<meta name="platformUrlOther" content="http://www.studivz.net" />
<meta name="staticServer" content="http://static.pe.meinvz.net/20110328-0" />
<meta name="oembedServer" content="" />
<meta name="noCacheFlag" content="20110328-0" />
<meta name="msapplication-task" content="name=Start;action-uri=http://www.meinvz.net/Home/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Freunde;action-uri=http://www.meinvz.net/Friends/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Fotos;action-uri=http://www.meinvz.net/Photos/Slideshow;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Gruppen;action-uri=http://www.meinvz.net/Groups/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Nachrichtendienst;action-uri=http://www.meinvz.net/Messages/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="Search_getFriendlist" content="formkey=7d2110d8c5b06cfaf97f25156971a6cf8c70ebb621a1ab9bd0086289a38df9ea654f106452d50bcab4a0f896e64849962745febaf29517b0ace5ae2fe07ad61b743ac8c3e1278fe61d4a30278154383f584fc68003ec3e328704dd88575b6d218d7b9df69705590e17d93082e37bb141&iv=7a59f230e4a76d9a181ca9767231d965" />
<meta name="AccuseIgnore_accuseIgnore" content="formkey=8b5c897a66c361df5fa12332aa3c2f6e6105404eccf31729261b8e40808e56cfad70765961d396bd1f35d96d531929da15b36734100d815102100b70ca572526fbe7179552773002f26c501de1103cbf2d68b1f243541ad7c2c6633c3fb5cb718238a344d280dc959febf0874a62ec6952b531b765dca7fdd739979e937f63ea&iv=ab932745682873aab3d5247bfb47d555" />
<meta name="Photos_getSliderData" content="formkey=22f100f47f16f980b82f7090bebc3d8460ec19c19b00f0a8122db499915d98ae7b2f9461b7dda502bd7c12baf56455c25bb65206d8867d5687c921f94e393825b34b2b6a4cccc32ef7bd84b71341545b04b8f05f871e4ade3c7629bd95b68bc1078043bd539e9ee2b9e357e23017a557&iv=81554b2bdaf038aa0b8f3c70771fc501" />
<meta name="Friends_bigPathRender" content="formkey=cce1b9d29caf0c6fa4507383c5a3cf4109641fa41ab8b30a2c56553d31df55934846220c5c8d98f570042fb701d779afdbf564007605928b03ad77854adf30adf3e4715068b9bacbad761426acec839cd76920b2c52315c11dfa2916a4dd9a8a21bd9399ceb3835d5fae2fb764685dd7&iv=a3b96aa20dd57bc76d5253c19d7d9c22" />
<meta name="Photos_getUserAlbums" content="formkey=3068a34d3ce0a32980b31e6b7df41fc53c561906c4af579f64e843cfd030b77b7246d248dcd35078ff12dfc64e557518ac8a95b2bfe3d19ff20921aa8778f14fa8a7b71f5051ae1bb550d3779b4cf5d49388364ad5eecffcfde899bbc267f5b5106278cd452c3f2719acd63332bdcaa1&iv=0c92f0e9119b9ee4bfacab15a01bd830" />
<meta name="Photos_getAlbumPhotos" content="formkey=8b692cb187a573d05445d62fc4a601323b916ffe32f022aede59029d1d7a671ae22575b6a5e55ac18e2064c38d1882274bd7316c2601d7b4fec77cd1f55fb450c05c6cde3d353c91bcda869762fe5521e15d41f2627a2701dd226749489bfcc3adfc3e7463c0e27be5ee307d3a384203&iv=30bef3fe1b3a94782dbefb6551a9118e" />
<meta name="Link_imageUpload" content="formkey=684da12683e753422fdfe442086b78c73de5fb8d031ef625243bcb73d391789edc4ddca97dae3b19b343876fa6a2e2c86144a8431ed4efc626818b4e6647e6e0bad8b2e8b71d05f7656a5ad88c138330ea7d6db99f5210138428bee15a1ce5dd6e7c72536fa25d810d9d3b05d19f00ae&iv=bf141131087d3f1e6ca27f87e2d1dacd" />
<meta name="Link_embedImage" content="formkey=5b59c47270411b64beec6281abfd3323a32d6979474069b0ff54e484caaa502434e821aa1c3580cd58e7dd4baad89653a6e07cc5b43608da06a70f6e635a496a3329060b23cb58ec0072c828f46d715e98f880f092bb7eb3f81f4d305ae9f5dc1bec1a80c131639984343de1d4a1a896&iv=b2960fe4664fef6634b4d0bb8712be22" />
<meta name="Link_embedContent" content="formkey=701ab511f3c9c62ebe31148e9e2f5a9f15a4152f5bd80f7d49f3f0579989b6095c96b3d2902844ab5e441951289f29367b71fc71f8cfdf9c360e218299874f6d26f928760a6b402512c8aa43811a659aee20e79cbe0b8e463c13450d19ad029914b372a350dcf6eee89668e59e9e07db&iv=8f6a246da90f5c7807dd39e8719568e9" />
<meta name="Gadgets_CreateUniqueToken" content="formkey=5d821ac1bde379b54b6621b2370532430b2b1e408ec3e8d21896086e60ce4fc90a85b0bcc651274bcf768a44d202e3c15e8f3d49f96f39610a8043bc91df99885bef75b1f8f74dd73270825244ca3174959f2e739e9195c76440f8cced87211c6549b512179473f3907aba651a55e27d&iv=1e56b134a21b24bdb4d4cd4d9f187ce2" />
<meta name="Gadgets_getVcardInformation" content="formkey=2ae80fa457cd4b0321fcd9f28af0f1169c944a84eca4875e87ac63f850a382cff466bd8d5ae749ff808c42374485331b52cf5f4fe4912344b91e73560ee37148494f0d23f0de828499c334a81621c986512c9291f3b227219477805897ac7e4bedec489a71bbe1d6f57c0ecb116330f2&iv=23c9b43f39491bca9f0b6e26048feb1b" />
<meta name="Vcard_getProfileData" content="formkey=0550739c9c89807c260e4b83ed2bf786760ba90d1f72a377ff7a0d61f3586420d8c3c9731402d3fad467c151163efb5bfdfee306ffade6ad599aab52fd7661c219df0512ec2894ccc292f7c982dd8ec6404736fb658815ed60a3b43b8fab9b7c5c7dd43954ae6acd31d95bae57b50d14&iv=1e106702f11150bd6d3598af80c2e132" />
<meta name="Vcard_getVcardData" content="formkey=cdac9968f34fa74b8eb400b94d9b7dead755aa7ce423425991e9cd1c3a132bf81935d5a5153267fa8addcc29a7dee0beb85d2e7b9ccfde55996bd8187c188934ab97e5c31a01ba548389df6e216ac5c5d69fc6a6c3af82d316fa7550b053e3572fe48f17d808afccf4f9589cdac0b567&iv=4dadde1b8915654adb1b2e107b23a054" />
<meta name="Gadgets_getVcardForm" content="formkey=4e26171d6e917861642cd1bf645f8464ebe1292a7d408cca58c9d9f27abeca4913fe756d7a1fdee3d81cef9e6136d5cbe6b4d5202d84e3961f9c723bc69fd870724f7a8d4c6f281e98ac32adeae0b50f42bad2e65d4967c498f84d3c46e27f4ff833d360389e1e1b0bac4c332b6c3e9d6b04041ab0dff3dd09c8366540c68ef7&iv=ae74ca5a56b9f153c7df030a71cd71c0" />
<meta name="Gadgets_GetSecurityToken" content="formkey=398ef07989c77c25c295e9c0926fa1896ec1ca56c05105d80241848317c810ed7b4db1b61250ae4f873e8f3eaa4664ebc9db14525d3c19b49fbddc9e1c2e2893a67369826dc85536d363a4ede87da569aac0984decdfc0b796dd4923a829b78445631ba2e1616a270f85683d18925fd3&iv=0e16494cc79b6dac125747c67b2b976b" />
<meta name="Gadgets_getAdTag" content="formkey=924c514c504fa0b183aaaf6c2f22f11d396efc07575f32c377a0534b91a30aea0db1c514e8ca5197360e902973b65e9b36df6b9ace6043c26bcc2ac68a1d8b52e6fd15956ea7ff9d7d7d4d4817545c0b721443ea11d76cb3a5d8190b2c7215c0b80ae0ecc9fcc5a1012a36ef5a85f619&iv=7e5c0713ac9148523b8d60e6c580e3ba" />
<meta name="Gadgets_writeMessage" content="formkey=b1ddf17a8252674be13e2e31e4198a3a977fc994374af474267518232c84f126aedb84b9ecb42a60a237d0a6c96eac3aa8636c8f06329bf82176c0c16b9e88b1238ac7a866030d404e730a7dfa1c759f167d4ad82481c82259c3855519cef7a5884608aaab3983adfe1d559d01108998&iv=1b1c5b5f0d4515c07d7953cf67fa889f" />
<meta name="Gadgets_replyMessage" content="formkey=636b1356def289c71f313efe24304a4561c6f52a9561cd81c7ed18bb7c1b5f936f4bd7f29cc3f225ccab2dae91f687843ec6fa3f8b991e1e031ad5a6ee7147af744c60f47fee3ed3ce9209600cdbbc70b2b1a1f771a5aeaa39681ba7d7c62cebed17365e88ab6aa90ea9f19e7641045e&iv=9b4b5bfbcbfdf4b750626ffd27e19c40" />
<meta name="Gadgets_pinboardMessageDialog" content="formkey=bc8bd145d6c4ebf473ef2548d17b14da820cdfcc6935fc46848485fdc3ec7b7c11aebcb9ded5db72e7886e5471f57d9f9e8c3b4392b78b912844570c7be09a23587636434b9afa48000c312fe87e55d186fe48add73af795ec1261afe3f5c3d24aa158a33631b1e9d636be9684d7ab5163e0db817535810d44719e5417a4c21e&iv=150f85d3f26878925a327d99b40346e3" />
<meta name="Gadgets_pinboardMessage" content="formkey=b6d208e3b05a2a0885fd283a1cbd4bd298a6e1053dd8389fcddb0dbbf965d18f6a2a3b645ed8995ea329b3871d7e07649ee2f2356e0a2868397c8d50db39200d05c7d10c4fd575f27f144aae965a9669f45ac2daca70c1773d1d70b907fc2805563cf0801cdc945684c47cea6f986302&iv=b02e31cb91e5709419719f61203cf022" />
<meta name="Link_getEmbeddableGadgets" content="formkey=76f2ddc3ae94b24ff200cd099ae4c0adf93fbe775aa5d40904894e78a84da8e0726b4adb6bd7dfcdeec1a6ec075d95a3ed91fcf9610c32996fc42ccece073e0f4350ff6343cbede759187ff9bee80932c6bcf92d5b20cda95c6e0182918c2ae1aee6bdbcb767b898eae6b1b4d1ea63c8b2c844637bab714814e837b878aea8e0&iv=7efa455be536d511426d98ae12663177" />
<meta name="Link_getEmbedProviderView" content="formkey=e0e6bbd4057b3b251a3d2e1cc890eb0e09acc2d1d1cbfd92cbd7c1588c8ac96bb67ceaf4a9f40ec7e8e6ecbd52c79e41a2408646464d379a8e6409437c05f84ef857c882142a5946adc7c1554da6ba80df8470a10944ebb15fde7691623e044a1266ace239a05d3383fede02a1e11cad36ea26c88a3469dd3aa0be029bc10bb4&iv=42012ec94f0098826db211d8989f3837" />
<meta name="Link_getFlashUploadForm" content="formkey=34d61d8bb615604b9c9ae5e3f333e05f54e94c343391dae6d855305800ef29c56d896ef9b23adc68b0551f50af91263d69e283a5d1ea326ef4e0b151dafa9cb3560512ce7b95cdda416ba078050da9b4c1c9de70529874e18954c1b2af1077c7580c7559ad852158a8c18174522b5a8ffa72cf6ce140df2e0883c6522ece140b&iv=0773f2cff4f789981152c10010546760" />
<meta name="Groups_ChooseGroup" content="formkey=ffccbecd0420e6f9147ccf7484e03b2dc02b5487672c1be7ea7ddb8bdb28a7acedec26a0c2aa9e5b419d3f637b54a0c87f6873762447fe61fbb20eec8302261b9cb1f4bd0ee0ee2e0ee8a9508b40f7fbe6d76d735da1fa98ea934edfd19787065cf7f8b65cb9f8828a82446c71f204ba&iv=03f8f8a1b6f773eba8735325059f142c" />
<meta name="Profile_ChooseProfile" content="formkey=c825a64acfba1999ad43b87f24c0d70fd30990d23db380bc33780e19b4b2aac3b8aeae9e3960683734005941cb71d181427326ddf25a0840944d6552977bee38c69e8a0210c485a4d6ffc2881f38f3de619f575a5498d98791fcb179d0a1d4879294c2bb60cb4ef9dc525e223dca2578&iv=8bc6125fbf9d6befa872651060134d60" />
<meta name="Pinboard_ChooseVisual" content="formkey=621af4ec6ac020f3ad3f0e482f7fae693a26803e63b40eb08fa718f63a7a4b797aeea39f652cb59a5a5e53c4dfdd2a854a0551e0df89273c0b48344af6452ece2036ff6cce34b8fbeb33d3e58ee9ab8ee4a1e7dd1234dd672ea4de4c1f9884baaf8811ac3e9150ecbf622394733b400d250b15dec38c9f96088baf73cac0efdd&iv=471e58e61b5eec79a7f405bb4c916726" />
<meta name="Gadgets_getStaticKey" content="formkey=7eee9345b9b0b2b77949cbfd2f594efe78f1c7844d785b3fe6311933198822a0361366f4740c8420584c5d102afdf65c168a50d2e82672975249c2d8558a7705472aed36d9137d30dce96961f1731bcb7507b2373bbe527f1d70c04c02bbb727b57d1f9421ebee378db2e1456a94f3a3&iv=37731011e748fd8888601c97b6a831a6" />
<meta name="Gadgets_feedEntryDialog" content="formkey=3389fc5df7cea6441c0115a5917dff8d9cc4b52094f57d1a037299d0acf7e3e76d1ef525f5e5e17f9be53e6a87daed4cc5cf4f43a938eee44533eacf59cab32ecdc435f014c06fa7f28cd80c6a5a2c21a94dcf8fae5de62d9e7c9a834320bae5373d33ae6e14268920c5ffe3c9145113f2620a37f48c868096b8d235c4559194&iv=3c97bf944fa03c6784dc790b34840678" />
<meta name="Gadgets_feedEntry" content="formkey=6184ff90cf40b380ed5a21e64119d891f58c6e68be88d7acf679066719181d174f760119088ba8f78768a48d44715da68f46ff055c27fd55494fb01dfde668d88892770a2baef1359ece4ee02265843033dc39a9beeb84e7e03c22c36b5b4f91862bd990d2bbc4f2b1adf2d8eaac272b&iv=e59b436c63ce5b52e513535d8af240f1" />
<meta name="Gadgets_getPermissions" content="formkey=cdd5e5ac365ca3bf92747e118dcb1e824a80efba9b8b5a36b3a96068d4646021eb6b21b85064c7a29fc943dd9e530b3d514e4d9746c6555c23f2e5bf5ce410a7b6f53c0d8207778d3aa288ca4f3bfccdfb742676c8d7e6544f4b85840b0ea2865d0bc12338dbc3ead25be27efad69fce&iv=2c06e93ac9527a3403d9f79a541a2049" />
<meta name="Link_postFeedEntry" content="formkey=50fa7fdeb0e264dc9ff1bb80892730376b2d78d59286304a8dc62a6d1f6fd624460d7d2ee8be9e1aa75d9593a1a6e6d9d032d750e2aa79c8ec2321566d543197f811c30ab822b1aa59091290af938f82e5594a9bead151be9067190732c3b0d94f7d89fe7738f627e2c63eec3d2db33e&iv=cb79a08293053f26a070ca4d89b6f82b" />
<meta name="Link_sendMessage" content="formkey=3e31fa5c52305ee649ac815853c18060d18ff16615990cc34de2c0dcdfb4222f8eccd4dd5bc0735d633390e5520652db9860d483ab09688dd78da581da399b7e1b22d6f4fe0faa8135abe811bc7e50ab369a6ceb48e7933ddef371f07f8644be&iv=cadd909eb08ab376c061fa8c5d2194c1" />
<meta name="Badges_postBadge" content="formkey=e94d9dfc3b470469a16f891223bf81dd788a9911cc1d3309bac2c4b735138581144e69e3d6b7ee276c7716bbb1d3152d6b499fb71604e9587da69f1b99363540024a1e816c824c4d3de19a1a45efdbac2d19dc6e9eefd6ee93fb14a47355da03ce0f5d555d0453c7b0f625db08e46341&iv=e2539520871c7e048779c460d854958a" />
<meta name="Profile_getUpdateImageForm" content="formkey=955f22e314cbdf58de553f7f1f5e35ceb68725682f1d8562e002448e9e7591762584c9cbd5b4a4acfe91b00ac5ec7864e80dcb899f9814c3fc1094b1eefd07ad01d9842766e3a1d8502912baacaef692ba6594db222f05b301d4274dd94a85c7ecb100e5c7b25ed83f5f65bc30158ff882a409a2d81a14e13d50fdc4b423ab0c&iv=21c17695f6980457e678a270b741742a" />
<meta name="Profile_updateImage" content="formkey=412513b80b01c947c5110cdab7870e17333aad59ef19f53776d7f61a0b4fa241e134bb44e953897dcb1c113ae3195f42228a501fdeca58a58f802c4f4caa4c7fce4036aafe4254bc2b319e66874db8ea83958cb0fcd989e7312c7cd3daf0949c204f3455ba4fd769d0d95dd21385dd1e3d872f8c2386f0ff21a7a0def4ea9e8a&iv=d4f7bba9146813f2e0f674db6ef9160d" />
<meta name="AccuseIgnore_accusePinboardEntry" content="formkey=85b3374a96ef008b105cf52c0ef4f5ddb4b5f4c258ad28c6eb078a87beb55d2e3e1f64b3d3dc6ff6a845616078f5c4abff915c39bc47e2bbb5222dd7a9e8961726374146d161848876bf9049649b9f447d5411efcb3bee1d3d62b73168e3cf2cb0be01f2fac8df310a780cc4765f3f2ea48e5978e5991fe05a967577fd60b291&iv=a7c1ed999f2c220a348905dca28c3931" />
<meta name="Pinboard_refresh" content="formkey=5179d8ff66e52f422f8fa91ad61f542e708e6945f8fa5b045711bda7a518474fcdd94207db4266b3ffc4768ae3b4033bcf4b89fa5b6d39346af1d3725866e8a54a79ad873e9d4528f223476f0eee77d0f3fa97a77b7231d38932b0b4d327aa8adb6c0be04f02bd2d11dbc45d01f5b260&iv=199f31e6ca392a2124c10e30e016bb05" />
<meta name="Pinboard_delete" content="formkey=9a8fdcee80dfa11192e828defd804f050c99154b895322fc375864a298f23e1ee5f91ee6789b795d6207bb5f556d410568c9333a85f57fe4973b5b7be4a30761f962968e206d0a62c1391381196dfdb687730500ac22caa2b16aeccba2afe557e9eb8878b8af67389df269d76e8d9803&iv=9dab9f9804dda9693d7d463248bb2c6b" />
<meta name="Chat_token" content="formkey=cca81c658896bcbad9b62822021b721eafef55d1a4f516cb12c817875a6a96b18e81a3471125e61181a612ba45f395a17e65bab41913240f138278de013868283cb08b3ee155b42e1c95b5309e81fe27e660dadd4b91a4439833d796689d234d288af9878ea7be196fa947703430da19&iv=876c5e1c53bde96bf2b040d08c7ec25b" />
<meta name="Chat_setStatus" content="formkey=834bef959c28e306e990cdf1d06fcd58f09f8dae5226628a3a65531a3c08bfb31071e0b50cedade61850f923f29c83e09813c4a230961a0126d351102b250024dcb8cadf05d49402a38ff49c8f2220a17474dec3e568b8f03a48fc0f74fbae08902b1b803dbac81956a0993b90add176&iv=d5308a7991ddd9f8d9fb4f70bed0298b" />
<meta name="Friends_addFriendDialog" content="formkey=13b023cfc761bdc60a8f1124c312d67584508884aff6a7c16673db6cb0421514d6d415bf85e9fae0155ec91ddcd8012bf070082dbff1aa94aed622d8a7a4c387e7fedea3e4fde1cde564809d0239c2c5418ed917ebc2c6a4fda781fda9576605fb2ff6880ad913da6be0dbaf90f3e850&iv=bca21c311aafd1fd5b1313ef2062ae4e" />
<meta name="Friends_addFriend" content="formkey=aa2ea405afd18224ca2550ee9bd6fc0d75269469d21d5e37441861691edb6cb1c5a4161e45c6ca00289f0c89a5e25ee16507d50e96ce80768f68847bc733985768e46d9b5e78afc55898f931aeca2b24df18c53af9df8fefa4864859e9eb8863&iv=49a37ffacc4f6f53bc9078c2b67c7346" />
<meta name="Uservoice_feedbackDialog" content="formkey=23dae784a7d029db14aa25f4448f43f6e287d67949ed45909da45f56ec46bc3e7a4a4467b41f9ac8b6b6ddc7112d8efcfe672db5f1de8147cf81a20ee466924186a1c0107dda1be0ae41c268f040886b4563d8ff81699ea37e726f10faa97c0ec27ab03e12917444ce387cfe6d474b52&iv=8e3fd64881332b50197b7d1a1f69062f" />
<meta name="Polls_answerPoll" content="formkey=8f993c375c4402c966bc8fca93322d32dd67d0cfaebd6d74a3c6f6648e6a41d1ad2fec1d382177d2b0f5fc8d62ad5a1629265e417c368ea54b219b66135dc88ddc73d79ba79c75945e5cf0291b53b2a74e15c8c4f4d4b3c9461fc0ff7becc497121ed870c617e852a481a1d239ebf80b&iv=ca8cf99b43561c4788cbd7350e46bb4a" />
<meta name="Polls_diagramView" content="formkey=5ecc27bfc42bff4b7551103822fa5fbcb69fe95eb53c221a3835d2663e2fda9f495ea0db9691fb1977770d9fe987168edd2c49ca9dd33a9dad4d2eb45af0035fe4076874c76f1399f2d47231688c4d8a4c90b7ba00f88329964726554baca3621070bb70c57c6d30aed9fcfeebe1c636&iv=8969873fd9476891c53466751beaf600" />
<meta name="activeModules" content="Profile,Search,Login,StaticContent,Cooperations,Chat,Plauderkasten,Gadgets,Info,Ims,Friends,Advertising,Uservoice,Photos,Privacy,Blog,Messages,Gruscheln,Link,AccuseIgnore,NobleProfile,Microblog,Education,Work,Groups,Pinboard,VoApi,Badges" />
<meta name="pageletName" content="Profile.Profile" />
<link rel="shortcut icon" href="http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Base.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/AccuseIgnore.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Friends.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Education.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Work.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Gadgets.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Gadgets/Gadgets.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Vcard.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Groups.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Photos/PhotoUpload.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Photos/Photos.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Link.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Buschfunk.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Mod_Pinboard.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Profile.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/FestivalRss.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/ManageFriends.css" />
<meta property="og:title" content="Patricia Müller" /> <meta property="og:image" content="http%3A%2F%2Fimg-p3.pe.imagevz.net%2Fprofile2%2F21%2F67%2Fb2ac7a2b9c2fbb10ddb81d46c694%2F1-1c6178cadc937622-s.jpg" />
<script type="text/javascript" src="http://static.pe.meinvz.net/20110328-0/Js/build/resource-core.js"></script>
<script type="text/javascript">
//<![CDATA[
var brs = navigator.userAgent.toLowerCase();
function Adition_BrowserId() {if (brs.search(/msie\s7/) != -1) {return 9;} else if (brs.search(/msie\s8/) != -1) {return 10;} else if (brs.search(/chrome\//) != -1) {return 11;} else if (brs.search(/safari/) != -1) {return 8;} else if (brs.search(/opera/) != -1) {return 7;} else if (brs.search(/konqueror/) != -1) {return 8;} else if (brs.search(/msie\s6/) != -1) {return 3;} else if (brs.search(/msie\s5/) != -1) {return 2;} else if (brs.search(/msie\s4/) != -1) {return 1;} else if (brs.search(/netscape6/) != -1) { return 5;} else if (brs.search(/netscape\/(7\.\d*)/) != -1) {return 5;} else if (brs.search(/netscape4/) != -1) {return 4;} else if ((brs.search(/gecko\//) != -1)) {return 6;} else if ( (brs.search(/mozilla\/(4.\d*)/) != -1) && (brs.search(/msie\s(\d+(\.?\d)*)/) == -1) ) {return 4;} else {return -1;}}
function Adition_OSId() {var os; if ( (brs.search(/windows/) !=-1) || ((brs.search(/win9\d{1}/) !=-1)) ) {if (brs.search(/nt\s5\.1/) != -1) {os=3;} else if (brs.search(/nt\s5\.0/) != -1) {os=2;} else if (brs.search(/nt\s5\.2/) != -1) {os=8;} else if (brs.search(/nt\s6\.0/) != -1) {os=9;} else if (brs.search(/nt\s6\.1/) != -1) {os=10;} else if ( (brs.search(/win98/) != -1) || (brs.search(/windows\s98/)!= -1 ) ) {os=1;} else if (brs.search(/windows\sme/) != -1) {os=1;} else if ( (brs.search(/windows\s95/) != -1) || (brs.search(/win95/)!= -1 ) ) {os=1;} else if ( (brs.search(/nt\s4\.0/) != -1) || (brs.search(/nt4\.0/) ) != -1) {os=4;}return os;} else if (brs.search(/linux/) !=-1) {return 6;} else if (brs.search(/mac\sos\sx/) !=-1) {return 5;} else if ( (brs.search(/macintosh/) !=-1) || (brs.search(/mac\x5fpowerpc/) != -1) ) {return 5;} else if ( (brs.search(/unix/) !=-1) || (brs.search(/x11/) != -1 ) ) {return 7;} else {return -1;}}
function Adition_ResId() {if(screen.width==640 && screen.height==480) {return 1;} else if(screen.width==800 && screen.height==600) {return 2;} else if(screen.width==1024 && screen.height==768) {return 3;} else if(screen.width==1152 && screen.height==864) {return 4;} else if(screen.width==1280 && screen.height==1024) {return 5;} else if(screen.width==1600 && screen.height==1200) {return 6;} else if(screen.width==1280 && screen.height==960) {return 7;} else if(screen.width==1400 && screen.height==1050) {return 8;} else if(screen.width==1280 && screen.height==768) {return 9;} else if(screen.width==1280 && screen.height==800) {return 10;} else if(screen.width==1440 && screen.height==900) {return 11;} else if(screen.width==1680 && screen.height==1050) {return 12;} else if(screen.width==1920 && screen.height==1200) {return 13;} return -1;}
function Adition_Flash() {var f="",n=navigator;if (n.plugins && n.plugins.length) {for (var ii=0;ii<n.plugins.length;ii++) {if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {f=n.plugins[ii].description.split('Shockwave Flash ')[1];i=f.indexOf('.');f=f.substr(0,i);break;}}} else if (window.ActiveXObject) {for (var ii=10;ii>=2;ii--) {try {var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");if (fl) { f=ii; break; }}catch(e) {}}} return f;}; function Adition_Trel() {return '&prf[iug]=14414616644375930622&prf[fhj]=001&iqh=14414616644375930622&ipt=0';};
var ad_wid = Math.round(Math.random()*2000000000);var ad_count = 0;var ref;try{ref=escape(document.referrer);}catch(e){ref='-'}var os;try{os=Adition_OSId();}catch(e){os=''}var browser;try{browser=Adition_BrowserId();}catch(e){browser=''}var screen_res;try{screen_res=Adition_ResId();}catch(e){screen_res=''}var fvers;try{fvers=Adition_Flash();}catch(e){fvers=''} var adition_tag_set=false;
//]]>
</script> <script type="text/javascript">
//<![CDATA[
var requestToken = "WphF-rm2VK6viLOcH_d0x4O6PRV7jzVGc20QXg76fTQ";
//]]>
</script>
</head>
<!-- Du liest Code? Lies auch: http://kurz.nu/r/20 -->
<body class="avz gecko gecko20">
<div id="Grid-Wrapper">
<div id="Grid-Advertising-Top">
<div id="ad728x90">
<script type="text/javascript">/* <![CDATA[ */document.write('<scr'+'ipt type="text/javascript" src="http://studivz.adfarm1.adition.com/banner?wpt=J&sid=50474&wi='+ad_wid+'&ac='+(++ad_count)+'&ref='+ref+'&os='+os+'&browser='+browser+'&screen_res='+screen_res+'&fvers='+fvers+'&prf[iug]=14414616644375930622&prf[fhj]=001&iqh=14414616644375930622&ipt=0&mdev=100"></scr'+'ipt>');/* ]]> */</script></div><script type="text/javascript" src="http://static.pe.meinvz.net/20110328-0/Js/meetrics/adam100111.js"></script> </div>
<div id="Grid-Advertising-Right">
</div>
<div id="Grid-Page">
<div id="Grid-Page-Left">
<div id="Logo">
<a href="/Home" rel="nofollow" title="zur Startseite">
<img src="http://static.pe.meinvz.net/20110328-0/Img/logo.png" alt="Logo meinVz, Link zur Startseite" />
</a>
</div>
<div id="Quicksearch">
<form id="QuickFormSearch" method="post" action="/Search/QuickSearch" class="obj-quicksearch">
<fieldset>
<div id="resultboxAutosuggest"></div>
<div class="labelinside">
<label for="searchfieldAutosuggest">Suche</label>
<input type="text" name="name" id="searchfieldAutosuggest"/>
</div>
<input type="hidden" name="quickSearch" value="1" />
<input type="hidden" id="disableAutosuggest" value="0" />
<input type="hidden" name="formkey" value="2a9375bd1571ee8f93d90ff84c62027e332d580c5d77c8a70982da4cfec337eae7701e54f35df0ce2c8d0886ff294d9b60a8dcea8f7b1b9736fb3da761727f81e93947158b971a938187727360988b22fa9ba852490cb946d8b82a8e104ff2424f2552ce6c2c46c5e893eead8317f6f3" />
<input type="hidden" name="iv" value="4cede1bdd9a7e62ed209766a2ab75d10" />
</fieldset>
</form>
</div>
<ul id="Grid-Navigation-Main" class="obj-linklist">
<li><a href="/Home/tid/101" rel="nofollow" title="Start">Start</a></li> <li class="clearFix"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/102" class="left" rel="nofollow" title="Meine Seite">Meine Seite</a> <a href="/Profile/EditGeneral/tid/109" class="right" rel="nofollow" title="bearbeiten">bearbeiten</a></li> <li><a href="/Friends/All/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/103" rel="nofollow" title="Meine Freunde">Meine Freunde</a></li> <li><a href="/Photos/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/104" rel="nofollow" title="Meine Fotos">Meine Fotos</a></li> <li><a href="/Groups/tid/105" rel="nofollow" title="Meine Gruppen">Meine Gruppen</a></li> <li><a href="/Gadgets/Overview" rel="nofollow" title="Meine Apps und Spiele">Meine Apps und Spiele</a></li> <li><a href="/Messages/tid/106" class="Navi-Messages-Link" rel="nofollow" title="Nachrichtendienst">Nachrichtendienst <span id="messages-navigationlink-unread" data-unread="0">(0)</span></a></li> <li><a href="/Account/Account/tid/107" rel="nofollow" title="Mein Account">Mein Account</a></li> <li><a href="/Privacy/Settings/tid/108" rel="nofollow" title="Privatsphäre">Privatsphäre</a></li> </ul>
<div id="LeftsideBox" class="box rounded simple-ext">
<div class="innerbox">
<p>
<a href="http://www.meinvz.net/C/2637">Ohne Seepferdchen</a> kommste heut nicht mehr weit.</p> </div>
</div>
</div>
<div id="Grid-Page-Center">
<div id="Grid-Page-Center-Top">
<h1>Meinverzeichnis / meinVZ</h1>
<ul id="Grid-Page-Center-Top-Navigation">
<li><a href="/Language/en" rel="nofollow" title="English">English</a></li>
<li><a href="/Search/SearchGlobal/rmC/1/tid/121" rel="nofollow" title="Suche">Suche</a></li>
<li><a href="/Invitation/Invitation//tid/122" rel="nofollow" title="Einladen">Einladen</a></li>
<li><a href="/l/help" rel="nofollow" title="Hilfe">Hilfe</a></li>
<li><a href="/l/mobile_info" title="Handy">Handy</a></li>
<li><a href="http://blog.meinvz.net" rel="nofollow" target="_blank" title="Blog">Blog</a></li>
<li><a href="/Logout/2b069b333aca8e4d37fc82f3eed18f15/tid/127" class="logout" rel="nofollow" title="Raus hier">Raus hier</a></li>
</ul>
</div>
<div id="Grid-Page-Center-Header">
<div id="Grid-Page-Center-Header-Menu">
<input type="hidden" id="Chat-Header-PrivacyUrl" value="/Privacy" />
<input type="hidden" id="Chat-Header-PrivacyUrlSealed" value="/Privacy/Seal" />
<input type="hidden" id="Chat-WindowUrl" value="/Plauderkasten" />
<div id="Chat_Header" class="">
<div id="mini-chat">
<span id="chat-active" style="display:block">
<span id="set-my-status" class="">
<span id="set-my-status-icon" class="my-status-offline" style=""></span>
<span id="my-status-selector" style="display:none">
<p id="my-status-selector-online"><span class="set-my-status-online"></span>eingeschaltet</p>
<p id="my-status-selector-away"><span class="set-my-status-away"></span>abwesend</p>
<p id="my-status-selector-offline" class="active"><span class="set-my-status-offline"></span>ausgeschaltet</p>
</span>
</span>
<a id="header-text" href="JavaScript:void(0)">
<span id="online-status-text">
Plauderkasten </span>
(<span class="online-users-counter">0</span>)
</a>
</span>
<span class="target-amount-unread twodigit" style="display:none">
<span class="target-num">
</span>
</span>
<span class="target-amount-calls twodigit" style="display:none">
<span class="target-num">
</span>
</span>
<div id="message-sound"></div>
</div>
<div id="Sound-Player-New-Message" style="height: 0px; overflow: hidden;"></div>
<div id="Sound-Player-Incoming-AV" style="height: 0px; overflow: hidden;"></div>
</div>
<!-- Start Lovely Code for Mini Chat Notifications -->
<div id="notification-new-message" style="display: none;">
<div class="notification-text">
<span class="target-username">Vorname Nachname</span> hat Dir eine Nachricht geschrieben. </div>
<input class="button" type="button" value=">Lesen" onclick="javascript:openchattab()" />
<input class="button" type="button" value=">Ignorieren" onclick="javascript:closenotification()" />
<div class="clear"></div>
</div>
<!-- End Lovely Code for Mini Chat Notifications -->
<div id="gadget-menu-header">
<ul>
<li>
<script type="text/javascript">
var popupdata = popupdata || {};
popupdata.href = "/Gadgets/Popup/489";
</script>
<a href="javascript:;" class="gadget-featured-link-popup">
Röhre <img src="http://static.pe.meinvz.net/20110328-0/Img/tv.png" alt="Röhre"/>
</a>
</li>
</ul>
</div> </div>
<h1 class="ellipsis" title="Patricia Müllers Seite (Eilenburg)">Patricia Müllers Seite (Eilenburg)</h1> </div>
<div id="Grid-Page-Center-Content">
<div id="shoutboxJs" class="obj-shoutbox hidden">
<div>
<p id="shoutboxJsSuccess" class="success hidden"></p>
<p id="shoutboxJsError" class="error hidden"></p>
</div>
<div class="close">
<a rel="nofollow" href="javascript:;"></a>
</div>
</div>
<div id="Mod-Profile-View" >
<div id="profileLeft" class="obj-box onethird">
<img src="http://img-a3.pe.imagevz.net/profile2/21/67/b2ac7a2b9c2fbb10ddb81d46c694/1-1c6178cadc937622.jpg" class="obj-profileImage" id="profileImage" alt="Patricia Müller" />
<ul class="obj-linklist">
<li><a href="/Friends/All/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Alle Freunde von Patricia</a></li><li><a href="/Messages/WriteMessage/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia eine Nachricht schicken</a></li><li><a href="/Gruscheln/DialogGruscheln/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia gruscheln</a></li><li class="user-showlink"><a href="/Link/User/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia Freunden zeigen</a></li><li>
<a id="accuseIgnoreLink" href="/AccuseIgnore/AccuseIgnore/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">
Patricia melden / ignorieren <input type="hidden" id="accusedUserId" value="8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" />
</a>
</li> </ul>
<div id="MicroBlog" class="obj-innerbox hidden">
<h2>Letzter Funkspruch</h2>
<div id="microblogContent" >
<span class="microblog-guid hidden">8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs</span>
<span class="microblog-ownguid hidden">8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo</span>
<p class="microblogHistory"></p>
<div class="microblogMeta no-float">
</div>
</div>
<input type="hidden" id="MicroBlog-Emoticons" value="{":*":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif",":-*":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif","x-(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_13.gif",":-&#38;":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_12.gif",":-s":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_10.gif",":-o":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_9.gif",":-x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_8.gif",":oops:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_7.gif",":-p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_5.gif",":-((":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_6.gif",":-(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_4.gif",";-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_3.gif",":-D":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_2.gif",":-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_1.gif",":)p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_14.gif",":)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_1.gif",":D":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_2.gif",";)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_3.gif",":((":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_6.gif",":(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_4.gif",":p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_5.gif",":\">":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_7.gif",":x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_8.gif",":o":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_9.gif",":s":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_10.gif","|-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_11.gif",":&#38;":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_12.gif","x(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_13.gif",":h\u00e4:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_15.gif",":vz:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/mVZ_Emoticon_15.gif","8-x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_17.gif",":hmm:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_18.gif",":emo:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_19.gif",":yo:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_20.gif",":kuss:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif",":alien:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_22.gif","$%&#38;1521":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_12.gif","$%&#38;1747":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_13.gif","$%&#38;1853":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_14.gif","$%&#38;1897":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_15.gif","$%&#38;1899":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/mVZ_Emoticon_15.gif","$%&#38;1903":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_16.gif","$%&#38;2189":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_17.gif","$%&#38;2276":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_18.gif","$%&#38;2376":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_19.gif","$%&#38;2454":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_20.gif","$%&#38;2365":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_21.gif","$%&#38;2471":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_22.gif","$%&#38;2498":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_23.gif","$%&#38;2571":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_24.gif","$%&#38;2588":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_25.gif","$%&#38;3333":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_26.gif","$%&#38;4444":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_27.gif","$%&#38;4578":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_28.gif","$%&#38;5555":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_29.gif","$%&#38;5783":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_30.gif","$%&#38;5912":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_31.gif","$%&#38;6173":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_32.gif","$%&#38;6262":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_33.gif","$%&#38;6398":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_34.gif","$%&#38;7834":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_35.gif","$%&#38;7867":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_36.gif","$%&#38;7912":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_37.gif","$%&#38;8121":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_38.gif","*Prost*":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67863&ts=1301488298","*prost*":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67863&ts=1301488298","$%&#38;11":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_11.gif","$%&#38;10":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_10.gif","$%&#38;1":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_1.gif","$%&#38;2":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_2.gif","$%&#38;3":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_3.gif","$%&#38;4":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_4.gif","$%&#38;5":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_5.gif","$%&#38;6":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_6.gif","$%&#38;7":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_7.gif","$%&#38;8":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_8.gif","$%&#38;9":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_9.gif"}"/>
<input type="hidden" id="MicroBlog-Emoticon-Links" value="{"*Prost*":"http:\/\/studivz.adfarm1.adition.com\/redi?sid=68701&kid=67863&ts=1301488298&clickurl=http:\/\/www.studivz.net\/l\/krombacher\/2","*prost*":"http:\/\/studivz.adfarm1.adition.com\/redi?sid=68701&kid=67863&ts=1301488298&clickurl=http:\/\/www.studivz.net\/l\/krombacher\/2"}"/>
</div>
<div class="obj-innerbox">
<h2>Gemeinsame Freunde</h2>
<div class="obj-subbar">
Du hast <a href="/Friends/Common/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">52 gemeinsame Freunde</a> mit Patricia. </div>
<ul class="obj-thumbnaillist">
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsaLH2VjNPN1EFDNgU1Z-hrk"><img src="http://img-p2.pe.imagevz.net/profile1/04/0b/71c16d6ed519ea2be8cb7378867c/1-8a2c92ddcd73104b-s.jpg" alt="Tobi Wan Kenobi"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsaLH2VjNPN1EFDNgU1Z-hrk">Tobi Wan Kenobi</a></div>
</li>
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsXHF9X1Ci41mbDCjBjO78x4"><img src="http://img-p2.pe.imagevz.net/profile1/78/48/82bfba8ffbe4abfd8ac7c6771ca9/1-7e7067dc0215c7eb-s.jpg" alt="David Eckler"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsXHF9X1Ci41mbDCjBjO78x4">David Eckler</a></div>
</li>
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsY5evW-9FWNNA281TgoyrdE"><img src="http://img-p2.pe.imagevz.net/profile1/21/86/0f3dbdd69a40fdf19a47d56d41e1/1-63604fe3a8f9377b-s.jpg" alt="Anja Lieder"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsY5evW-9FWNNA281TgoyrdE">Anja Lieder</a></div>
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde (gleiche Region)</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/48884">40 Freunde</a> in der Region Eilenburg. </div>
<ul class="obj-thumbnaillist">
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsdtYvULBLGCcrCaKKJzmZoc"><img src="http://img-p5.pe.imagevz.net/profile2/76/97/7241c0a40ea47c89495a9053315d/1-7d7112a81068f8e4-s.jpg" alt="Manuela Haberkorn"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsdtYvULBLGCcrCaKKJzmZoc">Manuela Haberkorn</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsTDdDixKtoglOsq-bOMiVAU"><img src="http://img-p3.pe.imagevz.net/profile1/69/51/326f2ecb7d60ac41f502bbae3bdb/1-3d0dde540296bf8a-s.jpg" alt="Daniel Schäfer"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsTDdDixKtoglOsq-bOMiVAU">Daniel Schäfer</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsThl4Es_Mtvfatp7TL47UDA"><img src="http://img-p2.pe.imagevz.net/profile1/48/27/0fdf70ea63f0048148658c92cdfe/1-f76ecf4d974167ff-s.jpg" alt="♥ڿڰۣ«ಌ nIcOlE aKa De StRuPpI ♥ڿڰۣ«ಌ"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsThl4Es_Mtvfatp7TL47UDA">♥ڿڰۣ«ಌ nIcOlE aKa De StRuPpI ♥ڿڰۣ«ಌ</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qscEEPpIqiZqnVRVg34f3xs0"><img src="http://img-p1.pe.imagevz.net/profile1/b8/02/486605428e578b22b77369ed56bb/1-0a8d236ab8ed219f-s.jpg" alt="Stefanie Heinke"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qscEEPpIqiZqnVRVg34f3xs0">Stefanie Heinke</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsa_GIQQMhnGNar6czlDl6WA"><img src="http://img-p4.pe.imagevz.net/profile1/92/16/3410c2c3d51e1a692515507efd43/1-248add2b3c407097-s.jpg" alt="Katrin Lenz"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsa_GIQQMhnGNar6czlDl6WA">Katrin Lenz</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsf2x5UBL1y2zXeLdhR8tymY"><img src="http://img-p1.pe.imagevz.net/profile2/18/92/3a4c44d4d5d94618547eda4bfc00/1-a61db3942e104dcf-s.jpg" alt="Antje Sander"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsf2x5UBL1y2zXeLdhR8tymY">Antje Sander</a></div>
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde (andere Region)</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Other/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">38 Freunde</a> in ... </div>
<ul class="uniList float-left">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3716">Groß-Gerau</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3771">Esslingen</a> (3)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3825">Miesbach</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3959">Leipzig</a> (12)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3960">Delitzsch</a> (12)
</li>
</ul>
<ul class="uniList float-left">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3962">Leipziger Land</a> (5)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3964">Torgau-Oschatz</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/4018">Basel-Landschaft</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/48985">Torgau</a> (1)
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde auf studiVZ</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Platform/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/1">23 Freunde</a> an ... </div>
<ul class="uniList floatL">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/159/1">Uni Leipzig</a> (10)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/160/1">HTWK Leipzig</a> (6)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/295/1">HHL Leipzig</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/368/1">Universität Zürich</a> (1)
</li>
</ul>
<ul class="uniList floatL">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/627/1">BA Leipzig</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/1606/1">DHfPG Leipzig</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/2642/1">Diploma Leipzig</a> (1)
</li>
</ul>
</div>
</div>
<div id="profileRight" class="obj-box twothird">
<div id="Friends-Connection" class="obj-innerbox friendsColumn">
<h2>Verbindung</h2>
<ul class="obj-thumbnaillist">
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo"><img src="http://img-p2.pe.imagevz.net/profile1/91/2a/3a39897272b3606c147ebc52df09/1-38f1d96d822ff36b-s.jpg" alt="Schramme .."/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo">Schramme ..</a></div>
</li>
<li class="last">
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs"><img src="http://img-p3.pe.imagevz.net/profile2/21/67/b2ac7a2b9c2fbb10ddb81d46c694/1-1c6178cadc937622-s.jpg" alt="Patricia Müller"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">Patricia Müller</a></div>
</li>
</ul>
</div>
<div id="Profile_InformationSnipplet" class="obj-innerbox">
<h2>Information</h2>
<div id="P" class="accountStatusOnline clearFix hidden">
<br /><span id="status_8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" class="mobilestatus">Plauderkasten ist an.</span>
</div>
<h3>Account</h3>
<dl id="Mod-Profile-Information-Account" class="obj-keyValueList" >
<dt>Name:</dt>
<dd>
Patricia Müller
</dd>
<dt>Verzeichnis:</dt>
<dd>
<img src="http://static.pe.meinvz.net/20110328-0/Img/Logos/mvzLogo15px.gif" alt="meinVZ"/>
</dd>
<dt>Mitglied seit:</dt>
<dd>25.01.2011</dd>
<dt>Letztes Update:</dt>
<dd>31.01.2011</dd>
</dl><h3>Allgemeines</h3>
<dl id="Mod-Profile-Information-General" class="obj-keyValueList">
<dt>Region:</dt>
<dd>
<a href="/Search/SearchSuper/platform/3/uni/48884/doSearch/1/rmC/1">Eilenburg</a> </dd>
<dt>Status:</dt>
<dd>im Berufsleben</dd>
<dt>Geschlecht:</dt>
<dd><a href="/Search/SearchSuper/gender/1/platform/3/doSearch/1/rmC/1">weiblich</a></dd>
<dt>Geburtstag:</dt>
<dd>
27.07. <a href="/Birthday" class="icon icon-calendar">Zum Kalender</a>
</dd>
</dl>
<h3>Persönliches</h3>
</div><div id="gadgets-list">
</div>
<div id="Mod-Groups-Snipplet" class="obj-innerbox">
<h2>Gruppen </h2>
<ul>
<li>
<a href="/Groups/Overview/104946e7f0460efd">ERZ10 Rote Jahne</a>
</li>
<li>
<a href="/Groups/Overview/85d1878aa2fcd4ec">ex-schiller-schule-schüler-eilenburg</a>
</li>
<li>
<a href="/Groups/Overview/a99fee2ca081b68e">Neulinge im VZ</a>
</li>
</ul>
</div><div id="Mod-Pinboard-Snipplet" class="obj-innerbox">
<h2>Pinnwand</h2>
<div class="obj-subbar">
<div class="obj-subbar-info">
Zeige 9 von <a href="/Pinboard/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/p/1">
9 Einträgen </a>
</div>
<div class="obj-subbar-actions">
<a href="javascript:;" name="showForm" class="showForm" >Etwas schreiben</a>
| <a href="/Pinboard/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/p/1">
Alle ansehen </a>
</div>
</div>
<div class="write-panel pinboard-write" style="display:none;">
<form action="" method="post">
<script type="text/javascript">
embedHidden = function() { return false;};
</script> <fieldset>
<div class="form-row">
<div class="hint hidden">Bitte schreib etwas.</div><label for="Pinboard_entry" class="floatL">Eintrag: </label><textarea id="Pinboard_entry" rows="6" cols="45" title="Bitte schreib etwas." name="entry"></textarea> </div>
<div id="Pinboard-Embed-Container" class="hint form-row"></div>
<div class="hint">
noch <span id="pinboardCharsCount"></span> Zeichen </div>
<input type="hidden" name="referrer" value="overview" />
<input type="hidden" name="userId" value="8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" />
<div class="form-buttons">
<input class="button" type="submit" value="Abschicken" />
<input class="button" type="reset" value="Doch nicht" />
</div>
<input type="hidden" name="formkey" value="8bafddf482eedc492d479929c197f75234a3117d034b9ec2609b25a30208f616ea9e79ea94e46d52be0e91e405a097fe00e0ff2fb6fe220006ae151e00f7289d26946ac1262b5dab7d97825f45448b595c20f01501cd7fc82a89be5c1aaafd3d3548ec0ad49d8997a865ceee8a57b7de" />
<input type="hidden" name="iv" value="fdd1bc749d8638d8dca4a6cb7c614974" />
</fieldset>
<input type="hidden" id="emoticonArray" value="{"#alles-gute1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_AllesGute.jpg","#danke1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100123_Pinnwandvisual_Danke.jpg","#du-ich#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-du-ich_2009.gif","#fit-wie-ein-turnschuh#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_3_3.gif","#gib-mir-5#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_GibMir5.jpg","#glueckwunsch1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_Glueckwunsch.jpg","#gruesse#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisual05.jpg","#gute-besserung1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_2_2.jpg","#hallo1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisual04aVZsVZ.jpg","#herz1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/herz.png","#heute-abend#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisuals10.png","#hut-ab1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_HutAb.jpg","#ich-liebe-dich#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/liebe.gif","#knutscha#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/knutscha.gif","#liebe-regnen#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/regnen.png","#liebe-regnen1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/regnen.png","#mag-dich1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single08.png","#nie-wieder#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_NieWieder.jpg","#party#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single07.jpg","#schnell-auf-die-beine#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_4.gif","#sei-nicht-boese#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_SeiNichtBoese.jpg","#sei-stolz#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_SeiStolz.jpg","#traum#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single02_2.png","#verzeihst-du-mir#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100123_Pinnwandvisual_Verzeihen.jpg","#viel-glueck1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_VielGlueck.jpg","#wirklich-krank#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_1_2.jpg","#wochenende#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101008_PV_Single04.jpg","#aktiv#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112203&bid=324348&ts=1301517583","#aok-aktiv-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112203&bid=324348&ts=1301517583","#aok-beauty-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112252&bid=324725&ts=1301517583","#aok-chillout-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112217&bid=324445&ts=1301517583","#aok-fun-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112218&bid=324448&ts=1301517583","#aok-wellness-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112240&bid=324699&ts=1301517583","#chillout#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112217&bid=324445&ts=1301517583","#woisttil#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68340&kid=118669&bid=349721&ts=[timestamp]&ts=1301517583","#collbleiben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#colldrauf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#coolbleiben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#coolblieben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#cooldaruf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#cooldrauf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#herz-tanzt#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual03.jpg","#herzen#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual02.jpg","#kaffee#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual01.jpg","#mein-typ#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual7.jpg","#fruehlingsgruesse#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzblume.gif","#hurra#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Schmetterlinge.gif","#pusteblume#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzwolke.gif","#pusteblume1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Pusteblume.gif","#sonne#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzwolke.gif","#zauberhaft#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Vogel.gif","#baby1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals01.jpg","#baby2#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals03.jpg","#fratz#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals05.jpg","#lieferzeit#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals02.jpg","#sonnenschein#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals04.jpg","#geb-dick#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_6.gif","#geb-geschenke#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_10.jpg","#geb-hase#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_3.gif","#geb-hund#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_2.jpg","#geb-kuchen#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_13.jpg","#geb-lumpi#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_5_neu.jpg","#geb-party#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_9.jpg","#geb-rente#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_4.gif","#geb-torte#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_11.jpg","#got2b#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67874&ts=1301517583","#got2b-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583","#got2be#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67874&ts=1301517583","#got2be-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583","#got2bevote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583",
Untitled JavaScript (30-Mar @ 22:29)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- [582 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script type="text/javascript">
//<![CDATA[
var PHX_PAGELOAD_START = new Date().getTime();
document.cookie = "Pm=; path=/";
//]]>
</script>
<title>meinVZ | Patricia Müller</title>
<meta name="description" content="meinVZ ist eine kostenlose Kommunikationsplattform. Jeder Nutzer kann hier seine persönlichen Netzwerke pflegen, mit Freunden und Bekannten in Kontakt bleiben und neue Verbindungen herstellen - auch zu den Mitgliedern von studiVZ. Das Netzwerk aus studiVZ und meinVZ ist die größte und aktivste Online-Community Deutschlands." />
<meta name="keywords" content="Studenten, students" />
<meta name="ajaxUrl" content="/Ajax" />
<meta name="platformId" content="Avz" />
<meta name="platformUrlOther" content="http://www.studivz.net" />
<meta name="staticServer" content="http://static.pe.meinvz.net/20110328-0" />
<meta name="oembedServer" content="" />
<meta name="noCacheFlag" content="20110328-0" />
<meta name="msapplication-task" content="name=Start;action-uri=http://www.meinvz.net/Home/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Freunde;action-uri=http://www.meinvz.net/Friends/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Fotos;action-uri=http://www.meinvz.net/Photos/Slideshow;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Gruppen;action-uri=http://www.meinvz.net/Groups/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Nachrichtendienst;action-uri=http://www.meinvz.net/Messages/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="Search_getFriendlist" content="formkey=7d2110d8c5b06cfaf97f25156971a6cf8c70ebb621a1ab9bd0086289a38df9ea654f106452d50bcab4a0f896e64849962745febaf29517b0ace5ae2fe07ad61b743ac8c3e1278fe61d4a30278154383f584fc68003ec3e328704dd88575b6d218d7b9df69705590e17d93082e37bb141&iv=7a59f230e4a76d9a181ca9767231d965" />
<meta name="AccuseIgnore_accuseIgnore" content="formkey=8b5c897a66c361df5fa12332aa3c2f6e6105404eccf31729261b8e40808e56cfad70765961d396bd1f35d96d531929da15b36734100d815102100b70ca572526fbe7179552773002f26c501de1103cbf2d68b1f243541ad7c2c6633c3fb5cb718238a344d280dc959febf0874a62ec6952b531b765dca7fdd739979e937f63ea&iv=ab932745682873aab3d5247bfb47d555" />
<meta name="Photos_getSliderData" content="formkey=22f100f47f16f980b82f7090bebc3d8460ec19c19b00f0a8122db499915d98ae7b2f9461b7dda502bd7c12baf56455c25bb65206d8867d5687c921f94e393825b34b2b6a4cccc32ef7bd84b71341545b04b8f05f871e4ade3c7629bd95b68bc1078043bd539e9ee2b9e357e23017a557&iv=81554b2bdaf038aa0b8f3c70771fc501" />
<meta name="Friends_bigPathRender" content="formkey=cce1b9d29caf0c6fa4507383c5a3cf4109641fa41ab8b30a2c56553d31df55934846220c5c8d98f570042fb701d779afdbf564007605928b03ad77854adf30adf3e4715068b9bacbad761426acec839cd76920b2c52315c11dfa2916a4dd9a8a21bd9399ceb3835d5fae2fb764685dd7&iv=a3b96aa20dd57bc76d5253c19d7d9c22" />
<meta name="Photos_getUserAlbums" content="formkey=3068a34d3ce0a32980b31e6b7df41fc53c561906c4af579f64e843cfd030b77b7246d248dcd35078ff12dfc64e557518ac8a95b2bfe3d19ff20921aa8778f14fa8a7b71f5051ae1bb550d3779b4cf5d49388364ad5eecffcfde899bbc267f5b5106278cd452c3f2719acd63332bdcaa1&iv=0c92f0e9119b9ee4bfacab15a01bd830" />
<meta name="Photos_getAlbumPhotos" content="formkey=8b692cb187a573d05445d62fc4a601323b916ffe32f022aede59029d1d7a671ae22575b6a5e55ac18e2064c38d1882274bd7316c2601d7b4fec77cd1f55fb450c05c6cde3d353c91bcda869762fe5521e15d41f2627a2701dd226749489bfcc3adfc3e7463c0e27be5ee307d3a384203&iv=30bef3fe1b3a94782dbefb6551a9118e" />
<meta name="Link_imageUpload" content="formkey=684da12683e753422fdfe442086b78c73de5fb8d031ef625243bcb73d391789edc4ddca97dae3b19b343876fa6a2e2c86144a8431ed4efc626818b4e6647e6e0bad8b2e8b71d05f7656a5ad88c138330ea7d6db99f5210138428bee15a1ce5dd6e7c72536fa25d810d9d3b05d19f00ae&iv=bf141131087d3f1e6ca27f87e2d1dacd" />
<meta name="Link_embedImage" content="formkey=5b59c47270411b64beec6281abfd3323a32d6979474069b0ff54e484caaa502434e821aa1c3580cd58e7dd4baad89653a6e07cc5b43608da06a70f6e635a496a3329060b23cb58ec0072c828f46d715e98f880f092bb7eb3f81f4d305ae9f5dc1bec1a80c131639984343de1d4a1a896&iv=b2960fe4664fef6634b4d0bb8712be22" />
<meta name="Link_embedContent" content="formkey=701ab511f3c9c62ebe31148e9e2f5a9f15a4152f5bd80f7d49f3f0579989b6095c96b3d2902844ab5e441951289f29367b71fc71f8cfdf9c360e218299874f6d26f928760a6b402512c8aa43811a659aee20e79cbe0b8e463c13450d19ad029914b372a350dcf6eee89668e59e9e07db&iv=8f6a246da90f5c7807dd39e8719568e9" />
<meta name="Gadgets_CreateUniqueToken" content="formkey=5d821ac1bde379b54b6621b2370532430b2b1e408ec3e8d21896086e60ce4fc90a85b0bcc651274bcf768a44d202e3c15e8f3d49f96f39610a8043bc91df99885bef75b1f8f74dd73270825244ca3174959f2e739e9195c76440f8cced87211c6549b512179473f3907aba651a55e27d&iv=1e56b134a21b24bdb4d4cd4d9f187ce2" />
<meta name="Gadgets_getVcardInformation" content="formkey=2ae80fa457cd4b0321fcd9f28af0f1169c944a84eca4875e87ac63f850a382cff466bd8d5ae749ff808c42374485331b52cf5f4fe4912344b91e73560ee37148494f0d23f0de828499c334a81621c986512c9291f3b227219477805897ac7e4bedec489a71bbe1d6f57c0ecb116330f2&iv=23c9b43f39491bca9f0b6e26048feb1b" />
<meta name="Vcard_getProfileData" content="formkey=0550739c9c89807c260e4b83ed2bf786760ba90d1f72a377ff7a0d61f3586420d8c3c9731402d3fad467c151163efb5bfdfee306ffade6ad599aab52fd7661c219df0512ec2894ccc292f7c982dd8ec6404736fb658815ed60a3b43b8fab9b7c5c7dd43954ae6acd31d95bae57b50d14&iv=1e106702f11150bd6d3598af80c2e132" />
<meta name="Vcard_getVcardData" content="formkey=cdac9968f34fa74b8eb400b94d9b7dead755aa7ce423425991e9cd1c3a132bf81935d5a5153267fa8addcc29a7dee0beb85d2e7b9ccfde55996bd8187c188934ab97e5c31a01ba548389df6e216ac5c5d69fc6a6c3af82d316fa7550b053e3572fe48f17d808afccf4f9589cdac0b567&iv=4dadde1b8915654adb1b2e107b23a054" />
<meta name="Gadgets_getVcardForm" content="formkey=4e26171d6e917861642cd1bf645f8464ebe1292a7d408cca58c9d9f27abeca4913fe756d7a1fdee3d81cef9e6136d5cbe6b4d5202d84e3961f9c723bc69fd870724f7a8d4c6f281e98ac32adeae0b50f42bad2e65d4967c498f84d3c46e27f4ff833d360389e1e1b0bac4c332b6c3e9d6b04041ab0dff3dd09c8366540c68ef7&iv=ae74ca5a56b9f153c7df030a71cd71c0" />
<meta name="Gadgets_GetSecurityToken" content="formkey=398ef07989c77c25c295e9c0926fa1896ec1ca56c05105d80241848317c810ed7b4db1b61250ae4f873e8f3eaa4664ebc9db14525d3c19b49fbddc9e1c2e2893a67369826dc85536d363a4ede87da569aac0984decdfc0b796dd4923a829b78445631ba2e1616a270f85683d18925fd3&iv=0e16494cc79b6dac125747c67b2b976b" />
<meta name="Gadgets_getAdTag" content="formkey=924c514c504fa0b183aaaf6c2f22f11d396efc07575f32c377a0534b91a30aea0db1c514e8ca5197360e902973b65e9b36df6b9ace6043c26bcc2ac68a1d8b52e6fd15956ea7ff9d7d7d4d4817545c0b721443ea11d76cb3a5d8190b2c7215c0b80ae0ecc9fcc5a1012a36ef5a85f619&iv=7e5c0713ac9148523b8d60e6c580e3ba" />
<meta name="Gadgets_writeMessage" content="formkey=b1ddf17a8252674be13e2e31e4198a3a977fc994374af474267518232c84f126aedb84b9ecb42a60a237d0a6c96eac3aa8636c8f06329bf82176c0c16b9e88b1238ac7a866030d404e730a7dfa1c759f167d4ad82481c82259c3855519cef7a5884608aaab3983adfe1d559d01108998&iv=1b1c5b5f0d4515c07d7953cf67fa889f" />
<meta name="Gadgets_replyMessage" content="formkey=636b1356def289c71f313efe24304a4561c6f52a9561cd81c7ed18bb7c1b5f936f4bd7f29cc3f225ccab2dae91f687843ec6fa3f8b991e1e031ad5a6ee7147af744c60f47fee3ed3ce9209600cdbbc70b2b1a1f771a5aeaa39681ba7d7c62cebed17365e88ab6aa90ea9f19e7641045e&iv=9b4b5bfbcbfdf4b750626ffd27e19c40" />
<meta name="Gadgets_pinboardMessageDialog" content="formkey=bc8bd145d6c4ebf473ef2548d17b14da820cdfcc6935fc46848485fdc3ec7b7c11aebcb9ded5db72e7886e5471f57d9f9e8c3b4392b78b912844570c7be09a23587636434b9afa48000c312fe87e55d186fe48add73af795ec1261afe3f5c3d24aa158a33631b1e9d636be9684d7ab5163e0db817535810d44719e5417a4c21e&iv=150f85d3f26878925a327d99b40346e3" />
<meta name="Gadgets_pinboardMessage" content="formkey=b6d208e3b05a2a0885fd283a1cbd4bd298a6e1053dd8389fcddb0dbbf965d18f6a2a3b645ed8995ea329b3871d7e07649ee2f2356e0a2868397c8d50db39200d05c7d10c4fd575f27f144aae965a9669f45ac2daca70c1773d1d70b907fc2805563cf0801cdc945684c47cea6f986302&iv=b02e31cb91e5709419719f61203cf022" />
<meta name="Link_getEmbeddableGadgets" content="formkey=76f2ddc3ae94b24ff200cd099ae4c0adf93fbe775aa5d40904894e78a84da8e0726b4adb6bd7dfcdeec1a6ec075d95a3ed91fcf9610c32996fc42ccece073e0f4350ff6343cbede759187ff9bee80932c6bcf92d5b20cda95c6e0182918c2ae1aee6bdbcb767b898eae6b1b4d1ea63c8b2c844637bab714814e837b878aea8e0&iv=7efa455be536d511426d98ae12663177" />
<meta name="Link_getEmbedProviderView" content="formkey=e0e6bbd4057b3b251a3d2e1cc890eb0e09acc2d1d1cbfd92cbd7c1588c8ac96bb67ceaf4a9f40ec7e8e6ecbd52c79e41a2408646464d379a8e6409437c05f84ef857c882142a5946adc7c1554da6ba80df8470a10944ebb15fde7691623e044a1266ace239a05d3383fede02a1e11cad36ea26c88a3469dd3aa0be029bc10bb4&iv=42012ec94f0098826db211d8989f3837" />
<meta name="Link_getFlashUploadForm" content="formkey=34d61d8bb615604b9c9ae5e3f333e05f54e94c343391dae6d855305800ef29c56d896ef9b23adc68b0551f50af91263d69e283a5d1ea326ef4e0b151dafa9cb3560512ce7b95cdda416ba078050da9b4c1c9de70529874e18954c1b2af1077c7580c7559ad852158a8c18174522b5a8ffa72cf6ce140df2e0883c6522ece140b&iv=0773f2cff4f789981152c10010546760" />
<meta name="Groups_ChooseGroup" content="formkey=ffccbecd0420e6f9147ccf7484e03b2dc02b5487672c1be7ea7ddb8bdb28a7acedec26a0c2aa9e5b419d3f637b54a0c87f6873762447fe61fbb20eec8302261b9cb1f4bd0ee0ee2e0ee8a9508b40f7fbe6d76d735da1fa98ea934edfd19787065cf7f8b65cb9f8828a82446c71f204ba&iv=03f8f8a1b6f773eba8735325059f142c" />
<meta name="Profile_ChooseProfile" content="formkey=c825a64acfba1999ad43b87f24c0d70fd30990d23db380bc33780e19b4b2aac3b8aeae9e3960683734005941cb71d181427326ddf25a0840944d6552977bee38c69e8a0210c485a4d6ffc2881f38f3de619f575a5498d98791fcb179d0a1d4879294c2bb60cb4ef9dc525e223dca2578&iv=8bc6125fbf9d6befa872651060134d60" />
<meta name="Pinboard_ChooseVisual" content="formkey=621af4ec6ac020f3ad3f0e482f7fae693a26803e63b40eb08fa718f63a7a4b797aeea39f652cb59a5a5e53c4dfdd2a854a0551e0df89273c0b48344af6452ece2036ff6cce34b8fbeb33d3e58ee9ab8ee4a1e7dd1234dd672ea4de4c1f9884baaf8811ac3e9150ecbf622394733b400d250b15dec38c9f96088baf73cac0efdd&iv=471e58e61b5eec79a7f405bb4c916726" />
<meta name="Gadgets_getStaticKey" content="formkey=7eee9345b9b0b2b77949cbfd2f594efe78f1c7844d785b3fe6311933198822a0361366f4740c8420584c5d102afdf65c168a50d2e82672975249c2d8558a7705472aed36d9137d30dce96961f1731bcb7507b2373bbe527f1d70c04c02bbb727b57d1f9421ebee378db2e1456a94f3a3&iv=37731011e748fd8888601c97b6a831a6" />
<meta name="Gadgets_feedEntryDialog" content="formkey=3389fc5df7cea6441c0115a5917dff8d9cc4b52094f57d1a037299d0acf7e3e76d1ef525f5e5e17f9be53e6a87daed4cc5cf4f43a938eee44533eacf59cab32ecdc435f014c06fa7f28cd80c6a5a2c21a94dcf8fae5de62d9e7c9a834320bae5373d33ae6e14268920c5ffe3c9145113f2620a37f48c868096b8d235c4559194&iv=3c97bf944fa03c6784dc790b34840678" />
<meta name="Gadgets_feedEntry" content="formkey=6184ff90cf40b380ed5a21e64119d891f58c6e68be88d7acf679066719181d174f760119088ba8f78768a48d44715da68f46ff055c27fd55494fb01dfde668d88892770a2baef1359ece4ee02265843033dc39a9beeb84e7e03c22c36b5b4f91862bd990d2bbc4f2b1adf2d8eaac272b&iv=e59b436c63ce5b52e513535d8af240f1" />
<meta name="Gadgets_getPermissions" content="formkey=cdd5e5ac365ca3bf92747e118dcb1e824a80efba9b8b5a36b3a96068d4646021eb6b21b85064c7a29fc943dd9e530b3d514e4d9746c6555c23f2e5bf5ce410a7b6f53c0d8207778d3aa288ca4f3bfccdfb742676c8d7e6544f4b85840b0ea2865d0bc12338dbc3ead25be27efad69fce&iv=2c06e93ac9527a3403d9f79a541a2049" />
<meta name="Link_postFeedEntry" content="formkey=50fa7fdeb0e264dc9ff1bb80892730376b2d78d59286304a8dc62a6d1f6fd624460d7d2ee8be9e1aa75d9593a1a6e6d9d032d750e2aa79c8ec2321566d543197f811c30ab822b1aa59091290af938f82e5594a9bead151be9067190732c3b0d94f7d89fe7738f627e2c63eec3d2db33e&iv=cb79a08293053f26a070ca4d89b6f82b" />
<meta name="Link_sendMessage" content="formkey=3e31fa5c52305ee649ac815853c18060d18ff16615990cc34de2c0dcdfb4222f8eccd4dd5bc0735d633390e5520652db9860d483ab09688dd78da581da399b7e1b22d6f4fe0faa8135abe811bc7e50ab369a6ceb48e7933ddef371f07f8644be&iv=cadd909eb08ab376c061fa8c5d2194c1" />
<meta name="Badges_postBadge" content="formkey=e94d9dfc3b470469a16f891223bf81dd788a9911cc1d3309bac2c4b735138581144e69e3d6b7ee276c7716bbb1d3152d6b499fb71604e9587da69f1b99363540024a1e816c824c4d3de19a1a45efdbac2d19dc6e9eefd6ee93fb14a47355da03ce0f5d555d0453c7b0f625db08e46341&iv=e2539520871c7e048779c460d854958a" />
<meta name="Profile_getUpdateImageForm" content="formkey=955f22e314cbdf58de553f7f1f5e35ceb68725682f1d8562e002448e9e7591762584c9cbd5b4a4acfe91b00ac5ec7864e80dcb899f9814c3fc1094b1eefd07ad01d9842766e3a1d8502912baacaef692ba6594db222f05b301d4274dd94a85c7ecb100e5c7b25ed83f5f65bc30158ff882a409a2d81a14e13d50fdc4b423ab0c&iv=21c17695f6980457e678a270b741742a" />
<meta name="Profile_updateImage" content="formkey=412513b80b01c947c5110cdab7870e17333aad59ef19f53776d7f61a0b4fa241e134bb44e953897dcb1c113ae3195f42228a501fdeca58a58f802c4f4caa4c7fce4036aafe4254bc2b319e66874db8ea83958cb0fcd989e7312c7cd3daf0949c204f3455ba4fd769d0d95dd21385dd1e3d872f8c2386f0ff21a7a0def4ea9e8a&iv=d4f7bba9146813f2e0f674db6ef9160d" />
<meta name="AccuseIgnore_accusePinboardEntry" content="formkey=85b3374a96ef008b105cf52c0ef4f5ddb4b5f4c258ad28c6eb078a87beb55d2e3e1f64b3d3dc6ff6a845616078f5c4abff915c39bc47e2bbb5222dd7a9e8961726374146d161848876bf9049649b9f447d5411efcb3bee1d3d62b73168e3cf2cb0be01f2fac8df310a780cc4765f3f2ea48e5978e5991fe05a967577fd60b291&iv=a7c1ed999f2c220a348905dca28c3931" />
<meta name="Pinboard_refresh" content="formkey=5179d8ff66e52f422f8fa91ad61f542e708e6945f8fa5b045711bda7a518474fcdd94207db4266b3ffc4768ae3b4033bcf4b89fa5b6d39346af1d3725866e8a54a79ad873e9d4528f223476f0eee77d0f3fa97a77b7231d38932b0b4d327aa8adb6c0be04f02bd2d11dbc45d01f5b260&iv=199f31e6ca392a2124c10e30e016bb05" />
<meta name="Pinboard_delete" content="formkey=9a8fdcee80dfa11192e828defd804f050c99154b895322fc375864a298f23e1ee5f91ee6789b795d6207bb5f556d410568c9333a85f57fe4973b5b7be4a30761f962968e206d0a62c1391381196dfdb687730500ac22caa2b16aeccba2afe557e9eb8878b8af67389df269d76e8d9803&iv=9dab9f9804dda9693d7d463248bb2c6b" />
<meta name="Chat_token" content="formkey=cca81c658896bcbad9b62822021b721eafef55d1a4f516cb12c817875a6a96b18e81a3471125e61181a612ba45f395a17e65bab41913240f138278de013868283cb08b3ee155b42e1c95b5309e81fe27e660dadd4b91a4439833d796689d234d288af9878ea7be196fa947703430da19&iv=876c5e1c53bde96bf2b040d08c7ec25b" />
<meta name="Chat_setStatus" content="formkey=834bef959c28e306e990cdf1d06fcd58f09f8dae5226628a3a65531a3c08bfb31071e0b50cedade61850f923f29c83e09813c4a230961a0126d351102b250024dcb8cadf05d49402a38ff49c8f2220a17474dec3e568b8f03a48fc0f74fbae08902b1b803dbac81956a0993b90add176&iv=d5308a7991ddd9f8d9fb4f70bed0298b" />
<meta name="Friends_addFriendDialog" content="formkey=13b023cfc761bdc60a8f1124c312d67584508884aff6a7c16673db6cb0421514d6d415bf85e9fae0155ec91ddcd8012bf070082dbff1aa94aed622d8a7a4c387e7fedea3e4fde1cde564809d0239c2c5418ed917ebc2c6a4fda781fda9576605fb2ff6880ad913da6be0dbaf90f3e850&iv=bca21c311aafd1fd5b1313ef2062ae4e" />
<meta name="Friends_addFriend" content="formkey=aa2ea405afd18224ca2550ee9bd6fc0d75269469d21d5e37441861691edb6cb1c5a4161e45c6ca00289f0c89a5e25ee16507d50e96ce80768f68847bc733985768e46d9b5e78afc55898f931aeca2b24df18c53af9df8fefa4864859e9eb8863&iv=49a37ffacc4f6f53bc9078c2b67c7346" />
<meta name="Uservoice_feedbackDialog" content="formkey=23dae784a7d029db14aa25f4448f43f6e287d67949ed45909da45f56ec46bc3e7a4a4467b41f9ac8b6b6ddc7112d8efcfe672db5f1de8147cf81a20ee466924186a1c0107dda1be0ae41c268f040886b4563d8ff81699ea37e726f10faa97c0ec27ab03e12917444ce387cfe6d474b52&iv=8e3fd64881332b50197b7d1a1f69062f" />
<meta name="Polls_answerPoll" content="formkey=8f993c375c4402c966bc8fca93322d32dd67d0cfaebd6d74a3c6f6648e6a41d1ad2fec1d382177d2b0f5fc8d62ad5a1629265e417c368ea54b219b66135dc88ddc73d79ba79c75945e5cf0291b53b2a74e15c8c4f4d4b3c9461fc0ff7becc497121ed870c617e852a481a1d239ebf80b&iv=ca8cf99b43561c4788cbd7350e46bb4a" />
<meta name="Polls_diagramView" content="formkey=5ecc27bfc42bff4b7551103822fa5fbcb69fe95eb53c221a3835d2663e2fda9f495ea0db9691fb1977770d9fe987168edd2c49ca9dd33a9dad4d2eb45af0035fe4076874c76f1399f2d47231688c4d8a4c90b7ba00f88329964726554baca3621070bb70c57c6d30aed9fcfeebe1c636&iv=8969873fd9476891c53466751beaf600" />
<meta name="activeModules" content="Profile,Search,Login,StaticContent,Cooperations,Chat,Plauderkasten,Gadgets,Info,Ims,Friends,Advertising,Uservoice,Photos,Privacy,Blog,Messages,Gruscheln,Link,AccuseIgnore,NobleProfile,Microblog,Education,Work,Groups,Pinboard,VoApi,Badges" />
<meta name="pageletName" content="Profile.Profile" />
<link rel="shortcut icon" href="http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Base.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/AccuseIgnore.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Friends.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Education.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Work.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Gadgets.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Gadgets/Gadgets.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Vcard.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Groups.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Photos/PhotoUpload.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Photos/Photos.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Link.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Buschfunk.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Mod_Pinboard.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Profile.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/FestivalRss.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/ManageFriends.css" />
<meta property="og:title" content="Patricia Müller" /> <meta property="og:image" content="http%3A%2F%2Fimg-p3.pe.imagevz.net%2Fprofile2%2F21%2F67%2Fb2ac7a2b9c2fbb10ddb81d46c694%2F1-1c6178cadc937622-s.jpg" />
<script type="text/javascript" src="http://static.pe.meinvz.net/20110328-0/Js/build/resource-core.js"></script>
<script type="text/javascript">
//<![CDATA[
var brs = navigator.userAgent.toLowerCase();
function Adition_BrowserId() {if (brs.search(/msie\s7/) != -1) {return 9;} else if (brs.search(/msie\s8/) != -1) {return 10;} else if (brs.search(/chrome\//) != -1) {return 11;} else if (brs.search(/safari/) != -1) {return 8;} else if (brs.search(/opera/) != -1) {return 7;} else if (brs.search(/konqueror/) != -1) {return 8;} else if (brs.search(/msie\s6/) != -1) {return 3;} else if (brs.search(/msie\s5/) != -1) {return 2;} else if (brs.search(/msie\s4/) != -1) {return 1;} else if (brs.search(/netscape6/) != -1) { return 5;} else if (brs.search(/netscape\/(7\.\d*)/) != -1) {return 5;} else if (brs.search(/netscape4/) != -1) {return 4;} else if ((brs.search(/gecko\//) != -1)) {return 6;} else if ( (brs.search(/mozilla\/(4.\d*)/) != -1) && (brs.search(/msie\s(\d+(\.?\d)*)/) == -1) ) {return 4;} else {return -1;}}
function Adition_OSId() {var os; if ( (brs.search(/windows/) !=-1) || ((brs.search(/win9\d{1}/) !=-1)) ) {if (brs.search(/nt\s5\.1/) != -1) {os=3;} else if (brs.search(/nt\s5\.0/) != -1) {os=2;} else if (brs.search(/nt\s5\.2/) != -1) {os=8;} else if (brs.search(/nt\s6\.0/) != -1) {os=9;} else if (brs.search(/nt\s6\.1/) != -1) {os=10;} else if ( (brs.search(/win98/) != -1) || (brs.search(/windows\s98/)!= -1 ) ) {os=1;} else if (brs.search(/windows\sme/) != -1) {os=1;} else if ( (brs.search(/windows\s95/) != -1) || (brs.search(/win95/)!= -1 ) ) {os=1;} else if ( (brs.search(/nt\s4\.0/) != -1) || (brs.search(/nt4\.0/) ) != -1) {os=4;}return os;} else if (brs.search(/linux/) !=-1) {return 6;} else if (brs.search(/mac\sos\sx/) !=-1) {return 5;} else if ( (brs.search(/macintosh/) !=-1) || (brs.search(/mac\x5fpowerpc/) != -1) ) {return 5;} else if ( (brs.search(/unix/) !=-1) || (brs.search(/x11/) != -1 ) ) {return 7;} else {return -1;}}
function Adition_ResId() {if(screen.width==640 && screen.height==480) {return 1;} else if(screen.width==800 && screen.height==600) {return 2;} else if(screen.width==1024 && screen.height==768) {return 3;} else if(screen.width==1152 && screen.height==864) {return 4;} else if(screen.width==1280 && screen.height==1024) {return 5;} else if(screen.width==1600 && screen.height==1200) {return 6;} else if(screen.width==1280 && screen.height==960) {return 7;} else if(screen.width==1400 && screen.height==1050) {return 8;} else if(screen.width==1280 && screen.height==768) {return 9;} else if(screen.width==1280 && screen.height==800) {return 10;} else if(screen.width==1440 && screen.height==900) {return 11;} else if(screen.width==1680 && screen.height==1050) {return 12;} else if(screen.width==1920 && screen.height==1200) {return 13;} return -1;}
function Adition_Flash() {var f="",n=navigator;if (n.plugins && n.plugins.length) {for (var ii=0;ii<n.plugins.length;ii++) {if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {f=n.plugins[ii].description.split('Shockwave Flash ')[1];i=f.indexOf('.');f=f.substr(0,i);break;}}} else if (window.ActiveXObject) {for (var ii=10;ii>=2;ii--) {try {var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");if (fl) { f=ii; break; }}catch(e) {}}} return f;}; function Adition_Trel() {return '&prf[iug]=14414616644375930622&prf[fhj]=001&iqh=14414616644375930622&ipt=0';};
var ad_wid = Math.round(Math.random()*2000000000);var ad_count = 0;var ref;try{ref=escape(document.referrer);}catch(e){ref='-'}var os;try{os=Adition_OSId();}catch(e){os=''}var browser;try{browser=Adition_BrowserId();}catch(e){browser=''}var screen_res;try{screen_res=Adition_ResId();}catch(e){screen_res=''}var fvers;try{fvers=Adition_Flash();}catch(e){fvers=''} var adition_tag_set=false;
//]]>
</script> <script type="text/javascript">
//<![CDATA[
var requestToken = "WphF-rm2VK6viLOcH_d0x4O6PRV7jzVGc20QXg76fTQ";
//]]>
</script>
</head>
<!-- Du liest Code? Lies auch: http://kurz.nu/r/20 -->
<body class="avz gecko gecko20">
<div id="Grid-Wrapper">
<div id="Grid-Advertising-Top">
<div id="ad728x90">
<script type="text/javascript">/* <![CDATA[ */document.write('<scr'+'ipt type="text/javascript" src="http://studivz.adfarm1.adition.com/banner?wpt=J&sid=50474&wi='+ad_wid+'&ac='+(++ad_count)+'&ref='+ref+'&os='+os+'&browser='+browser+'&screen_res='+screen_res+'&fvers='+fvers+'&prf[iug]=14414616644375930622&prf[fhj]=001&iqh=14414616644375930622&ipt=0&mdev=100"></scr'+'ipt>');/* ]]> */</script></div><script type="text/javascript" src="http://static.pe.meinvz.net/20110328-0/Js/meetrics/adam100111.js"></script> </div>
<div id="Grid-Advertising-Right">
</div>
<div id="Grid-Page">
<div id="Grid-Page-Left">
<div id="Logo">
<a href="/Home" rel="nofollow" title="zur Startseite">
<img src="http://static.pe.meinvz.net/20110328-0/Img/logo.png" alt="Logo meinVz, Link zur Startseite" />
</a>
</div>
<div id="Quicksearch">
<form id="QuickFormSearch" method="post" action="/Search/QuickSearch" class="obj-quicksearch">
<fieldset>
<div id="resultboxAutosuggest"></div>
<div class="labelinside">
<label for="searchfieldAutosuggest">Suche</label>
<input type="text" name="name" id="searchfieldAutosuggest"/>
</div>
<input type="hidden" name="quickSearch" value="1" />
<input type="hidden" id="disableAutosuggest" value="0" />
<input type="hidden" name="formkey" value="2a9375bd1571ee8f93d90ff84c62027e332d580c5d77c8a70982da4cfec337eae7701e54f35df0ce2c8d0886ff294d9b60a8dcea8f7b1b9736fb3da761727f81e93947158b971a938187727360988b22fa9ba852490cb946d8b82a8e104ff2424f2552ce6c2c46c5e893eead8317f6f3" />
<input type="hidden" name="iv" value="4cede1bdd9a7e62ed209766a2ab75d10" />
</fieldset>
</form>
</div>
<ul id="Grid-Navigation-Main" class="obj-linklist">
<li><a href="/Home/tid/101" rel="nofollow" title="Start">Start</a></li> <li class="clearFix"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/102" class="left" rel="nofollow" title="Meine Seite">Meine Seite</a> <a href="/Profile/EditGeneral/tid/109" class="right" rel="nofollow" title="bearbeiten">bearbeiten</a></li> <li><a href="/Friends/All/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/103" rel="nofollow" title="Meine Freunde">Meine Freunde</a></li> <li><a href="/Photos/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/104" rel="nofollow" title="Meine Fotos">Meine Fotos</a></li> <li><a href="/Groups/tid/105" rel="nofollow" title="Meine Gruppen">Meine Gruppen</a></li> <li><a href="/Gadgets/Overview" rel="nofollow" title="Meine Apps und Spiele">Meine Apps und Spiele</a></li> <li><a href="/Messages/tid/106" class="Navi-Messages-Link" rel="nofollow" title="Nachrichtendienst">Nachrichtendienst <span id="messages-navigationlink-unread" data-unread="0">(0)</span></a></li> <li><a href="/Account/Account/tid/107" rel="nofollow" title="Mein Account">Mein Account</a></li> <li><a href="/Privacy/Settings/tid/108" rel="nofollow" title="Privatsphäre">Privatsphäre</a></li> </ul>
<div id="LeftsideBox" class="box rounded simple-ext">
<div class="innerbox">
<p>
<a href="http://www.meinvz.net/C/2637">Ohne Seepferdchen</a> kommste heut nicht mehr weit.</p> </div>
</div>
</div>
<div id="Grid-Page-Center">
<div id="Grid-Page-Center-Top">
<h1>Meinverzeichnis / meinVZ</h1>
<ul id="Grid-Page-Center-Top-Navigation">
<li><a href="/Language/en" rel="nofollow" title="English">English</a></li>
<li><a href="/Search/SearchGlobal/rmC/1/tid/121" rel="nofollow" title="Suche">Suche</a></li>
<li><a href="/Invitation/Invitation//tid/122" rel="nofollow" title="Einladen">Einladen</a></li>
<li><a href="/l/help" rel="nofollow" title="Hilfe">Hilfe</a></li>
<li><a href="/l/mobile_info" title="Handy">Handy</a></li>
<li><a href="http://blog.meinvz.net" rel="nofollow" target="_blank" title="Blog">Blog</a></li>
<li><a href="/Logout/2b069b333aca8e4d37fc82f3eed18f15/tid/127" class="logout" rel="nofollow" title="Raus hier">Raus hier</a></li>
</ul>
</div>
<div id="Grid-Page-Center-Header">
<div id="Grid-Page-Center-Header-Menu">
<input type="hidden" id="Chat-Header-PrivacyUrl" value="/Privacy" />
<input type="hidden" id="Chat-Header-PrivacyUrlSealed" value="/Privacy/Seal" />
<input type="hidden" id="Chat-WindowUrl" value="/Plauderkasten" />
<div id="Chat_Header" class="">
<div id="mini-chat">
<span id="chat-active" style="display:block">
<span id="set-my-status" class="">
<span id="set-my-status-icon" class="my-status-offline" style=""></span>
<span id="my-status-selector" style="display:none">
<p id="my-status-selector-online"><span class="set-my-status-online"></span>eingeschaltet</p>
<p id="my-status-selector-away"><span class="set-my-status-away"></span>abwesend</p>
<p id="my-status-selector-offline" class="active"><span class="set-my-status-offline"></span>ausgeschaltet</p>
</span>
</span>
<a id="header-text" href="JavaScript:void(0)">
<span id="online-status-text">
Plauderkasten </span>
(<span class="online-users-counter">0</span>)
</a>
</span>
<span class="target-amount-unread twodigit" style="display:none">
<span class="target-num">
</span>
</span>
<span class="target-amount-calls twodigit" style="display:none">
<span class="target-num">
</span>
</span>
<div id="message-sound"></div>
</div>
<div id="Sound-Player-New-Message" style="height: 0px; overflow: hidden;"></div>
<div id="Sound-Player-Incoming-AV" style="height: 0px; overflow: hidden;"></div>
</div>
<!-- Start Lovely Code for Mini Chat Notifications -->
<div id="notification-new-message" style="display: none;">
<div class="notification-text">
<span class="target-username">Vorname Nachname</span> hat Dir eine Nachricht geschrieben. </div>
<input class="button" type="button" value=">Lesen" onclick="javascript:openchattab()" />
<input class="button" type="button" value=">Ignorieren" onclick="javascript:closenotification()" />
<div class="clear"></div>
</div>
<!-- End Lovely Code for Mini Chat Notifications -->
<div id="gadget-menu-header">
<ul>
<li>
<script type="text/javascript">
var popupdata = popupdata || {};
popupdata.href = "/Gadgets/Popup/489";
</script>
<a href="javascript:;" class="gadget-featured-link-popup">
Röhre <img src="http://static.pe.meinvz.net/20110328-0/Img/tv.png" alt="Röhre"/>
</a>
</li>
</ul>
</div> </div>
<h1 class="ellipsis" title="Patricia Müllers Seite (Eilenburg)">Patricia Müllers Seite (Eilenburg)</h1> </div>
<div id="Grid-Page-Center-Content">
<div id="shoutboxJs" class="obj-shoutbox hidden">
<div>
<p id="shoutboxJsSuccess" class="success hidden"></p>
<p id="shoutboxJsError" class="error hidden"></p>
</div>
<div class="close">
<a rel="nofollow" href="javascript:;"></a>
</div>
</div>
<div id="Mod-Profile-View" >
<div id="profileLeft" class="obj-box onethird">
<img src="http://img-a3.pe.imagevz.net/profile2/21/67/b2ac7a2b9c2fbb10ddb81d46c694/1-1c6178cadc937622.jpg" class="obj-profileImage" id="profileImage" alt="Patricia Müller" />
<ul class="obj-linklist">
<li><a href="/Friends/All/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Alle Freunde von Patricia</a></li><li><a href="/Messages/WriteMessage/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia eine Nachricht schicken</a></li><li><a href="/Gruscheln/DialogGruscheln/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia gruscheln</a></li><li class="user-showlink"><a href="/Link/User/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia Freunden zeigen</a></li><li>
<a id="accuseIgnoreLink" href="/AccuseIgnore/AccuseIgnore/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">
Patricia melden / ignorieren <input type="hidden" id="accusedUserId" value="8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" />
</a>
</li> </ul>
<div id="MicroBlog" class="obj-innerbox hidden">
<h2>Letzter Funkspruch</h2>
<div id="microblogContent" >
<span class="microblog-guid hidden">8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs</span>
<span class="microblog-ownguid hidden">8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo</span>
<p class="microblogHistory"></p>
<div class="microblogMeta no-float">
</div>
</div>
<input type="hidden" id="MicroBlog-Emoticons" value="{":*":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif",":-*":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif","x-(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_13.gif",":-&#38;":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_12.gif",":-s":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_10.gif",":-o":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_9.gif",":-x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_8.gif",":oops:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_7.gif",":-p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_5.gif",":-((":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_6.gif",":-(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_4.gif",";-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_3.gif",":-D":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_2.gif",":-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_1.gif",":)p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_14.gif",":)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_1.gif",":D":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_2.gif",";)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_3.gif",":((":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_6.gif",":(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_4.gif",":p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_5.gif",":\">":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_7.gif",":x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_8.gif",":o":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_9.gif",":s":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_10.gif","|-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_11.gif",":&#38;":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_12.gif","x(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_13.gif",":h\u00e4:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_15.gif",":vz:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/mVZ_Emoticon_15.gif","8-x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_17.gif",":hmm:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_18.gif",":emo:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_19.gif",":yo:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_20.gif",":kuss:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif",":alien:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_22.gif","$%&#38;1521":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_12.gif","$%&#38;1747":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_13.gif","$%&#38;1853":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_14.gif","$%&#38;1897":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_15.gif","$%&#38;1899":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/mVZ_Emoticon_15.gif","$%&#38;1903":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_16.gif","$%&#38;2189":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_17.gif","$%&#38;2276":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_18.gif","$%&#38;2376":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_19.gif","$%&#38;2454":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_20.gif","$%&#38;2365":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_21.gif","$%&#38;2471":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_22.gif","$%&#38;2498":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_23.gif","$%&#38;2571":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_24.gif","$%&#38;2588":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_25.gif","$%&#38;3333":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_26.gif","$%&#38;4444":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_27.gif","$%&#38;4578":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_28.gif","$%&#38;5555":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_29.gif","$%&#38;5783":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_30.gif","$%&#38;5912":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_31.gif","$%&#38;6173":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_32.gif","$%&#38;6262":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_33.gif","$%&#38;6398":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_34.gif","$%&#38;7834":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_35.gif","$%&#38;7867":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_36.gif","$%&#38;7912":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_37.gif","$%&#38;8121":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_38.gif","*Prost*":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67863&ts=1301488298","*prost*":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67863&ts=1301488298","$%&#38;11":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_11.gif","$%&#38;10":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_10.gif","$%&#38;1":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_1.gif","$%&#38;2":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_2.gif","$%&#38;3":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_3.gif","$%&#38;4":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_4.gif","$%&#38;5":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_5.gif","$%&#38;6":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_6.gif","$%&#38;7":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_7.gif","$%&#38;8":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_8.gif","$%&#38;9":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_9.gif"}"/>
<input type="hidden" id="MicroBlog-Emoticon-Links" value="{"*Prost*":"http:\/\/studivz.adfarm1.adition.com\/redi?sid=68701&kid=67863&ts=1301488298&clickurl=http:\/\/www.studivz.net\/l\/krombacher\/2","*prost*":"http:\/\/studivz.adfarm1.adition.com\/redi?sid=68701&kid=67863&ts=1301488298&clickurl=http:\/\/www.studivz.net\/l\/krombacher\/2"}"/>
</div>
<div class="obj-innerbox">
<h2>Gemeinsame Freunde</h2>
<div class="obj-subbar">
Du hast <a href="/Friends/Common/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">52 gemeinsame Freunde</a> mit Patricia. </div>
<ul class="obj-thumbnaillist">
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsaLH2VjNPN1EFDNgU1Z-hrk"><img src="http://img-p2.pe.imagevz.net/profile1/04/0b/71c16d6ed519ea2be8cb7378867c/1-8a2c92ddcd73104b-s.jpg" alt="Tobi Wan Kenobi"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsaLH2VjNPN1EFDNgU1Z-hrk">Tobi Wan Kenobi</a></div>
</li>
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsXHF9X1Ci41mbDCjBjO78x4"><img src="http://img-p2.pe.imagevz.net/profile1/78/48/82bfba8ffbe4abfd8ac7c6771ca9/1-7e7067dc0215c7eb-s.jpg" alt="David Eckler"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsXHF9X1Ci41mbDCjBjO78x4">David Eckler</a></div>
</li>
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsY5evW-9FWNNA281TgoyrdE"><img src="http://img-p2.pe.imagevz.net/profile1/21/86/0f3dbdd69a40fdf19a47d56d41e1/1-63604fe3a8f9377b-s.jpg" alt="Anja Lieder"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsY5evW-9FWNNA281TgoyrdE">Anja Lieder</a></div>
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde (gleiche Region)</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/48884">40 Freunde</a> in der Region Eilenburg. </div>
<ul class="obj-thumbnaillist">
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsdtYvULBLGCcrCaKKJzmZoc"><img src="http://img-p5.pe.imagevz.net/profile2/76/97/7241c0a40ea47c89495a9053315d/1-7d7112a81068f8e4-s.jpg" alt="Manuela Haberkorn"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsdtYvULBLGCcrCaKKJzmZoc">Manuela Haberkorn</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsTDdDixKtoglOsq-bOMiVAU"><img src="http://img-p3.pe.imagevz.net/profile1/69/51/326f2ecb7d60ac41f502bbae3bdb/1-3d0dde540296bf8a-s.jpg" alt="Daniel Schäfer"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsTDdDixKtoglOsq-bOMiVAU">Daniel Schäfer</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsThl4Es_Mtvfatp7TL47UDA"><img src="http://img-p2.pe.imagevz.net/profile1/48/27/0fdf70ea63f0048148658c92cdfe/1-f76ecf4d974167ff-s.jpg" alt="♥ڿڰۣ«ಌ nIcOlE aKa De StRuPpI ♥ڿڰۣ«ಌ"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsThl4Es_Mtvfatp7TL47UDA">♥ڿڰۣ«ಌ nIcOlE aKa De StRuPpI ♥ڿڰۣ«ಌ</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qscEEPpIqiZqnVRVg34f3xs0"><img src="http://img-p1.pe.imagevz.net/profile1/b8/02/486605428e578b22b77369ed56bb/1-0a8d236ab8ed219f-s.jpg" alt="Stefanie Heinke"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qscEEPpIqiZqnVRVg34f3xs0">Stefanie Heinke</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsa_GIQQMhnGNar6czlDl6WA"><img src="http://img-p4.pe.imagevz.net/profile1/92/16/3410c2c3d51e1a692515507efd43/1-248add2b3c407097-s.jpg" alt="Katrin Lenz"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsa_GIQQMhnGNar6czlDl6WA">Katrin Lenz</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsf2x5UBL1y2zXeLdhR8tymY"><img src="http://img-p1.pe.imagevz.net/profile2/18/92/3a4c44d4d5d94618547eda4bfc00/1-a61db3942e104dcf-s.jpg" alt="Antje Sander"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsf2x5UBL1y2zXeLdhR8tymY">Antje Sander</a></div>
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde (andere Region)</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Other/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">38 Freunde</a> in ... </div>
<ul class="uniList float-left">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3716">Groß-Gerau</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3771">Esslingen</a> (3)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3825">Miesbach</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3959">Leipzig</a> (12)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3960">Delitzsch</a> (12)
</li>
</ul>
<ul class="uniList float-left">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3962">Leipziger Land</a> (5)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3964">Torgau-Oschatz</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/4018">Basel-Landschaft</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/48985">Torgau</a> (1)
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde auf studiVZ</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Platform/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/1">23 Freunde</a> an ... </div>
<ul class="uniList floatL">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/159/1">Uni Leipzig</a> (10)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/160/1">HTWK Leipzig</a> (6)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/295/1">HHL Leipzig</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/368/1">Universität Zürich</a> (1)
</li>
</ul>
<ul class="uniList floatL">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/627/1">BA Leipzig</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/1606/1">DHfPG Leipzig</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/2642/1">Diploma Leipzig</a> (1)
</li>
</ul>
</div>
</div>
<div id="profileRight" class="obj-box twothird">
<div id="Friends-Connection" class="obj-innerbox friendsColumn">
<h2>Verbindung</h2>
<ul class="obj-thumbnaillist">
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo"><img src="http://img-p2.pe.imagevz.net/profile1/91/2a/3a39897272b3606c147ebc52df09/1-38f1d96d822ff36b-s.jpg" alt="Schramme .."/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo">Schramme ..</a></div>
</li>
<li class="last">
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs"><img src="http://img-p3.pe.imagevz.net/profile2/21/67/b2ac7a2b9c2fbb10ddb81d46c694/1-1c6178cadc937622-s.jpg" alt="Patricia Müller"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">Patricia Müller</a></div>
</li>
</ul>
</div>
<div id="Profile_InformationSnipplet" class="obj-innerbox">
<h2>Information</h2>
<div id="P" class="accountStatusOnline clearFix hidden">
<br /><span id="status_8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" class="mobilestatus">Plauderkasten ist an.</span>
</div>
<h3>Account</h3>
<dl id="Mod-Profile-Information-Account" class="obj-keyValueList" >
<dt>Name:</dt>
<dd>
Patricia Müller
</dd>
<dt>Verzeichnis:</dt>
<dd>
<img src="http://static.pe.meinvz.net/20110328-0/Img/Logos/mvzLogo15px.gif" alt="meinVZ"/>
</dd>
<dt>Mitglied seit:</dt>
<dd>25.01.2011</dd>
<dt>Letztes Update:</dt>
<dd>31.01.2011</dd>
</dl><h3>Allgemeines</h3>
<dl id="Mod-Profile-Information-General" class="obj-keyValueList">
<dt>Region:</dt>
<dd>
<a href="/Search/SearchSuper/platform/3/uni/48884/doSearch/1/rmC/1">Eilenburg</a> </dd>
<dt>Status:</dt>
<dd>im Berufsleben</dd>
<dt>Geschlecht:</dt>
<dd><a href="/Search/SearchSuper/gender/1/platform/3/doSearch/1/rmC/1">weiblich</a></dd>
<dt>Geburtstag:</dt>
<dd>
27.07. <a href="/Birthday" class="icon icon-calendar">Zum Kalender</a>
</dd>
</dl>
<h3>Persönliches</h3>
</div><div id="gadgets-list">
</div>
<div id="Mod-Groups-Snipplet" class="obj-innerbox">
<h2>Gruppen </h2>
<ul>
<li>
<a href="/Groups/Overview/104946e7f0460efd">ERZ10 Rote Jahne</a>
</li>
<li>
<a href="/Groups/Overview/85d1878aa2fcd4ec">ex-schiller-schule-schüler-eilenburg</a>
</li>
<li>
<a href="/Groups/Overview/a99fee2ca081b68e">Neulinge im VZ</a>
</li>
</ul>
</div><div id="Mod-Pinboard-Snipplet" class="obj-innerbox">
<h2>Pinnwand</h2>
<div class="obj-subbar">
<div class="obj-subbar-info">
Zeige 9 von <a href="/Pinboard/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/p/1">
9 Einträgen </a>
</div>
<div class="obj-subbar-actions">
<a href="javascript:;" name="showForm" class="showForm" >Etwas schreiben</a>
| <a href="/Pinboard/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/p/1">
Alle ansehen </a>
</div>
</div>
<div class="write-panel pinboard-write" style="display:none;">
<form action="" method="post">
<script type="text/javascript">
embedHidden = function() { return false;};
</script> <fieldset>
<div class="form-row">
<div class="hint hidden">Bitte schreib etwas.</div><label for="Pinboard_entry" class="floatL">Eintrag: </label><textarea id="Pinboard_entry" rows="6" cols="45" title="Bitte schreib etwas." name="entry"></textarea> </div>
<div id="Pinboard-Embed-Container" class="hint form-row"></div>
<div class="hint">
noch <span id="pinboardCharsCount"></span> Zeichen </div>
<input type="hidden" name="referrer" value="overview" />
<input type="hidden" name="userId" value="8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" />
<div class="form-buttons">
<input class="button" type="submit" value="Abschicken" />
<input class="button" type="reset" value="Doch nicht" />
</div>
<input type="hidden" name="formkey" value="8bafddf482eedc492d479929c197f75234a3117d034b9ec2609b25a30208f616ea9e79ea94e46d52be0e91e405a097fe00e0ff2fb6fe220006ae151e00f7289d26946ac1262b5dab7d97825f45448b595c20f01501cd7fc82a89be5c1aaafd3d3548ec0ad49d8997a865ceee8a57b7de" />
<input type="hidden" name="iv" value="fdd1bc749d8638d8dca4a6cb7c614974" />
</fieldset>
<input type="hidden" id="emoticonArray" value="{"#alles-gute1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_AllesGute.jpg","#danke1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100123_Pinnwandvisual_Danke.jpg","#du-ich#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-du-ich_2009.gif","#fit-wie-ein-turnschuh#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_3_3.gif","#gib-mir-5#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_GibMir5.jpg","#glueckwunsch1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_Glueckwunsch.jpg","#gruesse#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisual05.jpg","#gute-besserung1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_2_2.jpg","#hallo1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisual04aVZsVZ.jpg","#herz1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/herz.png","#heute-abend#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisuals10.png","#hut-ab1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_HutAb.jpg","#ich-liebe-dich#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/liebe.gif","#knutscha#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/knutscha.gif","#liebe-regnen#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/regnen.png","#liebe-regnen1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/regnen.png","#mag-dich1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single08.png","#nie-wieder#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_NieWieder.jpg","#party#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single07.jpg","#schnell-auf-die-beine#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_4.gif","#sei-nicht-boese#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_SeiNichtBoese.jpg","#sei-stolz#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_SeiStolz.jpg","#traum#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single02_2.png","#verzeihst-du-mir#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100123_Pinnwandvisual_Verzeihen.jpg","#viel-glueck1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_VielGlueck.jpg","#wirklich-krank#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_1_2.jpg","#wochenende#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101008_PV_Single04.jpg","#aktiv#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112203&bid=324348&ts=1301517583","#aok-aktiv-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112203&bid=324348&ts=1301517583","#aok-beauty-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112252&bid=324725&ts=1301517583","#aok-chillout-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112217&bid=324445&ts=1301517583","#aok-fun-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112218&bid=324448&ts=1301517583","#aok-wellness-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112240&bid=324699&ts=1301517583","#chillout#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112217&bid=324445&ts=1301517583","#woisttil#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68340&kid=118669&bid=349721&ts=[timestamp]&ts=1301517583","#collbleiben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#colldrauf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#coolbleiben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#coolblieben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#cooldaruf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#cooldrauf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#herz-tanzt#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual03.jpg","#herzen#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual02.jpg","#kaffee#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual01.jpg","#mein-typ#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual7.jpg","#fruehlingsgruesse#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzblume.gif","#hurra#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Schmetterlinge.gif","#pusteblume#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzwolke.gif","#pusteblume1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Pusteblume.gif","#sonne#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzwolke.gif","#zauberhaft#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Vogel.gif","#baby1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals01.jpg","#baby2#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals03.jpg","#fratz#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals05.jpg","#lieferzeit#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals02.jpg","#sonnenschein#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals04.jpg","#geb-dick#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_6.gif","#geb-geschenke#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_10.jpg","#geb-hase#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_3.gif","#geb-hund#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_2.jpg","#geb-kuchen#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_13.jpg","#geb-lumpi#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_5_neu.jpg","#geb-party#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_9.jpg","#geb-rente#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_4.gif","#geb-torte#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_11.jpg","#got2b#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67874&ts=1301517583","#got2b-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583","#got2be#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67874&ts=1301517583","#got2be-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583","#got2bevote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583",
Untitled JavaScript (30-Mar @ 22:29)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- [582 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script type="text/javascript">
//<![CDATA[
var PHX_PAGELOAD_START = new Date().getTime();
document.cookie = "Pm=; path=/";
//]]>
</script>
<title>meinVZ | Patricia Müller</title>
<meta name="description" content="meinVZ ist eine kostenlose Kommunikationsplattform. Jeder Nutzer kann hier seine persönlichen Netzwerke pflegen, mit Freunden und Bekannten in Kontakt bleiben und neue Verbindungen herstellen - auch zu den Mitgliedern von studiVZ. Das Netzwerk aus studiVZ und meinVZ ist die größte und aktivste Online-Community Deutschlands." />
<meta name="keywords" content="Studenten, students" />
<meta name="ajaxUrl" content="/Ajax" />
<meta name="platformId" content="Avz" />
<meta name="platformUrlOther" content="http://www.studivz.net" />
<meta name="staticServer" content="http://static.pe.meinvz.net/20110328-0" />
<meta name="oembedServer" content="" />
<meta name="noCacheFlag" content="20110328-0" />
<meta name="msapplication-task" content="name=Start;action-uri=http://www.meinvz.net/Home/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Freunde;action-uri=http://www.meinvz.net/Friends/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Fotos;action-uri=http://www.meinvz.net/Photos/Slideshow;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Meine Gruppen;action-uri=http://www.meinvz.net/Groups/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="msapplication-task" content="name=Nachrichtendienst;action-uri=http://www.meinvz.net/Messages/;icon-uri=http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<meta name="Search_getFriendlist" content="formkey=7d2110d8c5b06cfaf97f25156971a6cf8c70ebb621a1ab9bd0086289a38df9ea654f106452d50bcab4a0f896e64849962745febaf29517b0ace5ae2fe07ad61b743ac8c3e1278fe61d4a30278154383f584fc68003ec3e328704dd88575b6d218d7b9df69705590e17d93082e37bb141&iv=7a59f230e4a76d9a181ca9767231d965" />
<meta name="AccuseIgnore_accuseIgnore" content="formkey=8b5c897a66c361df5fa12332aa3c2f6e6105404eccf31729261b8e40808e56cfad70765961d396bd1f35d96d531929da15b36734100d815102100b70ca572526fbe7179552773002f26c501de1103cbf2d68b1f243541ad7c2c6633c3fb5cb718238a344d280dc959febf0874a62ec6952b531b765dca7fdd739979e937f63ea&iv=ab932745682873aab3d5247bfb47d555" />
<meta name="Photos_getSliderData" content="formkey=22f100f47f16f980b82f7090bebc3d8460ec19c19b00f0a8122db499915d98ae7b2f9461b7dda502bd7c12baf56455c25bb65206d8867d5687c921f94e393825b34b2b6a4cccc32ef7bd84b71341545b04b8f05f871e4ade3c7629bd95b68bc1078043bd539e9ee2b9e357e23017a557&iv=81554b2bdaf038aa0b8f3c70771fc501" />
<meta name="Friends_bigPathRender" content="formkey=cce1b9d29caf0c6fa4507383c5a3cf4109641fa41ab8b30a2c56553d31df55934846220c5c8d98f570042fb701d779afdbf564007605928b03ad77854adf30adf3e4715068b9bacbad761426acec839cd76920b2c52315c11dfa2916a4dd9a8a21bd9399ceb3835d5fae2fb764685dd7&iv=a3b96aa20dd57bc76d5253c19d7d9c22" />
<meta name="Photos_getUserAlbums" content="formkey=3068a34d3ce0a32980b31e6b7df41fc53c561906c4af579f64e843cfd030b77b7246d248dcd35078ff12dfc64e557518ac8a95b2bfe3d19ff20921aa8778f14fa8a7b71f5051ae1bb550d3779b4cf5d49388364ad5eecffcfde899bbc267f5b5106278cd452c3f2719acd63332bdcaa1&iv=0c92f0e9119b9ee4bfacab15a01bd830" />
<meta name="Photos_getAlbumPhotos" content="formkey=8b692cb187a573d05445d62fc4a601323b916ffe32f022aede59029d1d7a671ae22575b6a5e55ac18e2064c38d1882274bd7316c2601d7b4fec77cd1f55fb450c05c6cde3d353c91bcda869762fe5521e15d41f2627a2701dd226749489bfcc3adfc3e7463c0e27be5ee307d3a384203&iv=30bef3fe1b3a94782dbefb6551a9118e" />
<meta name="Link_imageUpload" content="formkey=684da12683e753422fdfe442086b78c73de5fb8d031ef625243bcb73d391789edc4ddca97dae3b19b343876fa6a2e2c86144a8431ed4efc626818b4e6647e6e0bad8b2e8b71d05f7656a5ad88c138330ea7d6db99f5210138428bee15a1ce5dd6e7c72536fa25d810d9d3b05d19f00ae&iv=bf141131087d3f1e6ca27f87e2d1dacd" />
<meta name="Link_embedImage" content="formkey=5b59c47270411b64beec6281abfd3323a32d6979474069b0ff54e484caaa502434e821aa1c3580cd58e7dd4baad89653a6e07cc5b43608da06a70f6e635a496a3329060b23cb58ec0072c828f46d715e98f880f092bb7eb3f81f4d305ae9f5dc1bec1a80c131639984343de1d4a1a896&iv=b2960fe4664fef6634b4d0bb8712be22" />
<meta name="Link_embedContent" content="formkey=701ab511f3c9c62ebe31148e9e2f5a9f15a4152f5bd80f7d49f3f0579989b6095c96b3d2902844ab5e441951289f29367b71fc71f8cfdf9c360e218299874f6d26f928760a6b402512c8aa43811a659aee20e79cbe0b8e463c13450d19ad029914b372a350dcf6eee89668e59e9e07db&iv=8f6a246da90f5c7807dd39e8719568e9" />
<meta name="Gadgets_CreateUniqueToken" content="formkey=5d821ac1bde379b54b6621b2370532430b2b1e408ec3e8d21896086e60ce4fc90a85b0bcc651274bcf768a44d202e3c15e8f3d49f96f39610a8043bc91df99885bef75b1f8f74dd73270825244ca3174959f2e739e9195c76440f8cced87211c6549b512179473f3907aba651a55e27d&iv=1e56b134a21b24bdb4d4cd4d9f187ce2" />
<meta name="Gadgets_getVcardInformation" content="formkey=2ae80fa457cd4b0321fcd9f28af0f1169c944a84eca4875e87ac63f850a382cff466bd8d5ae749ff808c42374485331b52cf5f4fe4912344b91e73560ee37148494f0d23f0de828499c334a81621c986512c9291f3b227219477805897ac7e4bedec489a71bbe1d6f57c0ecb116330f2&iv=23c9b43f39491bca9f0b6e26048feb1b" />
<meta name="Vcard_getProfileData" content="formkey=0550739c9c89807c260e4b83ed2bf786760ba90d1f72a377ff7a0d61f3586420d8c3c9731402d3fad467c151163efb5bfdfee306ffade6ad599aab52fd7661c219df0512ec2894ccc292f7c982dd8ec6404736fb658815ed60a3b43b8fab9b7c5c7dd43954ae6acd31d95bae57b50d14&iv=1e106702f11150bd6d3598af80c2e132" />
<meta name="Vcard_getVcardData" content="formkey=cdac9968f34fa74b8eb400b94d9b7dead755aa7ce423425991e9cd1c3a132bf81935d5a5153267fa8addcc29a7dee0beb85d2e7b9ccfde55996bd8187c188934ab97e5c31a01ba548389df6e216ac5c5d69fc6a6c3af82d316fa7550b053e3572fe48f17d808afccf4f9589cdac0b567&iv=4dadde1b8915654adb1b2e107b23a054" />
<meta name="Gadgets_getVcardForm" content="formkey=4e26171d6e917861642cd1bf645f8464ebe1292a7d408cca58c9d9f27abeca4913fe756d7a1fdee3d81cef9e6136d5cbe6b4d5202d84e3961f9c723bc69fd870724f7a8d4c6f281e98ac32adeae0b50f42bad2e65d4967c498f84d3c46e27f4ff833d360389e1e1b0bac4c332b6c3e9d6b04041ab0dff3dd09c8366540c68ef7&iv=ae74ca5a56b9f153c7df030a71cd71c0" />
<meta name="Gadgets_GetSecurityToken" content="formkey=398ef07989c77c25c295e9c0926fa1896ec1ca56c05105d80241848317c810ed7b4db1b61250ae4f873e8f3eaa4664ebc9db14525d3c19b49fbddc9e1c2e2893a67369826dc85536d363a4ede87da569aac0984decdfc0b796dd4923a829b78445631ba2e1616a270f85683d18925fd3&iv=0e16494cc79b6dac125747c67b2b976b" />
<meta name="Gadgets_getAdTag" content="formkey=924c514c504fa0b183aaaf6c2f22f11d396efc07575f32c377a0534b91a30aea0db1c514e8ca5197360e902973b65e9b36df6b9ace6043c26bcc2ac68a1d8b52e6fd15956ea7ff9d7d7d4d4817545c0b721443ea11d76cb3a5d8190b2c7215c0b80ae0ecc9fcc5a1012a36ef5a85f619&iv=7e5c0713ac9148523b8d60e6c580e3ba" />
<meta name="Gadgets_writeMessage" content="formkey=b1ddf17a8252674be13e2e31e4198a3a977fc994374af474267518232c84f126aedb84b9ecb42a60a237d0a6c96eac3aa8636c8f06329bf82176c0c16b9e88b1238ac7a866030d404e730a7dfa1c759f167d4ad82481c82259c3855519cef7a5884608aaab3983adfe1d559d01108998&iv=1b1c5b5f0d4515c07d7953cf67fa889f" />
<meta name="Gadgets_replyMessage" content="formkey=636b1356def289c71f313efe24304a4561c6f52a9561cd81c7ed18bb7c1b5f936f4bd7f29cc3f225ccab2dae91f687843ec6fa3f8b991e1e031ad5a6ee7147af744c60f47fee3ed3ce9209600cdbbc70b2b1a1f771a5aeaa39681ba7d7c62cebed17365e88ab6aa90ea9f19e7641045e&iv=9b4b5bfbcbfdf4b750626ffd27e19c40" />
<meta name="Gadgets_pinboardMessageDialog" content="formkey=bc8bd145d6c4ebf473ef2548d17b14da820cdfcc6935fc46848485fdc3ec7b7c11aebcb9ded5db72e7886e5471f57d9f9e8c3b4392b78b912844570c7be09a23587636434b9afa48000c312fe87e55d186fe48add73af795ec1261afe3f5c3d24aa158a33631b1e9d636be9684d7ab5163e0db817535810d44719e5417a4c21e&iv=150f85d3f26878925a327d99b40346e3" />
<meta name="Gadgets_pinboardMessage" content="formkey=b6d208e3b05a2a0885fd283a1cbd4bd298a6e1053dd8389fcddb0dbbf965d18f6a2a3b645ed8995ea329b3871d7e07649ee2f2356e0a2868397c8d50db39200d05c7d10c4fd575f27f144aae965a9669f45ac2daca70c1773d1d70b907fc2805563cf0801cdc945684c47cea6f986302&iv=b02e31cb91e5709419719f61203cf022" />
<meta name="Link_getEmbeddableGadgets" content="formkey=76f2ddc3ae94b24ff200cd099ae4c0adf93fbe775aa5d40904894e78a84da8e0726b4adb6bd7dfcdeec1a6ec075d95a3ed91fcf9610c32996fc42ccece073e0f4350ff6343cbede759187ff9bee80932c6bcf92d5b20cda95c6e0182918c2ae1aee6bdbcb767b898eae6b1b4d1ea63c8b2c844637bab714814e837b878aea8e0&iv=7efa455be536d511426d98ae12663177" />
<meta name="Link_getEmbedProviderView" content="formkey=e0e6bbd4057b3b251a3d2e1cc890eb0e09acc2d1d1cbfd92cbd7c1588c8ac96bb67ceaf4a9f40ec7e8e6ecbd52c79e41a2408646464d379a8e6409437c05f84ef857c882142a5946adc7c1554da6ba80df8470a10944ebb15fde7691623e044a1266ace239a05d3383fede02a1e11cad36ea26c88a3469dd3aa0be029bc10bb4&iv=42012ec94f0098826db211d8989f3837" />
<meta name="Link_getFlashUploadForm" content="formkey=34d61d8bb615604b9c9ae5e3f333e05f54e94c343391dae6d855305800ef29c56d896ef9b23adc68b0551f50af91263d69e283a5d1ea326ef4e0b151dafa9cb3560512ce7b95cdda416ba078050da9b4c1c9de70529874e18954c1b2af1077c7580c7559ad852158a8c18174522b5a8ffa72cf6ce140df2e0883c6522ece140b&iv=0773f2cff4f789981152c10010546760" />
<meta name="Groups_ChooseGroup" content="formkey=ffccbecd0420e6f9147ccf7484e03b2dc02b5487672c1be7ea7ddb8bdb28a7acedec26a0c2aa9e5b419d3f637b54a0c87f6873762447fe61fbb20eec8302261b9cb1f4bd0ee0ee2e0ee8a9508b40f7fbe6d76d735da1fa98ea934edfd19787065cf7f8b65cb9f8828a82446c71f204ba&iv=03f8f8a1b6f773eba8735325059f142c" />
<meta name="Profile_ChooseProfile" content="formkey=c825a64acfba1999ad43b87f24c0d70fd30990d23db380bc33780e19b4b2aac3b8aeae9e3960683734005941cb71d181427326ddf25a0840944d6552977bee38c69e8a0210c485a4d6ffc2881f38f3de619f575a5498d98791fcb179d0a1d4879294c2bb60cb4ef9dc525e223dca2578&iv=8bc6125fbf9d6befa872651060134d60" />
<meta name="Pinboard_ChooseVisual" content="formkey=621af4ec6ac020f3ad3f0e482f7fae693a26803e63b40eb08fa718f63a7a4b797aeea39f652cb59a5a5e53c4dfdd2a854a0551e0df89273c0b48344af6452ece2036ff6cce34b8fbeb33d3e58ee9ab8ee4a1e7dd1234dd672ea4de4c1f9884baaf8811ac3e9150ecbf622394733b400d250b15dec38c9f96088baf73cac0efdd&iv=471e58e61b5eec79a7f405bb4c916726" />
<meta name="Gadgets_getStaticKey" content="formkey=7eee9345b9b0b2b77949cbfd2f594efe78f1c7844d785b3fe6311933198822a0361366f4740c8420584c5d102afdf65c168a50d2e82672975249c2d8558a7705472aed36d9137d30dce96961f1731bcb7507b2373bbe527f1d70c04c02bbb727b57d1f9421ebee378db2e1456a94f3a3&iv=37731011e748fd8888601c97b6a831a6" />
<meta name="Gadgets_feedEntryDialog" content="formkey=3389fc5df7cea6441c0115a5917dff8d9cc4b52094f57d1a037299d0acf7e3e76d1ef525f5e5e17f9be53e6a87daed4cc5cf4f43a938eee44533eacf59cab32ecdc435f014c06fa7f28cd80c6a5a2c21a94dcf8fae5de62d9e7c9a834320bae5373d33ae6e14268920c5ffe3c9145113f2620a37f48c868096b8d235c4559194&iv=3c97bf944fa03c6784dc790b34840678" />
<meta name="Gadgets_feedEntry" content="formkey=6184ff90cf40b380ed5a21e64119d891f58c6e68be88d7acf679066719181d174f760119088ba8f78768a48d44715da68f46ff055c27fd55494fb01dfde668d88892770a2baef1359ece4ee02265843033dc39a9beeb84e7e03c22c36b5b4f91862bd990d2bbc4f2b1adf2d8eaac272b&iv=e59b436c63ce5b52e513535d8af240f1" />
<meta name="Gadgets_getPermissions" content="formkey=cdd5e5ac365ca3bf92747e118dcb1e824a80efba9b8b5a36b3a96068d4646021eb6b21b85064c7a29fc943dd9e530b3d514e4d9746c6555c23f2e5bf5ce410a7b6f53c0d8207778d3aa288ca4f3bfccdfb742676c8d7e6544f4b85840b0ea2865d0bc12338dbc3ead25be27efad69fce&iv=2c06e93ac9527a3403d9f79a541a2049" />
<meta name="Link_postFeedEntry" content="formkey=50fa7fdeb0e264dc9ff1bb80892730376b2d78d59286304a8dc62a6d1f6fd624460d7d2ee8be9e1aa75d9593a1a6e6d9d032d750e2aa79c8ec2321566d543197f811c30ab822b1aa59091290af938f82e5594a9bead151be9067190732c3b0d94f7d89fe7738f627e2c63eec3d2db33e&iv=cb79a08293053f26a070ca4d89b6f82b" />
<meta name="Link_sendMessage" content="formkey=3e31fa5c52305ee649ac815853c18060d18ff16615990cc34de2c0dcdfb4222f8eccd4dd5bc0735d633390e5520652db9860d483ab09688dd78da581da399b7e1b22d6f4fe0faa8135abe811bc7e50ab369a6ceb48e7933ddef371f07f8644be&iv=cadd909eb08ab376c061fa8c5d2194c1" />
<meta name="Badges_postBadge" content="formkey=e94d9dfc3b470469a16f891223bf81dd788a9911cc1d3309bac2c4b735138581144e69e3d6b7ee276c7716bbb1d3152d6b499fb71604e9587da69f1b99363540024a1e816c824c4d3de19a1a45efdbac2d19dc6e9eefd6ee93fb14a47355da03ce0f5d555d0453c7b0f625db08e46341&iv=e2539520871c7e048779c460d854958a" />
<meta name="Profile_getUpdateImageForm" content="formkey=955f22e314cbdf58de553f7f1f5e35ceb68725682f1d8562e002448e9e7591762584c9cbd5b4a4acfe91b00ac5ec7864e80dcb899f9814c3fc1094b1eefd07ad01d9842766e3a1d8502912baacaef692ba6594db222f05b301d4274dd94a85c7ecb100e5c7b25ed83f5f65bc30158ff882a409a2d81a14e13d50fdc4b423ab0c&iv=21c17695f6980457e678a270b741742a" />
<meta name="Profile_updateImage" content="formkey=412513b80b01c947c5110cdab7870e17333aad59ef19f53776d7f61a0b4fa241e134bb44e953897dcb1c113ae3195f42228a501fdeca58a58f802c4f4caa4c7fce4036aafe4254bc2b319e66874db8ea83958cb0fcd989e7312c7cd3daf0949c204f3455ba4fd769d0d95dd21385dd1e3d872f8c2386f0ff21a7a0def4ea9e8a&iv=d4f7bba9146813f2e0f674db6ef9160d" />
<meta name="AccuseIgnore_accusePinboardEntry" content="formkey=85b3374a96ef008b105cf52c0ef4f5ddb4b5f4c258ad28c6eb078a87beb55d2e3e1f64b3d3dc6ff6a845616078f5c4abff915c39bc47e2bbb5222dd7a9e8961726374146d161848876bf9049649b9f447d5411efcb3bee1d3d62b73168e3cf2cb0be01f2fac8df310a780cc4765f3f2ea48e5978e5991fe05a967577fd60b291&iv=a7c1ed999f2c220a348905dca28c3931" />
<meta name="Pinboard_refresh" content="formkey=5179d8ff66e52f422f8fa91ad61f542e708e6945f8fa5b045711bda7a518474fcdd94207db4266b3ffc4768ae3b4033bcf4b89fa5b6d39346af1d3725866e8a54a79ad873e9d4528f223476f0eee77d0f3fa97a77b7231d38932b0b4d327aa8adb6c0be04f02bd2d11dbc45d01f5b260&iv=199f31e6ca392a2124c10e30e016bb05" />
<meta name="Pinboard_delete" content="formkey=9a8fdcee80dfa11192e828defd804f050c99154b895322fc375864a298f23e1ee5f91ee6789b795d6207bb5f556d410568c9333a85f57fe4973b5b7be4a30761f962968e206d0a62c1391381196dfdb687730500ac22caa2b16aeccba2afe557e9eb8878b8af67389df269d76e8d9803&iv=9dab9f9804dda9693d7d463248bb2c6b" />
<meta name="Chat_token" content="formkey=cca81c658896bcbad9b62822021b721eafef55d1a4f516cb12c817875a6a96b18e81a3471125e61181a612ba45f395a17e65bab41913240f138278de013868283cb08b3ee155b42e1c95b5309e81fe27e660dadd4b91a4439833d796689d234d288af9878ea7be196fa947703430da19&iv=876c5e1c53bde96bf2b040d08c7ec25b" />
<meta name="Chat_setStatus" content="formkey=834bef959c28e306e990cdf1d06fcd58f09f8dae5226628a3a65531a3c08bfb31071e0b50cedade61850f923f29c83e09813c4a230961a0126d351102b250024dcb8cadf05d49402a38ff49c8f2220a17474dec3e568b8f03a48fc0f74fbae08902b1b803dbac81956a0993b90add176&iv=d5308a7991ddd9f8d9fb4f70bed0298b" />
<meta name="Friends_addFriendDialog" content="formkey=13b023cfc761bdc60a8f1124c312d67584508884aff6a7c16673db6cb0421514d6d415bf85e9fae0155ec91ddcd8012bf070082dbff1aa94aed622d8a7a4c387e7fedea3e4fde1cde564809d0239c2c5418ed917ebc2c6a4fda781fda9576605fb2ff6880ad913da6be0dbaf90f3e850&iv=bca21c311aafd1fd5b1313ef2062ae4e" />
<meta name="Friends_addFriend" content="formkey=aa2ea405afd18224ca2550ee9bd6fc0d75269469d21d5e37441861691edb6cb1c5a4161e45c6ca00289f0c89a5e25ee16507d50e96ce80768f68847bc733985768e46d9b5e78afc55898f931aeca2b24df18c53af9df8fefa4864859e9eb8863&iv=49a37ffacc4f6f53bc9078c2b67c7346" />
<meta name="Uservoice_feedbackDialog" content="formkey=23dae784a7d029db14aa25f4448f43f6e287d67949ed45909da45f56ec46bc3e7a4a4467b41f9ac8b6b6ddc7112d8efcfe672db5f1de8147cf81a20ee466924186a1c0107dda1be0ae41c268f040886b4563d8ff81699ea37e726f10faa97c0ec27ab03e12917444ce387cfe6d474b52&iv=8e3fd64881332b50197b7d1a1f69062f" />
<meta name="Polls_answerPoll" content="formkey=8f993c375c4402c966bc8fca93322d32dd67d0cfaebd6d74a3c6f6648e6a41d1ad2fec1d382177d2b0f5fc8d62ad5a1629265e417c368ea54b219b66135dc88ddc73d79ba79c75945e5cf0291b53b2a74e15c8c4f4d4b3c9461fc0ff7becc497121ed870c617e852a481a1d239ebf80b&iv=ca8cf99b43561c4788cbd7350e46bb4a" />
<meta name="Polls_diagramView" content="formkey=5ecc27bfc42bff4b7551103822fa5fbcb69fe95eb53c221a3835d2663e2fda9f495ea0db9691fb1977770d9fe987168edd2c49ca9dd33a9dad4d2eb45af0035fe4076874c76f1399f2d47231688c4d8a4c90b7ba00f88329964726554baca3621070bb70c57c6d30aed9fcfeebe1c636&iv=8969873fd9476891c53466751beaf600" />
<meta name="activeModules" content="Profile,Search,Login,StaticContent,Cooperations,Chat,Plauderkasten,Gadgets,Info,Ims,Friends,Advertising,Uservoice,Photos,Privacy,Blog,Messages,Gruscheln,Link,AccuseIgnore,NobleProfile,Microblog,Education,Work,Groups,Pinboard,VoApi,Badges" />
<meta name="pageletName" content="Profile.Profile" />
<link rel="shortcut icon" href="http://static.pe.meinvz.net/20110328-0/favicon.ico" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Base.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/AccuseIgnore.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Friends.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Education.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Work.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Gadgets.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Gadgets/Gadgets.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Vcard.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Groups.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Photos/PhotoUpload.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Photos/Photos.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Link.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Buschfunk.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Mod_Pinboard.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/Profile.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/FestivalRss.css" />
<link rel="stylesheet" type="text/css" href="http://static.pe.meinvz.net/20110328-0/Css/ManageFriends.css" />
<meta property="og:title" content="Patricia Müller" /> <meta property="og:image" content="http%3A%2F%2Fimg-p3.pe.imagevz.net%2Fprofile2%2F21%2F67%2Fb2ac7a2b9c2fbb10ddb81d46c694%2F1-1c6178cadc937622-s.jpg" />
<script type="text/javascript" src="http://static.pe.meinvz.net/20110328-0/Js/build/resource-core.js"></script>
<script type="text/javascript">
//<![CDATA[
var brs = navigator.userAgent.toLowerCase();
function Adition_BrowserId() {if (brs.search(/msie\s7/) != -1) {return 9;} else if (brs.search(/msie\s8/) != -1) {return 10;} else if (brs.search(/chrome\//) != -1) {return 11;} else if (brs.search(/safari/) != -1) {return 8;} else if (brs.search(/opera/) != -1) {return 7;} else if (brs.search(/konqueror/) != -1) {return 8;} else if (brs.search(/msie\s6/) != -1) {return 3;} else if (brs.search(/msie\s5/) != -1) {return 2;} else if (brs.search(/msie\s4/) != -1) {return 1;} else if (brs.search(/netscape6/) != -1) { return 5;} else if (brs.search(/netscape\/(7\.\d*)/) != -1) {return 5;} else if (brs.search(/netscape4/) != -1) {return 4;} else if ((brs.search(/gecko\//) != -1)) {return 6;} else if ( (brs.search(/mozilla\/(4.\d*)/) != -1) && (brs.search(/msie\s(\d+(\.?\d)*)/) == -1) ) {return 4;} else {return -1;}}
function Adition_OSId() {var os; if ( (brs.search(/windows/) !=-1) || ((brs.search(/win9\d{1}/) !=-1)) ) {if (brs.search(/nt\s5\.1/) != -1) {os=3;} else if (brs.search(/nt\s5\.0/) != -1) {os=2;} else if (brs.search(/nt\s5\.2/) != -1) {os=8;} else if (brs.search(/nt\s6\.0/) != -1) {os=9;} else if (brs.search(/nt\s6\.1/) != -1) {os=10;} else if ( (brs.search(/win98/) != -1) || (brs.search(/windows\s98/)!= -1 ) ) {os=1;} else if (brs.search(/windows\sme/) != -1) {os=1;} else if ( (brs.search(/windows\s95/) != -1) || (brs.search(/win95/)!= -1 ) ) {os=1;} else if ( (brs.search(/nt\s4\.0/) != -1) || (brs.search(/nt4\.0/) ) != -1) {os=4;}return os;} else if (brs.search(/linux/) !=-1) {return 6;} else if (brs.search(/mac\sos\sx/) !=-1) {return 5;} else if ( (brs.search(/macintosh/) !=-1) || (brs.search(/mac\x5fpowerpc/) != -1) ) {return 5;} else if ( (brs.search(/unix/) !=-1) || (brs.search(/x11/) != -1 ) ) {return 7;} else {return -1;}}
function Adition_ResId() {if(screen.width==640 && screen.height==480) {return 1;} else if(screen.width==800 && screen.height==600) {return 2;} else if(screen.width==1024 && screen.height==768) {return 3;} else if(screen.width==1152 && screen.height==864) {return 4;} else if(screen.width==1280 && screen.height==1024) {return 5;} else if(screen.width==1600 && screen.height==1200) {return 6;} else if(screen.width==1280 && screen.height==960) {return 7;} else if(screen.width==1400 && screen.height==1050) {return 8;} else if(screen.width==1280 && screen.height==768) {return 9;} else if(screen.width==1280 && screen.height==800) {return 10;} else if(screen.width==1440 && screen.height==900) {return 11;} else if(screen.width==1680 && screen.height==1050) {return 12;} else if(screen.width==1920 && screen.height==1200) {return 13;} return -1;}
function Adition_Flash() {var f="",n=navigator;if (n.plugins && n.plugins.length) {for (var ii=0;ii<n.plugins.length;ii++) {if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {f=n.plugins[ii].description.split('Shockwave Flash ')[1];i=f.indexOf('.');f=f.substr(0,i);break;}}} else if (window.ActiveXObject) {for (var ii=10;ii>=2;ii--) {try {var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");if (fl) { f=ii; break; }}catch(e) {}}} return f;}; function Adition_Trel() {return '&prf[iug]=14414616644375930622&prf[fhj]=001&iqh=14414616644375930622&ipt=0';};
var ad_wid = Math.round(Math.random()*2000000000);var ad_count = 0;var ref;try{ref=escape(document.referrer);}catch(e){ref='-'}var os;try{os=Adition_OSId();}catch(e){os=''}var browser;try{browser=Adition_BrowserId();}catch(e){browser=''}var screen_res;try{screen_res=Adition_ResId();}catch(e){screen_res=''}var fvers;try{fvers=Adition_Flash();}catch(e){fvers=''} var adition_tag_set=false;
//]]>
</script> <script type="text/javascript">
//<![CDATA[
var requestToken = "WphF-rm2VK6viLOcH_d0x4O6PRV7jzVGc20QXg76fTQ";
//]]>
</script>
</head>
<!-- Du liest Code? Lies auch: http://kurz.nu/r/20 -->
<body class="avz gecko gecko20">
<div id="Grid-Wrapper">
<div id="Grid-Advertising-Top">
<div id="ad728x90">
<script type="text/javascript">/* <![CDATA[ */document.write('<scr'+'ipt type="text/javascript" src="http://studivz.adfarm1.adition.com/banner?wpt=J&sid=50474&wi='+ad_wid+'&ac='+(++ad_count)+'&ref='+ref+'&os='+os+'&browser='+browser+'&screen_res='+screen_res+'&fvers='+fvers+'&prf[iug]=14414616644375930622&prf[fhj]=001&iqh=14414616644375930622&ipt=0&mdev=100"></scr'+'ipt>');/* ]]> */</script></div><script type="text/javascript" src="http://static.pe.meinvz.net/20110328-0/Js/meetrics/adam100111.js"></script> </div>
<div id="Grid-Advertising-Right">
</div>
<div id="Grid-Page">
<div id="Grid-Page-Left">
<div id="Logo">
<a href="/Home" rel="nofollow" title="zur Startseite">
<img src="http://static.pe.meinvz.net/20110328-0/Img/logo.png" alt="Logo meinVz, Link zur Startseite" />
</a>
</div>
<div id="Quicksearch">
<form id="QuickFormSearch" method="post" action="/Search/QuickSearch" class="obj-quicksearch">
<fieldset>
<div id="resultboxAutosuggest"></div>
<div class="labelinside">
<label for="searchfieldAutosuggest">Suche</label>
<input type="text" name="name" id="searchfieldAutosuggest"/>
</div>
<input type="hidden" name="quickSearch" value="1" />
<input type="hidden" id="disableAutosuggest" value="0" />
<input type="hidden" name="formkey" value="2a9375bd1571ee8f93d90ff84c62027e332d580c5d77c8a70982da4cfec337eae7701e54f35df0ce2c8d0886ff294d9b60a8dcea8f7b1b9736fb3da761727f81e93947158b971a938187727360988b22fa9ba852490cb946d8b82a8e104ff2424f2552ce6c2c46c5e893eead8317f6f3" />
<input type="hidden" name="iv" value="4cede1bdd9a7e62ed209766a2ab75d10" />
</fieldset>
</form>
</div>
<ul id="Grid-Navigation-Main" class="obj-linklist">
<li><a href="/Home/tid/101" rel="nofollow" title="Start">Start</a></li> <li class="clearFix"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/102" class="left" rel="nofollow" title="Meine Seite">Meine Seite</a> <a href="/Profile/EditGeneral/tid/109" class="right" rel="nofollow" title="bearbeiten">bearbeiten</a></li> <li><a href="/Friends/All/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/103" rel="nofollow" title="Meine Freunde">Meine Freunde</a></li> <li><a href="/Photos/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo/tid/104" rel="nofollow" title="Meine Fotos">Meine Fotos</a></li> <li><a href="/Groups/tid/105" rel="nofollow" title="Meine Gruppen">Meine Gruppen</a></li> <li><a href="/Gadgets/Overview" rel="nofollow" title="Meine Apps und Spiele">Meine Apps und Spiele</a></li> <li><a href="/Messages/tid/106" class="Navi-Messages-Link" rel="nofollow" title="Nachrichtendienst">Nachrichtendienst <span id="messages-navigationlink-unread" data-unread="0">(0)</span></a></li> <li><a href="/Account/Account/tid/107" rel="nofollow" title="Mein Account">Mein Account</a></li> <li><a href="/Privacy/Settings/tid/108" rel="nofollow" title="Privatsphäre">Privatsphäre</a></li> </ul>
<div id="LeftsideBox" class="box rounded simple-ext">
<div class="innerbox">
<p>
<a href="http://www.meinvz.net/C/2637">Ohne Seepferdchen</a> kommste heut nicht mehr weit.</p> </div>
</div>
</div>
<div id="Grid-Page-Center">
<div id="Grid-Page-Center-Top">
<h1>Meinverzeichnis / meinVZ</h1>
<ul id="Grid-Page-Center-Top-Navigation">
<li><a href="/Language/en" rel="nofollow" title="English">English</a></li>
<li><a href="/Search/SearchGlobal/rmC/1/tid/121" rel="nofollow" title="Suche">Suche</a></li>
<li><a href="/Invitation/Invitation//tid/122" rel="nofollow" title="Einladen">Einladen</a></li>
<li><a href="/l/help" rel="nofollow" title="Hilfe">Hilfe</a></li>
<li><a href="/l/mobile_info" title="Handy">Handy</a></li>
<li><a href="http://blog.meinvz.net" rel="nofollow" target="_blank" title="Blog">Blog</a></li>
<li><a href="/Logout/2b069b333aca8e4d37fc82f3eed18f15/tid/127" class="logout" rel="nofollow" title="Raus hier">Raus hier</a></li>
</ul>
</div>
<div id="Grid-Page-Center-Header">
<div id="Grid-Page-Center-Header-Menu">
<input type="hidden" id="Chat-Header-PrivacyUrl" value="/Privacy" />
<input type="hidden" id="Chat-Header-PrivacyUrlSealed" value="/Privacy/Seal" />
<input type="hidden" id="Chat-WindowUrl" value="/Plauderkasten" />
<div id="Chat_Header" class="">
<div id="mini-chat">
<span id="chat-active" style="display:block">
<span id="set-my-status" class="">
<span id="set-my-status-icon" class="my-status-offline" style=""></span>
<span id="my-status-selector" style="display:none">
<p id="my-status-selector-online"><span class="set-my-status-online"></span>eingeschaltet</p>
<p id="my-status-selector-away"><span class="set-my-status-away"></span>abwesend</p>
<p id="my-status-selector-offline" class="active"><span class="set-my-status-offline"></span>ausgeschaltet</p>
</span>
</span>
<a id="header-text" href="JavaScript:void(0)">
<span id="online-status-text">
Plauderkasten </span>
(<span class="online-users-counter">0</span>)
</a>
</span>
<span class="target-amount-unread twodigit" style="display:none">
<span class="target-num">
</span>
</span>
<span class="target-amount-calls twodigit" style="display:none">
<span class="target-num">
</span>
</span>
<div id="message-sound"></div>
</div>
<div id="Sound-Player-New-Message" style="height: 0px; overflow: hidden;"></div>
<div id="Sound-Player-Incoming-AV" style="height: 0px; overflow: hidden;"></div>
</div>
<!-- Start Lovely Code for Mini Chat Notifications -->
<div id="notification-new-message" style="display: none;">
<div class="notification-text">
<span class="target-username">Vorname Nachname</span> hat Dir eine Nachricht geschrieben. </div>
<input class="button" type="button" value=">Lesen" onclick="javascript:openchattab()" />
<input class="button" type="button" value=">Ignorieren" onclick="javascript:closenotification()" />
<div class="clear"></div>
</div>
<!-- End Lovely Code for Mini Chat Notifications -->
<div id="gadget-menu-header">
<ul>
<li>
<script type="text/javascript">
var popupdata = popupdata || {};
popupdata.href = "/Gadgets/Popup/489";
</script>
<a href="javascript:;" class="gadget-featured-link-popup">
Röhre <img src="http://static.pe.meinvz.net/20110328-0/Img/tv.png" alt="Röhre"/>
</a>
</li>
</ul>
</div> </div>
<h1 class="ellipsis" title="Patricia Müllers Seite (Eilenburg)">Patricia Müllers Seite (Eilenburg)</h1> </div>
<div id="Grid-Page-Center-Content">
<div id="shoutboxJs" class="obj-shoutbox hidden">
<div>
<p id="shoutboxJsSuccess" class="success hidden"></p>
<p id="shoutboxJsError" class="error hidden"></p>
</div>
<div class="close">
<a rel="nofollow" href="javascript:;"></a>
</div>
</div>
<div id="Mod-Profile-View" >
<div id="profileLeft" class="obj-box onethird">
<img src="http://img-a3.pe.imagevz.net/profile2/21/67/b2ac7a2b9c2fbb10ddb81d46c694/1-1c6178cadc937622.jpg" class="obj-profileImage" id="profileImage" alt="Patricia Müller" />
<ul class="obj-linklist">
<li><a href="/Friends/All/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Alle Freunde von Patricia</a></li><li><a href="/Messages/WriteMessage/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia eine Nachricht schicken</a></li><li><a href="/Gruscheln/DialogGruscheln/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia gruscheln</a></li><li class="user-showlink"><a href="/Link/User/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" >Patricia Freunden zeigen</a></li><li>
<a id="accuseIgnoreLink" href="/AccuseIgnore/AccuseIgnore/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">
Patricia melden / ignorieren <input type="hidden" id="accusedUserId" value="8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" />
</a>
</li> </ul>
<div id="MicroBlog" class="obj-innerbox hidden">
<h2>Letzter Funkspruch</h2>
<div id="microblogContent" >
<span class="microblog-guid hidden">8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs</span>
<span class="microblog-ownguid hidden">8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo</span>
<p class="microblogHistory"></p>
<div class="microblogMeta no-float">
</div>
</div>
<input type="hidden" id="MicroBlog-Emoticons" value="{":*":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif",":-*":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif","x-(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_13.gif",":-&#38;":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_12.gif",":-s":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_10.gif",":-o":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_9.gif",":-x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_8.gif",":oops:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_7.gif",":-p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_5.gif",":-((":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_6.gif",":-(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_4.gif",";-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_3.gif",":-D":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_2.gif",":-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_1.gif",":)p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_14.gif",":)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_1.gif",":D":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_2.gif",";)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_3.gif",":((":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_6.gif",":(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_4.gif",":p":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_5.gif",":\">":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_7.gif",":x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_8.gif",":o":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_9.gif",":s":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_10.gif","|-)":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_11.gif",":&#38;":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_12.gif","x(":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_13.gif",":h\u00e4:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_15.gif",":vz:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/mVZ_Emoticon_15.gif","8-x":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_17.gif",":hmm:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_18.gif",":emo:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_19.gif",":yo:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_20.gif",":kuss:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_21.gif",":alien:":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/pvz_smilie_22.gif","$%&#38;1521":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_12.gif","$%&#38;1747":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_13.gif","$%&#38;1853":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_14.gif","$%&#38;1897":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_15.gif","$%&#38;1899":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/mVZ_Emoticon_15.gif","$%&#38;1903":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_16.gif","$%&#38;2189":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_17.gif","$%&#38;2276":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_18.gif","$%&#38;2376":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_19.gif","$%&#38;2454":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_20.gif","$%&#38;2365":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_21.gif","$%&#38;2471":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_22.gif","$%&#38;2498":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_23.gif","$%&#38;2571":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_24.gif","$%&#38;2588":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_25.gif","$%&#38;3333":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_26.gif","$%&#38;4444":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_27.gif","$%&#38;4578":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_28.gif","$%&#38;5555":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_29.gif","$%&#38;5783":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_30.gif","$%&#38;5912":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_31.gif","$%&#38;6173":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_32.gif","$%&#38;6262":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_33.gif","$%&#38;6398":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_34.gif","$%&#38;7834":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_35.gif","$%&#38;7867":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_36.gif","$%&#38;7912":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_37.gif","$%&#38;8121":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_38.gif","*Prost*":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67863&ts=1301488298","*prost*":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67863&ts=1301488298","$%&#38;11":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_11.gif","$%&#38;10":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_10.gif","$%&#38;1":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_1.gif","$%&#38;2":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_2.gif","$%&#38;3":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_3.gif","$%&#38;4":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_4.gif","$%&#38;5":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_5.gif","$%&#38;6":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_6.gif","$%&#38;7":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_7.gif","$%&#38;8":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_8.gif","$%&#38;9":"http:\/\/static.pe.meinvz.net\/20110328-0\/Img\/Smiley\/sVZ_Emoticon_9.gif"}"/>
<input type="hidden" id="MicroBlog-Emoticon-Links" value="{"*Prost*":"http:\/\/studivz.adfarm1.adition.com\/redi?sid=68701&kid=67863&ts=1301488298&clickurl=http:\/\/www.studivz.net\/l\/krombacher\/2","*prost*":"http:\/\/studivz.adfarm1.adition.com\/redi?sid=68701&kid=67863&ts=1301488298&clickurl=http:\/\/www.studivz.net\/l\/krombacher\/2"}"/>
</div>
<div class="obj-innerbox">
<h2>Gemeinsame Freunde</h2>
<div class="obj-subbar">
Du hast <a href="/Friends/Common/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">52 gemeinsame Freunde</a> mit Patricia. </div>
<ul class="obj-thumbnaillist">
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsaLH2VjNPN1EFDNgU1Z-hrk"><img src="http://img-p2.pe.imagevz.net/profile1/04/0b/71c16d6ed519ea2be8cb7378867c/1-8a2c92ddcd73104b-s.jpg" alt="Tobi Wan Kenobi"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsaLH2VjNPN1EFDNgU1Z-hrk">Tobi Wan Kenobi</a></div>
</li>
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsXHF9X1Ci41mbDCjBjO78x4"><img src="http://img-p2.pe.imagevz.net/profile1/78/48/82bfba8ffbe4abfd8ac7c6771ca9/1-7e7067dc0215c7eb-s.jpg" alt="David Eckler"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsXHF9X1Ci41mbDCjBjO78x4">David Eckler</a></div>
</li>
<li>
<div class="imageContainer"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsY5evW-9FWNNA281TgoyrdE"><img src="http://img-p2.pe.imagevz.net/profile1/21/86/0f3dbdd69a40fdf19a47d56d41e1/1-63604fe3a8f9377b-s.jpg" alt="Anja Lieder"/></a></div>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsY5evW-9FWNNA281TgoyrdE">Anja Lieder</a></div>
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde (gleiche Region)</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/48884">40 Freunde</a> in der Region Eilenburg. </div>
<ul class="obj-thumbnaillist">
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsdtYvULBLGCcrCaKKJzmZoc"><img src="http://img-p5.pe.imagevz.net/profile2/76/97/7241c0a40ea47c89495a9053315d/1-7d7112a81068f8e4-s.jpg" alt="Manuela Haberkorn"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsdtYvULBLGCcrCaKKJzmZoc">Manuela Haberkorn</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsTDdDixKtoglOsq-bOMiVAU"><img src="http://img-p3.pe.imagevz.net/profile1/69/51/326f2ecb7d60ac41f502bbae3bdb/1-3d0dde540296bf8a-s.jpg" alt="Daniel Schäfer"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsTDdDixKtoglOsq-bOMiVAU">Daniel Schäfer</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsThl4Es_Mtvfatp7TL47UDA"><img src="http://img-p2.pe.imagevz.net/profile1/48/27/0fdf70ea63f0048148658c92cdfe/1-f76ecf4d974167ff-s.jpg" alt="♥ڿڰۣ«ಌ nIcOlE aKa De StRuPpI ♥ڿڰۣ«ಌ"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsThl4Es_Mtvfatp7TL47UDA">♥ڿڰۣ«ಌ nIcOlE aKa De StRuPpI ♥ڿڰۣ«ಌ</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qscEEPpIqiZqnVRVg34f3xs0"><img src="http://img-p1.pe.imagevz.net/profile1/b8/02/486605428e578b22b77369ed56bb/1-0a8d236ab8ed219f-s.jpg" alt="Stefanie Heinke"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qscEEPpIqiZqnVRVg34f3xs0">Stefanie Heinke</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsa_GIQQMhnGNar6czlDl6WA"><img src="http://img-p4.pe.imagevz.net/profile1/92/16/3410c2c3d51e1a692515507efd43/1-248add2b3c407097-s.jpg" alt="Katrin Lenz"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsa_GIQQMhnGNar6czlDl6WA">Katrin Lenz</a></div>
</li>
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsf2x5UBL1y2zXeLdhR8tymY"><img src="http://img-p1.pe.imagevz.net/profile2/18/92/3a4c44d4d5d94618547eda4bfc00/1-a61db3942e104dcf-s.jpg" alt="Antje Sander"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsf2x5UBL1y2zXeLdhR8tymY">Antje Sander</a></div>
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde (andere Region)</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Other/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">38 Freunde</a> in ... </div>
<ul class="uniList float-left">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3716">Groß-Gerau</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3771">Esslingen</a> (3)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3825">Miesbach</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3959">Leipzig</a> (12)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3960">Delitzsch</a> (12)
</li>
</ul>
<ul class="uniList float-left">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3962">Leipziger Land</a> (5)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/3964">Torgau-Oschatz</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/4018">Basel-Landschaft</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/48985">Torgau</a> (1)
</li>
</ul>
</div><div class="obj-innerbox">
<h2>Freunde auf studiVZ</h2>
<div class="obj-subbar">
Patricia hat <a href="/Friends/Platform/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/1">23 Freunde</a> an ... </div>
<ul class="uniList floatL">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/159/1">Uni Leipzig</a> (10)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/160/1">HTWK Leipzig</a> (6)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/295/1">HHL Leipzig</a> (1)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/368/1">Universität Zürich</a> (1)
</li>
</ul>
<ul class="uniList floatL">
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/627/1">BA Leipzig</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/1606/1">DHfPG Leipzig</a> (2)
</li>
<li>
<a href="/Friends/Network/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/2642/1">Diploma Leipzig</a> (1)
</li>
</ul>
</div>
</div>
<div id="profileRight" class="obj-box twothird">
<div id="Friends-Connection" class="obj-innerbox friendsColumn">
<h2>Verbindung</h2>
<ul class="obj-thumbnaillist">
<li>
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo"><img src="http://img-p2.pe.imagevz.net/profile1/91/2a/3a39897272b3606c147ebc52df09/1-38f1d96d822ff36b-s.jpg" alt="Schramme .."/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsajYPqMm4gHSnUJiB7MaBIo">Schramme ..</a></div>
</li>
<li class="last">
<a href="/Profile/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs"><img src="http://img-p3.pe.imagevz.net/profile2/21/67/b2ac7a2b9c2fbb10ddb81d46c694/1-1c6178cadc937622-s.jpg" alt="Patricia Müller"/></a>
<div class="caption"><a href="/Profile/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs">Patricia Müller</a></div>
</li>
</ul>
</div>
<div id="Profile_InformationSnipplet" class="obj-innerbox">
<h2>Information</h2>
<div id="P" class="accountStatusOnline clearFix hidden">
<br /><span id="status_8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" class="mobilestatus">Plauderkasten ist an.</span>
</div>
<h3>Account</h3>
<dl id="Mod-Profile-Information-Account" class="obj-keyValueList" >
<dt>Name:</dt>
<dd>
Patricia Müller
</dd>
<dt>Verzeichnis:</dt>
<dd>
<img src="http://static.pe.meinvz.net/20110328-0/Img/Logos/mvzLogo15px.gif" alt="meinVZ"/>
</dd>
<dt>Mitglied seit:</dt>
<dd>25.01.2011</dd>
<dt>Letztes Update:</dt>
<dd>31.01.2011</dd>
</dl><h3>Allgemeines</h3>
<dl id="Mod-Profile-Information-General" class="obj-keyValueList">
<dt>Region:</dt>
<dd>
<a href="/Search/SearchSuper/platform/3/uni/48884/doSearch/1/rmC/1">Eilenburg</a> </dd>
<dt>Status:</dt>
<dd>im Berufsleben</dd>
<dt>Geschlecht:</dt>
<dd><a href="/Search/SearchSuper/gender/1/platform/3/doSearch/1/rmC/1">weiblich</a></dd>
<dt>Geburtstag:</dt>
<dd>
27.07. <a href="/Birthday" class="icon icon-calendar">Zum Kalender</a>
</dd>
</dl>
<h3>Persönliches</h3>
</div><div id="gadgets-list">
</div>
<div id="Mod-Groups-Snipplet" class="obj-innerbox">
<h2>Gruppen </h2>
<ul>
<li>
<a href="/Groups/Overview/104946e7f0460efd">ERZ10 Rote Jahne</a>
</li>
<li>
<a href="/Groups/Overview/85d1878aa2fcd4ec">ex-schiller-schule-schüler-eilenburg</a>
</li>
<li>
<a href="/Groups/Overview/a99fee2ca081b68e">Neulinge im VZ</a>
</li>
</ul>
</div><div id="Mod-Pinboard-Snipplet" class="obj-innerbox">
<h2>Pinnwand</h2>
<div class="obj-subbar">
<div class="obj-subbar-info">
Zeige 9 von <a href="/Pinboard/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/p/1">
9 Einträgen </a>
</div>
<div class="obj-subbar-actions">
<a href="javascript:;" name="showForm" class="showForm" >Etwas schreiben</a>
| <a href="/Pinboard/8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs/p/1">
Alle ansehen </a>
</div>
</div>
<div class="write-panel pinboard-write" style="display:none;">
<form action="" method="post">
<script type="text/javascript">
embedHidden = function() { return false;};
</script> <fieldset>
<div class="form-row">
<div class="hint hidden">Bitte schreib etwas.</div><label for="Pinboard_entry" class="floatL">Eintrag: </label><textarea id="Pinboard_entry" rows="6" cols="45" title="Bitte schreib etwas." name="entry"></textarea> </div>
<div id="Pinboard-Embed-Container" class="hint form-row"></div>
<div class="hint">
noch <span id="pinboardCharsCount"></span> Zeichen </div>
<input type="hidden" name="referrer" value="overview" />
<input type="hidden" name="userId" value="8tdVJyeco54Sp6cuBo1qsV93wfdYlNGYMJmg8-9Dyjs" />
<div class="form-buttons">
<input class="button" type="submit" value="Abschicken" />
<input class="button" type="reset" value="Doch nicht" />
</div>
<input type="hidden" name="formkey" value="8bafddf482eedc492d479929c197f75234a3117d034b9ec2609b25a30208f616ea9e79ea94e46d52be0e91e405a097fe00e0ff2fb6fe220006ae151e00f7289d26946ac1262b5dab7d97825f45448b595c20f01501cd7fc82a89be5c1aaafd3d3548ec0ad49d8997a865ceee8a57b7de" />
<input type="hidden" name="iv" value="fdd1bc749d8638d8dca4a6cb7c614974" />
</fieldset>
<input type="hidden" id="emoticonArray" value="{"#alles-gute1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_AllesGute.jpg","#danke1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100123_Pinnwandvisual_Danke.jpg","#du-ich#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-du-ich_2009.gif","#fit-wie-ein-turnschuh#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_3_3.gif","#gib-mir-5#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_GibMir5.jpg","#glueckwunsch1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_Glueckwunsch.jpg","#gruesse#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisual05.jpg","#gute-besserung1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_2_2.jpg","#hallo1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisual04aVZsVZ.jpg","#herz1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/herz.png","#heute-abend#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101105_Single_Pinnwandvisuals10.png","#hut-ab1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_HutAb.jpg","#ich-liebe-dich#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/liebe.gif","#knutscha#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/knutscha.gif","#liebe-regnen#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/regnen.png","#liebe-regnen1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/regnen.png","#mag-dich1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single08.png","#nie-wieder#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_NieWieder.jpg","#party#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single07.jpg","#schnell-auf-die-beine#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_4.gif","#sei-nicht-boese#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_SeiNichtBoese.jpg","#sei-stolz#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_SeiStolz.jpg","#traum#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101108_PV_Single02_2.png","#verzeihst-du-mir#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100123_Pinnwandvisual_Verzeihen.jpg","#viel-glueck1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100125_Pinnwandvisual_VielGlueck.jpg","#wirklich-krank#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/100208_Pinnwandvisual_GuteBesserung_2010_1_2.jpg","#wochenende#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/allgemein\/101008_PV_Single04.jpg","#aktiv#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112203&bid=324348&ts=1301517583","#aok-aktiv-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112203&bid=324348&ts=1301517583","#aok-beauty-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112252&bid=324725&ts=1301517583","#aok-chillout-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112217&bid=324445&ts=1301517583","#aok-fun-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112218&bid=324448&ts=1301517583","#aok-wellness-strand#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112240&bid=324699&ts=1301517583","#chillout#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64545&kid=112217&bid=324445&ts=1301517583","#woisttil#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68340&kid=118669&bid=349721&ts=[timestamp]&ts=1301517583","#collbleiben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#colldrauf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#coolbleiben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#coolblieben#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89541&ts=1301517583","#cooldaruf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#cooldrauf#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=64544&kid=89553&ts=1301517583","#herz-tanzt#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual03.jpg","#herzen#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual02.jpg","#kaffee#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual01.jpg","#mein-typ#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/flirten\/101105_Single_Pinnwandvisual7.jpg","#fruehlingsgruesse#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzblume.gif","#hurra#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Schmetterlinge.gif","#pusteblume#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzwolke.gif","#pusteblume1#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Pusteblume.gif","#sonne#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Herzwolke.gif","#zauberhaft#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/100317_Pinnwandvisual_Vogel.gif","#baby1#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals01.jpg","#baby2#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals03.jpg","#fratz#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals05.jpg","#lieferzeit#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals02.jpg","#sonnenschein#":"http:\/\/static.pe.studivz.net\/media\/de\/pinnwand\/geburt\/100611_Geburt_Pinnwandvisuals04.jpg","#geb-dick#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_6.gif","#geb-geschenke#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_10.jpg","#geb-hase#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_3.gif","#geb-hund#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_2.jpg","#geb-kuchen#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_13.jpg","#geb-lumpi#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_5_neu.jpg","#geb-party#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_9.jpg","#geb-rente#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_4.gif","#geb-torte#":"http:\/\/static.pe.meinvz.net\/media\/de\/pinnwand\/visual-geburtstag_2009_11.jpg","#got2b#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67874&ts=1301517583","#got2b-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583","#got2be#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=67874&ts=1301517583","#got2be-vote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583","#got2bevote#":"http:\/\/studivz.adfarm1.adition.com\/banner?sid=68701&kid=70714&ts=1301517583",
Untitled JavaScript (30-Mar @ 22:29)
Syntax Highlighted Code
- 0KcrZFfAjzRGJU_mI7L6gQv4Nq1mFTszl5cdNT339xI
Plain Code
0KcrZFfAjzRGJU_mI7L6gQv4Nq1mFTszl5cdNT339xI
Untitled JavaScript (22-Mar @ 17:16)
Syntax Highlighted Code
- print("Hello world!");
Plain Code
print("Hello world!");
Untitled JavaScript (22-Mar @ 17:15)
Syntax Highlighted Code
- function truc() {
- return "blah";
- }
- [1 more lines...]
Plain Code
function truc() {
return "blah";
}
echo(truc());
Untitled JavaScript (23-Feb @ 06:20)
Syntax Highlighted Code
- // shim layer with setTimeout fallback
- window.requestAnimFrame = (function(){
- return window.requestAnimationFrame ||
- [17 more lines...]
Plain Code
// shim layer with setTimeout fallback
window.requestAnimFrame = (function(){
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function(/* function */ callback, /* DOMElement */ element){
window.setTimeout(callback, 1000 / 60);
};
})();
// usage:
// instead of setInterval(render, 16) ....
(function animloop(){
render();
requestAnimFrame(animloop, element);
})();
Untitled JavaScript (15-Feb @ 20:15)
Syntax Highlighted Code
- var tratarEnquadramentos = function(obj) {
- if (!obj.value.length) {
- return false;
- }
- [231 more lines...]
Plain Code
var tratarEnquadramentos = function(obj) {
if (!obj.value.length) {
return false;
}
if (obj.value.substr(0, 3) == '811') {
window.alert('Em breve os Enquadramentos de Drawback estarão disponíveis no Simulador.');
obj.value = '';
return false;
}
var disabledData = disabledPercent = disabledRc = disabledRv = disabledDi = disabledRe = disabledMt = true;
/*
var enquadramentos = jQuery('.enquadramento').values();
if (enquadramentos.length) {
disabledMt = false;
}
*/
jQuery('.enquadramento').each(function(){
if (this.value.length) {
disabledData = disabledData ? !(jQuery.inArray(this.value, ['80102', '80104', '90003', '90013']) !== -1) : false;
disabledPercent = disabledPercent ? !(this.value == '80104') : false;
disabledRv = disabledRv ? !(this.value == '81301') : false;
disabledRc = disabledRc ? !(jQuery.inArray(this.value, ['81501', '81502', '81503']) !== -1) : false;
disabledDi = disabledDi ? !(jQuery.inArray(this.value, ['99123', '99108']) == -1) : false;
disabledRe = disabledRe ? !(this.value == '99106') : false;
disabledMt = false;
}
});
// Desabilita campos
jQuery('#RegistroExportacaoDataLimite').attr('readonly', disabledData);
jQuery('#RegistroExportacaoPercentualMargemNaoSacada').attr('readonly', disabledPercent);
jQuery('#RegistroExportacaoRcVinculado').attr('readonly', disabledRc);
jQuery('#RegistroExportacaoRvVinculado').attr('readonly', disabledRv);
jQuery('#RegistroExportacaoReVinculado').attr('readonly', disabledRe);
jQuery('#RegistroExportacaoDiVinculado').attr('readonly', disabledDi);
jQuery('#vincular_informacoes').attr('disabled', disabledRc && disabledRv && disabledDi && disabledRe);
jQuery('#RegistroExportacaoModalidadeTransacao').attr('readonly', disabledMt);
};
var tabelaList = function(model, codigo, descricao) {
Popups.open('novoex/pages/tabelaList/' + model + '/' + codigo + '/' + descricao, {
width: 400,
height: 450
});
return false;
};
var tabelaInstrumentoNegociacao = function(codigoPais, codigo, descricao) {
if (!jQuery('#' + codigoPais).val().length) {
window.alert('Informe o Pais Destino para obter seus Instrumentos de Negociação.');
return false;
}
Popups.open('novoex/pages/tabelaInstrumentoNegociacao/' + jQuery('#' + codigoPais).val() + '/' + codigo + '/' + descricao, {
width: 780,
height: 450
});
return false;
};
var tabelaNcm = function(codigo, descricao) {
Popups.open('novoex/pages/tabelaNcm/' + codigo + '/' + descricao, {
width: 780,
height: 450
});
return false;
};
var clone = function(obj) {
var obj = obj || this;
return jQuery(obj).after(jQuery(obj).clone());
};
function inserirCCPTC(obj) {
var codigo = jQuery('#RegistroExportacaoCodigoCcptc');
var ncm = jQuery('#RegistroExportacaoNcm');
var unidade_medida = jQuery('#RegistroExportacaoUnidadeMedida');
var quantidade = jQuery('#RegistroExportacaoQtdeMedidaEstatistica');
if (codigo.val() != '' && ncm.val() != '' && unidade_medida.val() != '' && quantidade.val() != '') {
var clone = this.clone(obj); // Chama a function clone
clone.children('#ccptc_td0').html('<input type="checkbox" class="inputCCPTC" value="'+jQuery('#RegistroExportacaoCcptcQtde').val()+'" id="inputCCPTC" name="inputCCPTC['+jQuery('#RegistroExportacaoCcptcQtde').val()+']" />'+'<input value="'+codigo.val()+'" type="hidden" name="data[Ccptc][certificado][]" />'+'<input value="'+ncm.val()+'" type="hidden" name="data[Ccptc][ncm][]" />'+'<input value="'+unidade_medida.val()+'" type="hidden" name="data[Ccptc][unidade_medida][]" />'+'<input value="'+quantidade.val()+'" type="hidden" name="data[Ccptc][qtd_estatistica][]" />');
clone.children('#ccptc_td1').html(codigo.val());
clone.children('#ccptc_td2').html(ncm.val());
clone.children('#ccptc_td3').html(unidade_medida.val());
clone.children('#ccptc_td4').html(quantidade.val());
clone.children('#ccptc_td5').html('<a href="#" onclick="alterarCCPTC(this);">Editar<img src="../img/icons/edit.gif" /></a>');
jQuery('#RegistroExportacaoCcptcQtde').val(parseFloat(parseFloat(jQuery('#RegistroExportacaoCcptcQtde').val()) + parseFloat(1)));
clone.show();
} else {
alert('Favor preencher todos os campos.');
}
}
function alterarCCPTC(obj) {
var codigo = jQuery('#RegistroExportacaoCodigoCcptc');
var ncm = jQuery('#RegistroExportacaoNcm');
var unidade_medida = jQuery('#RegistroExportacaoUnidadeMedida');
var quantidade = jQuery('#RegistroExportacaoQtdeMedidaEstatistica');
var obj = jQuery(obj);
codigo.val(obj.parent().parent().children('#ccptc_td1').html());
ncm.val(obj.parent().parent().children('#ccptc_td2').html());
unidade_medida.val(obj.parent().parent().children('#ccptc_td3').html());
quantidade.val(obj.parent().parent().children('#ccptc_td4').html());
jQuery('#ccptc_botao_incluir').attr('disabled', true);
jQuery('#ccptc_botao_atualizar').attr('disabled', false);
jQuery('#ccptc_botao_excluir').attr('disabled', true);
jQuery('#RegistroExportacaoCcptcTdEdit').val(obj.parent().parent().children('#ccptc_td0').children('#inputCCPTC').val());
}
function atualizarCCPTC() {
var codigo = jQuery('#RegistroExportacaoCodigoCcptc');
var ncm = jQuery('#RegistroExportacaoNcm');
var unidade_medida = jQuery('#RegistroExportacaoUnidadeMedida');
var quantidade = jQuery('#RegistroExportacaoQtdeMedidaEstatistica');
var edt = jQuery('input[name="inputCCPTC['+jQuery('#RegistroExportacaoCcptcTdEdit').val()+']"]');
edt.parent().parent().children('#ccptc_td1').html(codigo.val());
edt.parent().parent().children('#ccptc_td2').html(ncm.val());
edt.parent().parent().children('#ccptc_td3').html(unidade_medida.val());
edt.parent().parent().children('#ccptc_td4').html(quantidade.val());
jQuery('#ccptc_botao_incluir').attr('disabled', false);
jQuery('#ccptc_botao_atualizar').attr('disabled', true);
jQuery('#ccptc_botao_excluir').attr('disabled', false);
codigo.val('');
ncm.val('');
unidade_medida.val('');
quantidade.val('');
}
function excluirCCPTC() {
jQuery(".inputCCPTC:checked").each(function(i, el) {
jQuery(el).parent().parent().remove();
});
}
function inserirFabricante(obj) {
var cpf_cnpj = jQuery('#RegistroExportacaoFabricanteCpfCnpj');
var uf = jQuery('#RegistroExportacaoFabricanteUf');
var quantidade = jQuery('#RegistroExportacaoFabricanteQuantidadeEstatistica');
var peso = jQuery('#RegistroExportacaoFabricantePesoLiquido');
var valor = jQuery('#RegistroExportacaoFabricanteValorEmbarque');
if (cpf_cnpj.val() != '' && uf.val() != '' && quantidade.val() != '' && peso.val() != '' && valor.val() != '' ) {
var clone = this.clone(obj); // Chama a function clone
clone.children('#fabricante_td0').html('<input type="checkbox" class="inputFabricante" value="'+jQuery('#RegistroExportacaoFabricanteQtde').val()+'" id="inputFabricante" name="inputFabricante['+jQuery('#RegistroExportacaoFabricanteQtde').val()+']" />'+'<input value="'+cpf_cnpj.val()+'" type="hidden" name="data[Fabricante][cpf_cnpj][]" />'+'<input value="'+uf.val()+'" type="hidden" name="data[Fabricante][sigla_uf_fabric][]" />'+'<input value="'+quantidade.val()+'" type="hidden" name="data[Fabricante][qtd_estatistica_fabric][]" />'+'<input value="'+peso.val()+'" type="hidden" name="data[Fabricante][peso_liquido_fabric][]" />'+'<input value="'+valor.val()+'" type="hidden" name="data[Fabricante][valor_moeda_local_embarque][]" />'+'<input value="'+jQuery('#RegistroExportacaoFabricanteObservacao').val()+'" type="hidden" name="data[Fabricante][obs_fabric][]" />');
clone.children('#fabricante_td1').html(cpf_cnpj.val());
clone.children('#fabricante_td2').html(uf.val());
clone.children('#fabricante_td3').html(quantidade.val());
clone.children('#fabricante_td4').html(peso.val());
clone.children('#fabricante_td5').html(valor.val());
clone.children('#fabricante_td6').html('<a href="#" onclick="alterarFabricante(this);">Editar<img src="../img/icons/edit.gif" /></a>');
jQuery('#RegistroExportacaoFabricanteQtde').val(parseFloat(parseFloat(jQuery('#RegistroExportacaoFabricanteQtde').val()) + parseFloat(1)));
clone.show();
} else {
alert('Favor preencher todos os campos.');
}
}
function alterarFabricante(obj) {
var cpf_cnpj = jQuery('#RegistroExportacaoFabricanteCpfCnpj');
var uf = jQuery('#RegistroExportacaoFabricanteUf');
var quantidade = jQuery('#RegistroExportacaoFabricanteQuantidadeEstatistica');
var peso = jQuery('#RegistroExportacaoFabricantePesoLiquido');
var valor = jQuery('#RegistroExportacaoFabricanteValorEmbarque');
var obj = jQuery(obj);
cpf_cnpj.val(obj.parent().parent().children('#fabricante_td1').html());
uf.val(obj.parent().parent().children('#fabricante_td2').html());
quantidade.val(obj.parent().parent().children('#fabricante_td3').html());
peso.val(obj.parent().parent().children('#fabricante_td4').html());
valor.val(obj.parent().parent().children('#fabricante_td5').html());
jQuery('#fabricante_botao_incluir').attr('disabled', true);
jQuery('#fabricante_botao_atualizar').attr('disabled', false);
jQuery('#fabricante_botao_excluir').attr('disabled', true);
jQuery('#RegistroExportacaoFabricanteTdEdit').val(obj.parent().parent().children('#fabricante_td0').children('#inputFabricante').val());
}
function atualizarFabricante() {
var cpf_cnpj = jQuery('#RegistroExportacaoFabricanteCpfCnpj');
var uf = jQuery('#RegistroExportacaoFabricanteUf');
var quantidade = jQuery('#RegistroExportacaoFabricanteQuantidadeEstatistica');
var peso = jQuery('#RegistroExportacaoFabricantePesoLiquido');
var valor = jQuery('#RegistroExportacaoFabricanteValorEmbarque');
var edt = jQuery('input[name="inputFabricante['+jQuery('#RegistroExportacaoFabricanteTdEdit').val()+']"]');
edt.parent().parent().children('#fabricante_td1').html(cpf_cnpj.val());
edt.parent().parent().children('#fabricante_td2').html(uf.val());
edt.parent().parent().children('#fabricante_td3').html(quantidade.val());
edt.parent().parent().children('#fabricante_td4').html(peso.val());
edt.parent().parent().children('#fabricante_td5').html(valor.val());
jQuery('#fabricante_botao_incluir').attr('disabled', false);
jQuery('#fabricante_botao_atualizar').attr('disabled', true);
jQuery('#fabricante_botao_excluir').attr('disabled', false);
cpf_cnpj.val('');
uf.val('');
quantidade.val('');
peso.val('');
valor.val('');
jQuery('#RegistroExportacaoFabricanteObservacao').val('');
}
function excluirFabricante() {
jQuery(".inputFabricante:checked").each(function(i, el) {
jQuery(el).parent().parent().remove();
});
}
/* Funcoes do Governo */
var ultimaTeclaCaracterControle = false;
function FormataCNPJCPF(el) {vr = el.value;tam = vr.length;if (tam == 11) {if (vr.indexOf(".") == -1) {if (tam <= 2) {el.value = vr;}if (tam > 2 && tam <= 5) {el.value = vr.substr(0, tam - 2) + "-" + vr.substr(tam - 2, tam);}if (tam >= 6 && tam <= 8) {el.value = vr.substr(0, tam - 5) + "." + vr.substr(tam - 5, 3) + "-" + vr.substr(tam - 2, tam);}if (tam >= 9 && tam <= 11) {el.value = vr.substr(0, tam - 8) + "." + vr.substr(tam - 8, 3) + "." + vr.substr(tam - 5, 3) + "-" + vr.substr(tam - 2, tam);}if (tam >= 12 && tam <= 14) {el.value = vr.substr(0, tam - 11) + "." + vr.substr(tam - 11, 3) + "." + vr.substr(tam - 8, 3) + "." + vr.substr(tam - 5, 3) + "-" + vr.substr(tam - 2, tam);}if (tam >= 15 && tam <= 17) {el.value = vr.substr(0, tam - 14) + "." + vr.substr(tam - 14, 3) + "." + vr.substr(tam - 11, 3) + "." + vr.substr(tam - 8, 3) + "." + vr.substr(tam - 5, 3) + "-" + vr.substr(tam - 2, tam);}}}if (tam == 14) {if (vr.indexOf(".") == -1) {if (tam <= 2) {el.value = vr;}if (tam > 2 && tam <= 6) {el.value = vr.substr(0, 2) + "." + vr.substr(2, tam);}if (tam >= 7 && tam <= 10) {el.value = vr.substr(0, 2) + "." + vr.substr(2, 3) + "." + vr.substr(5, 3) + "/";}if (tam >= 11 && tam <= 18) {el.value = vr.substr(0, 2) + "." + vr.substr(2, 3) + "." + vr.substr(5, 3) + "/" + vr.substr(8, 4) + "-" + vr.substr(12, 2);}}}return true;}
function ValidaDigitacaoNumeros(evento, nomeCampo, tamMaximo, qtdDecimais) {var novoValor = "";var chValido = "";var temDecimal = false;var ehSeparador = false;var ehNumero = false;var ehCaracterControle = false;var sepPonto = 46;var sepVirgula = 44;var nPosDecimal = -1;var teclaDigitada = 0;var valorCampo = nomeCampo.value;if (window.event) {teclaDigitada = evento.keyCode;} else if (evento.which) {teclaDigitada = evento.which;}var posicaoCursor = getPosicaoCursor(nomeCampo);ehSeparador = teclaDigitada == sepVirgula || teclaDigitada == sepPonto;ehNumero = teclaDigitada > 47 && teclaDigitada < 58;ehCaracterControle = teclaDigitada <= 31 || teclaDigitada >= 127;nPosDecimal = valorCampo.indexOf(",");if (nPosDecimal == -1) {nPosDecimal = valorCampo.indexOf(".");}if (ehCaracterControle || ultimaTeclaCaracterControle) {valorCampo = EliminaTextoSelecionado(nomeCampo);return true;} else if (!(ehNumero || ehSeparador)) {return false;} else {valorCampo = EliminaTextoSelecionado(nomeCampo);if (ehSeparador) {if (qtdDecimais == 0 || nPosDecimal != -1 || valorCampo.length < 1) {return false;}} else if (qtdDecimais > 0 && !ehSeparador) {var nTamDecimal = valorCampo.length - (nPosDecimal + 1);if (nPosDecimal != -1 && posicaoCursor > nPosDecimal && nTamDecimal >= qtdDecimais) {return false;} else {var nMaxTamInteiro = tamMaximo - (qtdDecimais + 1);var nTamInteiro = valorCampo.length;if (nPosDecimal != -1) {nTamInteiro = nPosDecimal;}if (nTamInteiro >= nMaxTamInteiro && posicaoCursor <= nMaxTamInteiro) {return false;}}} else if (tamMaximo > 0 && valorCampo.length + 1 > tamMaximo) {return false;}}return true;}
function retiraFormatacao(valor) {var valorSemFormatacao = valor;while (valorSemFormatacao.indexOf(".") >= 0) {valorSemFormatacao = valorSemFormatacao.replace(".", "");}while (valorSemFormatacao.indexOf("-") >= 0) {valorSemFormatacao = valorSemFormatacao.replace("-", "");}while (valorSemFormatacao.indexOf("/") >= 0) {valorSemFormatacao = valorSemFormatacao.replace("/", "");}return valorSemFormatacao;}
function getPosicaoCursor(campo) {var valorCampo = "";var posicaoCursor = 0;if (BrowserDetect.browser != "MSIE" && BrowserDetect.browser != "Explorer") {posicaoCursor = campo.selectionStart;} else {posicaoCursor = Math.abs(document.selection.createRange().moveStart("character", -1000000));}return posicaoCursor;}
var BrowserDetect = ({init:(function () {this.browser = this.searchString(this.dataBrowser) || "An unknown browser";this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version";this.OS = this.searchString(this.dataOS) || "an unknown OS";}), searchString:(function (data) {for (var i = 0; i < data.length; i++) {var dataString = data[i].string;var dataProp = data[i].prop;this.versionSearchString = data[i].versionSearch || data[i].identity;if (dataString) {if (dataString.indexOf(data[i].subString) != -1) {return data[i].identity;}} else if (dataProp) {return data[i].identity;}}}), searchVersion:(function (dataString) {var index = dataString.indexOf(this.versionSearchString);if (index == -1) {return;}return parseFloat(dataString.substring(index + this.versionSearchString.length + 1));}), dataBrowser:[{string:"Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5", subString:"OmniWeb", versionSearch:"OmniWeb/", identity:"OmniWeb"}, {string:"", subString:"Apple", identity:"Safari"}, {prop:(void 0), identity:"Opera"}, {string:"", subString:"iCab", identity:"iCab"}, {string:"", subString:"KDE", identity:"Konqueror"}, {string:"Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5", subString:"Firefox", identity:"Firefox"}, {string:"", subString:"Camino", identity:"Camino"}, {string:"Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5", subString:"Netscape", identity:"Netscape"}, {string:"Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5", subString:"MSIE", identity:"Explorer", versionSearch:"MSIE"}, {string:"Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5", subString:"Gecko", identity:"Mozilla", versionSearch:"rv"}, {string:"Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5", subString:"Mozilla", identity:"Netscape", versionSearch:"Mozilla"}], dataOS:[{string:"Win32", subString:"Win", identity:"Windows"}, {string:"Win32", subString:"Mac", identity:"Mac"}, {string:"Win32", subString:"Linux", identity:"Linux"}], versionSearchString:"Windows", browser:"Firefox", version:3.5, OS:"Windows"});
function EliminaTextoSelecionado(campo) {var valorCampo = "";var inicioSelecao = 0;var fimSelecao = 0;if (BrowserDetect.browser != "MSIE" && BrowserDetect.browser != "Explorer") {inicioSelecao = campo.selectionStart;fimSelecao = campo.selectionEnd;} else {inicioSelecao = Math.abs(document.selection.createRange().moveStart("character", -1000000));fimSelecao = Math.abs(document.selection.createRange().moveEnd("character", -1000000));}if (inicioSelecao != fimSelecao) {valorCampo = campo.value.substr(0, inicioSelecao) + campo.value.substr(fimSelecao);} else {valorCampo = campo.value;}return valorCampo;}
Untitled JavaScript (13-Feb @ 23:45)
Syntax Highlighted Code
- document.write("asdas");
Plain Code
document.write("asdas");
jquery.coda-slider-2.0.js (12-Feb @ 09:53)
Syntax Highlighted Code
- /*
- jQuery Coda-Slider v2.0 - http://www.ndoherty.biz/coda-slider
- Copyright (c) 2009 Niall Doherty
- This plugin available for use in all personal or commercial projects under both MIT and GPL licenses.
- [229 more lines...]
Plain Code
/*
jQuery Coda-Slider v2.0 - http://www.ndoherty.biz/coda-slider
Copyright (c) 2009 Niall Doherty
This plugin available for use in all personal or commercial projects under both MIT and GPL licenses.
*/
$(function(){
// Remove the coda-slider-no-js class from the body
$("body").removeClass("coda-slider-no-js");
// Preloader
$(".coda-slider").children('.panel').hide().end().prepend('<p class="loading">Loading...<br /><img src="images/ajax-loader.gif" alt="loading..." /></p>');
});
var sliderCount = 1;
$.fn.codaSlider = function(settings) {
settings = $.extend({
autoHeight: true,
autoHeightEaseDuration: 1000,
autoHeightEaseFunction: "easeInOutExpo",
autoSlide: false,
autoSlideInterval: 7000,
autoSlideStopWhenClicked: true,
crossLinking: true,
dynamicArrows: true,
dynamicArrowLeftText: "« left",
dynamicArrowRightText: "right »",
dynamicTabs: true,
dynamicTabsAlign: "center",
dynamicTabsPosition: "top",
externalTriggerSelector: "a.xtrig",
firstPanelToLoad: 1,
panelTitleSelector: "h2.title",
slideEaseDuration: 1000,
slideEaseFunction: "easeInOutExpo"
}, settings);
return this.each(function(){
// Uncomment the line below to test your preloader
// alert("Testing preloader");
var slider = $(this);
// If we need arrows
if (settings.dynamicArrows) {
slider.parent().addClass("arrows");
slider.before('<div class="coda-nav-left" id="coda-nav-left-' + sliderCount + '"><a href="#">' + settings.dynamicArrowLeftText + '</a></div>');
slider.after('<div class="coda-nav-right" id="coda-nav-right-' + sliderCount + '"><a href="#">' + settings.dynamicArrowRightText + '</a></div>');
};
var panelWidth = slider.find(".panel").width();
var panelCount = slider.find(".panel").size();
var panelContainerWidth = panelWidth*panelCount;
var navClicks = 0; // Used if autoSlideStopWhenClicked = true
// Surround the collection of panel divs with a container div (wide enough for all panels to be lined up end-to-end)
$('.panel', slider).wrapAll('<div class="panel-container"></div>');
// Specify the width of the container div (wide enough for all panels to be lined up end-to-end)
$(".panel-container", slider).css({ width: panelContainerWidth });
// Specify the current panel.
// If the loaded URL has a hash (cross-linking), we're going to use that hash to give the slider a specific starting position...
if (settings.crossLinking && location.hash && parseInt(location.hash.slice(1)) <= panelCount) {
var currentPanel = parseInt(location.hash.slice(1));
var offset = - (panelWidth*(currentPanel - 1));
$('.panel-container', slider).css({ marginLeft: offset });
// If that's not the case, check to see if we're supposed to load a panel other than Panel 1 initially...
} else if (settings.firstPanelToLoad != 1 && settings.firstPanelToLoad <= panelCount) {
var currentPanel = settings.firstPanelToLoad;
var offset = - (panelWidth*(currentPanel - 1));
$('.panel-container', slider).css({ marginLeft: offset });
// Otherwise, we'll just set the current panel to 1...
} else {
var currentPanel = 1;
};
// Left arrow click
$("#coda-nav-left-" + sliderCount + " a").click(function(){
navClicks++;
if (currentPanel == 1) {
offset = - (panelWidth*(panelCount - 1));
alterPanelHeight(panelCount - 1);
currentPanel = panelCount;
slider.siblings('.coda-nav').find('a.current').removeClass('current').parents('ul').find('li:last a').addClass('current');
} else {
currentPanel -= 1;
alterPanelHeight(currentPanel - 1);
offset = - (panelWidth*(currentPanel - 1));
slider.siblings('.coda-nav').find('a.current').removeClass('current').parent().prev().find('a').addClass('current');
};
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (settings.crossLinking) { location.hash = currentPanel }; // Change the URL hash (cross-linking)
return false;
});
// Right arrow click
$('#coda-nav-right-' + sliderCount + ' a').click(function(){
navClicks++;
if (currentPanel == panelCount) {
offset = 0;
currentPanel = 1;
alterPanelHeight(0);
slider.siblings('.coda-nav').find('a.current').removeClass('current').parents('ul').find('a:eq(0)').addClass('current');
} else {
offset = - (panelWidth*currentPanel);
alterPanelHeight(currentPanel);
currentPanel += 1;
slider.siblings('.coda-nav').find('a.current').removeClass('current').parent().next().find('a').addClass('current');
};
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (settings.crossLinking) { location.hash = currentPanel }; // Change the URL hash (cross-linking)
return false;
});
// If we need a dynamic menu
if (settings.dynamicTabs) {
var dynamicTabs = '<div class="coda-nav" id="coda-nav-' + sliderCount + '"><ul></ul></div>';
switch (settings.dynamicTabsPosition) {
case "bottom":
slider.parent().append(dynamicTabs);
break;
default:
slider.parent().prepend(dynamicTabs);
break;
};
ul = $('#coda-nav-' + sliderCount + ' ul');
// Create the nav items
$('.panel', slider).each(function(n) {
ul.append('<li class="tab' + (n+1) + '"><a href="#' + (n+1) + '">' + $(this).find(settings.panelTitleSelector).text() + '</a></li>');
});
navContainerWidth = slider.width() + slider.siblings('.coda-nav-left').width() + slider.siblings('.coda-nav-right').width();
ul.parent().css({ width: navContainerWidth });
switch (settings.dynamicTabsAlign) {
case "center":
ul.css({ width: ($("li", ul).width() + 2) * panelCount });
break;
case "right":
ul.css({ float: 'right' });
break;
};
};
// If we need a tabbed nav
$('#coda-nav-' + sliderCount + ' a').each(function(z) {
// What happens when a nav link is clicked
$(this).bind("click", function() {
navClicks++;
$(this).addClass('current').parents('ul').find('a').not($(this)).removeClass('current');
offset = - (panelWidth*z);
alterPanelHeight(z);
currentPanel = z + 1;
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (!settings.crossLinking) { return false }; // Don't change the URL hash unless cross-linking is specified
});
});
// External triggers (anywhere on the page)
$(settings.externalTriggerSelector).each(function() {
// Make sure this only affects the targeted slider
if (sliderCount == parseInt($(this).attr("rel").slice(12))) {
$(this).bind("click", function() {
navClicks++;
targetPanel = parseInt($(this).attr("href").slice(1));
offset = - (panelWidth*(targetPanel - 1));
alterPanelHeight(targetPanel - 1);
currentPanel = targetPanel;
// Switch the current tab:
slider.siblings('.coda-nav').find('a').removeClass('current').parents('ul').find('li:eq(' + (targetPanel - 1) + ') a').addClass('current');
// Slide
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (!settings.crossLinking) { return false }; // Don't change the URL hash unless cross-linking is specified
});
};
});
// Specify which tab is initially set to "current". Depends on if the loaded URL had a hash or not (cross-linking).
if (settings.crossLinking && location.hash && parseInt(location.hash.slice(1)) <= panelCount) {
$("#coda-nav-" + sliderCount + " a:eq(" + (location.hash.slice(1) - 1) + ")").addClass("current");
// If there's no cross-linking, check to see if we're supposed to load a panel other than Panel 1 initially...
} else if (settings.firstPanelToLoad != 1 && settings.firstPanelToLoad <= panelCount) {
$("#coda-nav-" + sliderCount + " a:eq(" + (settings.firstPanelToLoad - 1) + ")").addClass("current");
// Otherwise we must be loading Panel 1, so make the first tab the current one.
} else {
$("#coda-nav-" + sliderCount + " a:eq(0)").addClass("current");
};
// Set the height of the first panel
if (settings.autoHeight) {
panelHeight = $('.panel:eq(' + (currentPanel - 1) + ')', slider).height();
slider.css({ height: panelHeight });
};
// Trigger autoSlide
if (settings.autoSlide) {
slider.ready(function() {
setTimeout(autoSlide,settings.autoSlideInterval);
});
};
function alterPanelHeight(x) {
if (settings.autoHeight) {
panelHeight = $('.panel:eq(' + x + ')', slider).height()
slider.animate({ height: panelHeight }, settings.autoHeightEaseDuration, settings.autoHeightEaseFunction);
};
};
function autoSlide() {
if (navClicks == 0 || !settings.autoSlideStopWhenClicked) {
if (currentPanel == panelCount) {
var offset = 0;
currentPanel = 1;
} else {
var offset = - (panelWidth*currentPanel);
currentPanel += 1;
};
alterPanelHeight(currentPanel - 1);
// Switch the current tab:
slider.siblings('.coda-nav').find('a').removeClass('current').parents('ul').find('li:eq(' + (currentPanel - 1) + ') a').addClass('current');
// Slide:
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
setTimeout(autoSlide,settings.autoSlideInterval);
};
};
// Kill the preloader
$('.panel', slider).show().end().find("p.loading").remove();
slider.removeClass("preload");
sliderCount++;
});
};
Untitled JavaScript (12-Feb @ 09:52)
Syntax Highlighted Code
- /*
- jQuery Coda-Slider v2.0 - http://www.ndoherty.biz/coda-slider
- Copyright (c) 2009 Niall Doherty
- This plugin available for use in all personal or commercial projects under both MIT and GPL licenses.
- [229 more lines...]
Plain Code
/*
jQuery Coda-Slider v2.0 - http://www.ndoherty.biz/coda-slider
Copyright (c) 2009 Niall Doherty
This plugin available for use in all personal or commercial projects under both MIT and GPL licenses.
*/
$(function(){
// Remove the coda-slider-no-js class from the body
$("body").removeClass("coda-slider-no-js");
// Preloader
$(".coda-slider").children('.panel').hide().end().prepend('<p class="loading">Loading...<br /><img src="images/ajax-loader.gif" alt="loading..." /></p>');
});
var sliderCount = 1;
$.fn.codaSlider = function(settings) {
settings = $.extend({
autoHeight: true,
autoHeightEaseDuration: 1000,
autoHeightEaseFunction: "easeInOutExpo",
autoSlide: false,
autoSlideInterval: 7000,
autoSlideStopWhenClicked: true,
crossLinking: true,
dynamicArrows: true,
dynamicArrowLeftText: "« left",
dynamicArrowRightText: "right »",
dynamicTabs: true,
dynamicTabsAlign: "center",
dynamicTabsPosition: "top",
externalTriggerSelector: "a.xtrig",
firstPanelToLoad: 1,
panelTitleSelector: "h2.title",
slideEaseDuration: 1000,
slideEaseFunction: "easeInOutExpo"
}, settings);
return this.each(function(){
// Uncomment the line below to test your preloader
// alert("Testing preloader");
var slider = $(this);
// If we need arrows
if (settings.dynamicArrows) {
slider.parent().addClass("arrows");
slider.before('<div class="coda-nav-left" id="coda-nav-left-' + sliderCount + '"><a href="#">' + settings.dynamicArrowLeftText + '</a></div>');
slider.after('<div class="coda-nav-right" id="coda-nav-right-' + sliderCount + '"><a href="#">' + settings.dynamicArrowRightText + '</a></div>');
};
var panelWidth = slider.find(".panel").width();
var panelCount = slider.find(".panel").size();
var panelContainerWidth = panelWidth*panelCount;
var navClicks = 0; // Used if autoSlideStopWhenClicked = true
// Surround the collection of panel divs with a container div (wide enough for all panels to be lined up end-to-end)
$('.panel', slider).wrapAll('<div class="panel-container"></div>');
// Specify the width of the container div (wide enough for all panels to be lined up end-to-end)
$(".panel-container", slider).css({ width: panelContainerWidth });
// Specify the current panel.
// If the loaded URL has a hash (cross-linking), we're going to use that hash to give the slider a specific starting position...
if (settings.crossLinking && location.hash && parseInt(location.hash.slice(1)) <= panelCount) {
var currentPanel = parseInt(location.hash.slice(1));
var offset = - (panelWidth*(currentPanel - 1));
$('.panel-container', slider).css({ marginLeft: offset });
// If that's not the case, check to see if we're supposed to load a panel other than Panel 1 initially...
} else if (settings.firstPanelToLoad != 1 && settings.firstPanelToLoad <= panelCount) {
var currentPanel = settings.firstPanelToLoad;
var offset = - (panelWidth*(currentPanel - 1));
$('.panel-container', slider).css({ marginLeft: offset });
// Otherwise, we'll just set the current panel to 1...
} else {
var currentPanel = 1;
};
// Left arrow click
$("#coda-nav-left-" + sliderCount + " a").click(function(){
navClicks++;
if (currentPanel == 1) {
offset = - (panelWidth*(panelCount - 1));
alterPanelHeight(panelCount - 1);
currentPanel = panelCount;
slider.siblings('.coda-nav').find('a.current').removeClass('current').parents('ul').find('li:last a').addClass('current');
} else {
currentPanel -= 1;
alterPanelHeight(currentPanel - 1);
offset = - (panelWidth*(currentPanel - 1));
slider.siblings('.coda-nav').find('a.current').removeClass('current').parent().prev().find('a').addClass('current');
};
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (settings.crossLinking) { location.hash = currentPanel }; // Change the URL hash (cross-linking)
return false;
});
// Right arrow click
$('#coda-nav-right-' + sliderCount + ' a').click(function(){
navClicks++;
if (currentPanel == panelCount) {
offset = 0;
currentPanel = 1;
alterPanelHeight(0);
slider.siblings('.coda-nav').find('a.current').removeClass('current').parents('ul').find('a:eq(0)').addClass('current');
} else {
offset = - (panelWidth*currentPanel);
alterPanelHeight(currentPanel);
currentPanel += 1;
slider.siblings('.coda-nav').find('a.current').removeClass('current').parent().next().find('a').addClass('current');
};
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (settings.crossLinking) { location.hash = currentPanel }; // Change the URL hash (cross-linking)
return false;
});
// If we need a dynamic menu
if (settings.dynamicTabs) {
var dynamicTabs = '<div class="coda-nav" id="coda-nav-' + sliderCount + '"><ul></ul></div>';
switch (settings.dynamicTabsPosition) {
case "bottom":
slider.parent().append(dynamicTabs);
break;
default:
slider.parent().prepend(dynamicTabs);
break;
};
ul = $('#coda-nav-' + sliderCount + ' ul');
// Create the nav items
$('.panel', slider).each(function(n) {
ul.append('<li class="tab' + (n+1) + '"><a href="#' + (n+1) + '">' + $(this).find(settings.panelTitleSelector).text() + '</a></li>');
});
navContainerWidth = slider.width() + slider.siblings('.coda-nav-left').width() + slider.siblings('.coda-nav-right').width();
ul.parent().css({ width: navContainerWidth });
switch (settings.dynamicTabsAlign) {
case "center":
ul.css({ width: ($("li", ul).width() + 2) * panelCount });
break;
case "right":
ul.css({ float: 'right' });
break;
};
};
// If we need a tabbed nav
$('#coda-nav-' + sliderCount + ' a').each(function(z) {
// What happens when a nav link is clicked
$(this).bind("click", function() {
navClicks++;
$(this).addClass('current').parents('ul').find('a').not($(this)).removeClass('current');
offset = - (panelWidth*z);
alterPanelHeight(z);
currentPanel = z + 1;
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (!settings.crossLinking) { return false }; // Don't change the URL hash unless cross-linking is specified
});
});
// External triggers (anywhere on the page)
$(settings.externalTriggerSelector).each(function() {
// Make sure this only affects the targeted slider
if (sliderCount == parseInt($(this).attr("rel").slice(12))) {
$(this).bind("click", function() {
navClicks++;
targetPanel = parseInt($(this).attr("href").slice(1));
offset = - (panelWidth*(targetPanel - 1));
alterPanelHeight(targetPanel - 1);
currentPanel = targetPanel;
// Switch the current tab:
slider.siblings('.coda-nav').find('a').removeClass('current').parents('ul').find('li:eq(' + (targetPanel - 1) + ') a').addClass('current');
// Slide
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
if (!settings.crossLinking) { return false }; // Don't change the URL hash unless cross-linking is specified
});
};
});
// Specify which tab is initially set to "current". Depends on if the loaded URL had a hash or not (cross-linking).
if (settings.crossLinking && location.hash && parseInt(location.hash.slice(1)) <= panelCount) {
$("#coda-nav-" + sliderCount + " a:eq(" + (location.hash.slice(1) - 1) + ")").addClass("current");
// If there's no cross-linking, check to see if we're supposed to load a panel other than Panel 1 initially...
} else if (settings.firstPanelToLoad != 1 && settings.firstPanelToLoad <= panelCount) {
$("#coda-nav-" + sliderCount + " a:eq(" + (settings.firstPanelToLoad - 1) + ")").addClass("current");
// Otherwise we must be loading Panel 1, so make the first tab the current one.
} else {
$("#coda-nav-" + sliderCount + " a:eq(0)").addClass("current");
};
// Set the height of the first panel
if (settings.autoHeight) {
panelHeight = $('.panel:eq(' + (currentPanel - 1) + ')', slider).height();
slider.css({ height: panelHeight });
};
// Trigger autoSlide
if (settings.autoSlide) {
slider.ready(function() {
setTimeout(autoSlide,settings.autoSlideInterval);
});
};
function alterPanelHeight(x) {
if (settings.autoHeight) {
panelHeight = $('.panel:eq(' + x + ')', slider).height()
slider.animate({ height: panelHeight }, settings.autoHeightEaseDuration, settings.autoHeightEaseFunction);
};
};
function autoSlide() {
if (navClicks == 0 || !settings.autoSlideStopWhenClicked) {
if (currentPanel == panelCount) {
var offset = 0;
currentPanel = 1;
} else {
var offset = - (panelWidth*currentPanel);
currentPanel += 1;
};
alterPanelHeight(currentPanel - 1);
// Switch the current tab:
slider.siblings('.coda-nav').find('a').removeClass('current').parents('ul').find('li:eq(' + (currentPanel - 1) + ') a').addClass('current');
// Slide:
$('.panel-container', slider).animate({ marginLeft: offset }, settings.slideEaseDuration, settings.slideEaseFunction);
setTimeout(autoSlide,settings.autoSlideInterval);
};
};
// Kill the preloader
$('.panel', slider).show().end().find("p.loading").remove();
slider.removeClass("preload");
sliderCount++;
});
};
Untitled JavaScript (8-Feb @ 22:52)
Syntax Highlighted Code
- (function($){
- $(document).ready(function(){
- //jQuery code here
- [2 more lines...]
Plain Code
(function($){
$(document).ready(function(){
//jQuery code here
})
})(jQuery)
Untitled JavaScript (21-Jan @ 07:18)
Syntax Highlighted Code
- (function ($) {
- }(jQuery);)
Plain Code
(function ($) {
}(jQuery);)
Untitled JavaScript (15-Jan @ 15:56)
Syntax Highlighted Code
- http://visualjquery.com/
Plain Code
http://visualjquery.com/
Untitled JavaScript (14-Jan @ 10:03)
Syntax Highlighted Code
- {"ConnectionInfo": {
- "commandId": 0,
- "responseRequired": true,
- "connectionId": {
- [10 more lines...]
Plain Code
{"ConnectionInfo": {
"commandId": 0,
"responseRequired": true,
"connectionId": {
"value": "ID:yy.xx.net-57901-1294599217160-5:3943"
},
"clientId": "ID:yy.xx.net-57901-1294599217160-5:3943",
"userName": "",
"password": "",
"brokerMasterConnector": false,
"manageable": false,
"clientMaster": true,
"faultTolerant": false,
"failoverReconnect": false
}}
Untitled JavaScript (21-Dec @ 15:18)
Syntax Highlighted Code
- $.widget( "ui.dialog", $.ui.dialog, {
- _create: function() {
- // do something new here
- this._super( "_create" );
- [1 more lines...]
Plain Code
$.widget( "ui.dialog", $.ui.dialog, {
_create: function() {
// do something new here
this._super( "_create" );
}
});
Untitled JavaScript (28-Nov @ 14:39)
Syntax Highlighted Code
- Ext.setup(
- {
- //TODO: ook een iPad splash scherm
- tabletStartupScreen: 'images/splash.png',
- [84 more lines...]
Plain Code
Ext.setup(
{
//TODO: ook een iPad splash scherm
tabletStartupScreen: 'images/splash.png',
phoneStartupScreen: 'images/splash.png',
icon: 'images/icon.jpg',
glossOnIcon: false,
onReady : function()
{
//Laad series.php welke de XML bestanden inlaad
Ext.Ajax.request({
url : 'php/series.php' ,
method: 'POST',
success: function ( response, request ) {
var myHandler = function(button, event) {
alert (bu);
};
var seriesInfoFromBierdopje = Ext.decode(response.responseText);
var dataJSON = [];
//alert (seriesInfoFromBierdopje.seriesTitles[0][0]);
var series;
//var seriesInfo;
var panel;
var seriesExtraInfo = { name: 'Lost', nextEpisode: '21-20-10'}
for (var x = 0; x <= 1; x++)
{
dataJSON.push({serieTitle: seriesInfoFromBierdopje.seriesTitles[x][0]});
}
Ext.regModel('Series', {
fields: ['serieTitle']
});
var store = new Ext.data.JsonStore({
model: 'Series',
sorters: 'serieTitle',
getGroupString: function(record) {
return record.get('serieTitle')[0];
},
data: dataJSON
});
series = new Ext.List({
fullscreen: true,
itemTpl: '{serieTitle}',
grouped: true,
indexBar: false,
store: store,
onItemDisclosure: {
scope: 'test',
handler: function(record, btn, index) {
var currentSerieTitle = record.get('serieTitle');
panel.setActiveItem(1, 'slide');
}
},
});
series.show();
seriesInfo = new Ext.Template(
'<h2>Serie Title: {serieTitle}</h2>',
'Next episode: {nextEpisode}'
);
panel = new Ext.Panel({
fullscreen: true,
layout: 'card',
items: [series, seriesInfo],
tpl: seriesInfo
});
panel.setActiveItem(0);
},
failure: function ( result, request) {
alert('Failed', result.responseText);
}
});
}
});
Untitled JavaScript (27-Nov @ 07:09)
Syntax Highlighted Code
- view all text mess inbound and outbound as well as media mail
Plain Code
view all text mess inbound and outbound as well as media mail
Untitled JavaScript (27-Nov @ 00:38)
Syntax Highlighted Code
- Ext.setup(
- {
- //TODO: ook een iPad splash scherm
- tabletStartupScreen: 'images/splash.jpg',
- [50 more lines...]
Plain Code
Ext.setup(
{
//TODO: ook een iPad splash scherm
tabletStartupScreen: 'images/splash.jpg',
phoneStartupScreen: 'images/splash.jpg',
icon: 'images/icon.jpg',
glossOnIcon: false,
onReady : function()
{
//Laad series.php welke de XML bestanden inlaad
Ext.Ajax.request({
url : 'php/series.php' ,
method: 'POST',
success: function ( response, request ) {
var serieTitles = Ext.decode(response.responseText);
var dataJSON = [];
for (var x = 0; x <= (serieTitles.length)-1; x++)
{
dataJSON.push({serieTitle: serieTitles[x]});
}
Ext.regModel('Series', {
fields: ['serieTitle']
});
var store = new Ext.data.JsonStore({
model: 'Series',
sorters: 'serieTitle',
getGroupString: function(record) {
return record.get('serieTitle')[0];
},
data: dataJSON
});
var series = new Ext.List({
fullscreen: true,
itemTpl: '{serieTitle}',
grouped: true,
indexBar: false,
store: store
});
series.show();
},
failure: function ( result, request) {
alert('Failed', result.responseText);
}
});
}
});
Untitled JavaScript (27-Nov @ 00:37)
Syntax Highlighted Code
- var serieTitlesFromPHP = new Array();
- Ext.setup(
- {
- [52 more lines...]
Plain Code
var serieTitlesFromPHP = new Array();
Ext.setup(
{
//TODO: ook een iPad splash scherm
tabletStartupScreen: 'images/splash.jpg',
phoneStartupScreen: 'images/splash.jpg',
icon: 'images/icon.jpg',
glossOnIcon: false,
onReady : function()
{
//Laad series.php welke de XML bestanden inlaad
Ext.Ajax.request({
url : 'php/series.php' ,
method: 'POST',
success: function ( response, request ) {
var serieTitles = Ext.decode(response.responseText);
var dataJSON = [];
for (var x = 0; x <= (serieTitles.length)-1; x++)
{
dataJSON.push({serieTitle: serieTitles[x]});
}
Ext.regModel('Series', {
fields: ['serieTitle']
});
var store = new Ext.data.JsonStore({
model: 'Series',
sorters: 'serieTitle',
getGroupString: function(record) {
return record.get('serieTitle')[0];
},
data: dataJSON
});
var series = new Ext.List({
fullscreen: true,
itemTpl: '{serieTitle}',
grouped: true,
indexBar: false,
store: store
});
series.show();
},
failure: function ( result, request) {
alert('Failed', result.responseText);
}
});
}
});
Tick all the checkboxes on a page (23-Nov @ 17:03)
Syntax Highlighted Code
- javascript:for (var i = 0; i < document.getElementsByTagName('input').length; i++) {var e = document.getElementsByTagName('input')[i];if (e.type == 'checkbox') {e.checked = true;}}alert('All checkboxes selected!');
Plain Code
javascript:for (var i = 0; i < document.getElementsByTagName('input').length; i++) {var e = document.getElementsByTagName('input')[i];if (e.type == 'checkbox') {e.checked = true;}}alert('All checkboxes selected!');
Untitled JavaScript (18-Nov @ 22:58)
Syntax Highlighted Code
- else if(xhrflag == false)
- {
- store = new dojo.data.ItemFileWriteStore(
- {
- [21 more lines...]
Plain Code
else if(xhrflag == false)
{
store = new dojo.data.ItemFileWriteStore(
{
if(source.currentWidget.item.type == 'Location' || source.currentWidget.item.type == 'Device')
{
data:
{
identifier: 'id',
label: 'given_name',
items: dojo.fromJson(dataset)
}
}
else:
{
data:
{
identifier: 'id',
label: 'name',
items: dojo.fromJson(dataset)
}
}
});
Untitled JavaScript (11-Nov @ 21:13)
Syntax Highlighted Code
- local input = function(str, num, arr)
- local strt, numt, arrt, tstr, tnum = type(str), type(numt), type(arrt), tostring(str), tonumber(num)
- if strt ~= "string" then
- if type(tstr) ~= "string" then
- [15 more lines...]
Plain Code
local input = function(str, num, arr)
local strt, numt, arrt, tstr, tnum = type(str), type(numt), type(arrt), tostring(str), tonumber(num)
if strt ~= "string" then
if type(tstr) ~= "string" then
error("bad argument #1 to input, expected string got "..strt)
else
str = tstr
end
end
if numt ~= "number" then
if type(tnum) ~= "number" then
error("bad argument #2 to input, expected number got "..numt)
else
num = numt
end
end
if arrt ~= "table" then
error("bad argument #3 to input, expected table got "..arrt)
end
end
Untitled JavaScript (29-Oct @ 20:52)
Syntax Highlighted Code
- function z()
- {
- alert('x');
- }
- z();
Plain Code
function z()
{
alert('x');
}
z();
Untitled JavaScript (26-Oct @ 08:02)
Syntax Highlighted Code
- var a = 'xxx';
- alert(a);
Plain Code
var a = 'xxx';
alert(a);
Untitled JavaScript (25-Oct @ 12:56)
Syntax Highlighted Code
- var accordion = new Accordion('h3.atStart', 'div.atStart', {
- opacity: false,
- onActive: function(toggler, element){
- toggler.setStyle('color', '#ff3300');
- [12 more lines...]
Plain Code
var accordion = new Accordion('h3.atStart', 'div.atStart', {
opacity: false,
onActive: function(toggler, element){
toggler.setStyle('color', '#ff3300');
},
onBackground: function(toggler, element){
toggler.setStyle('color', '#222');
}
}, $('accordion'));
var newTog = new Element('h3', {'class': 'toggler'}).setHTML('Common descent');
var newEl = new Element('div', {'class': 'element'}).setHTML('<p>A group of organisms is said to have common descent if they have a common ancestor. In biology, the theory of universal common descent proposes that all organisms on Earth are descended from a common ancestor or ancestral gene pool.</p><p>A theory of universal common descent based on evolutionary principles was proposed by Charles Darwin in his book The Origin of Species (1859), and later in The Descent of Man (1871). This theory is now generally accepted by biologists, and the last universal common ancestor (LUCA or LUA), that is, the most recent common ancestor of all currently living organisms, is believed to have appeared about 3.9 billion years ago. The theory of a common ancestor between all organisms is one of the principles of evolution, although for single cell organisms and viruses, single phylogeny is disputed</p>');
accordion.addSection(newTog, newEl, 0);
parse url parameter (25-Aug @ 16:49)
Syntax Highlighted Code
- function getUrlParam(name, url) {
- var url = url || window.location.href;
- var queryString = url.substr(url.indexOf('?') + 1);
- var params = queryString.split('&');
- [7 more lines...]
Plain Code
function getUrlParam(name, url) {
var url = url || window.location.href;
var queryString = url.substr(url.indexOf('?') + 1);
var params = queryString.split('&');
for(i in params) {
var paramParts = params[i].split('=');
if(paramParts[0] == name) {
return paramParts[1];
}
}
return undefined;
}
Untitled JavaScript (20-Aug @ 00:08)
Syntax Highlighted Code
- import uuid
- import time
- import random
- [239 more lines...]
Plain Code
import uuid
import time
import random
importdir '/home/yourhomedir/imports'
output_directory = importdir
months_per_year = 12
days_per_month = 30
num_devices_per_client = 100
channels_per_device = 12
def epoch_now_epoch():
return time.time()
def toEpochConverter(timestamp):
# see --> http://docs.python.org/library/time.html
return int(time.mktime(time.strptime(timestamp, "%a, %d %b %Y %H:%M:%S +0000")))
def genEpochsFromRange(timestamp_range, seconds_increment=1):
"""used for generating dummy EMAQ Entries"""
span = [toEpochConverter(item) for item in timestamp_range]
epoch_second = 1.0 # this calibrates seconds_increment to an epoch second
increment = seconds_increment * epoch_second
epoch_timespan = [toEpochConverter(item) for item in timestamp_range]
return [item for item in range(span[0], span[1], int(increment)) if item < span[1]]
def getFixedLengthTimeStamp():
return str(time.time())
chan_id_vals = [1,2,3,4,5,6,7,8,9,10,11,12]
cust_id_vals = ['jbcnle', 'dukenrg', 'mgsinc', 'acmenrg', 'boronrg']
active_nrg_vals = range(1000,12000)
currentrms_vals = range(1,20)
voltagerms_vals = range(1,500)
totalnrg_vals = range(1,1000)
reactivenrg_vals = range(1,1000)
powerfactor_vals = range(1,2)
board_id_vals = range(899,999)
def clientDeviceIds(client):
ids = [ ]
for val in board_id_vals:
id = "MRK09CTST" + '_' + client + '_' + str(val)
ids.append(id)
return ids
def buildEntry( filename,
client,
device,
num_devices_per_client=num_devices_per_client,
channels_per_device=channels_per_device
):
chan_id_val = str(random.choice(chan_id_vals))
cust_id_val = str(random.choice(cust_id_vals))
active_nrg_val = str(random.choice(active_nrg_vals))
currentrms_val = str(random.choice(currentrms_vals))
voltagerms_val = str(random.choice(voltagerms_vals))
totalnrg_val = str( str(random.choice(totalnrg_vals)) )
data_format_val = '5'
reactivenrg_val = str(str(random.choice(reactivenrg_vals)))
powerfactor_val = str( random.choice(powerfactor_vals) )
root = ET.Element("MelrokEMAQ")
emu = ET.SubElement(root, "EMU")
board_id = ET.SubElement(emu, "BoardID")
board_id.text = device
customer_id = ET.SubElement(emu, "CustomerId")
customer_id.text = client
measurements = ET.SubElement(root, "Measurements")
#
current_channel = 1
#
while current_channel <= channels_per_device:
for val in range(0, channels_per_device):
measurement = ET.SubElement(measurements, "Measurement")
measurement.set("channelId", str(val+1))
measurement.set("dataFormat", data_format_val)
timestamp = ET.SubElement(measurement, "Timestamp")
timestamp.text = getFixedLengthTimeStamp()
activenrg = ET.SubElement(measurement, "ActiveEnergy")
activenrg.text = active_nrg_val
currentrms = ET.SubElement(measurement, "CurrentRMS")
currentrms.text = currentrms_val
voltagerms = ET.SubElement(measurement, "VoltageRMS")
voltagerms.text = voltagerms_val
totalnrg = ET.SubElement(measurement, "TotalEnergy")
totalnrg.text = totalnrg_val
reactivenrg = ET.SubElement(measurement, "ReactiveEnergy")
reactivenrg.text = reactivenrg_val
powerfactor = ET.SubElement(measurement, "PowerFactor")
powerfactor.text = powerfactor_val
current_channel += 1
tree = ET.ElementTree(root)
tree.write(filename)
def createDummyData(timestamp_range, seconds_increment=1):
filecount = 0
for client in cust_id_vals:
print client
for device in clientDeviceIds(client):
epochs = genEpochsFromRange(timestamp_range, seconds_increment=seconds_increment)[:]
for epochstamp in epochs:
filename = output_directory + str(epochstamp).replace('.', '') + client + '.xml'
buildEntry(filename, client, device)
filecount += 1
return filecount
if __name__ == '__main__':
timestamp_range = ['Tue, 17 Aug 2010 07:00:00 +0000', 'Tue, 18 Aug 2010 07:00:00 +0000']
print createDummyData(timestamp_range, seconds_increment=15)
Plain Code
from xml.etree import ElementTree as ET
import uuid
import time
import random
importdir '/home/yourhomedir/imports'
output_directory = importdir
months_per_year = 12
days_per_month = 30
num_devices_per_client = 100
channels_per_device = 12
def epoch_now_epoch():
return time.time()
def toEpochConverter(timestamp):
# see --> http://docs.python.org/library/time.html
return int(time.mktime(time.strptime(timestamp, "%a, %d %b %Y %H:%M:%S +0000")))
def genEpochsFromRange(timestamp_range, seconds_increment=1):
"""used for generating dummy EMAQ Entries"""
span = [toEpochConverter(item) for item in timestamp_range]
epoch_second = 1.0 # this calibrates seconds_increment to an epoch second
increment = seconds_increment * epoch_second
epoch_timespan = [toEpochConverter(item) for item in timestamp_range]
return [item for item in range(span[0], span[1], int(increment)) if item < span[1]]
def getFixedLengthTimeStamp():
return str(time.time())
chan_id_vals = [1,2,3,4,5,6,7,8,9,10,11,12]
cust_id_vals = ['jbcnle', 'dukenrg', 'mgsinc', 'acmenrg', 'boronrg']
active_nrg_vals = range(1000,12000)
currentrms_vals = range(1,20)
voltagerms_vals = range(1,500)
totalnrg_vals = range(1,1000)
reactivenrg_vals = range(1,1000)
powerfactor_vals = range(1,2)
board_id_vals = range(899,999)
def clientDeviceIds(client):
ids = [ ]
for val in board_id_vals:
id = "MRK09CTST" + '_' + client + '_' + str(val)
ids.append(id)
return ids
def buildEntry( filename,
client,
device,
num_devices_per_client=num_devices_per_client,
channels_per_device=channels_per_device
):
chan_id_val = str(random.choice(chan_id_vals))
cust_id_val = str(random.choice(cust_id_vals))
active_nrg_val = str(random.choice(active_nrg_vals))
currentrms_val = str(random.choice(currentrms_vals))
voltagerms_val = str(random.choice(voltagerms_vals))
totalnrg_val = str( str(random.choice(totalnrg_vals)) )
data_format_val = '5'
reactivenrg_val = str(str(random.choice(reactivenrg_vals)))
powerfactor_val = str( random.choice(powerfactor_vals) )
root = ET.Element("MelrokEMAQ")
emu = ET.SubElement(root, "EMU")
board_id = ET.SubElement(emu, "BoardID")
board_id.text = device
customer_id = ET.SubElement(emu, "CustomerId")
customer_id.text = client
measurements = ET.SubElement(root, "Measurements")
#
current_channel = 1
#
while current_channel <= channels_per_device:
for val in range(0, channels_per_device):
measurement = ET.SubElement(measurements, "Measurement")
measurement.set("channelId", str(val+1))
measurement.set("dataFormat", data_format_val)
timestamp = ET.SubElement(measurement, "Timestamp")
timestamp.text = getFixedLengthTimeStamp()
activenrg = ET.SubElement(measurement, "ActiveEnergy")
activenrg.text = active_nrg_val
currentrms = ET.SubElement(measurement, "CurrentRMS")
currentrms.text = currentrms_val
voltagerms = ET.SubElement(measurement, "VoltageRMS")
voltagerms.text = voltagerms_val
totalnrg = ET.SubElement(measurement, "TotalEnergy")
totalnrg.text = totalnrg_val
reactivenrg = ET.SubElement(measurement, "ReactiveEnergy")
reactivenrg.text = reactivenrg_val
powerfactor = ET.SubElement(measurement, "PowerFactor")
powerfactor.text = powerfactor_val
current_channel += 1
tree = ET.ElementTree(root)
tree.write(filename)
def createDummyData(timestamp_range, seconds_increment=1):
filecount = 0
for client in cust_id_vals:
print client
for device in clientDeviceIds(client):
epochs = genEpochsFromRange(timestamp_range, seconds_increment=seconds_increment)[:]
for epochstamp in epochs:
filename = output_directory + str(epochstamp).replace('.', '') + client + '.xml'
buildEntry(filename, client, device)
filecount += 1
return filecount
if __name__ == '__main__':
timestamp_range = ['Tue, 17 Aug 2010 07:00:00 +0000', 'Tue, 18 Aug 2010 07:00:00 +0000']
print createDummyData(timestamp_range, seconds_increment=15)
Permalink: http://codedumper.com/ejemi#109
https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=6 (18-Aug @ 00:16)
Syntax Highlighted Code
- https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=6
Plain Code
https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=6
Untitled JavaScript (17-Aug @ 23:47)
Syntax Highlighted Code
- // http://seattlesoftware.wordpress.com/2008/01/16/javascript-query-string/
- $(function() {
- Sentimnt.Search.init();
- Sentimnt.Global.externalLinks();
- [38 more lines...]
Plain Code
// http://seattlesoftware.wordpress.com/2008/01/16/javascript-query-string/
$(function() {
Sentimnt.Search.init();
Sentimnt.Global.externalLinks();
location.querystring = (function() {
// The return is a collection of key/value pairs
var queryStringDictionary = {};
// Gets the query string, starts with '?'
var querystring = decodeURI(location.search);
if (!querystring) {
return {};
}
querystring = querystring.substring(1);
var pairs = querystring.split("&");
// Load the key/values of the return collection
for (var i = 0; i < pairs.length; i++) {
var keyValuePair = pairs[i].split("=");
queryStringDictionary[keyValuePair[0]]
= keyValuePair[1];
}
// toString() returns the key/value pairs concatenated
queryStringDictionary.toString = function() {
if (queryStringDictionary.length == 0) {
return "";
}
var toString = "?";
for (var key in queryStringDictionary) {
toString += key + "=" +
queryStringDictionary[key];
}
return toString;
};
// Return the key/value dictionary
return queryStringDictionary;
})();
Untitled JavaScript (17-Aug @ 23:46)
Syntax Highlighted Code
- $(function() {
- Sentimnt.Search.init();
- Sentimnt.Global.externalLinks();
- [37 more lines...]
Plain Code
$(function() {
Sentimnt.Search.init();
Sentimnt.Global.externalLinks();
location.querystring = (function() {
// The return is a collection of key/value pairs
var queryStringDictionary = {};
// Gets the query string, starts with '?'
var querystring = decodeURI(location.search);
if (!querystring) {
return {};
}
querystring = querystring.substring(1);
var pairs = querystring.split("&");
// Load the key/values of the return collection
for (var i = 0; i < pairs.length; i++) {
var keyValuePair = pairs[i].split("=");
queryStringDictionary[keyValuePair[0]]
= keyValuePair[1];
}
// toString() returns the key/value pairs concatenated
queryStringDictionary.toString = function() {
if (queryStringDictionary.length == 0) {
return "";
}
var toString = "?";
for (var key in queryStringDictionary) {
toString += key + "=" +
queryStringDictionary[key];
}
return toString;
};
// Return the key/value dictionary
return queryStringDictionary;
})();
Untitled JavaScript (17-Aug @ 20:10)
Syntax Highlighted Code
- [color=orange]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
- [color=orange]XXXXXXXXXX Holland will be world champion XXXXXXXXXX[/color]
- [color=orange]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
- [15 more lines...]
Plain Code
[color=orange]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=orange]XXXXXXXXXX Holland will be world champion XXXXXXXXXX[/color]
[color=orange]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=red]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=red]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=red]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=red]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=white]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=white]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=white]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=white]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=blue]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=blue]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=blue]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=blue]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=orange]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
[color=orange]XXXXXXXXXX Holland will be world champion XXXXXXXXXX[/color]
[color=orange]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/color]
Untitled JavaScript (16-Aug @ 01:45)
Syntax Highlighted Code
- https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=94
Plain Code
https://myaccount.boostmobile.com/account/boost/boost_account_activity_details.jsp?eventId=94
Select all friends when suggeting a facebook page. (22-Jul @ 06:49)
Syntax Highlighted Code
- javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
Plain Code
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
Untitled JavaScript (28-Jun @ 20:01)
Syntax Highlighted Code
- http://www.panic.com/coda/
Plain Code
http://www.panic.com/coda/
Untitled JavaScript (3-Jun @ 09:05)
Syntax Highlighted Code
- -webkit-animation-delay: 0s;
- -webkit-animation-direction: normal;
- -webkit-animation-duration: 0s;
- -webkit-animation-fill-mode: none;
- [245 more lines...]
Plain Code
-webkit-animation-delay: 0s;
-webkit-animation-direction: normal;
-webkit-animation-duration: 0s;
-webkit-animation-fill-mode: none;
-webkit-animation-iteration-count: 1;
-webkit-animation-name: none;
-webkit-animation-play-state: running;
-webkit-animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
-webkit-appearance: none;
-webkit-backface-visibility: visible;
-webkit-background-clip: border-box;
-webkit-background-composite: source-over;
-webkit-background-origin: padding-box;
-webkit-background-size: auto auto;
-webkit-border-fit: border;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-image: none;
-webkit-border-vertical-spacing: 0px;
-webkit-box-align: stretch;
-webkit-box-direction: normal;
-webkit-box-flex: 0;
-webkit-box-flex-group: 1;
-webkit-box-lines: single;
-webkit-box-ordinal-group: 1;
-webkit-box-orient: horizontal;
-webkit-box-pack: start;
-webkit-box-reflect: none;
-webkit-box-shadow: none;
-webkit-box-sizing: content-box;
-webkit-color-correction: default;
-webkit-column-break-after: auto;
-webkit-column-break-before: auto;
-webkit-column-break-inside: auto;
-webkit-column-count: auto;
-webkit-column-gap: normal;
-webkit-column-rule-color: black;
-webkit-column-rule-style: none;
-webkit-column-rule-width: 0px;
-webkit-column-width: auto;
-webkit-font-smoothing: auto;
-webkit-highlight: none;
-webkit-line-break: normal;
-webkit-line-clamp: none;
-webkit-margin-bottom-collapse: collapse;
-webkit-margin-top-collapse: collapse;
-webkit-marquee-direction: auto;
-webkit-marquee-increment: 6px;
-webkit-marquee-repetition: infinite;
-webkit-marquee-style: scroll;
-webkit-mask-attachment: scroll;
-webkit-mask-box-image: none;
-webkit-mask-clip: border-box;
-webkit-mask-composite: source-over;
-webkit-mask-image: none;
-webkit-mask-origin: border-box;
-webkit-mask-position: 0% 0%;
-webkit-mask-repeat: repeat;
-webkit-mask-size: auto auto;
-webkit-nbsp-mode: normal;
-webkit-perspective: none;
-webkit-perspective-origin: 640px 323px;
-webkit-rtl-ordering: logical;
-webkit-svg-shadow: none;
-webkit-text-decorations-in-effect: none;
-webkit-text-fill-color: black;
-webkit-text-security: none;
-webkit-text-stroke-color: black;
-webkit-text-stroke-width: 0px;
-webkit-transform: none;
-webkit-transform-origin: 640px 323px;
-webkit-transform-style: flat;
-webkit-transition-delay: 0s;
-webkit-transition-duration: 0s;
-webkit-transition-property: all;
-webkit-transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
-webkit-user-drag: auto;
-webkit-user-modify: read-only;
-webkit-user-select: text;
alignment-baseline: auto;
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto auto;
baseline-shift: baseline;
border-bottom-color: black;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-bottom-style: none;
border-bottom-width: 0px;
border-collapse: separate;
border-left-color: black;
border-left-style: none;
border-left-width: 0px;
border-right-color: black;
border-right-style: none;
border-right-width: 0px;
border-top-color: black;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top-style: none;
border-top-width: 0px;
bottom: auto;
caption-side: top;
clear: none;
clip: auto;
clip-path: none;
clip-rule: nonzero;
color: black;
color-interpolation: srgb;
color-interpolation-filters: linearrgb;
color-rendering: auto;
cursor: auto;
direction: ltr;
display: block;
dominant-baseline: auto;
empty-cells: show;
fill: black;
fill-opacity: 1;
fill-rule: nonzero;
filter: none;
float: none;
flood-color: black;
flood-opacity: 1;
font-family: 'Times New Roman';
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: normal;
glyph-orientation-horizontal: 0deg;
glyph-orientation-vertical: auto;
height: 647px;
image-rendering: auto;
kerning: ;
left: auto;
letter-spacing: normal;
lighting-color: white;
line-height: normal;
list-style-image: none;
list-style-position: outside;
list-style-type: disc;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
marker-end: none;
marker-mid: none;
marker-start: none;
mask: none;
max-height: none;
max-width: none;
min-height: 0px;
min-width: 0px;
opacity: 1;
orphans: 2;
outline-color: black;
outline-style: none;
outline-width: 0px;
overflow-x: visible;
overflow-y: visible;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
pointer-events: auto;
position: static;
resize: none;
right: auto;
shape-rendering: auto;
stop-color: black;
stop-opacity: 1;
stroke: none;
stroke-dasharray: ;
stroke-dashoffset: ;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-miterlimit: 4;
stroke-opacity: 1;
stroke-width: ;
table-layout: auto;
text-align: auto;
text-anchor: start;
text-decoration: none;
text-indent: 0px;
text-overflow: clip;
text-rendering: auto;
text-shadow: none;
text-transform: none;
top: auto;
unicode-bidi: normal;
vertical-align: baseline;
visibility: visible;
white-space: normal;
widows: 2;
width: 1280px;
word-break: normal;
word-spacing: 0px;
word-wrap: normal;
writing-mode: lr-tb;
z-index: auto;
zoom: 1;
element’s “style” attribute
Style Attribute
margin: 0px;
user agent stylesheet
body
display: block;
margin: 8px;
margin-top: 8px;
margin-right: 8px;
margin-bottom: 8px;
margin-left: 8px;
Metrics
Properties
Prototype
HTMLBodyElement
aLink: ""
attributes: NamedNodeMap
background: ""
baseURI: "https://myaccount.boostmobile.com/boost_nav/images/subnav_account_details.gif"
bgColor: ""
childElementCount: 1
childNodes: NodeList (1)
children: HTMLCollection (1)
className: ""
clientHeight: 647
clientLeft: 0
clientTop: 0
clientWidth: 1280
contentEditable: "false"
dir: ""
draggable: false
firstChild: HTMLImageElement
firstElementChild: HTMLImageElement
id: ""
innerHTML: "<img style="-webkit-user-select: none; " src="https://myaccount.boostmobile.com/boost_nav/images/sub…"
innerText: ""
isContentEditable: false
lang: ""
lastChild: HTMLImageElement
lastElementChild: HTMLImageElement
link: ""
localName: "body"
Untitled JavaScript (14-May @ 01:45)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- <html>
- <head>
- [25 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script language="javascript">
function f(){ count=0;
for(t=0;t<=2;t++)
{if(document.applic.lang[t].checked) count++ }
if (count==0)
alert("dear "+ document.applic.firstname.value+"\n" +" it is a pity you haven't interest in languages"
else if (count==3) { alert("a language too much")}
else alert("dear "+document.applic.firstname.value+"\n"+"we congratulate you for your sincere interest in lanuages")
}
</script>
</head><body>
<form name="applic"><p>
your name:
<input name="firstname" type="textbox"> </p>
i apply for the following courses (maximum two languages) <p><p>
<input name="lang" type="checkbox"> spanish <br>
<input name="lang" type="checkbox"> french <br>
<input name="lang" type="checkbox"> italian </p>
<input value=" apply " onclick="f()" type="button">
</form>
</body></html>
Untitled JavaScript (6-May @ 08:00)
Syntax Highlighted Code
- // JavaScript Document
- function Rollover(){
- if(document.getElementsByTagName){
- [59 more lines...]
Plain Code
// JavaScript Document
function Rollover(){
if(document.getElementsByTagName){
var images = document.getElementsByTagName("img");
for(var i=0; i < images.length; i++){
if(images[i].getAttribute("src").match("_off."))
{
images[i].onmouseover = function(){
this.setAttribute("src",this.getAttribute("src").replace("_off.","_on."));
}
images[i].onmouseout = function(){
this.setAttribute("src",this.getAttribute("src").replace("_on.","_off."));
}
}
}
}
}
if(window.addEventListener){
window.addEventListener("load",Rollover,false);
}
else if(window.attachEvent){
window.attachEvent("onload",Rollover);
}
var highlightcolor="#EAF3FB"
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
var intended=/INPUT|TEXTAREA/
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}
Untitled JavaScript (30-Apr @ 20:09)
Syntax Highlighted Code
- javascript:genxml()
Plain Code
javascript:genxml()
Untitled JavaScript (20-Apr @ 20:41)
Syntax Highlighted Code
- s.linkTrackVars='eVar14,events';
- s.eVar7 =this;
- s.linkTrackEvents='event37';
- s.tl(this,'o',jQuery(this).text());
- [3 more lines...]
Plain Code
s.linkTrackVars='eVar14,events';
s.eVar7 =this;
s.linkTrackEvents='event37';
s.tl(this,'o',jQuery(this).text());
_gaq.push(['_trackEvent','Twitter',jQuery(this).text()]);
Untitled JavaScript (19-Apr @ 14:27)
Syntax Highlighted Code
- Class('MyClass')(function(){
- });
Plain Code
Class('MyClass')(function(){
});
Untitled JavaScript (10-Apr @ 15:07)
Syntax Highlighted Code
- function test ()
- {
- alert('test');
- }
Plain Code
function test ()
{
alert('test');
}
Untitled JavaScript (9-Apr @ 16:52)
Syntax Highlighted Code
- jk.jlkjlkjlkjlkj
Plain Code
jk.jlkjlkjlkjlkj
Untitled JavaScript (8-Apr @ 09:43)
Syntax Highlighted Code
- alert("dfsd");
Plain Code
alert("dfsd");
Untitled JavaScript (7-Apr @ 07:00)
Syntax Highlighted Code
- 336w346346w46erte64treeyr
Plain Code
336w346346w46erte64treeyr
Untitled JavaScript (6-Apr @ 11:24)
Syntax Highlighted Code
- кнонекнгкгегег
Plain Code
кнонекнгкгегег
Untitled JavaScript (12-Mar @ 06:26)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- [105 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Tapbots — Robots for your iPhone & iPod Touch</title>
<link rel="stylesheet" type="text/css" media="all" href="/css/default.css" />
<meta name="description" content="Tapbots are simple utility robots designed and engineered with care for the iPhone and iPod Touch. These applications are fun, easy to use, and extremely useful for everyone." />
<meta name="keywords" content="app, apps, iphone, ipod, touch, tap, tapbots, applications, software, itunes, store, utility, utilities, weight, tracking, tracker, apple, mac, development, beautiful, user interface, graphics, convertbot, unit, conversion" />
<link rel="alternate" type="application/rss+xml" title="Tapbots Blog RSS Feed" href="http://tapbots.com/blog/feed" />
<link rel="icon" href="/favicon.png" type="image/png" />
<script src="/mint/?js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.1/mootools-yui-compressed.js" type="text/javascript"></script>
<script src="/js-global/Quickie.2_1.js" type="text/javascript"></script>
<script src="/js-global/common.js" type="text/javascript"></script>
<script src="/js-global/product.js" type="text/javascript"></script> </head>
<body id="home">
<div id="header">
<div class="wrap">
<div id="branding">
<div class="logo"><strong><a href="/" title="Home">Tapbots</a></strong></div>
<div class="tagline">Robots for your iPhone & iPod Touch</div>
</div>
<ul class="nav">
<li class="home selected"><a href="/">Home</a></li>
<li class="software"><a href="/software/">Software</a></li>
<li class="support"><a href="/support/">Support</a></li>
<li class="blog"><a href="/blog/">Blog</a></li>
<li class="company"><a href="/company/">Company</a></li>
</ul>
</div><!--#wrap-->
</div><!--#header-->
<hr class="hide" />
<div id="body">
<div class="wrap">
<div id="hero-block">
<p>
<!--<span class="violator new"><em><a href="/software/pastebot/">New App!</a></em></span><br />-->
<!-- <span class="violator update"><em><a href="/software/pastebot/">Updated!</a></em></span><br /> -->
<!--<span class="violator free"><em><a href="/software/pastebot/">Free!</a></em></span><br />-->
<a class="product" href="/software/pastebot/" style="background: url(/img/product_promos/hero_pastebot.jpg);"><strong>Pastebot</strong><br />Command Copy & Paste</a>
</p>
</div>
<div class="product-blocks">
<div class="group">
<p>
<span class="violator free"><em><a href="/software/pastebot/#sync">Free App!</a></em></span><br />
<a class="product" href="/software/pastebot/#sync"><img src="/img/product_promos/pastebotsync.png" alt="Pastebot Sync" width="300" height="140" /><br /><strong style="background: url(/img/product_promos/pastebotsync_text.png);">Pastebot Sync</strong><br />The free sync app for your Mac.</a>
</p>
</div>
<div class="group">
<!--<span class="violator new"><em><a href="/software/convertbot/">New App!</a></em></span><br />-->
<!-- <span class="violator update"><em><a href="/software/convertbot/">Updated!</a></em></span><br /> -->
<!--<span class="violator free"><em><a href="/software/convertbot/">Free!</a></em></span><br />-->
<p><a class="product" href="/software/convertbot/"><img src="/img/product_promos/convertbot.png" alt="Convertbot" width="300" height="140" /><br /><strong style="background: url(/img/product_promos/convertbot_text.png);">Convertbot</strong><br />Convert your Units.</a></p>
</div>
<div class="group">
<!--<span class="violator new"><em><a href="/software/weightbot/">New App!</a></em></span><br />-->
<span class="violator update"><em><a href="/software/weightbot/">Updated!</a></em></span><br />
<!--<span class="violator free"><em><a href="/software/weightbot/">Free!</a></em></span><br />-->
<p><a class="product" href="/software/weightbot/"><img src="/img/product_promos/weightbot.png" alt="Weightbot" width="300" height="140" /><br /><strong style="background: url(/img/product_promos/weightbot_text.png);">Weightbot</strong><br />Track your Weight.</a></p>
</div>
</div>
</div><!--#wrap-->
</div><!--#body-->
<hr class="hide" />
<div id="footer">
<div class="wrap">
<ul id="company-promos">
<li><a href="/company/"><img src="/img/company_promos/about.png" alt="Mad Scientist" width="200" height="198" /><br /><strong style="background: url(/img/company_promos/about_text.png);">About Us</strong><br />Learn more about Tapbots and the mad scientists behind these apps.</a></li>
<li><a href="/blog/"><img src="/img/company_promos/blog.png" alt="Blogbot" width="200" height="198" /><br /><strong style="background: url(/img/company_promos/blog_text.png);">From the Blog</strong><br />Stay up to date with the latest Tapbots news on our blog.</a></li>
<li><a href="/support/"><img src="/img/company_promos/help.png" alt="Nurse" width="200" height="198" /><br /><strong style="background: url(/img/company_promos/help_text.png);">Get Help</strong><br />Having trouble with one of our robots? We are here to help.</a></li>
<li><a href="http://twitter.com/tapbots/" title="Visit our Twitter page"><img src="/img/company_promos/twitter.png" alt="Twitter Bird" width="200" height="198" /><br /><strong style="background: url(/img/company_promos/twitter_text.png);">Follow Tapbots</strong><br />Too cool for RSS? Follow us on Twitter to get the latest.</a></li> </ul>
<form id='mailing_list' action="/mailing_list" method="get">
<fieldset>
<legend>Mailing List</legend>
<dl>
<dt><strong>Want the latest Tapbots news?</strong> <label for="mailing_email">Join our mailing list!</label></dt>
<dd class="">
<input type="hidden" name="web" />
<input type="text" class="text" id="mailing_email" name="email_address" />
<button class="">Submit</button>
<span class="send hide">Saving…</span>
</dd>
</dl>
</fieldset>
</form>
<p id="copyright">©2008-2010 Tapbots, LLC. All Rights Reserved. <strong>All Your Bots are Belong to Us.</strong></p>
</div><!--#wrap-->
</div><!--#footer-->
<div id="grid"></div>
<div id="curtains"><div></div></div>
</body>
</html>
Untitled JavaScript (17-Feb @ 17:31)
Syntax Highlighted Code
- // comment scroll
- var $form = $('#new_comment');
- if ( $form.length ) {
- var offset = $form.offset(),
- [39 more lines...]
Plain Code
// comment scroll
var $form = $('#new_comment');
if ( $form.length ) {
var offset = $form.offset(),
offsetTop = offset.top, offsetLeft = offset.left,
fixedPos = false, timeout;
$(window).bind('resize', function(event) {
if ( timeout ) clearTimeout(timeout);
timeout = setTimeout(resize, 50);
function resize() {
$form.css({
position: 'relative',
top: 0,
left: 0,
width: ''
});
offsetLeft = $form.offset().left;
fixedPos = false;
$(window).scroll();
}
});
$(window).bind('scroll', function(event) {
var scrollTop = $(this).scrollTop(),
diff = scrollTop - offsetTop;
if ( diff > -20 && !fixedPos ) {
$form.css({
position: 'fixed',
top: 20,
width: $form.width(),
left: offsetLeft
});
fixedPos = true;
} else if ( diff < -20 && fixedPos ) {
$form.css({
position: 'relative',
top: 0,
left: 0,
width: ''
});
fixedPos = false;
}
}).scroll();
}
Untitled JavaScript (17-Feb @ 17:30)
Syntax Highlighted Code
- (function( $ ) {
- // http://codedumper.com/azoku
- [47 more lines...]
Plain Code
(function( $ ) {
// http://codedumper.com/azoku
var win = $( window ),
winTop,
elems = [],
bound = false;
function normalize( val ) {
return $.isFunction( val ) ? val() : val;
}
function position() {
var currentTop = this.elem.offset().top,
options = this.options,
min = normalize( options.min );
if ( windowTop > min || currentTop > min ) {
var top = Math.max( windowTop, min );
if ( options.max ) {
top = Math.min( top, normalize(options.max) );
}
this.elem.stop().animate({
top: top
}, 200);
}
}
$.fn.floatFixed = function( options ) {
options = $.extend( { min: "auto" }, options );
// TODO: make this work with multiple elements
if ( options.min === "auto" ) {
options.min = self.offset().top;
}
this.each(function() {
elems.push({ elem: $(this), options: options });
});
if ( !bound ) {
win.scroll(function() {
windowTop = win.scrollTop();
$.each( elems, position );
});
}
return this;
};
})( jQuery );
Untitled JavaScript (17-Feb @ 03:11)
Syntax Highlighted Code
- $.each({
- prevOf: "previousSibling",
- nextOf: "nextSibling"
- }, function( method, traversal ) {
- [10 more lines...]
Plain Code
$.each({
prevOf: "previousSibling",
nextOf: "nextSibling"
}, function( method, traversal ) {
$.fn[ method ] = function( selector ) {
return this.pushStack( this.map(function() {
var ret = this[ traversal ];
while ( ret && !$( ret ).is( selector ) ) {
ret = ret[ traversal ];
}
return ret;
}) );
};
});
Untitled JavaScript (15-Feb @ 20:38)
Syntax Highlighted Code
- .menu({
- focus: function( event, ui ) {
- var item = ui.item.data( "item.autocomplete" );
- if ( false !== self._trigger( "focus", null, { item: item } ) ) {
- [17 more lines...]
Plain Code
.menu({
focus: function( event, ui ) {
var item = ui.item.data( "item.autocomplete" );
if ( false !== self._trigger( "focus", null, { item: item } ) ) {
// use value to match what will end up in the input
self.element.val( item.value );
}
},
selected: function( event, ui ) {
var item = ui.item.data( "item.autocomplete" );
if ( false !== self._trigger( "select", event, { item: item } ) ) {
self.element.val( item.value );
}
self.close( event );
self.previous = self.element.val();
// only trigger when focus was lost (click on menu)
if ( self.element[0] != document.activeElement ) {
self.element.focus();
}
}
})
Untitled JavaScript (11-Feb @ 19:15)
Syntax Highlighted Code
- $.fn.fuckingAwesome = function( options ) {
- var self = this,
- win = $( window );
- options = $.extend( { min: 0 }, options );
- [15 more lines...]
Plain Code
$.fn.fuckingAwesome = function( options ) {
var self = this,
win = $( window );
options = $.extend( { min: 0 }, options );
if ( options.min === "auto" ) { options.min = self.offset().top; }
win.bind( "scroll resize", function() {
var windowTop = win.scrollTop(),
currentTop = self.offset().top;
if ( windowTop > options.min || currentTop > options.min ) {
var top = Math.max( windowTop, options.min );
if ( options.max ) {
top = Math.min( top, $.isFunction(options.max) ? options.max() : options.max );
}
self.stop().animate({
top: top
}, 200);
}
});
};
google cdn (10-Feb @ 13:17)
Syntax Highlighted Code
- <script type="text/javascript" src="http://www.google.com/jsapi"></script>
- <script type="text/javascript">
- google.load("jquery", "1.3");
- </script>
Plain Code
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3");
</script>
Untitled JavaScript (2-Feb @ 12:38)
Syntax Highlighted Code
- function bob ()
- {
- var touch;
- }
Plain Code
function bob ()
{
var touch;
}
Untitled JavaScript (2-Feb @ 01:08)
Syntax Highlighted Code
- ///////////////////////////////////////////////
- // autoscroll
- ///////////////////////////////////////////////
- [54 more lines...]
Plain Code
///////////////////////////////////////////////
// autoscroll
///////////////////////////////////////////////
// first hide the navigation buttons
var $buttons = $('img.right').add('img.left').hide();
// start to automatically cycle the tabs
cycleTimer = setInterval(function () {
$scroll.trigger('next');
}, 5000); // how many milliseconds, change this to whatever you like
// select some trigger elements to stop the auto-cycle
var $stopTriggers = $('#slider .navigation').find('a') // tab headers
.add('.scroll') // panel itself
.add('.stopscroll') // links to the stop class div
.add('.navigation') // links to navigation id for tabs
.add("a[href^='#']"); // links to a tab
// this is the function that will stop the auto-cycle
function stopCycle() {
// remove the no longer needed stop triggers
clearInterval(cycleTimer); // stop the auto-cycle itself
$buttons.show(); // show the navigation buttons
document.getElementById('stopscroll').style.display='none'; // hide the stop div
document.getElementById('startscroll').style.display='block'; // block the start div
}
// bind stop cycle function to the click event using namespaces
$stopTriggers.bind('click.cycle', stopCycle);
///////////////////////////////////////////////
// end autoscroll
///////////////////////////////////////////////
// edit to start again
///////////////////////////////////////////////
// select some trigger elements to stop the auto-cycle
var $startTriggers_start = $('#slider .navigation').find('a') // tab headers
.add('.startscroll'); // links to the start class div
// this is the function that will stop the auto-cycle
function startCycle() {
// remove the no longer needed stop triggers
$buttons.hide(); // show the navigation buttons
$scroll.trigger('next'); // directly to the next first
cycleTimer = setInterval(function () { // now set timer again
$scroll.trigger('next');
}, 5000); // how many milliseconds, change this to whatever you like
document.getElementById('stopscroll').style.display='block'; // block the stop div
document.getElementById('startscroll').style.display='none'; // hide the start div
}
// bind stop cycle function to the click event using namespaces
$startTriggers_start.bind('click.cycle', startCycle);
///////////////////////////////////////////////
// end edit to start
///////////////////////////////////////////////
JQuery Autocomplete (parse method) JSON Object (1-Feb @ 15:20)
Syntax Highlighted Code
- <script>
- $(function() {
- $.ajaxSetup ({ cache: false });
- var ajaxLoadingImg = '<img
- [42 more lines...]
Plain Code
<script>
$(function() {
$.ajaxSetup ({ cache: false });
var ajaxLoadingImg = '<img
src='${Url.Content("/content")}/img/ui/icons/spinner1.gif' />';
$("#select1").attr("disabled", "disabled");
//Multiple select option cloning
$('#add').click(function() {
return !$('#select1 option:selected').remove().appendTo('#select2');
});
$('#remove').click(function() {
return !$('#select2 option:selected').remove().appendTo('#select1');
});
//Autocomplete
$("#instrument").autocomplete("/RegulatorSet/InstrumentSearchAutocomplete", {
delay: 150, // millisecond delay after keyup/down event
minChars: 2, // min no of chars to activate
mustMatch: false,
max: 100, // max no of items
dataType: 'json',
parse: function(json) {
var resultList = new Array();
$("#instrument").after('<span class="ajax-load">' + ajaxLoadingImg
+ 'Loading Insrument Group' + '</span>');
var optionsHtml = '';
for(var i=0; i<json.length; i++){
optionsHtml += '<option value="' + json[i].optionValue + '">' +
json[i].optionDisplay + '</option>';
}
$("#select1").removeAttr("disabled");
$("span.ajax-load").remove();
$("#select1").html(optionsHtml);
return resultList;
},
formatItem: function(resultList){
// No ul required
}
});
});
</script>
Untitled JavaScript (30-Jan @ 01:55)
Syntax Highlighted Code
- var monEffet = new Fx.Styles('chainTest');
- var legend = $('monitor');
- legend.setText("[ Début ]");
- [27 more lines...]
Plain Code
var monEffet = new Fx.Styles('chainTest');
var legend = $('monitor');
legend.setText("[ Début ]");
monEffet.start({ width:'200px' }).chain(
function() {
// Etape 1
legend.setText("-] Etape 1 ...");
monEffet.start({ 'background-color':'#BF2', color:'#000'});
}
).chain (
function(){
;// Etape 2
legend.setText("-]] Etape 2 ...");
monEffet.start.delay( 1000, monEffet,{ opacity:0 });
}
).chain (
function(){
// Etape 3
legend.setText("-]]] Etape 3 ...");
monEffet.start.delay( 3000, monEffet,{ 'background-color':'#0C3', color:'#fff', opacity:1 });
}
).chain (
function(){
// Fin
legend.setText("[ Fin ]");
if (confirm("T'as compris le chainage ?")) $('chainTest').setText("Eh ben t'es fort !");
else $('chainTest').setText("Concentre toi et relance l'animation !");
legend.setText("Lancez la chaine d'exécution en cliquant ici");
}
);
polling example (28-Jan @ 13:22)
Syntax Highlighted Code
- google.load("jquery", "1");
- google.setOnLoadCallback(
- function() {
- [47 more lines...]
Plain Code
google.load("jquery", "1");
google.setOnLoadCallback(
function() {
$(document).ready(function() { T.poll(); });
}
);
var T = { };
T.poll = function () {
var args = {};
$.ajax({
url: "/updates",
type: "POST",
dataType: "json",
data: $.param(args),
success: T.new_tweets
});
};
T.new_tweets = function(response) {
// die!
$('.top, .bottom').remove();
var wrapper = document.getElementById('wrapper');
wrapper.innerHTML = "<div id='header'></div>";
for (var i = 0; i < response.stats.length; ++i) {
var classname = "bottom";
if (i < 3)
classname = "top";
wrapper.innerHTML += "<div class='" + classname + "'>" +
"<h1>" + response.stats[i].k + "</h1>" +
"<h2>" + response.stats[i].v + "</h2>" +
(response.stats[i].t ?
"<span class='time'>since " + response.stats[i].t + "</span>" : '') +
"</div>";
}
T.poll();
};
//JSON
{"stats": [{"k": "ipad", "t": "1:05 pm", "v": 154374}, {"k": "apple", "t": "1:05 pm", "v": 104300}, {"k": "tablet", "t": "1:05 pm", "v": 45615}, {"k": "#ipad", "t": "2:55 pm", "v": 34730}, {"k": "iphone", "t": "1:05 pm", "v": 16207}, {"k": "mac", "t": "1:05 pm", "v": 14465}, {"k": "ipod", "t": "1:05 pm", "v": 8416}, {"k": "apps", "t": "1:05 pm", "v": 8024}, {"k": "iSlate", "t": "1:05 pm", "v": 4648}, {"k": "slate", "t": "1:05 pm", "v": 3372}, {"k": "steve jobs", "t": "1:05 pm", "v": 1409}, {"k": "itunes", "t": "1:05 pm", "v": 1238}, {"k": "itablet", "t": "1:05 pm", "v": 1074}, {"k": "iwork", "t": "1:53 pm", "v": 515}, {"k": "ibooks", "t": "2:31 pm", "v": 433}, {"k": "cupertino", "t": "1:12 pm", "v": 15}, {"k": "jesus tablet", "t": "1:08 pm", "v": 11}, {"k": "sjobs", "t": "1:35 pm", "v": 10}, {"k": "moses tablet", "t": "1:08 pm", "v": 9}, {"k": "jesus phone", "t": "3:48 pm", "v": 4}]}
Untitled JavaScript (24-Jan @ 18:56)
Syntax Highlighted Code
- alert("tjis will bring an alert window wih this message and OK button");
Plain Code
alert("tjis will bring an alert window wih this message and OK button");
Build Options html from json response (18-Jan @ 14:35)
Syntax Highlighted Code
- //return JSON Object
- $.getJSON(selectedInstrumentAjaxCallUrl, {instrument:ticker}, function(json) {
- //build options html
- var optionsHtml = '';
- [10 more lines...]
Plain Code
//return JSON Object
$.getJSON(selectedInstrumentAjaxCallUrl, {instrument:ticker}, function(json) {
//build options html
var optionsHtml = '';
for (var i = 0; i < json.length; i++) {
optionsHtml += '<option value="' + json[i].optionValue + '">' + json[i].optionDisplay + '</option>';
}
$("#select1").html(optionsHtml);
$("span.ajax-load").remove();
$("#select1").removeAttr("disabled");
$('#select1 option:first').attr('selected', 'selected');
})
})
Untitled JavaScript (14-Jan @ 13:32)
Syntax Highlighted Code
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- [11 more lines...]
Plain Code
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.getJSON("http://revvnation.com/forum/get_announcements.php?jsoncallback=?",function(data){
for(i in data)
{
if(data[i]['title']) $('#latest-announcements').append('<li>'+data[i]['title']+'</li>')
}
});
});
</script>
<ul id="latest-announcements">
</ul>
ajax link (11-Jan @ 14:12)
Syntax Highlighted Code
- $(document).ready(function(){
- $('.ajaxtrigger').click(function(){
- $('#target').load($(this).attr('href'));
- return false;
- [1 more lines...]
Plain Code
$(document).ready(function(){
$('.ajaxtrigger').click(function(){
$('#target').load($(this).attr('href'));
return false;
});
});
Untitled JavaScript (10-Jan @ 16:43)
Syntax Highlighted Code
- <!doctype html>
- <html>
- <head>
- <title>jQuery UI Autocomplete Default Demo</title>
- [49 more lines...]
Plain Code
<!doctype html>
<html>
<head>
<title>jQuery UI Autocomplete Default Demo</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
var availableTags = ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "pearl"];
availableTags = [
{ value: 'private1', label: 'Option 1' },
{ value: 'private2', label: 'Option 2' },
{ value: 'private3', label: 'Option 3' },
{ value: 'private4', label: 'Option 4' },
{ value: 'private5', label: 'Option 5' }
];
$("#tags").autocomplete({
source: availableTags,
focus: function(event, ui) {
$(this).val(ui.item.label);
return false;
}
});
});
</script>
</head>
<body>
<div class="demo">
<div class="ui-widget">
<label for="tags">Tags: </label>
<input class="ui-widget ui-widget-content ui-corner-all" id="tags" />
</div>
</div><!-- End demo -->
<div class="demo-description">
<p>
The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.
</p>
<p>
The datasource is a simple JavaScript array, provided to the widget using the source-option.
</p>
</div><!-- End demo-description -->
</body>
</html>
dropDown (3-Jan @ 20:49)
Syntax Highlighted Code
- //Site Switcher
- $(document).ready(function() {
- $(".swither_header").click(function () {
- if ($("#links").is(":hidden")) {
- [11 more lines...]
Plain Code
//Site Switcher
$(document).ready(function() {
$(".swither_header").click(function () {
if ($("#links").is(":hidden")) {
$("#links").slideDown();
} else {
$("#links").slideUp();
}
});
$(".switcher_wrap").hover(
function () {},
function () {
$("#links").slideUp();
}
);
});
dropDown (3-Jan @ 20:47)
Syntax Highlighted Code
- $(document).ready(function() {
- $(".swither_header").click(function () {
- if ($("#links").is(":hidden")) {
- [11 more lines...]
Plain Code
$(document).ready(function() {
$(".swither_header").click(function () {
if ($("#links").is(":hidden")) {
$("#links").slideDown();
} else {
$("#links").slideUp();
}
});
$(".switcher_wrap").hover(
function () {},
function () {
$("#links").slideUp();
}
);
});
pager (13-Dec @ 16:20)
Syntax Highlighted Code
- /*
- * Pager - jQuery plugin to format serch result pagers
- */
- [101 more lines...]
Plain Code
/*
* Pager - jQuery plugin to format serch result pagers
*/
;(function($) {
function assertHasClass(element, c, errormsg) {
if(!$(element).hasClass(c)) {throw errormsg;}
}
$.extend($.fn, {
showPager: function(callback, size) {
var PAGER_SIZE = parseInt(size) || 14;
$(this).each(function() {
assertHasClass(this, 'pager', "element must be a pager");
var pages = jQuery('.page:not(.nextPage, .previousPage)', this);
if(pages.length <= PAGER_SIZE) {
pages.show();
} else {
var current = pages.index(pages.filter('.currentPage'));
if(current<=PAGER_SIZE-4) {
pages.each(function(i) {
var page = jQuery(this);
if(i === PAGER_SIZE - 2){
page.replaceWith('<span>...</span>');
}else if(i<PAGER_SIZE - 1) {
page.show();
} else if(i === pages.length - 1) {
page.show();
}
});
} else if(current > pages.length-(PAGER_SIZE-2)) {
pages.each(function(i) {
var page = jQuery(this);
if(i === 0){
page.show();
}else if(i === 1){
page.replaceWith('<span>...</span>');
}else if(i > pages.length - (PAGER_SIZE-1)) {
page.show();
}
});
} else {
pages.each(function(i) {
var page = jQuery(this);
if(i === 0){
page.show();
}else if(i === 1){
page.replaceWith('<span>...</span>');
}else if(i === pages.length -1) {
page.show();
}else if(i === pages.length - 2){
page.replaceWith('<span>...</span>');
}else if(i > (current - Math.floor(PAGER_SIZE/2)+2) && (i < (current + Math.floor(PAGER_SIZE/2) - 1))) {
page.show();
}
});
}
}
if(typeof callback == 'function') {
jQuery('a.page', this).click(function() {
callback(this.href.slice(this.href.lastIndexOf('#')+1, this.href.length));
});
}
return this;
});
}
});
})(jQuery);
<%@ attribute name="current" required="true" rtexprvalue="true" type="java.lang.Integer" %>
<%@ attribute name="pages" required="true" rtexprvalue="true" type="java.util.Collection" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<span class="pager">
<c:choose>
<c:when test="${current > 1}"><a class="page previousPage" href="#${current - 1}"><fmt:message key="general.previous"/></a></c:when>
<c:otherwise><span class="page previousPage"><fmt:message key="general.previous"/></span></c:otherwise>
</c:choose>
<c:forEach var="page" items="${pages}">
<c:choose>
<c:when test="${page == current}">
<span class="page currentPage" style="display: none">${page}</span>
</c:when>
<c:when test="${page == -1}">
<span class="page break">...</span>
</c:when>
<c:otherwise>
<a class="page" href="#${page}" style="display: none">${page}</a>
</c:otherwise>
</c:choose>
</c:forEach>
<c:choose>
<c:when test="${current < fn:length(pages)}"><a class="page nextPage" href="#${current + 1}"><fmt:message key="general.next"/></a></c:when>
<c:otherwise><span class="page nextPage"><fmt:message key="general.next"/></span></c:otherwise>
</c:choose>
</span>
Ajax delete (8-Dec @ 17:47)
Syntax Highlighted Code
- $(".delete-action a").live("click", function() {
- var linkElement = $(this);
- var parentCell = $(linkElement).parent();
- var parentRow = $(linkElement).parent().parent();
- [15 more lines...]
Plain Code
$(".delete-action a").live("click", function() {
var linkElement = $(this);
var parentCell = $(linkElement).parent();
var parentRow = $(linkElement).parent().parent();
$("#dialog").dialog("open");
parentCell.html(xhrActivity + "Deleting...");
$.get(this.href, function(data){
// alert(data);
parentRow.fadeTo(100, 1).fadeOut('slow', function() {
$(this).remove();
rowStripes();
rowCount();
});
});
return false;
});
jQuery.rgbToHex (25-Nov @ 11:32)
Syntax Highlighted Code
- /**
- * jQuery.rgbToHex - Converts an RGB string to a HEX string (forces length 6)
- * @author Joshua Baker
- * @version 1.0.0
- [41 more lines...]
Plain Code
/**
* jQuery.rgbToHex - Converts an RGB string to a HEX string (forces length 6)
* @author Joshua Baker
* @version 1.0.0
*/
;(function($){
$.extend({
rgbToHex: function(rgbString) {
var parts = rgbString.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
if (!parts)
{
if (rgbString.length < 6) {
var parts = rgbString.split('');
delete (parts[0]);
for (var i = 1; i <= 3; ++i)
{
parts[i] = parts[i] + parts[i];
}
return '#' + parts.join('');
}
else
{
return rgbString;
}
}
else
{
delete (parts[0]);
for (var i = 1; i <= 3; ++i)
{
parts[i] = parseInt(parts[i]).toString(16);
if (parts[i].length == 1) parts[i] = parts[i] + parts[i];
}
return '#' + parts.join('');
}
}
});
})(jQuery);
/**
* jQuery.rgbToHex - Converts an RGB string to a HEX string (forces length 6)
* @author Joshua Baker
* @version 1.0.0
*/
;(function(a){a.extend({rgbToHex:function(d){var c=d.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(!c){if(d.length<6){var c=d.split("");delete (c[0]);for(var b=1;b<=3;++b){c[b]=c[b]+c[b]}return"#"+c.join("")}else{return d}}else{delete (c[0]);for(var b=1;b<=3;++b){c[b]=parseInt(c[b]).toString(16);if(c[b].length==1){c[b]=c[b]+c[b]}}return"#"+c.join("")}}})})(jQuery);
scrollIntoView method JavaScript (13-Nov @ 11:57)
Syntax Highlighted Code
- var targetOffset = jQuery(target).offset().top;
- var containerOffset = jQuery('#productsDiv').offset().top;
- if(targetOffset < containerOffset) {
- target.scrollIntoView();
- }
Plain Code
var targetOffset = jQuery(target).offset().top;
var containerOffset = jQuery('#productsDiv').offset().top;
if(targetOffset < containerOffset) {
target.scrollIntoView();
}
javascript pointcut example (11-Nov @ 10:56)
Syntax Highlighted Code
- /* This will intercept the jQuery bind event
- * and logs the number of calls
- */
- jQuery.fn.bind = function (bind) {
- [5 more lines...]
Plain Code
/* This will intercept the jQuery bind event
* and logs the number of calls
*/
jQuery.fn.bind = function (bind) {
return function () {
console.count("jQuery bind count");
console.log("jQuery bind %o", this);
return bind.apply(this, arguments);
};
}(jQuery.fn.bind);
explorer style jquery treeview (23-Oct @ 14:32)
Syntax Highlighted Code
- /*
- * Treeview 1.4 - jQuery plugin to hide and show branches of a tree
- *
- * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
- [275 more lines...]
Plain Code
/*
* Treeview 1.4 - jQuery plugin to hide and show branches of a tree
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
* http://docs.jquery.com/Plugins/Treeview
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
*
* Additions by Andreas Bjärlestam:
* - Added stayopen option
* - Added expandAll jQuery object method
* - Added removeFolders jQuery object method
*/
;(function($) {
$.extend($.fn, {
swapClass: function(c1, c2) {
var c1Elements = this.filter('.' + c1);
this.filter('.' + c2).removeClass(c2).addClass(c1);
c1Elements.removeClass(c1).addClass(c2);
return this;
},
replaceClass: function(c1, c2) {
return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
},
hoverClass: function(className) {
className = className || "hover";
return this.hover(function() {
$(this).addClass(className);
}, function() {
$(this).removeClass(className);
});
},
heightToggle: function(animated, callback) {
animated ?
this.animate({ height: "toggle" }, animated, callback) :
this.each(function(){
jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
if(callback)
callback.apply(this, arguments);
});
},
heightHide: function(animated, callback) {
if (animated) {
this.animate({ height: "hide" }, animated, callback);
} else {
this.hide();
if (callback)
this.each(callback);
}
},
prepareBranches: function(settings) {
if (!settings.prerendered) {
// mark last tree items
this.filter(":last-child:not(ul)").addClass(CLASSES.last);
// collapse whole tree, or only those marked as closed, anyway except those marked as open
this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
}
// return all items with sublists
return this.filter(":has(>ul)");
},
applyClasses: function(settings, toggler) {
this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event) {
toggler.apply($(this).next());
}).add( $("a", this) ).hoverClass();
if (!settings.prerendered) {
// handle closed ones first
this.filter(":has(>ul:hidden)")
.addClass(CLASSES.expandable)
.replaceClass(CLASSES.last, CLASSES.lastExpandable);
// handle open ones
this.not(":has(>ul:hidden)")
.addClass(CLASSES.collapsable)
.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
// create hitarea
this.prepend("<div class=\"" + CLASSES.hitarea + "\"/>").find("div." + CLASSES.hitarea).each(function() {
var classes = "";
$.each($(this).parent().attr("class").split(" "), function() {
classes += this + "-hitarea ";
});
$(this).addClass( classes );
});
}
// apply event to hitarea
this.find("div." + CLASSES.hitarea).click( toggler );
},
expandAll: function() {
if(!this.hasClass("treeview")) {throw "can't expand element that is not a tree"};
$("div." + CLASSES.hitarea, this)
.replaceClass( CLASSES.expandableHitarea, CLASSES.collapsableHitarea )
.replaceClass( CLASSES.lastExpandableHitarea, CLASSES.lastCollapsableHitarea )
.parent()
.replaceClass( CLASSES.expandable, CLASSES.collapsable )
.replaceClass( CLASSES.lastExpandable, CLASSES.lastCollapsable )
.find( ">ul" ).show();
return this;
},
removeFolders: function(folderIds) {
if(!this.hasClass("treeview")) {throw "can't remove folders from element that is not a tree"};
var tree = this;
jQuery.each(folderIds, function() {
tree.find('input.folderId[value='+ this +']').parents('li:first').remove();
});
return this;
},
treeview: function(settings) {
settings = $.extend({
cookieId: "treeview"
}, settings);
if (settings.add) {
return this.trigger("add", [settings.add]);
}
if ( settings.toggle ) {
var callback = settings.toggle;
settings.toggle = function() {
return callback.apply($(this).parent()[0], arguments);
};
}
// factory for treecontroller
function treeController(tree, control) {
// factory for click handlers
function handler(filter) {
return function() {
// reuse toggle event handler, applying the elements to toggle
// start searching for all hitareas
toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
// for plain toggle, no filter is provided, otherwise we need to check the parent element
return filter ? $(this).parent("." + filter).length : true;
}) );
return false;
};
}
// click on first element to collapse tree
$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
// click on second to expand tree
$("a:eq(1)", control).click( handler(CLASSES.expandable) );
// click on third to toggle tree
$("a:eq(2)", control).click( handler() );
}
// handle toggle event
function toggler() {
if( settings.stayopen
&& $(this).is(':not(div.hitarea)')
&& $(this).parent().find(">.hitarea").hasClass(CLASSES.collapsableHitarea)) {
return;
}
$(this)
.parent()
// swap classes for hitarea
.find(">.hitarea")
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
.end()
// swap classes for parent li
.swapClass( CLASSES.collapsable, CLASSES.expandable )
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
// find child lists
.find( ">ul" )
// toggle them
.heightToggle( settings.animated, settings.toggle );
if ( settings.unique ) {
$(this).parent()
.siblings()
// swap classes for hitarea
.find(">.hitarea")
.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
.end()
.replaceClass( CLASSES.collapsable, CLASSES.expandable )
.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
.find( ">ul" )
.heightHide( settings.animated, settings.toggle );
}
}
function serialize() {
function binary(arg) {
return arg ? 1 : 0;
}
var data = [];
branches.each(function(i, e) {
data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
});
$.cookie(settings.cookieId, data.join("") );
}
function deserialize() {
var stored = $.cookie(settings.cookieId);
if ( stored ) {
var data = stored.split("");
branches.each(function(i, e) {
$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
});
}
}
// add treeview class to activate styles
this.addClass("treeview");
// prepare branches and find all tree items with child lists
var branches = this.find("li").prepareBranches(settings);
switch(settings.persist) {
case "cookie":
var toggleCallback = settings.toggle;
settings.toggle = function() {
serialize();
if (toggleCallback) {
toggleCallback.apply(this, arguments);
}
};
deserialize();
break;
case "location":
var current = this.find("a").filter(function() { return this.href.toLowerCase() == location.href.toLowerCase(); });
if ( current.length ) {
current.addClass("selected").parents("ul, li").add( current.next() ).show();
}
break;
}
branches.applyClasses(settings, toggler);
// if control option is set, create the treecontroller and show it
if ( settings.control ) {
treeController(this, settings.control);
$(settings.control).show();
}
return this.bind("add", function(event, branches) {
$(branches).prev()
.removeClass(CLASSES.last)
.removeClass(CLASSES.lastCollapsable)
.removeClass(CLASSES.lastExpandable)
.find(">.hitarea")
.removeClass(CLASSES.lastCollapsableHitarea)
.removeClass(CLASSES.lastExpandableHitarea);
$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings, toggler);
});
}
});
// classes used by the plugin
// need to be styled via external stylesheet, see first example
var CLASSES = $.fn.treeview.classes = {
open: "open",
closed: "closed",
expandable: "expandable",
expandableHitarea: "expandable-hitarea",
lastExpandableHitarea: "lastExpandable-hitarea",
collapsable: "collapsable",
collapsableHitarea: "collapsable-hitarea",
lastCollapsableHitarea: "lastCollapsable-hitarea",
lastCollapsable: "lastCollapsable",
lastExpandable: "lastExpandable",
last: "last",
hitarea: "hitarea"
};
// provide backwards compability
$.fn.Treeview = $.fn.treeview;
})(jQuery);
Untitled JavaScript (16-Oct @ 04:58)
Syntax Highlighted Code
- function search(text, callback) {
- script.src = 'http://api.flickr.com/services/?.....&jsoncallback=' + callback;
- document.body.appendChild(script);
- }
- [15 more lines...]
Plain Code
function search(text, callback) {
script.src = 'http://api.flickr.com/services/?.....&jsoncallback=' + callback;
document.body.appendChild(script);
}
/* #1 */
var cb;
cb[0] = function(){ /* put result in #div0 */ };
cb[1] = function(){ /* put result in #div1 */ };
cb[...] = function() {...};
search('hello', 'cb[0]');
search('hello2', 'cb[1]');
/* #2 */
var cb;
eval('cb1 = function() { /* put result in #div0 */ }');
eval('cb2 = function() { /* put result in #div0 */ }');
....
search('hello', 'cb0');
search('hello2', 'cb1');
Untitled JavaScript (16-Oct @ 04:56)
Syntax Highlighted Code
- function search(text, callback) {
- script.src = 'http://api.flickr.com/services/?.....&jsoncallback=' + callback;
- document.body.appendChild(script);
- }
- [13 more lines...]
Plain Code
function search(text, callback) {
script.src = 'http://api.flickr.com/services/?.....&jsoncallback=' + callback;
document.body.appendChild(script);
}
/* #1 */
var cb;
cb[0] = function(){ /* put result in #div0 */ };
cb[1] = function(){ /* put result in #div1 */ };
cb[...] = function() {...};
/* #2 */
var cb;
eval('cb1 = function() { /* put result in #div0 */ }');
eval('cb2 = function() { /* put result in #div0 */ }');
....
/* main */
search('hello', 'cb[0]');
search('hello2', 'cb[1]');
JavaScript event delegator template for jQuery (2-Oct @ 13:48)
Syntax Highlighted Code
- jQuery(document).ready(function() {
- jQuery("body").click(function(e) {
- var target = jQuery(e.target);
- [3 more lines...]
Plain Code
jQuery(document).ready(function() {
jQuery("body").click(function(e) {
var target = jQuery(e.target);
if (target.hasClass('someclass')) return doSomeStuff();
if (target.hasClass('someotherclass')) return doOtherStuff();
});
});
Untitled JavaScript (29-Sep @ 14:01)
Syntax Highlighted Code
- /* jQuery Fundamentals Training: iContact */
Plain Code
/* jQuery Fundamentals Training: iContact */
Untitled JavaScript (29-Sep @ 13:57)
Syntax Highlighted Code
- /* jQuery Fundamentals Training: iContact */
Plain Code
/* jQuery Fundamentals Training: iContact */
insert record (21-Sep @ 18:51)
Syntax Highlighted Code
- jQuery.fn.InsertRecord = function () {
- $(this).keyup(function(e){
- if(e.keyCode==13){
- var value = $(this).val();
- [17 more lines...]
Plain Code
jQuery.fn.InsertRecord = function () {
$(this).keyup(function(e){
if(e.keyCode==13){
var value = $(this).val();
var id = $(this).attr("name");
var thiscase = $(this).attr('rel');
var xtra = arguments[0];
$.ajax({
type: "POST",
url: "/includes/power/actions.php",
data: "x=i&x2="+thiscase+"&value="+value+"&id="+id+xtra,
success: function(msg){
// window.location.reload();
}
});
}
});
};
Untitled JavaScript (7-Sep @ 16:36)
Syntax Highlighted Code
- function anders(){
- }
Plain Code
function anders(){
}
Untitled JavaScript (7-Sep @ 15:29)
Syntax Highlighted Code
- function getSetCarouselControlsInfo () {
- var carouselConf = carousel.scrollable();
- var current = carouselConf.getPageIndex() + 1;
- [320 more lines...]
Plain Code
function getSetCarouselControlsInfo () {
var carouselConf = carousel.scrollable();
var current = carouselConf.getPageIndex() + 1;
var total = carouselConf.getSize();
var currentSpan = $('#feature p span#current');
var totalSpan = $('#feature p span#total');
$('p.left').hide();
currentSpan.text(current);
totalSpan.text(total);
if (currentSpan.text() == "1") {
$('p.left').fadeOut('slow');
}
else $('p.left').fadeIn('slow');
if (currentSpan.text() == total) {
$('p.right').hide('slow');
}
else $('p.right').show('slow');
}
function initCarouselHome (scrollableDiv){
carousel = $(scrollableDiv);
$(carousel).scrollable({
size: 1,
next: 'p.right',
prev: 'p.left',
easing: 'swing',
onSeek: function() {
getSetCarouselControlsInfo();
}
});
}
function initCarouselSmall (){
$(".news-feature .scrollable").scrollable({
vertical:true,
next: 'p.bottom',
prev: 'p.top',
size: 3
});
}
function carouselClickable (){
$('ul.items li').click(function(){
var href = $(this).find('a').attr('href');
window.location.href = href;
});
}
function linkExpanderAndHover(listItemString) {
listItem = $(listItemString);
listItem.mouseover(function(){
$(this).css({
'cursor' : 'pointer'
});
$(this).find('a').css({
'text-decoration' : 'underline'
});
$(this).addClass('hovered');
});
listItem.mouseout(function(){
$(this).find('a').css({
'text-decoration' : 'none'
});
$(this).removeClass('hovered');
});
listItem.click(function(){
var href = $(this).find('a').attr('href');
window.location.href = href;
});
}
function searchChanger (){
$('#search-changer ul li').click(function(){
$('#search-changer li.selected').removeClass('selected');
$(this).addClass('selected');
});
}
function mouseOvers (){
$('button.submit').hover(
function () { $(this).css({ 'background' : 'url(assets/images/go-hover.gif) no-repeat' }); },
function () { $(this).css({ 'background' : 'url(assets/images/go.gif) no-repeat' });
});
$('.news-feature .items li').hover(
function () { $(this).css({ 'background' : 'url(assets/images/thumb-bg1-hover.png) no-repeat' }); },
function () { $(this).css({ 'background' : 'url(assets/images/thumb-bg1.png) no-repeat' });
});
$('#search-changer #search-submit, #content-search-button').hover(
function () { $(this).css({ 'background' : 'url(assets/images/search-hover.gif) no-repeat' }); },
function () { $(this).css({ 'background' : 'url(assets/images/search.gif) no-repeat' });
});
$('.news-feature p.top').hover(
function () { $(this).css({ 'background' : 'url(assets/images/carousel-up-blue.gif) no-repeat' }); },
function () { $(this).css({ 'background' : 'url(assets/images/carousel-up.gif) no-repeat' });
});
$('.news-feature p.bottom').hover(
function () { $(this).css({ 'background' : 'url(assets/images/carousel-down-blue.gif) no-repeat' }); },
function () { $(this).css({ 'background' : 'url(assets/images/carousel-down.gif) no-repeat' });
});
}
function initSifr(){
$('.col h2').sifr({
path: 'assets/fonts/',
font: 'bliss-pro-bold',
fontSize: "24px"
});
$('.bar h3 a').sifr({
path: 'assets/fonts/',
font: 'bliss-pro-bold',
fontSize: "44em"
});
}
function setSearchKeywordField(){
$('#search input#search-box').attr({ value: 'Search the site...' }).focus(function(){
if ($(this).val()=='Search the site...') {
$(this).val("");
}
}).blur(function(){
if ($(this).val()=="") {
$(this).val('Search the site...');
}
});
}
function gridList (){
var gridListItem = $('.grid ul li');
//remove current css
gridListItem.css('float', 'none');
gridListItem.find('a:hover').css('text-decoration', 'none');
//add Classes for columns
gridListItem.slice(0, 9).addClass('col1');
gridListItem.slice(9, 18).addClass('col2');
gridListItem.slice(18, 27).addClass('col3');
$('.grid ul li:eq(9)').addClass('reset1');
$('.grid ul li:eq(18)').addClass('reset2');
//clickable
gridListItem.click(function(){
var href = $(this).find('a').attr('href');
window.location.href = href;
});
//mouse css
gridListItem.css('cursor', 'pointer');
gridListItem.mouseover(function(){
$(this).css({
'background-image' : 'url(/assets/images/grid-li-bg-hover.gif)',
'background-position' : '0px -1px'
});
});
gridListItem.mouseout(function(){
$(this).css({
'background-image' : 'url(/assets/images/grid-li-bg.gif)',
'background-position' : '0px 0px'
});
});
}
function dropDownList(nestedLists){
var liParent = nestedLists.find('ul').parent('li');
var liParent2 = nestedLists.find('ul ul').parent('li');
liParent.find('ul:first').hide();
liParent.find('a:first').each(function(){
$(this).hover(
function () { $(this).addClass('hovered'); },
function () { $(this).removeClass('hovered');
});
$(this).click(function(){
$(this).toggleClass('selected');
$(this).parents('li:first').find('ul:first').slideToggle('slow');
});
});
liParent2.find('a:first').each(function(){
$(this).click(function(){
$(this).toggleClass('selected');
$(this).parents('li:first').find('ul:first').hide();
});
});
}
function rollOverShowInfo(){
$('.large-grid .info p').hide();
$('.large-grid ul li').each(function(){
$(this).mouseover(function(){
$(this).find('.info p').show();
});
$(this).mouseout(function(){
$(this).find('.info p').hide();
});
});
}
function initTooltip(tooltipString){
tooltipTrigger = $(tooltipString);
tooltipTrigger.tooltip({
bodyHandler: function() {
return $($(this).attr("href")).html();
},
fixPNG: true,
fade: 250,
top: -145,
left: 10,
showURL: false
});
}
$(function callOnPageID (){
var page = $('body').attr('id');
switch (page) {
case 'home':
initCarouselHome('div.scrollable');
getSetCarouselControlsInfo();
initSifr();
carouselClickable();
searchChanger();
mouseOvers();
setSearchKeywordField();
linkExpanderAndHover('.col ul li');
break;
case 'video-grid':
var contentClass = $('#content').attr('class');
if (contentClass == 'large-grid') {
setSearchKeywordField();
rollOverShowInfo();
linkExpanderAndHover('.large-grid ul li');
}
else {
gridList();
}
mouseOvers();
break;
case 'news':
linkExpanderAndHover('ul.vertical-text-img li');
linkExpanderAndHover('.titled-lists ul li');
var nestedLists = $('ul.drop-down');
dropDownList(nestedLists);
break;
case 'news':
linkExpanderAndHover('ul.vertical-text-img li');
linkExpanderAndHover('.titled-lists ul li');
var nestedLists = $('ul.drop-down');
dropDownList(nestedLists);
break;
case 'a-z':
linkExpanderAndHover('ul.wide li');
break;
case 'publications':
linkExpanderAndHover('ul.publications li');
break;
case 'project-detail':
linkExpanderAndHover('ul.vertical-text-img li');
linkExpanderAndHover('.titled-lists ul li');
linkExpanderAndHover('.white-cell ul li');
linkExpanderAndHover('.grey-cell ul li');
var nestedLists = $('ul.drop-down');
dropDownList(nestedLists);
initCarouselSmall();
break;
case 'template':
linkExpanderAndHover('ul.vertical-text-img li');
linkExpanderAndHover('.titled-lists ul li');
linkExpanderAndHover('.white-cell ul li');
linkExpanderAndHover('.grey-cell ul li');
var nestedLists = $('ul.drop-down');
dropDownList(nestedLists);
initCarouselSmall();
initTooltip('a.pdf');
mouseOvers();
setSearchKeywordField();
break;
default:
break;
}
});
double form submit prevention (31-Aug @ 09:48)
Syntax Highlighted Code
- jQuery.fn.preventDoubleSubmit = function() {
- jQuery(this).submit(function() {
- if (this.beenSubmitted)
- return false;
- [6 more lines...]
Plain Code
jQuery.fn.preventDoubleSubmit = function() {
jQuery(this).submit(function() {
if (this.beenSubmitted)
return false;
else
this.beenSubmitted = true;
});
};
// jQuery('#my_form').preventDoubleSubmit();
Getting rid of border-bottom (31-Aug @ 09:42)
Syntax Highlighted Code
- $(function() { $('a:has(img)').addClass('image'); });
Plain Code
$(function() { $('a:has(img)').addClass('image'); });
Untitled JavaScript (25-Aug @ 12:07)
Syntax Highlighted Code
- $(window).load(function() {
- // run this when the whole page has been downloaded
- });
Plain Code
$(window).load(function() {
// run this when the whole page has been downloaded
});
Load Only What You Really Need on DOM ready (22-Aug @ 09:47)
Syntax Highlighted Code
- // Load Only What You Really Need
- $(document).ready (function () {
- if ('body').hasClass ('home') {
- // home page code
- [6 more lines...]
Plain Code
// Load Only What You Really Need
$(document).ready (function () {
if ('body').hasClass ('home') {
// home page code
}
else if ('body').hasClass ('blog') {
// blog code
}
// and so on
});
Fix IE6 background image flicker (22-Aug @ 09:09)
Syntax Highlighted Code
- <!--[if lte IE 6]>
- <script type="text/javascript">
- //Fix IE6 background image flicker
- function fixIE6flicker(fix) {
- [6 more lines...]
Plain Code
<!--[if lte IE 6]>
<script type="text/javascript">
//Fix IE6 background image flicker
function fixIE6flicker(fix) {
try {
document.execCommand("BackgroundImageCache", false, fix);
} catch(err) { }
}
window.onload = function() { fixIE6flicker(true); }
</script>
<![endif]-->
Ajax Pagination (22-Aug @ 09:04)
Syntax Highlighted Code
- //Ajax pagination.js
- $(function() {
- $(".pagination a").live("click", function() {
- $(".pagination").html("Page is loading...");
- [4 more lines...]
Plain Code
//Ajax pagination.js
$(function() {
$(".pagination a").live("click", function() {
$(".pagination").html("Page is loading...");
$.get(this.href, null, null, "script");
return false;
});
});
Untitled JavaScript (31-Jul @ 07:39)
Syntax Highlighted Code
- $(document).ready(function(){
- $('em.ctdelete').click(function () {
- alert($(this).attr('id'));
- [13 more lines...]
Plain Code
$(document).ready(function(){
$('em.ctdelete').click(function () {
alert($(this).attr('id'));
});
//var tbl = prettyPrint( Drupal );
//document.body.insertBefore( tbl, document.body.firstChild );
});
Untitled JavaScript (24-Jul @ 02:49)
Syntax Highlighted Code
- $.fn.zIndex = function(zIndex) {
- if (zIndex !== undefined) {
- return this.css('zIndex', zIndex);
- }
- [8 more lines...]
Plain Code
$.fn.zIndex = function(zIndex) {
if (zIndex !== undefined) {
return this.css('zIndex', zIndex);
}
var elem = this[0];
while (elem) {
if (elem.style.zIndex)
return elem.style.zIndex;
elem = elem.parentNode;
}
return 0;
};
Untitled JavaScript (24-Jul @ 02:44)
Syntax Highlighted Code
- $.fn.zIndex = function(zIndex) {
- if (zIndex !== undefined) {
- return this.css('zIndex', zIndex);
- }
- [6 more lines...]
Plain Code
$.fn.zIndex = function(zIndex) {
if (zIndex !== undefined) {
return this.css('zIndex', zIndex);
}
var elem = this[0];
while (elem && elem.style.zIndex === '' && elem.parentNode) {
elem = elem.parentNode;
}
return elem.style.zIndex || 0;
};
Untitled JavaScript (17-Jul @ 14:29)
Syntax Highlighted Code
- /*!
- * jQuery JavaScript Library v1.3.2
- * http://jquery.com/
- *
- [1894 more lines...]
Plain Code
/*!
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
*
* Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
* Revision: 6246
*/
(function(){
var
// Will speed up references to window, and allows munging its name.
window = this,
// Will speed up references to undefined, and allows munging its name.
undefined,
// Map over jQuery in case of overwrite
_jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$,
jQuery = window.jQuery = window.$ = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
},
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.,]*$/;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
// Make sure that a selection was provided
selector = selector || document;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this[0] = selector;
this.length = 1;
this.context = selector;
return this;
}
// Handle HTML strings
if ( typeof selector === "string" ) {
// Are we dealing with HTML string or an ID?
var match = quickExpr.exec( selector );
// Verify a match, and that no context was specified for #id
if ( match && (match[1] || !context) ) {
// HANDLE: $(html) -> $(array)
if ( match[1] )
selector = jQuery.clean( [ match[1] ], context );
// HANDLE: $("#id")
else {
var elem = document.getElementById( match[3] );
// Handle the case where IE and Opera return items
// by name instead of ID
if ( elem && elem.id != match[3] )
return jQuery().find( selector );
// Otherwise, we inject the element directly into the jQuery object
var ret = jQuery( elem || [] );
ret.context = document;
ret.selector = selector;
return ret;
}
// HANDLE: $(expr, [context])
// (which is just equivalent to: $(content).find(expr)
} else
return jQuery( context ).find( selector );
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) )
return jQuery( document ).ready( selector );
// Make sure that old selector state is passed along
if ( selector.selector && selector.context ) {
this.selector = selector.selector;
this.context = selector.context;
}
return this.setArray(jQuery.isArray( selector ) ?
selector :
jQuery.makeArray(selector));
},
// Start with an empty selector
selector: "",
// The current version of jQuery being used
jquery: "1.3.2",
// The number of elements contained in the matched element set
size: function() {
return this.length;
},
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
return num === undefined ?
// Return a 'clean' array
Array.prototype.slice.call( this ) :
// Return just the object
this[ num ];
},
// Take an array of elements and push it onto the stack
// (returning the new matched element set)
pushStack: function( elems, name, selector ) {
// Build a new jQuery matched element set
var ret = jQuery( elems );
// Add the old object onto the stack (as a reference)
ret.prevObject = this;
ret.context = this.context;
if ( name === "find" )
ret.selector = this.selector + (this.selector ? " " : "") + selector;
else if ( name )
ret.selector = this.selector + "." + name + "(" + selector + ")";
// Return the newly-formed element set
return ret;
},
// Force the current matched set of elements to become
// the specified array of elements (destroying the stack in the process)
// You should use pushStack() in order to do this, but maintain the stack
setArray: function( elems ) {
// Resetting the length to 0, then using the native Array push
// is a super-fast way to populate an object with array-like properties
this.length = 0;
Array.prototype.push.apply( this, elems );
return this;
},
// Execute a callback for every element in the matched set.
// (You can seed the arguments with an array of args, but this is
// only used internally.)
each: function( callback, args ) {
return jQuery.each( this, callback, args );
},
// Determine the position of an element within
// the matched set of elements
index: function( elem ) {
// Locate the position of the desired element
return jQuery.inArray(
// If it receives a jQuery object, the first element is used
elem && elem.jquery ? elem[0] : elem
, this );
},
attr: function( name, value, type ) {
var options = name;
// Look for the case where we're accessing a style value
if ( typeof name === "string" )
if ( value === undefined )
return this[0] && jQuery[ type || "attr" ]( this[0], name );
else {
options = {};
options[ name ] = value;
}
// Check to see if we're setting style values
return this.each(function(i){
// Set all the styles
for ( name in options )
jQuery.attr(
type ?
this.style :
this,
name, jQuery.prop( this, options[ name ], type, i, name )
);
});
},
css: function( key, value ) {
// ignore negative width and height values
if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 )
value = undefined;
return this.attr( key, value, "curCSS" );
},
text: function( text ) {
if ( typeof text !== "object" && text != null )
return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );
var ret = "";
jQuery.each( text || this, function(){
jQuery.each( this.childNodes, function(){
if ( this.nodeType != 8 )
ret += this.nodeType != 1 ?
this.nodeValue :
jQuery.fn.text( [ this ] );
});
});
return ret;
},
wrapAll: function( html ) {
if ( this[0] ) {
// The elements to wrap the target around
var wrap = jQuery( html, this[0].ownerDocument ).clone();
if ( this[0].parentNode )
wrap.insertBefore( this[0] );
wrap.map(function(){
var elem = this;
while ( elem.firstChild )
elem = elem.firstChild;
return elem;
}).append(this);
}
return this;
},
wrapInner: function( html ) {
return this.each(function(){
jQuery( this ).contents().wrapAll( html );
});
},
wrap: function( html ) {
return this.each(function(){
jQuery( this ).wrapAll( html );
});
},
append: function() {
return this.domManip(arguments, true, function(elem){
if (this.nodeType == 1)
this.appendChild( elem );
});
},
prepend: function() {
return this.domManip(arguments, true, function(elem){
if (this.nodeType == 1)
this.insertBefore( elem, this.firstChild );
});
},
before: function() {
return this.domManip(arguments, false, function(elem){
this.parentNode.insertBefore( elem, this );
});
},
after: function() {
return this.domManip(arguments, false, function(elem){
this.parentNode.insertBefore( elem, this.nextSibling );
});
},
end: function() {
return this.prevObject || jQuery( [] );
},
// For internal use only.
// Behaves like an Array's method, not like a jQuery method.
push: [].push,
sort: [].sort,
splice: [].splice,
find: function( selector ) {
if ( this.length === 1 ) {
var ret = this.pushStack( [], "find", selector );
ret.length = 0;
jQuery.find( selector, this[0], ret );
return ret;
} else {
return this.pushStack( jQuery.unique(jQuery.map(this, function(elem){
return jQuery.find( selector, elem );
})), "find", selector );
}
},
clone: function( events ) {
// Do the clone
var ret = this.map(function(){
if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
// IE copies events bound via attachEvent when
// using cloneNode. Calling detachEvent on the
// clone will also remove the events from the orignal
// In order to get around this, we use innerHTML.
// Unfortunately, this means some modifications to
// attributes in IE that are actually only stored
// as properties will not be copied (such as the
// the name attribute on an input).
var html = this.outerHTML;
if ( !html ) {
var div = this.ownerDocument.createElement("div");
div.appendChild( this.cloneNode(true) );
html = div.innerHTML;
}
return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0];
} else
return this.cloneNode(true);
});
// Copy the events from the original to the clone
if ( events === true ) {
var orig = this.find("*").andSelf(), i = 0;
ret.find("*").andSelf().each(function(){
if ( this.nodeName !== orig[i].nodeName )
return;
var events = jQuery.data( orig[i], "events" );
for ( var type in events ) {
for ( var handler in events[ type ] ) {
jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
}
}
i++;
});
}
// Return the cloned set
return ret;
},
filter: function( selector ) {
return this.pushStack(
jQuery.isFunction( selector ) &&
jQuery.grep(this, function(elem, i){
return selector.call( elem, i );
}) ||
jQuery.multiFilter( selector, jQuery.grep(this, function(elem){
return elem.nodeType === 1;
}) ), "filter", selector );
},
closest: function( selector ) {
var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null,
closer = 0;
return this.map(function(){
var cur = this;
while ( cur && cur.ownerDocument ) {
if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {
jQuery.data(cur, "closest", closer);
return cur;
}
cur = cur.parentNode;
closer++;
}
});
},
not: function( selector ) {
if ( typeof selector === "string" )
// test special case where just one selector is passed in
if ( isSimple.test( selector ) )
return this.pushStack( jQuery.multiFilter( selector, this, true ), "not", selector );
else
selector = jQuery.multiFilter( selector, this );
var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType;
return this.filter(function() {
return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
});
},
add: function( selector ) {
return this.pushStack( jQuery.unique( jQuery.merge(
this.get(),
typeof selector === "string" ?
jQuery( selector ) :
jQuery.makeArray( selector )
)));
},
is: function( selector ) {
return !!selector && jQuery.multiFilter( selector, this ).length > 0;
},
hasClass: function( selector ) {
return !!selector && this.is( "." + selector );
},
val: function( value ) {
if ( value === undefined ) {
var elem = this[0];
if ( elem ) {
if( jQuery.nodeName( elem, 'option' ) )
return (elem.attributes.value || {}).specified ? elem.value : elem.text;
// We need to handle select boxes special
if ( jQuery.nodeName( elem, "select" ) ) {
var index = elem.selectedIndex,
values = [],
options = elem.options,
one = elem.type == "select-one";
// Nothing was selected
if ( index < 0 )
return null;
// Loop through all the selected options
for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
var option = options[ i ];
if ( option.selected ) {
// Get the specifc value for the option
value = jQuery(option).val();
// We don't need an array for one selects
if ( one )
return value;
// Multi-Selects return an array
values.push( value );
}
}
return values;
}
// Everything else, we just grab the value
return (elem.value || "").replace(/\r/g, "");
}
return undefined;
}
if ( typeof value === "number" )
value += '';
return this.each(function(){
if ( this.nodeType != 1 )
return;
if ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) )
this.checked = (jQuery.inArray(this.value, value) >= 0 ||
jQuery.inArray(this.name, value) >= 0);
else if ( jQuery.nodeName( this, "select" ) ) {
var values = jQuery.makeArray(value);
jQuery( "option", this ).each(function(){
this.selected = (jQuery.inArray( this.value, values ) >= 0 ||
jQuery.inArray( this.text, values ) >= 0);
});
if ( !values.length )
this.selectedIndex = -1;
} else
this.value = value;
});
},
html: function( value ) {
return value === undefined ?
(this[0] ?
this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g, "") :
null) :
this.empty().append( value );
},
replaceWith: function( value ) {
return this.after( value ).remove();
},
eq: function( i ) {
return this.slice( i, +i + 1 );
},
slice: function() {
return this.pushStack( Array.prototype.slice.apply( this, arguments ),
"slice", Array.prototype.slice.call(arguments).join(",") );
},
map: function( callback ) {
return this.pushStack( jQuery.map(this, function(elem, i){
return callback.call( elem, i, elem );
}));
},
andSelf: function() {
return this.add( this.prevObject );
},
domManip: function( args, table, callback ) {
if ( this[0] ) {
var fragment = (this[0].ownerDocument || this[0]).createDocumentFragment(),
scripts = jQuery.clean( args, (this[0].ownerDocument || this[0]), fragment ),
first = fragment.firstChild;
if ( first )
for ( var i = 0, l = this.length; i < l; i++ )
callback.call( root(this[i], first), this.length > 1 || i > 0 ?
fragment.cloneNode(true) : fragment );
if ( scripts )
jQuery.each( scripts, evalScript );
}
return this;
function root( elem, cur ) {
return table && jQuery.nodeName(elem, "table") && jQuery.nodeName(cur, "tr") ?
(elem.getElementsByTagName("tbody")[0] ||
elem.appendChild(elem.ownerDocument.createElement("tbody"))) :
elem;
}
}
};
// Give the init function the jQuery prototype for later instantiation
jQuery.fn.init.prototype = jQuery.fn;
function evalScript( i, elem ) {
if ( elem.src )
jQuery.ajax({
url: elem.src,
async: false,
dataType: "script"
});
else
jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
if ( elem.parentNode )
elem.parentNode.removeChild( elem );
}
function now(){
return +new Date;
}
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options;
// Handle a deep copy situation
if ( typeof target === "boolean" ) {
deep = target;
target = arguments[1] || {};
// skip the boolean and the target
i = 2;
}
// Handle case when target is a string or something (possible in deep copy)
if ( typeof target !== "object" && !jQuery.isFunction(target) )
target = {};
// extend jQuery itself if only one argument is passed
if ( length == i ) {
target = this;
--i;
}
for ( ; i < length; i++ )
// Only deal with non-null/undefined values
if ( (options = arguments[ i ]) != null )
// Extend the base object
for ( var name in options ) {
var src = target[ name ], copy = options[ name ];
// Prevent never-ending loop
if ( target === copy )
continue;
// Recurse if we're merging object values
if ( deep && copy && typeof copy === "object" && !copy.nodeType )
target[ name ] = jQuery.extend( deep,
// Never move original objects, clone them
src || ( copy.length != null ? [ ] : { } )
, copy );
// Don't bring in undefined values
else if ( copy !== undefined )
target[ name ] = copy;
}
// Return the modified object
return target;
};
// exclude the following css properties to add px
var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
// cache defaultView
defaultView = document.defaultView || {},
toString = Object.prototype.toString;
jQuery.extend({
noConflict: function( deep ) {
window.$ = _$;
if ( deep )
window.jQuery = _jQuery;
return jQuery;
},
// See test/unit/core.js for details concerning isFunction.
// Since version 1.3, DOM methods and functions like alert
// aren't supported. They return false on IE (#2968).
isFunction: function( obj ) {
return toString.call(obj) === "[object Function]";
},
isArray: function( obj ) {
return toString.call(obj) === "[object Array]";
},
// check if an element is in a (or is an) XML document
isXMLDoc: function( elem ) {
return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" ||
!!elem.ownerDocument && jQuery.isXMLDoc( elem.ownerDocument );
},
// Evalulates a script in a global context
globalEval: function( data ) {
if ( data && /\S/.test(data) ) {
// Inspired by code by Andrea Giammarchi
// http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
var head = document.getElementsByTagName("head")[0] || document.documentElement,
script = document.createElement("script");
script.type = "text/javascript";
if ( jQuery.support.scriptEval )
script.appendChild( document.createTextNode( data ) );
else
script.text = data;
// Use insertBefore instead of appendChild to circumvent an IE6 bug.
// This arises when a base node is used (#2709).
head.insertBefore( script, head.firstChild );
head.removeChild( script );
}
},
nodeName: function( elem, name ) {
return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase();
},
// args is for internal usage only
each: function( object, callback, args ) {
var name, i = 0, length = object.length;
if ( args ) {
if ( length === undefined ) {
for ( name in object )
if ( callback.apply( object[ name ], args ) === false )
break;
} else
for ( ; i < length; )
if ( callback.apply( object[ i++ ], args ) === false )
break;
// A special, fast, case for the most common use of each
} else {
if ( length === undefined ) {
for ( name in object )
if ( callback.call( object[ name ], name, object[ name ] ) === false )
break;
} else
for ( var value = object[0];
i < length && callback.call( value, i, value ) !== false; value = object[++i] ){}
}
return object;
},
prop: function( elem, value, type, i, name ) {
// Handle executable functions
if ( jQuery.isFunction( value ) )
value = value.call( elem, i );
// Handle passing in a number to a CSS property
return typeof value === "number" && type == "curCSS" && !exclude.test( name ) ?
value + "px" :
value;
},
className: {
// internal only, use addClass("class")
add: function( elem, classNames ) {
jQuery.each((classNames || "").split(/\s+/), function(i, className){
if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) )
elem.className += (elem.className ? " " : "") + className;
});
},
// internal only, use removeClass("class")
remove: function( elem, classNames ) {
if (elem.nodeType == 1)
elem.className = classNames !== undefined ?
jQuery.grep(elem.className.split(/\s+/), function(className){
return !jQuery.className.has( classNames, className );
}).join(" ") :
"";
},
// internal only, use hasClass("class")
has: function( elem, className ) {
return elem && jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
}
},
// A method for quickly swapping in/out CSS properties to get correct calculations
swap: function( elem, options, callback ) {
var old = {};
// Remember the old values, and insert the new ones
for ( var name in options ) {
old[ name ] = elem.style[ name ];
elem.style[ name ] = options[ name ];
}
callback.call( elem );
// Revert the old values
for ( var name in options )
elem.style[ name ] = old[ name ];
},
css: function( elem, name, force, extra ) {
if ( name == "width" || name == "height" ) {
var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ];
function getWH() {
val = name == "width" ? elem.offsetWidth : elem.offsetHeight;
if ( extra === "border" )
return;
jQuery.each( which, function() {
if ( !extra )
val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0;
if ( extra === "margin" )
val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0;
else
val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0;
});
}
if ( elem.offsetWidth !== 0 )
getWH();
else
jQuery.swap( elem, props, getWH );
return Math.max(0, Math.round(val));
}
return jQuery.curCSS( elem, name, force );
},
curCSS: function( elem, name, force ) {
var ret, style = elem.style;
// We need to handle opacity special in IE
if ( name == "opacity" && !jQuery.support.opacity ) {
ret = jQuery.attr( style, "opacity" );
return ret == "" ?
"1" :
ret;
}
// Make sure we're using the right name for getting the float value
if ( name.match( /float/i ) )
name = styleFloat;
if ( !force && style && style[ name ] )
ret = style[ name ];
else if ( defaultView.getComputedStyle ) {
// Only "float" is needed here
if ( name.match( /float/i ) )
name = "float";
name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase();
var computedStyle = defaultView.getComputedStyle( elem, null );
if ( computedStyle )
ret = computedStyle.getPropertyValue( name );
// We should always get a number back from opacity
if ( name == "opacity" && ret == "" )
ret = "1";
} else if ( elem.currentStyle ) {
var camelCase = name.replace(/\-(\w)/g, function(all, letter){
return letter.toUpperCase();
});
ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];
// From the awesome hack by Dean Edwards
// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
// If we're not dealing with a regular pixel number
// but a number that has a weird ending, we need to convert it to pixels
if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) {
// Remember the original values
var left = style.left, rsLeft = elem.runtimeStyle.left;
// Put in the new values to get a computed value out
elem.runtimeStyle.left = elem.currentStyle.left;
style.left = ret || 0;
ret = style.pixelLeft + "px";
// Revert the changed values
style.left = left;
elem.runtimeStyle.left = rsLeft;
}
}
return ret;
},
clean: function( elems, context, fragment ) {
context = context || document;
// !context.createElement fails in IE with an error but returns typeof 'object'
if ( typeof context.createElement === "undefined" )
context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
// If a single string is passed in and it's a single tag
// just do a createElement and skip the rest
if ( !fragment && elems.length === 1 && typeof elems[0] === "string" ) {
var match = /^<(\w+)\s*\/?>$/.exec(elems[0]);
if ( match )
return [ context.createElement( match[1] ) ];
}
var ret = [], scripts = [], div = context.createElement("div");
jQuery.each(elems, function(i, elem){
if ( typeof elem === "number" )
elem += '';
if ( !elem )
return;
// Convert html string into DOM nodes
if ( typeof elem === "string" ) {
// Fix "XHTML"-style tags in all browsers
elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){
return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ?
all :
front + "></" + tag + ">";
});
// Trim whitespace, otherwise indexOf won't work as expected
var tags = elem.replace(/^\s+/, "").substring(0, 10).toLowerCase();
var wrap =
// option or optgroup
!tags.indexOf("<opt") &&
[ 1, "<select multiple='multiple'>", "</select>" ] ||
!tags.indexOf("<leg") &&
[ 1, "<fieldset>", "</fieldset>" ] ||
tags.match(/^<(thead|tbody|tfoot|colg|cap)/) &&
[ 1, "<table>", "</table>" ] ||
!tags.indexOf("<tr") &&
[ 2, "<table><tbody>", "</tbody></table>" ] ||
// <thead> matched above
(!tags.indexOf("<td") || !tags.indexOf("<th")) &&
[ 3, "<table><tbody><tr>", "</tr></tbody></table>" ] ||
!tags.indexOf("<col") &&
[ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ] ||
// IE can't serialize <link> and <script> tags normally
!jQuery.support.htmlSerialize &&
[ 1, "div<div>", "</div>" ] ||
[ 0, "", "" ];
// Go to html and back, then peel off extra wrappers
div.innerHTML = wrap[1] + elem + wrap[2];
// Move to the right depth
while ( wrap[0]-- )
div = div.lastChild;
// Remove IE's autoinserted <tbody> from table fragments
if ( !jQuery.support.tbody ) {
// String was a <table>, *may* have spurious <tbody>
var hasBody = /<tbody/i.test(elem),
tbody = !tags.indexOf("<table") && !hasBody ?
div.firstChild && div.firstChild.childNodes :
// String was a bare <thead> or <tfoot>
wrap[1] == "<table>" && !hasBody ?
div.childNodes :
[];
for ( var j = tbody.length - 1; j >= 0 ; --j )
if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length )
tbody[ j ].parentNode.removeChild( tbody[ j ] );
}
// IE completely kills leading whitespace when innerHTML is used
if ( !jQuery.support.leadingWhitespace && /^\s/.test( elem ) )
div.insertBefore( context.createTextNode( elem.match(/^\s*/)[0] ), div.firstChild );
elem = jQuery.makeArray( div.childNodes );
}
if ( elem.nodeType )
ret.push( elem );
else
ret = jQuery.merge( ret, elem );
});
if ( fragment ) {
for ( var i = 0; ret[i]; i++ ) {
if ( jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
} else {
if ( ret[i].nodeType === 1 )
ret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))) );
fragment.appendChild( ret[i] );
}
}
return scripts;
}
return ret;
},
attr: function( elem, name, value ) {
// don't set attributes on text and comment nodes
if (!elem || elem.nodeType == 3 || elem.nodeType == 8)
return undefined;
var notxml = !jQuery.isXMLDoc( elem ),
// Whether we are setting (or getting)
set = value !== undefined;
// Try to normalize/fix the name
name = notxml && jQuery.props[ name ] || name;
// Only do all the following if this is a node (faster for style)
// IE elem.getAttribute passes even for style
if ( elem.tagName ) {
// These attributes require special treatment
var special = /href|src|style/.test( name );
// Safari mis-reports the default selected property of a hidden option
// Accessing the parent's selectedIndex property fixes it
if ( name == "selected" && elem.parentNode )
elem.parentNode.selectedIndex;
// If applicable, access the attribute via the DOM 0 way
if ( name in elem && notxml && !special ) {
if ( set ){
// We can't allow the type property to be changed (since it causes problems in IE)
if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
throw "type property can't be changed";
elem[ name ] = value;
}
// browsers index elements by id/name on forms, give priority to attributes.
if( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) )
return elem.getAttributeNode( name ).nodeValue;
// elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
if ( name == "tabIndex" ) {
var attributeNode = elem.getAttributeNode( "tabIndex" );
return attributeNode && attributeNode.specified
? attributeNode.value
: elem.nodeName.match(/(button|input|object|select|textarea)/i)
? 0
: elem.nodeName.match(/^(a|area)$/i) && elem.href
? 0
: undefined;
}
return elem[ name ];
}
if ( !jQuery.support.style && notxml && name == "style" )
return jQuery.attr( elem.style, "cssText", value );
if ( set )
// convert the value to a string (all browsers do this but IE) see #1070
elem.setAttribute( name, "" + value );
var attr = !jQuery.support.hrefNormalized && notxml && special
// Some attributes require a special call on IE
? elem.getAttribute( name, 2 )
: elem.getAttribute( name );
// Non-existent attributes return null, we normalize to undefined
return attr === null ? undefined : attr;
}
// elem is actually elem.style ... set the style
// IE uses filters for opacity
if ( !jQuery.support.opacity && name == "opacity" ) {
if ( set ) {
// IE has trouble with opacity if it does not have layout
// Force it by setting the zoom level
elem.zoom = 1;
// Set the alpha filter to set the opacity
elem.filter = (elem.filter || "").replace( /alpha\([^)]*\)/, "" ) +
(parseInt( value ) + '' == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
}
return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) + '':
"";
}
name = name.replace(/-([a-z])/ig, function(all, letter){
return letter.toUpperCase();
});
if ( set )
elem[ name ] = value;
return elem[ name ];
},
trim: function( text ) {
return (text || "").replace( /^\s+|\s+$/g, "" );
},
makeArray: function( array ) {
var ret = [];
if( array != null ){
var i = array.length;
// The window, strings (and functions) also have 'length'
if( i == null || typeof array === "string" || jQuery.isFunction(array) || array.setInterval )
ret[0] = array;
else
while( i )
ret[--i] = array[i];
}
return ret;
},
inArray: function( elem, array ) {
for ( var i = 0, length = array.length; i < length; i++ )
// Use === because on IE, window == document
if ( array[ i ] === elem )
return i;
return -1;
},
merge: function( first, second ) {
// We have to loop this way because IE & Opera overwrite the length
// expando of getElementsByTagName
var i = 0, elem, pos = first.length;
// Also, we need to make sure that the correct elements are being returned
// (IE returns comment nodes in a '*' query)
if ( !jQuery.support.getAll ) {
while ( (elem = second[ i++ ]) != null )
if ( elem.nodeType != 8 )
first[ pos++ ] = elem;
} else
while ( (elem = second[ i++ ]) != null )
first[ pos++ ] = elem;
return first;
},
unique: function( array ) {
var ret = [], done = {};
try {
for ( var i = 0, length = array.length; i < length; i++ ) {
var id = jQuery.data( array[ i ] );
if ( !done[ id ] ) {
done[ id ] = true;
ret.push( array[ i ] );
}
}
} catch( e ) {
ret = array;
}
return ret;
},
grep: function( elems, callback, inv ) {
var ret = [];
// Go through the array, only saving the items
// that pass the validator function
for ( var i = 0, length = elems.length; i < length; i++ )
if ( !inv != !callback( elems[ i ], i ) )
ret.push( elems[ i ] );
return ret;
},
map: function( elems, callback ) {
var ret = [];
// Go through the array, translating each of the items to their
// new value (or values).
for ( var i = 0, length = elems.length; i < length; i++ ) {
var value = callback( elems[ i ], i );
if ( value != null )
ret[ ret.length ] = value;
}
return ret.concat.apply( [], ret );
}
});
// Use of jQuery.browser is deprecated.
// It's included for backwards compatibility and plugins,
// although they should work to migrate away.
var userAgent = navigator.userAgent.toLowerCase();
// Figure out what browser is being used
jQuery.browser = {
version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1],
safari: /webkit/.test( userAgent ),
opera: /opera/.test( userAgent ),
msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
};
jQuery.each({
parent: function(elem){return elem.parentNode;},
parents: function(elem){return jQuery.dir(elem,"parentNode");},
next: function(elem){return jQuery.nth(elem,2,"nextSibling");},
prev: function(elem){return jQuery.nth(elem,2,"previousSibling");},
nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
children: function(elem){return jQuery.sibling(elem.firstChild);},
contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
}, function(name, fn){
jQuery.fn[ name ] = function( selector ) {
var ret = jQuery.map( this, fn );
if ( selector && typeof selector == "string" )
ret = jQuery.multiFilter( selector, ret );
return this.pushStack( jQuery.unique( ret ), name, selector );
};
});
jQuery.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(name, original){
jQuery.fn[ name ] = function( selector ) {
var ret = [], insert = jQuery( selector );
for ( var i = 0, l = insert.length; i < l; i++ ) {
var elems = (i > 0 ? this.clone(true) : this).get();
jQuery.fn[ original ].apply( jQuery(insert[i]), elems );
ret = ret.concat( elems );
}
return this.pushStack( ret, name, selector );
};
});
jQuery.each({
removeAttr: function( name ) {
jQuery.attr( this, name, "" );
if (this.nodeType == 1)
this.removeAttribute( name );
},
addClass: function( classNames ) {
jQuery.className.add( this, classNames );
},
removeClass: function( classNames ) {
jQuery.className.remove( this, classNames );
},
toggleClass: function( classNames, state ) {
if( typeof state !== "boolean" )
state = !jQuery.className.has( this, classNames );
jQuery.className[ state ? "add" : "remove" ]( this, classNames );
},
remove: function( selector ) {
if ( !selector || jQuery.filter( selector, [ this ] ).length ) {
// Prevent memory leaks
jQuery( "*", this ).add([this]).each(function(){
jQuery.event.remove(this);
jQuery.removeData(this);
});
if (this.parentNode)
this.parentNode.removeChild( this );
}
},
empty: function() {
// Remove element nodes and prevent memory leaks
jQuery(this).children().remove();
// Remove any remaining nodes
while ( this.firstChild )
this.removeChild( this.firstChild );
}
}, function(name, fn){
jQuery.fn[ name ] = function(){
return this.each( fn, arguments );
};
});
// Helper function used by the dimensions and offset modules
function num(elem, prop) {
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
}
var expando = "jQuery" + now(), uuid = 0, windowData = {};
jQuery.extend({
cache: {},
data: function( elem, name, data ) {
elem = elem == window ?
windowData :
elem;
var id = elem[ expando ];
// Compute a unique ID for the element
if ( !id )
id = elem[ expando ] = ++uuid;
// Only generate the data cache if we're
// trying to access or manipulate it
if ( name && !jQuery.cache[ id ] )
jQuery.cache[ id ] = {};
// Prevent overriding the named cache with undefined values
if ( data !== undefined )
jQuery.cache[ id ][ name ] = data;
// Return the named cache data, or the ID for the element
return name ?
jQuery.cache[ id ][ name ] :
id;
},
removeData: function( elem, name ) {
elem = elem == window ?
windowData :
elem;
var id = elem[ expando ];
// If we want to remove a specific section of the element's data
if ( name ) {
if ( jQuery.cache[ id ] ) {
// Remove the section of cache data
delete jQuery.cache[ id ][ name ];
// If we've removed all the data, remove the element's cache
name = "";
for ( name in jQuery.cache[ id ] )
break;
if ( !name )
jQuery.removeData( elem );
}
// Otherwise, we want to remove all of the element's data
} else {
// Clean up the element expando
try {
delete elem[ expando ];
} catch(e){
// IE has trouble directly removing the expando
// but it's ok with using removeAttribute
if ( elem.removeAttribute )
elem.removeAttribute( expando );
}
// Completely remove the data cache
delete jQuery.cache[ id ];
}
},
queue: function( elem, type, data ) {
if ( elem ){
type = (type || "fx") + "queue";
var q = jQuery.data( elem, type );
if ( !q || jQuery.isArray(data) )
q = jQuery.data( elem, type, jQuery.makeArray(data) );
else if( data )
q.push( data );
}
return q;
},
dequeue: function( elem, type ){
var queue = jQuery.queue( elem, type ),
fn = queue.shift();
if( !type || type === "fx" )
fn = queue[0];
if( fn !== undefined )
fn.call(elem);
}
});
jQuery.fn.extend({
data: function( key, value ){
var parts = key.split(".");
parts[1] = parts[1] ? "." + parts[1] : "";
if ( value === undefined ) {
var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
if ( data === undefined && this.length )
data = jQuery.data( this[0], key );
return data === undefined && parts[1] ?
this.data( parts[0] ) :
data;
} else
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
jQuery.data( this, key, value );
});
},
removeData: function( key ){
return this.each(function(){
jQuery.removeData( this, key );
});
},
queue: function(type, data){
if ( typeof type !== "string" ) {
data = type;
type = "fx";
}
if ( data === undefined )
return jQuery.queue( this[0], type );
return this.each(function(){
var queue = jQuery.queue( this, type, data );
if( type == "fx" && queue.length == 1 )
queue[0].call(this);
});
},
dequeue: function(type){
return this.each(function(){
jQuery.dequeue( this, type );
});
}
});/*!
* Sizzle CSS Selector Engine - v0.9.3
* Copyright 2009, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
* More information: http://sizzlejs.com/
*/
(function(){
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,
done = 0,
toString = Object.prototype.toString;
var Sizzle = function(selector, context, results, seed) {
results = results || [];
context = context || document;
if ( context.nodeType !== 1 && context.nodeType !== 9 )
return [];
if ( !selector || typeof selector !== "string" ) {
return results;
}
var parts = [], m, set, checkSet, check, mode, extra, prune = true;
// Reset the position of the chunker regexp (start from head)
chunker.lastIndex = 0;
while ( (m = chunker.exec(selector)) !== null ) {
parts.push( m[1] );
if ( m[2] ) {
extra = RegExp.rightContext;
break;
}
}
if ( parts.length > 1 && origPOS.exec( selector ) ) {
if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
set = posProcess( parts[0] + parts[1], context );
} else {
set = Expr.relative[ parts[0] ] ?
[ context ] :
Sizzle( parts.shift(), context );
while ( parts.length ) {
selector = parts.shift();
if ( Expr.relative[ selector ] )
selector += parts.shift();
set = posProcess( selector, set );
}
}
} else {
var ret = seed ?
{ expr: parts.pop(), set: makeArray(seed) } :
Sizzle.find( parts.pop(), parts.length === 1 && context.parentNode ? context.parentNode : context, isXML(context) );
set = Sizzle.filter( ret.expr, ret.set );
if ( parts.length > 0 ) {
checkSet = makeArray(set);
} else {
prune = false;
}
while ( parts.length ) {
var cur = parts.pop(), pop = cur;
if ( !Expr.relative[ cur ] ) {
cur = "";
} else {
pop = parts.pop();
}
if ( pop == null ) {
pop = context;
}
Expr.relative[ cur ]( checkSet, pop, isXML(context) );
}
}
if ( !checkSet ) {
checkSet = set;
}
if ( !checkSet ) {
throw "Syntax error, unrecognized expression: " + (cur || selector);
}
if ( toString.call(checkSet) === "[object Array]" ) {
if ( !prune ) {
results.push.apply( results, checkSet );
} else if ( context.nodeType === 1 ) {
for ( var i = 0; checkSet[i] != null; i++ ) {
if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) {
results.push( set[i] );
}
}
} else {
for ( var i = 0; checkSet[i] != null; i++ ) {
if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
results.push( set[i] );
}
}
}
} else {
makeArray( checkSet, results );
}
if ( extra ) {
Sizzle( extra, context, results, seed );
if ( sortOrder ) {
hasDuplicate = false;
results.sort(sortOrder);
if ( hasDuplicate ) {
for ( var i = 1; i < results.length; i++ ) {
if ( results[i] === results[i-1] ) {
results.splice(i--, 1);
}
}
}
}
}
return results;
};
Sizzle.matches = function(expr, set){
return Sizzle(expr, null, null, set);
};
Sizzle.find = function(expr, context, isXML){
var set, match;
if ( !expr ) {
return [];
}
for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
var type = Expr.order[i], match;
if ( (match = Expr.match[ type ].exec( expr )) ) {
var left = RegExp.leftContext;
if ( left.substr( left.length - 1 ) !== "\\" ) {
match[1] = (match[1] || "").replace(/\\/g, "");
set = Expr.find[ type ]( match, context, isXML );
if ( set != null ) {
expr = expr.replace( Expr.match[ type ], "" );
break;
}
}
}
}
if ( !set ) {
set = context.getElementsByTagName("*");
}
return {set: set, expr: expr};
};
Sizzle.filter = function(expr, set, inplace, not){
var old = expr, result = [], curLoop = set, match, anyFound,
isXMLFilter = set && set[0] && isXML(set[0]);
while ( expr && set.length ) {
for ( var type in Expr.filter ) {
if ( (match = Expr.match[ type ].exec( expr )) != null ) {
var filter = Expr.filter[ type ], found, item;
anyFound = false;
if ( curLoop == result ) {
result = [];
}
if ( Expr.preFilter[ type ] ) {
match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
if ( !match ) {
anyFound = found = true;
} else if ( match === true ) {
continue;
}
}
if ( match ) {
for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
if ( item ) {
found = filter( item, match, i, curLoop );
var pass = not ^ !!found;
if ( inplace && found != null ) {
if ( pass ) {
anyFound = true;
} else {
curLoop[i] = false;
}
} else if ( pass ) {
result.push( item );
anyFound = true;
}
}
}
}
if ( found !== undefined ) {
if ( !inplace ) {
curLoop = result;
}
expr = expr.replace( Expr.match[ type ], "" );
if ( !anyFound ) {
return [];
}
break;
}
}
}
// Improper expression
if ( expr == old ) {
if ( anyFound == null ) {
throw "Syntax error, unrecognized expression: " + expr;
} else {
break;
}
}
old = expr;
}
return curLoop;
};
var Expr = Sizzle.selectors = {
order: [ "ID", "NAME", "TAG" ],
match: {
ID: /#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
CLASS: /\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,
ATTR: /\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
TAG: /^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,
CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
PSEUDO: /:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/
},
attrMap: {
"class": "className",
"for": "htmlFor"
},
attrHandle: {
href: function(elem){
return elem.getAttribute("href");
}
},
relative: {
"+": function(checkSet, part, isXML){
var isPartStr = typeof part === "string",
isTag = isPartStr && !/\W/.test(part),
isPartStrNotTag = isPartStr && !isTag;
if ( isTag && !isXML ) {
part = part.toUpperCase();
}
for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
if ( (elem = checkSet[i]) ) {
while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
checkSet[i] = isPartStrNotTag || elem && elem.nodeName === part ?
elem || false :
elem === part;
}
}
if ( isPartStrNotTag ) {
Sizzle.filter( part, checkSet, true );
}
},
">": function(checkSet, part, isXML){
var isPartStr = typeof part === "string";
if ( isPartStr && !/\W/.test(part) ) {
part = isXML ? part : part.toUpperCase();
for ( var i = 0, l = checkSet.length; i < l; i++ ) {
var elem = checkSet[i];
if ( elem ) {
var parent = elem.parentNode;
checkSet[i] = parent.nodeName === part ? parent : false;
}
}
} else {
for ( var i = 0, l = checkSet.length; i < l; i++ ) {
var elem = checkSet[i];
if ( elem ) {
checkSet[i] = isPartStr ?
elem.parentNode :
elem.parentNode === part;
}
}
if ( isPartStr ) {
Sizzle.filter( part, checkSet, true );
}
}
},
"": function(checkSet, part, isXML){
var doneName = done++, checkFn = dirCheck;
if ( !part.match(/\W/) ) {
var nodeCheck = part = isXML ? part : part.toUpperCase();
checkFn = dirNodeCheck;
}
checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
},
"~": function(checkSet, part, isXML){
var doneName = done++, checkFn = dirCheck;
if ( typeof part === "string" && !part.match(/\W/) ) {
var nodeCheck = part = isXML ? part : part.toUpperCase();
checkFn = dirNodeCheck;
}
checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
}
},
find: {
ID: function(match, context, isXML){
if ( typeof context.getElementById !== "undefined" && !isXML ) {
var m = context.getElementById(match[1]);
return m ? [m] : [];
}
},
NAME: function(match, context, isXML){
if ( typeof context.getElementsByName !== "undefined" ) {
var ret = [], results = context.getElementsByName(match[1]);
for ( var i = 0, l = results.length; i < l; i++ ) {
if ( results[i].getAttribute("name") === match[1] ) {
ret.push( results[i] );
}
}
return ret.length === 0 ? null : ret;
}
},
TAG: function(match, context){
return context.getElementsByTagName(match[1]);
}
},
preFilter: {
CLASS: function(match, curLoop, inplace, result, not, isXML){
match = " " + match[1].replace(/\\/g, "") + " ";
if ( isXML ) {
return match;
}
for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
if ( elem ) {
if ( not ^ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) {
if ( !inplace )
result.push( elem );
} else if ( inplace ) {
curLoop[i] = false;
}
}
}
return false;
},
ID: function(match){
return match[1].replace(/\\/g, "");
},
TAG: function(match, curLoop){
for ( var i = 0; curLoop[i] === false; i++ ){}
return curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase();
},
CHILD: function(match){
if ( match[1] == "nth" ) {
// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
match[2] == "even" && "2n" || match[2] == "odd" && "2n+1" ||
!/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
// calculate the numbers (first)n+(last) including if they are negative
match[2] = (test[1] + (test[2] || 1)) - 0;
match[3] = test[3] - 0;
}
// TODO: Move to normal caching system
match[0] = done++;
return match;
},
ATTR: function(match, curLoop, inplace, result, not, isXML){
var name = match[1].replace(/\\/g, "");
if ( !isXML && Expr.attrMap[name] ) {
match[1] = Expr.attrMap[name];
}
if ( match[2] === "~=" ) {
match[4] = " " + match[4] + " ";
}
return match;
},
PSEUDO: function(match, curLoop, inplace, result, not){
if ( match[1] === "not" ) {
// If we're dealing with a complex expression, or a simple one
if ( match[3].match(chunker).length > 1 || /^\w/.test(match[3]) ) {
match[3] = Sizzle(match[3], null, null, curLoop);
} else {
var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
if ( !inplace ) {
result.push.apply( result, ret );
}
return false;
}
} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
return true;
}
return match;
},
POS: function(match){
match.unshift( true );
return match;
}
},
filters: {
enabled: function(elem){
return elem.disabled === false && elem.type !== "hidden";
},
disabled: function(elem){
return elem.disabled === true;
},
checked: function(elem){
return elem.checked === true;
},
selected: function(elem){
// Accessing this property makes selected-by-default
// options in Safari work properly
elem.parentNode.selectedIndex;
return elem.selected === true;
},
parent: function(elem){
return !!elem.firstChild;
},
empty: function(elem){
return !elem.firstChild;
},
has: function(elem, i, match){
return !!Sizzle( match[3], elem ).length;
},
header: function(elem){
return /h\d/i.test( elem.nodeName );
},
text: function(elem){
return "text" === elem.type;
},
radio: function(elem){
return "radio" === elem.type;
},
checkbox: function(elem){
return "checkbox" === elem.type;
},
file: function(elem){
return "file" === elem.type;
},
password: function(elem){
return "password" === elem.type;
},
submit: function(elem){
return "submit" === elem.type;
},
image: function(elem)
Untitled JavaScript (17-Jul @ 14:27)
Syntax Highlighted Code
- /*!
- * jQuery JavaScript Library v1.3.2
- * http://jquery.com/
- *
- [1894 more lines...]
Plain Code
/*!
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
*
* Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
* Revision: 6246
*/
(function(){
var
// Will speed up references to window, and allows munging its name.
window = this,
// Will speed up references to undefined, and allows munging its name.
undefined,
// Map over jQuery in case of overwrite
_jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$,
jQuery = window.jQuery = window.$ = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
},
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.,]*$/;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
// Make sure that a selection was provided
selector = selector || document;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this[0] = selector;
this.length = 1;
this.context = selector;
return this;
}
// Handle HTML strings
if ( typeof selector === "string" ) {
// Are we dealing with HTML string or an ID?
var match = quickExpr.exec( selector );
// Verify a match, and that no context was specified for #id
if ( match && (match[1] || !context) ) {
// HANDLE: $(html) -> $(array)
if ( match[1] )
selector = jQuery.clean( [ match[1] ], context );
// HANDLE: $("#id")
else {
var elem = document.getElementById( match[3] );
// Handle the case where IE and Opera return items
// by name instead of ID
if ( elem && elem.id != match[3] )
return jQuery().find( selector );
// Otherwise, we inject the element directly into the jQuery object
var ret = jQuery( elem || [] );
ret.context = document;
ret.selector = selector;
return ret;
}
// HANDLE: $(expr, [context])
// (which is just equivalent to: $(content).find(expr)
} else
return jQuery( context ).find( selector );
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) )
return jQuery( document ).ready( selector );
// Make sure that old selector state is passed along
if ( selector.selector && selector.context ) {
this.selector = selector.selector;
this.context = selector.context;
}
return this.setArray(jQuery.isArray( selector ) ?
selector :
jQuery.makeArray(selector));
},
// Start with an empty selector
selector: "",
// The current version of jQuery being used
jquery: "1.3.2",
// The number of elements contained in the matched element set
size: function() {
return this.length;
},
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
return num === undefined ?
// Return a 'clean' array
Array.prototype.slice.call( this ) :
// Return just the object
this[ num ];
},
// Take an array of elements and push it onto the stack
// (returning the new matched element set)
pushStack: function( elems, name, selector ) {
// Build a new jQuery matched element set
var ret = jQuery( elems );
// Add the old object onto the stack (as a reference)
ret.prevObject = this;
ret.context = this.context;
if ( name === "find" )
ret.selector = this.selector + (this.selector ? " " : "") + selector;
else if ( name )
ret.selector = this.selector + "." + name + "(" + selector + ")";
// Return the newly-formed element set
return ret;
},
// Force the current matched set of elements to become
// the specified array of elements (destroying the stack in the process)
// You should use pushStack() in order to do this, but maintain the stack
setArray: function( elems ) {
// Resetting the length to 0, then using the native Array push
// is a super-fast way to populate an object with array-like properties
this.length = 0;
Array.prototype.push.apply( this, elems );
return this;
},
// Execute a callback for every element in the matched set.
// (You can seed the arguments with an array of args, but this is
// only used internally.)
each: function( callback, args ) {
return jQuery.each( this, callback, args );
},
// Determine the position of an element within
// the matched set of elements
index: function( elem ) {
// Locate the position of the desired element
return jQuery.inArray(
// If it receives a jQuery object, the first element is used
elem && elem.jquery ? elem[0] : elem
, this );
},
attr: function( name, value, type ) {
var options = name;
// Look for the case where we're accessing a style value
if ( typeof name === "string" )
if ( value === undefined )
return this[0] && jQuery[ type || "attr" ]( this[0], name );
else {
options = {};
options[ name ] = value;
}
// Check to see if we're setting style values
return this.each(function(i){
// Set all the styles
for ( name in options )
jQuery.attr(
type ?
this.style :
this,
name, jQuery.prop( this, options[ name ], type, i, name )
);
});
},
css: function( key, value ) {
// ignore negative width and height values
if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 )
value = undefined;
return this.attr( key, value, "curCSS" );
},
text: function( text ) {
if ( typeof text !== "object" && text != null )
return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );
var ret = "";
jQuery.each( text || this, function(){
jQuery.each( this.childNodes, function(){
if ( this.nodeType != 8 )
ret += this.nodeType != 1 ?
this.nodeValue :
jQuery.fn.text( [ this ] );
});
});
return ret;
},
wrapAll: function( html ) {
if ( this[0] ) {
// The elements to wrap the target around
var wrap = jQuery( html, this[0].ownerDocument ).clone();
if ( this[0].parentNode )
wrap.insertBefore( this[0] );
wrap.map(function(){
var elem = this;
while ( elem.firstChild )
elem = elem.firstChild;
return elem;
}).append(this);
}
return this;
},
wrapInner: function( html ) {
return this.each(function(){
jQuery( this ).contents().wrapAll( html );
});
},
wrap: function( html ) {
return this.each(function(){
jQuery( this ).wrapAll( html );
});
},
append: function() {
return this.domManip(arguments, true, function(elem){
if (this.nodeType == 1)
this.appendChild( elem );
});
},
prepend: function() {
return this.domManip(arguments, true, function(elem){
if (this.nodeType == 1)
this.insertBefore( elem, this.firstChild );
});
},
before: function() {
return this.domManip(arguments, false, function(elem){
this.parentNode.insertBefore( elem, this );
});
},
after: function() {
return this.domManip(arguments, false, function(elem){
this.parentNode.insertBefore( elem, this.nextSibling );
});
},
end: function() {
return this.prevObject || jQuery( [] );
},
// For internal use only.
// Behaves like an Array's method, not like a jQuery method.
push: [].push,
sort: [].sort,
splice: [].splice,
find: function( selector ) {
if ( this.length === 1 ) {
var ret = this.pushStack( [], "find", selector );
ret.length = 0;
jQuery.find( selector, this[0], ret );
return ret;
} else {
return this.pushStack( jQuery.unique(jQuery.map(this, function(elem){
return jQuery.find( selector, elem );
})), "find", selector );
}
},
clone: function( events ) {
// Do the clone
var ret = this.map(function(){
if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {
// IE copies events bound via attachEvent when
// using cloneNode. Calling detachEvent on the
// clone will also remove the events from the orignal
// In order to get around this, we use innerHTML.
// Unfortunately, this means some modifications to
// attributes in IE that are actually only stored
// as properties will not be copied (such as the
// the name attribute on an input).
var html = this.outerHTML;
if ( !html ) {
var div = this.ownerDocument.createElement("div");
div.appendChild( this.cloneNode(true) );
html = div.innerHTML;
}
return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0];
} else
return this.cloneNode(true);
});
// Copy the events from the original to the clone
if ( events === true ) {
var orig = this.find("*").andSelf(), i = 0;
ret.find("*").andSelf().each(function(){
if ( this.nodeName !== orig[i].nodeName )
return;
var events = jQuery.data( orig[i], "events" );
for ( var type in events ) {
for ( var handler in events[ type ] ) {
jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );
}
}
i++;
});
}
// Return the cloned set
return ret;
},
filter: function( selector ) {
return this.pushStack(
jQuery.isFunction( selector ) &&
jQuery.grep(this, function(elem, i){
return selector.call( elem, i );
}) ||
jQuery.multiFilter( selector, jQuery.grep(this, function(elem){
return elem.nodeType === 1;
}) ), "filter", selector );
},
closest: function( selector ) {
var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null,
closer = 0;
return this.map(function(){
var cur = this;
while ( cur && cur.ownerDocument ) {
if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {
jQuery.data(cur, "closest", closer);
return cur;
}
cur = cur.parentNode;
closer++;
}
});
},
not: function( selector ) {
if ( typeof selector === "string" )
// test special case where just one selector is passed in
if ( isSimple.test( selector ) )
return this.pushStack( jQuery.multiFilter( selector, this, true ), "not", selector );
else
selector = jQuery.multiFilter( selector, this );
var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType;
return this.filter(function() {
return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
});
},
add: function( selector ) {
return this.pushStack( jQuery.unique( jQuery.merge(
this.get(),
typeof selector === "string" ?
jQuery( selector ) :
jQuery.makeArray( selector )
)));
},
is: function( selector ) {
return !!selector && jQuery.multiFilter( selector, this ).length > 0;
},
hasClass: function( selector ) {
return !!selector && this.is( "." + selector );
},
val: function( value ) {
if ( value === undefined ) {
var elem = this[0];
if ( elem ) {
if( jQuery.nodeName( elem, 'option' ) )
return (elem.attributes.value || {}).specified ? elem.value : elem.text;
// We need to handle select boxes special
if ( jQuery.nodeName( elem, "select" ) ) {
var index = elem.selectedIndex,
values = [],
options = elem.options,
one = elem.type == "select-one";
// Nothing was selected
if ( index < 0 )
return null;
// Loop through all the selected options
for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
var option = options[ i ];
if ( option.selected ) {
// Get the specifc value for the option
value = jQuery(option).val();
// We don't need an array for one selects
if ( one )
return value;
// Multi-Selects return an array
values.push( value );
}
}
return values;
}
// Everything else, we just grab the value
return (elem.value || "").replace(/\r/g, "");
}
return undefined;
}
if ( typeof value === "number" )
value += '';
return this.each(function(){
if ( this.nodeType != 1 )
return;
if ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) )
this.checked = (jQuery.inArray(this.value, value) >= 0 ||
jQuery.inArray(this.name, value) >= 0);
else if ( jQuery.nodeName( this, "select" ) ) {
var values = jQuery.makeArray(value);
jQuery( "option", this ).each(function(){
this.selected = (jQuery.inArray( this.value, values ) >= 0 ||
jQuery.inArray( this.text, values ) >= 0);
});
if ( !values.length )
this.selectedIndex = -1;
} else
this.value = value;
});
},
html: function( value ) {
return value === undefined ?
(this[0] ?
this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g, "") :
null) :
this.empty().append( value );
},
replaceWith: function( value ) {
return this.after( value ).remove();
},
eq: function( i ) {
return this.slice( i, +i + 1 );
},
slice: function() {
return this.pushStack( Array.prototype.slice.apply( this, arguments ),
"slice", Array.prototype.slice.call(arguments).join(",") );
},
map: function( callback ) {
return this.pushStack( jQuery.map(this, function(elem, i){
return callback.call( elem, i, elem );
}));
},
andSelf: function() {
return this.add( this.prevObject );
},
domManip: function( args, table, callback ) {
if ( this[0] ) {
var fragment = (this[0].ownerDocument || this[0]).createDocumentFragment(),
scripts = jQuery.clean( args, (this[0].ownerDocument || this[0]), fragment ),
first = fragment.firstChild;
if ( first )
for ( var i = 0, l = this.length; i < l; i++ )
callback.call( root(this[i], first), this.length > 1 || i > 0 ?
fragment.cloneNode(true) : fragment );
if ( scripts )
jQuery.each( scripts, evalScript );
}
return this;
function root( elem, cur ) {
return table && jQuery.nodeName(elem, "table") && jQuery.nodeName(cur, "tr") ?
(elem.getElementsByTagName("tbody")[0] ||
elem.appendChild(elem.ownerDocument.createElement("tbody"))) :
elem;
}
}
};
// Give the init function the jQuery prototype for later instantiation
jQuery.fn.init.prototype = jQuery.fn;
function evalScript( i, elem ) {
if ( elem.src )
jQuery.ajax({
url: elem.src,
async: false,
dataType: "script"
});
else
jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
if ( elem.parentNode )
elem.parentNode.removeChild( elem );
}
function now(){
return +new Date;
}
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options;
// Handle a deep copy situation
if ( typeof target === "boolean" ) {
deep = target;
target = arguments[1] || {};
// skip the boolean and the target
i = 2;
}
// Handle case when target is a string or something (possible in deep copy)
if ( typeof target !== "object" && !jQuery.isFunction(target) )
target = {};
// extend jQuery itself if only one argument is passed
if ( length == i ) {
target = this;
--i;
}
for ( ; i < length; i++ )
// Only deal with non-null/undefined values
if ( (options = arguments[ i ]) != null )
// Extend the base object
for ( var name in options ) {
var src = target[ name ], copy = options[ name ];
// Prevent never-ending loop
if ( target === copy )
continue;
// Recurse if we're merging object values
if ( deep && copy && typeof copy === "object" && !copy.nodeType )
target[ name ] = jQuery.extend( deep,
// Never move original objects, clone them
src || ( copy.length != null ? [ ] : { } )
, copy );
// Don't bring in undefined values
else if ( copy !== undefined )
target[ name ] = copy;
}
// Return the modified object
return target;
};
// exclude the following css properties to add px
var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
// cache defaultView
defaultView = document.defaultView || {},
toString = Object.prototype.toString;
jQuery.extend({
noConflict: function( deep ) {
window.$ = _$;
if ( deep )
window.jQuery = _jQuery;
return jQuery;
},
// See test/unit/core.js for details concerning isFunction.
// Since version 1.3, DOM methods and functions like alert
// aren't supported. They return false on IE (#2968).
isFunction: function( obj ) {
return toString.call(obj) === "[object Function]";
},
isArray: function( obj ) {
return toString.call(obj) === "[object Array]";
},
// check if an element is in a (or is an) XML document
isXMLDoc: function( elem ) {
return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" ||
!!elem.ownerDocument && jQuery.isXMLDoc( elem.ownerDocument );
},
// Evalulates a script in a global context
globalEval: function( data ) {
if ( data && /\S/.test(data) ) {
// Inspired by code by Andrea Giammarchi
// http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
var head = document.getElementsByTagName("head")[0] || document.documentElement,
script = document.createElement("script");
script.type = "text/javascript";
if ( jQuery.support.scriptEval )
script.appendChild( document.createTextNode( data ) );
else
script.text = data;
// Use insertBefore instead of appendChild to circumvent an IE6 bug.
// This arises when a base node is used (#2709).
head.insertBefore( script, head.firstChild );
head.removeChild( script );
}
},
nodeName: function( elem, name ) {
return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase();
},
// args is for internal usage only
each: function( object, callback, args ) {
var name, i = 0, length = object.length;
if ( args ) {
if ( length === undefined ) {
for ( name in object )
if ( callback.apply( object[ name ], args ) === false )
break;
} else
for ( ; i < length; )
if ( callback.apply( object[ i++ ], args ) === false )
break;
// A special, fast, case for the most common use of each
} else {
if ( length === undefined ) {
for ( name in object )
if ( callback.call( object[ name ], name, object[ name ] ) === false )
break;
} else
for ( var value = object[0];
i < length && callback.call( value, i, value ) !== false; value = object[++i] ){}
}
return object;
},
prop: function( elem, value, type, i, name ) {
// Handle executable functions
if ( jQuery.isFunction( value ) )
value = value.call( elem, i );
// Handle passing in a number to a CSS property
return typeof value === "number" && type == "curCSS" && !exclude.test( name ) ?
value + "px" :
value;
},
className: {
// internal only, use addClass("class")
add: function( elem, classNames ) {
jQuery.each((classNames || "").split(/\s+/), function(i, className){
if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) )
elem.className += (elem.className ? " " : "") + className;
});
},
// internal only, use removeClass("class")
remove: function( elem, classNames ) {
if (elem.nodeType == 1)
elem.className = classNames !== undefined ?
jQuery.grep(elem.className.split(/\s+/), function(className){
return !jQuery.className.has( classNames, className );
}).join(" ") :
"";
},
// internal only, use hasClass("class")
has: function( elem, className ) {
return elem && jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
}
},
// A method for quickly swapping in/out CSS properties to get correct calculations
swap: function( elem, options, callback ) {
var old = {};
// Remember the old values, and insert the new ones
for ( var name in options ) {
old[ name ] = elem.style[ name ];
elem.style[ name ] = options[ name ];
}
callback.call( elem );
// Revert the old values
for ( var name in options )
elem.style[ name ] = old[ name ];
},
css: function( elem, name, force, extra ) {
if ( name == "width" || name == "height" ) {
var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ];
function getWH() {
val = name == "width" ? elem.offsetWidth : elem.offsetHeight;
if ( extra === "border" )
return;
jQuery.each( which, function() {
if ( !extra )
val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0;
if ( extra === "margin" )
val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0;
else
val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0;
});
}
if ( elem.offsetWidth !== 0 )
getWH();
else
jQuery.swap( elem, props, getWH );
return Math.max(0, Math.round(val));
}
return jQuery.curCSS( elem, name, force );
},
curCSS: function( elem, name, force ) {
var ret, style = elem.style;
// We need to handle opacity special in IE
if ( name == "opacity" && !jQuery.support.opacity ) {
ret = jQuery.attr( style, "opacity" );
return ret == "" ?
"1" :
ret;
}
// Make sure we're using the right name for getting the float value
if ( name.match( /float/i ) )
name = styleFloat;
if ( !force && style && style[ name ] )
ret = style[ name ];
else if ( defaultView.getComputedStyle ) {
// Only "float" is needed here
if ( name.match( /float/i ) )
name = "float";
name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase();
var computedStyle = defaultView.getComputedStyle( elem, null );
if ( computedStyle )
ret = computedStyle.getPropertyValue( name );
// We should always get a number back from opacity
if ( name == "opacity" && ret == "" )
ret = "1";
} else if ( elem.currentStyle ) {
var camelCase = name.replace(/\-(\w)/g, function(all, letter){
return letter.toUpperCase();
});
ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];
// From the awesome hack by Dean Edwards
// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
// If we're not dealing with a regular pixel number
// but a number that has a weird ending, we need to convert it to pixels
if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) {
// Remember the original values
var left = style.left, rsLeft = elem.runtimeStyle.left;
// Put in the new values to get a computed value out
elem.runtimeStyle.left = elem.currentStyle.left;
style.left = ret || 0;
ret = style.pixelLeft + "px";
// Revert the changed values
style.left = left;
elem.runtimeStyle.left = rsLeft;
}
}
return ret;
},
clean: function( elems, context, fragment ) {
context = context || document;
// !context.createElement fails in IE with an error but returns typeof 'object'
if ( typeof context.createElement === "undefined" )
context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
// If a single string is passed in and it's a single tag
// just do a createElement and skip the rest
if ( !fragment && elems.length === 1 && typeof elems[0] === "string" ) {
var match = /^<(\w+)\s*\/?>$/.exec(elems[0]);
if ( match )
return [ context.createElement( match[1] ) ];
}
var ret = [], scripts = [], div = context.createElement("div");
jQuery.each(elems, function(i, elem){
if ( typeof elem === "number" )
elem += '';
if ( !elem )
return;
// Convert html string into DOM nodes
if ( typeof elem === "string" ) {
// Fix "XHTML"-style tags in all browsers
elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){
return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ?
all :
front + "></" + tag + ">";
});
// Trim whitespace, otherwise indexOf won't work as expected
var tags = elem.replace(/^\s+/, "").substring(0, 10).toLowerCase();
var wrap =
// option or optgroup
!tags.indexOf("<opt") &&
[ 1, "<select multiple='multiple'>", "</select>" ] ||
!tags.indexOf("<leg") &&
[ 1, "<fieldset>", "</fieldset>" ] ||
tags.match(/^<(thead|tbody|tfoot|colg|cap)/) &&
[ 1, "<table>", "</table>" ] ||
!tags.indexOf("<tr") &&
[ 2, "<table><tbody>", "</tbody></table>" ] ||
// <thead> matched above
(!tags.indexOf("<td") || !tags.indexOf("<th")) &&
[ 3, "<table><tbody><tr>", "</tr></tbody></table>" ] ||
!tags.indexOf("<col") &&
[ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ] ||
// IE can't serialize <link> and <script> tags normally
!jQuery.support.htmlSerialize &&
[ 1, "div<div>", "</div>" ] ||
[ 0, "", "" ];
// Go to html and back, then peel off extra wrappers
div.innerHTML = wrap[1] + elem + wrap[2];
// Move to the right depth
while ( wrap[0]-- )
div = div.lastChild;
// Remove IE's autoinserted <tbody> from table fragments
if ( !jQuery.support.tbody ) {
// String was a <table>, *may* have spurious <tbody>
var hasBody = /<tbody/i.test(elem),
tbody = !tags.indexOf("<table") && !hasBody ?
div.firstChild && div.firstChild.childNodes :
// String was a bare <thead> or <tfoot>
wrap[1] == "<table>" && !hasBody ?
div.childNodes :
[];
for ( var j = tbody.length - 1; j >= 0 ; --j )
if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length )
tbody[ j ].parentNode.removeChild( tbody[ j ] );
}
// IE completely kills leading whitespace when innerHTML is used
if ( !jQuery.support.leadingWhitespace && /^\s/.test( elem ) )
div.insertBefore( context.createTextNode( elem.match(/^\s*/)[0] ), div.firstChild );
elem = jQuery.makeArray( div.childNodes );
}
if ( elem.nodeType )
ret.push( elem );
else
ret = jQuery.merge( ret, elem );
});
if ( fragment ) {
for ( var i = 0; ret[i]; i++ ) {
if ( jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
} else {
if ( ret[i].nodeType === 1 )
ret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))) );
fragment.appendChild( ret[i] );
}
}
return scripts;
}
return ret;
},
attr: function( elem, name, value ) {
// don't set attributes on text and comment nodes
if (!elem || elem.nodeType == 3 || elem.nodeType == 8)
return undefined;
var notxml = !jQuery.isXMLDoc( elem ),
// Whether we are setting (or getting)
set = value !== undefined;
// Try to normalize/fix the name
name = notxml && jQuery.props[ name ] || name;
// Only do all the following if this is a node (faster for style)
// IE elem.getAttribute passes even for style
if ( elem.tagName ) {
// These attributes require special treatment
var special = /href|src|style/.test( name );
// Safari mis-reports the default selected property of a hidden option
// Accessing the parent's selectedIndex property fixes it
if ( name == "selected" && elem.parentNode )
elem.parentNode.selectedIndex;
// If applicable, access the attribute via the DOM 0 way
if ( name in elem && notxml && !special ) {
if ( set ){
// We can't allow the type property to be changed (since it causes problems in IE)
if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
throw "type property can't be changed";
elem[ name ] = value;
}
// browsers index elements by id/name on forms, give priority to attributes.
if( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) )
return elem.getAttributeNode( name ).nodeValue;
// elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
if ( name == "tabIndex" ) {
var attributeNode = elem.getAttributeNode( "tabIndex" );
return attributeNode && attributeNode.specified
? attributeNode.value
: elem.nodeName.match(/(button|input|object|select|textarea)/i)
? 0
: elem.nodeName.match(/^(a|area)$/i) && elem.href
? 0
: undefined;
}
return elem[ name ];
}
if ( !jQuery.support.style && notxml && name == "style" )
return jQuery.attr( elem.style, "cssText", value );
if ( set )
// convert the value to a string (all browsers do this but IE) see #1070
elem.setAttribute( name, "" + value );
var attr = !jQuery.support.hrefNormalized && notxml && special
// Some attributes require a special call on IE
? elem.getAttribute( name, 2 )
: elem.getAttribute( name );
// Non-existent attributes return null, we normalize to undefined
return attr === null ? undefined : attr;
}
// elem is actually elem.style ... set the style
// IE uses filters for opacity
if ( !jQuery.support.opacity && name == "opacity" ) {
if ( set ) {
// IE has trouble with opacity if it does not have layout
// Force it by setting the zoom level
elem.zoom = 1;
// Set the alpha filter to set the opacity
elem.filter = (elem.filter || "").replace( /alpha\([^)]*\)/, "" ) +
(parseInt( value ) + '' == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
}
return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) + '':
"";
}
name = name.replace(/-([a-z])/ig, function(all, letter){
return letter.toUpperCase();
});
if ( set )
elem[ name ] = value;
return elem[ name ];
},
trim: function( text ) {
return (text || "").replace( /^\s+|\s+$/g, "" );
},
makeArray: function( array ) {
var ret = [];
if( array != null ){
var i = array.length;
// The window, strings (and functions) also have 'length'
if( i == null || typeof array === "string" || jQuery.isFunction(array) || array.setInterval )
ret[0] = array;
else
while( i )
ret[--i] = array[i];
}
return ret;
},
inArray: function( elem, array ) {
for ( var i = 0, length = array.length; i < length; i++ )
// Use === because on IE, window == document
if ( array[ i ] === elem )
return i;
return -1;
},
merge: function( first, second ) {
// We have to loop this way because IE & Opera overwrite the length
// expando of getElementsByTagName
var i = 0, elem, pos = first.length;
// Also, we need to make sure that the correct elements are being returned
// (IE returns comment nodes in a '*' query)
if ( !jQuery.support.getAll ) {
while ( (elem = second[ i++ ]) != null )
if ( elem.nodeType != 8 )
first[ pos++ ] = elem;
} else
while ( (elem = second[ i++ ]) != null )
first[ pos++ ] = elem;
return first;
},
unique: function( array ) {
var ret = [], done = {};
try {
for ( var i = 0, length = array.length; i < length; i++ ) {
var id = jQuery.data( array[ i ] );
if ( !done[ id ] ) {
done[ id ] = true;
ret.push( array[ i ] );
}
}
} catch( e ) {
ret = array;
}
return ret;
},
grep: function( elems, callback, inv ) {
var ret = [];
// Go through the array, only saving the items
// that pass the validator function
for ( var i = 0, length = elems.length; i < length; i++ )
if ( !inv != !callback( elems[ i ], i ) )
ret.push( elems[ i ] );
return ret;
},
map: function( elems, callback ) {
var ret = [];
// Go through the array, translating each of the items to their
// new value (or values).
for ( var i = 0, length = elems.length; i < length; i++ ) {
var value = callback( elems[ i ], i );
if ( value != null )
ret[ ret.length ] = value;
}
return ret.concat.apply( [], ret );
}
});
// Use of jQuery.browser is deprecated.
// It's included for backwards compatibility and plugins,
// although they should work to migrate away.
var userAgent = navigator.userAgent.toLowerCase();
// Figure out what browser is being used
jQuery.browser = {
version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1],
safari: /webkit/.test( userAgent ),
opera: /opera/.test( userAgent ),
msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
};
jQuery.each({
parent: function(elem){return elem.parentNode;},
parents: function(elem){return jQuery.dir(elem,"parentNode");},
next: function(elem){return jQuery.nth(elem,2,"nextSibling");},
prev: function(elem){return jQuery.nth(elem,2,"previousSibling");},
nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
children: function(elem){return jQuery.sibling(elem.firstChild);},
contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
}, function(name, fn){
jQuery.fn[ name ] = function( selector ) {
var ret = jQuery.map( this, fn );
if ( selector && typeof selector == "string" )
ret = jQuery.multiFilter( selector, ret );
return this.pushStack( jQuery.unique( ret ), name, selector );
};
});
jQuery.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(name, original){
jQuery.fn[ name ] = function( selector ) {
var ret = [], insert = jQuery( selector );
for ( var i = 0, l = insert.length; i < l; i++ ) {
var elems = (i > 0 ? this.clone(true) : this).get();
jQuery.fn[ original ].apply( jQuery(insert[i]), elems );
ret = ret.concat( elems );
}
return this.pushStack( ret, name, selector );
};
});
jQuery.each({
removeAttr: function( name ) {
jQuery.attr( this, name, "" );
if (this.nodeType == 1)
this.removeAttribute( name );
},
addClass: function( classNames ) {
jQuery.className.add( this, classNames );
},
removeClass: function( classNames ) {
jQuery.className.remove( this, classNames );
},
toggleClass: function( classNames, state ) {
if( typeof state !== "boolean" )
state = !jQuery.className.has( this, classNames );
jQuery.className[ state ? "add" : "remove" ]( this, classNames );
},
remove: function( selector ) {
if ( !selector || jQuery.filter( selector, [ this ] ).length ) {
// Prevent memory leaks
jQuery( "*", this ).add([this]).each(function(){
jQuery.event.remove(this);
jQuery.removeData(this);
});
if (this.parentNode)
this.parentNode.removeChild( this );
}
},
empty: function() {
// Remove element nodes and prevent memory leaks
jQuery(this).children().remove();
// Remove any remaining nodes
while ( this.firstChild )
this.removeChild( this.firstChild );
}
}, function(name, fn){
jQuery.fn[ name ] = function(){
return this.each( fn, arguments );
};
});
// Helper function used by the dimensions and offset modules
function num(elem, prop) {
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
}
var expando = "jQuery" + now(), uuid = 0, windowData = {};
jQuery.extend({
cache: {},
data: function( elem, name, data ) {
elem = elem == window ?
windowData :
elem;
var id = elem[ expando ];
// Compute a unique ID for the element
if ( !id )
id = elem[ expando ] = ++uuid;
// Only generate the data cache if we're
// trying to access or manipulate it
if ( name && !jQuery.cache[ id ] )
jQuery.cache[ id ] = {};
// Prevent overriding the named cache with undefined values
if ( data !== undefined )
jQuery.cache[ id ][ name ] = data;
// Return the named cache data, or the ID for the element
return name ?
jQuery.cache[ id ][ name ] :
id;
},
removeData: function( elem, name ) {
elem = elem == window ?
windowData :
elem;
var id = elem[ expando ];
// If we want to remove a specific section of the element's data
if ( name ) {
if ( jQuery.cache[ id ] ) {
// Remove the section of cache data
delete jQuery.cache[ id ][ name ];
// If we've removed all the data, remove the element's cache
name = "";
for ( name in jQuery.cache[ id ] )
break;
if ( !name )
jQuery.removeData( elem );
}
// Otherwise, we want to remove all of the element's data
} else {
// Clean up the element expando
try {
delete elem[ expando ];
} catch(e){
// IE has trouble directly removing the expando
// but it's ok with using removeAttribute
if ( elem.removeAttribute )
elem.removeAttribute( expando );
}
// Completely remove the data cache
delete jQuery.cache[ id ];
}
},
queue: function( elem, type, data ) {
if ( elem ){
type = (type || "fx") + "queue";
var q = jQuery.data( elem, type );
if ( !q || jQuery.isArray(data) )
q = jQuery.data( elem, type, jQuery.makeArray(data) );
else if( data )
q.push( data );
}
return q;
},
dequeue: function( elem, type ){
var queue = jQuery.queue( elem, type ),
fn = queue.shift();
if( !type || type === "fx" )
fn = queue[0];
if( fn !== undefined )
fn.call(elem);
}
});
jQuery.fn.extend({
data: function( key, value ){
var parts = key.split(".");
parts[1] = parts[1] ? "." + parts[1] : "";
if ( value === undefined ) {
var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
if ( data === undefined && this.length )
data = jQuery.data( this[0], key );
return data === undefined && parts[1] ?
this.data( parts[0] ) :
data;
} else
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
jQuery.data( this, key, value );
});
},
removeData: function( key ){
return this.each(function(){
jQuery.removeData( this, key );
});
},
queue: function(type, data){
if ( typeof type !== "string" ) {
data = type;
type = "fx";
}
if ( data === undefined )
return jQuery.queue( this[0], type );
return this.each(function(){
var queue = jQuery.queue( this, type, data );
if( type == "fx" && queue.length == 1 )
queue[0].call(this);
});
},
dequeue: function(type){
return this.each(function(){
jQuery.dequeue( this, type );
});
}
});/*!
* Sizzle CSS Selector Engine - v0.9.3
* Copyright 2009, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
* More information: http://sizzlejs.com/
*/
(function(){
var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,
done = 0,
toString = Object.prototype.toString;
var Sizzle = function(selector, context, results, seed) {
results = results || [];
context = context || document;
if ( context.nodeType !== 1 && context.nodeType !== 9 )
return [];
if ( !selector || typeof selector !== "string" ) {
return results;
}
var parts = [], m, set, checkSet, check, mode, extra, prune = true;
// Reset the position of the chunker regexp (start from head)
chunker.lastIndex = 0;
while ( (m = chunker.exec(selector)) !== null ) {
parts.push( m[1] );
if ( m[2] ) {
extra = RegExp.rightContext;
break;
}
}
if ( parts.length > 1 && origPOS.exec( selector ) ) {
if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
set = posProcess( parts[0] + parts[1], context );
} else {
set = Expr.relative[ parts[0] ] ?
[ context ] :
Sizzle( parts.shift(), context );
while ( parts.length ) {
selector = parts.shift();
if ( Expr.relative[ selector ] )
selector += parts.shift();
set = posProcess( selector, set );
}
}
} else {
var ret = seed ?
{ expr: parts.pop(), set: makeArray(seed) } :
Sizzle.find( parts.pop(), parts.length === 1 && context.parentNode ? context.parentNode : context, isXML(context) );
set = Sizzle.filter( ret.expr, ret.set );
if ( parts.length > 0 ) {
checkSet = makeArray(set);
} else {
prune = false;
}
while ( parts.length ) {
var cur = parts.pop(), pop = cur;
if ( !Expr.relative[ cur ] ) {
cur = "";
} else {
pop = parts.pop();
}
if ( pop == null ) {
pop = context;
}
Expr.relative[ cur ]( checkSet, pop, isXML(context) );
}
}
if ( !checkSet ) {
checkSet = set;
}
if ( !checkSet ) {
throw "Syntax error, unrecognized expression: " + (cur || selector);
}
if ( toString.call(checkSet) === "[object Array]" ) {
if ( !prune ) {
results.push.apply( results, checkSet );
} else if ( context.nodeType === 1 ) {
for ( var i = 0; checkSet[i] != null; i++ ) {
if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) {
results.push( set[i] );
}
}
} else {
for ( var i = 0; checkSet[i] != null; i++ ) {
if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
results.push( set[i] );
}
}
}
} else {
makeArray( checkSet, results );
}
if ( extra ) {
Sizzle( extra, context, results, seed );
if ( sortOrder ) {
hasDuplicate = false;
results.sort(sortOrder);
if ( hasDuplicate ) {
for ( var i = 1; i < results.length; i++ ) {
if ( results[i] === results[i-1] ) {
results.splice(i--, 1);
}
}
}
}
}
return results;
};
Sizzle.matches = function(expr, set){
return Sizzle(expr, null, null, set);
};
Sizzle.find = function(expr, context, isXML){
var set, match;
if ( !expr ) {
return [];
}
for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
var type = Expr.order[i], match;
if ( (match = Expr.match[ type ].exec( expr )) ) {
var left = RegExp.leftContext;
if ( left.substr( left.length - 1 ) !== "\\" ) {
match[1] = (match[1] || "").replace(/\\/g, "");
set = Expr.find[ type ]( match, context, isXML );
if ( set != null ) {
expr = expr.replace( Expr.match[ type ], "" );
break;
}
}
}
}
if ( !set ) {
set = context.getElementsByTagName("*");
}
return {set: set, expr: expr};
};
Sizzle.filter = function(expr, set, inplace, not){
var old = expr, result = [], curLoop = set, match, anyFound,
isXMLFilter = set && set[0] && isXML(set[0]);
while ( expr && set.length ) {
for ( var type in Expr.filter ) {
if ( (match = Expr.match[ type ].exec( expr )) != null ) {
var filter = Expr.filter[ type ], found, item;
anyFound = false;
if ( curLoop == result ) {
result = [];
}
if ( Expr.preFilter[ type ] ) {
match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
if ( !match ) {
anyFound = found = true;
} else if ( match === true ) {
continue;
}
}
if ( match ) {
for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
if ( item ) {
found = filter( item, match, i, curLoop );
var pass = not ^ !!found;
if ( inplace && found != null ) {
if ( pass ) {
anyFound = true;
} else {
curLoop[i] = false;
}
} else if ( pass ) {
result.push( item );
anyFound = true;
}
}
}
}
if ( found !== undefined ) {
if ( !inplace ) {
curLoop = result;
}
expr = expr.replace( Expr.match[ type ], "" );
if ( !anyFound ) {
return [];
}
break;
}
}
}
// Improper expression
if ( expr == old ) {
if ( anyFound == null ) {
throw "Syntax error, unrecognized expression: " + expr;
} else {
break;
}
}
old = expr;
}
return curLoop;
};
var Expr = Sizzle.selectors = {
order: [ "ID", "NAME", "TAG" ],
match: {
ID: /#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
CLASS: /\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,
NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,
ATTR: /\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
TAG: /^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,
CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
PSEUDO: /:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/
},
attrMap: {
"class": "className",
"for": "htmlFor"
},
attrHandle: {
href: function(elem){
return elem.getAttribute("href");
}
},
relative: {
"+": function(checkSet, part, isXML){
var isPartStr = typeof part === "string",
isTag = isPartStr && !/\W/.test(part),
isPartStrNotTag = isPartStr && !isTag;
if ( isTag && !isXML ) {
part = part.toUpperCase();
}
for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
if ( (elem = checkSet[i]) ) {
while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
checkSet[i] = isPartStrNotTag || elem && elem.nodeName === part ?
elem || false :
elem === part;
}
}
if ( isPartStrNotTag ) {
Sizzle.filter( part, checkSet, true );
}
},
">": function(checkSet, part, isXML){
var isPartStr = typeof part === "string";
if ( isPartStr && !/\W/.test(part) ) {
part = isXML ? part : part.toUpperCase();
for ( var i = 0, l = checkSet.length; i < l; i++ ) {
var elem = checkSet[i];
if ( elem ) {
var parent = elem.parentNode;
checkSet[i] = parent.nodeName === part ? parent : false;
}
}
} else {
for ( var i = 0, l = checkSet.length; i < l; i++ ) {
var elem = checkSet[i];
if ( elem ) {
checkSet[i] = isPartStr ?
elem.parentNode :
elem.parentNode === part;
}
}
if ( isPartStr ) {
Sizzle.filter( part, checkSet, true );
}
}
},
"": function(checkSet, part, isXML){
var doneName = done++, checkFn = dirCheck;
if ( !part.match(/\W/) ) {
var nodeCheck = part = isXML ? part : part.toUpperCase();
checkFn = dirNodeCheck;
}
checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
},
"~": function(checkSet, part, isXML){
var doneName = done++, checkFn = dirCheck;
if ( typeof part === "string" && !part.match(/\W/) ) {
var nodeCheck = part = isXML ? part : part.toUpperCase();
checkFn = dirNodeCheck;
}
checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
}
},
find: {
ID: function(match, context, isXML){
if ( typeof context.getElementById !== "undefined" && !isXML ) {
var m = context.getElementById(match[1]);
return m ? [m] : [];
}
},
NAME: function(match, context, isXML){
if ( typeof context.getElementsByName !== "undefined" ) {
var ret = [], results = context.getElementsByName(match[1]);
for ( var i = 0, l = results.length; i < l; i++ ) {
if ( results[i].getAttribute("name") === match[1] ) {
ret.push( results[i] );
}
}
return ret.length === 0 ? null : ret;
}
},
TAG: function(match, context){
return context.getElementsByTagName(match[1]);
}
},
preFilter: {
CLASS: function(match, curLoop, inplace, result, not, isXML){
match = " " + match[1].replace(/\\/g, "") + " ";
if ( isXML ) {
return match;
}
for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
if ( elem ) {
if ( not ^ (elem.className && (" " + elem.className + " ").indexOf(match) >= 0) ) {
if ( !inplace )
result.push( elem );
} else if ( inplace ) {
curLoop[i] = false;
}
}
}
return false;
},
ID: function(match){
return match[1].replace(/\\/g, "");
},
TAG: function(match, curLoop){
for ( var i = 0; curLoop[i] === false; i++ ){}
return curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase();
},
CHILD: function(match){
if ( match[1] == "nth" ) {
// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
match[2] == "even" && "2n" || match[2] == "odd" && "2n+1" ||
!/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
// calculate the numbers (first)n+(last) including if they are negative
match[2] = (test[1] + (test[2] || 1)) - 0;
match[3] = test[3] - 0;
}
// TODO: Move to normal caching system
match[0] = done++;
return match;
},
ATTR: function(match, curLoop, inplace, result, not, isXML){
var name = match[1].replace(/\\/g, "");
if ( !isXML && Expr.attrMap[name] ) {
match[1] = Expr.attrMap[name];
}
if ( match[2] === "~=" ) {
match[4] = " " + match[4] + " ";
}
return match;
},
PSEUDO: function(match, curLoop, inplace, result, not){
if ( match[1] === "not" ) {
// If we're dealing with a complex expression, or a simple one
if ( match[3].match(chunker).length > 1 || /^\w/.test(match[3]) ) {
match[3] = Sizzle(match[3], null, null, curLoop);
} else {
var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
if ( !inplace ) {
result.push.apply( result, ret );
}
return false;
}
} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
return true;
}
return match;
},
POS: function(match){
match.unshift( true );
return match;
}
},
filters: {
enabled: function(elem){
return elem.disabled === false && elem.type !== "hidden";
},
disabled: function(elem){
return elem.disabled === true;
},
checked: function(elem){
return elem.checked === true;
},
selected: function(elem){
// Accessing this property makes selected-by-default
// options in Safari work properly
elem.parentNode.selectedIndex;
return elem.selected === true;
},
parent: function(elem){
return !!elem.firstChild;
},
empty: function(elem){
return !elem.firstChild;
},
has: function(elem, i, match){
return !!Sizzle( match[3], elem ).length;
},
header: function(elem){
return /h\d/i.test( elem.nodeName );
},
text: function(elem){
return "text" === elem.type;
},
radio: function(elem){
return "radio" === elem.type;
},
checkbox: function(elem){
return "checkbox" === elem.type;
},
file: function(elem){
return "file" === elem.type;
},
password: function(elem){
return "password" === elem.type;
},
submit: function(elem){
return "submit" === elem.type;
},
image: function(elem)
Untitled JavaScript (14-Jul @ 11:58)
Syntax Highlighted Code
- $('.gallery-lister img').click(function(){
- $('.gallery-lister img').animate({opacity: 1});
- $(this).animate({opacity: 0.5});
- $('.bigphotopopup').show('fast');
- [8 more lines...]
Plain Code
$('.gallery-lister img').click(function(){
$('.gallery-lister img').animate({opacity: 1});
$(this).animate({opacity: 0.5});
$('.bigphotopopup').show('fast');
var path = $(this).parent().attr('href');
var text = $('p',$(this).parent());
$('.bppContent').animate({opacity: 0},500,function(){
$(this).html('<img src=' + path + ' />').find('img').bind('load',function(){
$(this).parent().append(text.clone()).animate({opacity: 1},500);
});
});
return false;
});
Untitled JavaScript (29-Jun @ 20:52)
Syntax Highlighted Code
- var horizontalPositions = /left|center|right/,
- horizontalDefault = 'center',
- verticalPositions = /top|middle|bottom/,
- verticalDefault = 'middle';
- [90 more lines...]
Plain Code
var horizontalPositions = /left|center|right/,
horizontalDefault = 'center',
verticalPositions = /top|middle|bottom/,
verticalDefault = 'middle';
$.fn.positionTo = function(options) {
options = $.extend({
collisionDetect: 'flip',
stackFix: true
}, options);
var target = $(options.of),
targetProps = {
offset: target.offset(),
width: target.outerWidth(),
height: target.outerHeight()
},
offset = options.offset.replace(/px/gi, '').split(' '),
position = targetProps.offset;
$.each(['my', 'at'], function() {
var pos = options[this].split(' ');
pos = pos.length == 1
? horizontalPositions.test(pos[0])
? pos.concat([verticalDefault])
: verticalPositions.test(pos[0])
? [horizontalDefault].concat(pos)
: [horizontalDefault, verticalDefault]
: pos;
pos[0] = horizontalPositions.test(pos[0]) ? pos[0] : horizontalDefault;
pos[1] = verticalPositions.test(pos[1]) ? pos[1] : verticalDefault;
options[this] = pos;
});
switch (options.at[0]) {
case 'left':
break;
case 'right':
position.left += targetProps.width;
break;
default:
position.left += targetProps.width / 2;
break;
}
switch (options.at[1]) {
case 'top':
break;
case 'bottom':
position.left += targetProps.height;
break;
default:
position.left += targetProps.height / 2;
break;
}
return this.each(function() {
var elem = $(this),
elemProps = {
width: elem.outerWidth(),
height: elem.outerHeight()
};
switch (options.my[0]) {
case 'left':
break;
case 'right':
position.left -= elemProps.width;
break;
default:
position.left -= elemProps.width / 2;
break;
}
switch (options.my[1]) {
case 'top':
break;
case 'bottom':
position.left -= elemProps.height;
break;
default:
position.left -= elemProps.height / 2;
break;
}
// TODO: offset option
// TODO: collision option
// TODO: by option
// TODO: stackfix option
console.log(position);
elem.offset(position);
});
};
Untitled JavaScript (19-Jun @ 08:17)
Syntax Highlighted Code
- switch(obj.options[obj.selectedIndex].value){
- case 'wmz':
- how.value = 'Z';
- [156 more lines...]
Plain Code
switch(obj.options[obj.selectedIndex].value){
case 'wmz':
how.value = 'Z';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WMZ кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'wmu':
how.value = 'U';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WMU кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'wmr':
how.value = 'R';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WMR кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'wme':
how.value = 'E';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WME кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'yandex':
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер Яндекс кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'bank':
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'block';
how2.style.position = 'static';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Название банка';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.innerHTML = 'Номер счета';
numberPaySecondDesc.style.display = 'block';
numberPaySecondDesc.style.position = 'static';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'user':
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'block';
how2.style.position = 'static';
how3.style.display = 'block';
how3.style.position = 'static';
numberPayFirstDesc.innerHTML = 'Логин пользователя';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.innerHTML = 'или ID пользователя';
numberPaySecondDesc.style.display = 'block';
numberPaySecondDesc.style.position = 'static';
numberPayThirdDesc.innerHTML = 'Сума перевода';
numberPayThirdDesc.style.display = 'block';
numberPayThirdDesc.style.position = 'static';
break;
default:
numberPayFirstDesc.innerHTML = '';
numberPayFirstDesc.style.display = 'none';
numberPayFirstDesc.style.position = 'absolute';
numberPaySecondDesc.innerHTML = '';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.innerHTML = '';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
how.style.display = 'none';
how.style.position = 'absolute';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
}
}
Hello World (16-Jun @ 23:19)
Syntax Highlighted Code
- function HelloWorld() {
- alert("Hello world!");
- }
Plain Code
function HelloWorld() {
alert("Hello world!");
}
Untitled JavaScript (15-Jun @ 15:51)
Syntax Highlighted Code
- switch(obj.options[obj.selectedIndex].value){
- case 'wmz':
- how.value = 'Z';
- [155 more lines...]
Plain Code
switch(obj.options[obj.selectedIndex].value){
case 'wmz':
how.value = 'Z';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WMZ кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'wmu':
how.value = 'U';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WMU кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'wmr':
how.value = 'R';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WMR кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'wme':
how.value = 'E';
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер WME кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'yandex':
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Номер Яндекс кошелька';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'bank':
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'block';
how2.style.position = 'static';
how3.style.display = 'none';
how3.style.position = 'absolute';
numberPayFirstDesc.innerHTML = 'Название банка';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.innerHTML = 'Номер счета';
numberPaySecondDesc.style.display = 'block';
numberPaySecondDesc.style.position = 'static';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
break;
case 'user':
how.style.display = 'block';
how.style.position = 'static';
how2.style.display = 'block';
how2.style.position = 'static';
how3.style.display = 'block';
how3.style.position = 'static';
numberPayFirstDesc.innerHTML = 'Логин пользователя';
numberPayFirstDesc.style.display = 'block';
numberPayFirstDesc.style.position = 'static';
numberPaySecondDesc.innerHTML = 'или ID пользователя';
numberPaySecondDesc.style.display = 'block';
numberPaySecondDesc.style.position = 'static';
numberPayThirdDesc.innerHTML = 'Сума перевода';
numberPayThirdDesc.style.display = 'block';
numberPayThirdDesc.style.position = 'static';
break;
default:
numberPayFirstDesc.innerHTML = '';
numberPayFirstDesc.style.display = 'none';
numberPayFirstDesc.style.position = 'absolute';
numberPaySecondDesc.innerHTML = '';
numberPaySecondDesc.style.display = 'none';
numberPaySecondDesc.style.position = 'absolute';
numberPayThirdDesc.innerHTML = '';
numberPayThirdDesc.style.display = 'none';
numberPayThirdDesc.style.position = 'absolute';
how.style.display = 'none';
how.style.position = 'absolute';
how2.style.display = 'none';
how2.style.position = 'absolute';
how3.style.display = 'none';
how3.style.position = 'absolute';
}
Untitled JavaScript (5-Jun @ 15:31)
Syntax Highlighted Code
- jQuery(document).ready(function(){
- jQuery("#trimiteresms").submit(function(){
- var mail1 = jQuery("#mail1").val();
- var mail2 = jQuery("#mail2").val();
- [11 more lines...]
Plain Code
jQuery(document).ready(function(){
jQuery("#trimiteresms").submit(function(){
var mail1 = jQuery("#mail1").val();
var mail2 = jQuery("#mail2").val();
var mail3 = jQuery("#mail3").val();
var mail4 = jQuery("#mail4").val();
jQuery.get("nexus/_sms.php",{mode: "sendEmail",mail1: mail1, mail2: mail2, mail3: mail3, mail4: mail4},function(data){
jQuery("#confirmMail").html(data);
jQuery("#confirmMail").slideDown();
});
return false;
});
});
Untitled JavaScript (28-May @ 17:22)
Syntax Highlighted Code
- /*
- CONNECTION DIAGRAM
- [547 more lines...]
Plain Code
/*
CONNECTION DIAGRAM
------
PB0 -|1 40|- PA0
PB1 -|2 39|- PA1
PB2 -|3 28|- PA2
PB3 -|4 37|- PA3
PB4 -|5 36|- PA4
PB5 -|6 35|- PA5
PB6 -|7 34|- PA6
PB7 -|8 33|- PA7
RESET -|9 32|- AREF
VCC -|10 31|- GND
GND -|11 30|- AVCC
XTAL2 -|12 29|- PC7 UCNT1
XTAL1 -|13 28|- PC6 UCNT2
PD0 -|14 27|- PC5 UCNT3
USARTTX PD1 -|15 26|- PC4 LVL1
APOLLOEN PD2 -|16 25|- PC3 LVL2
MDIR PD3 -|17 24|- PC2 LVL3
MSEL0 PD4 -|18 23|- PC1 LVL4
MSEL1 PD5 -|19 22|- PC0
PWMOUT PD6 -|20 21|- PD7 HERMESEN
------
*/
#include <avr/io.h>
#include <util/delay.h>
#include <stdio.h>
#include <inttypes.h>
#define BAUD 9600
#define MYUBRR F_CPU/16/BAUD-1
#define RAMPTIME 3000 // PWM ramping time (ms)
#define RAMPINTERVAL 300 // PWM ramping interval (ms)
#define LVL4 PC1 // Nivåbryter nivå 4
#define LVL3 PC2 // Nivåbryter nivå 3
#define LVL2 PC3 // Nivåbryter nivå 2
#define LVL1 PC4 // Nivåbryter nivå 1
#define UCNT3 PC5 // Enhetsteller nivå 3
#define UCNT2 PC6 // Enhetsteller nivå 2
#define UCNT1 PC7 // Enhetsteller nivå 1
#define SENSINPUTPIN PINC // Porten sensorene er koblet til
#define SENSDDR DDRC // Dataretningsregister for sensorer
#define TEMP0 1 // Temperaturkanal 1
#define TEMP1 2 // Temperaturkanal 2
#define TEMP2 3 // Temperaturkanal 3
#define TEMP3 4 // Temperaturkanal 4
#define DOOR1 PA5 // Dørbryter 1
#define DOOR2 PA6 // Dørbryter 2
#define DOOR3 PA7 // Dørbryter 3
#define DOORPIN PINA // Porten dørbryterne er koblet til
#define HERMESEN PD7 // Hermes enable
#define APOLLOEN PD2 // Apollo enable
#define UCPORT PORTD // Porten enable-utgangene er på
#define MDIR PD3 // Motor direction
#define MSEL0 PD4 // Motor selection bit0
#define MSEL1 PD5 // Motor selection bit1
#define PWMOUT PD6 // Motor PWM channel
#define MOTORPORT PORTD // Porten motordriveren er koblet til
#define MOTORDDR DDRD // Dataretningsregister for motorport
#define HOME 4
#define HIS PA0 // Aktiveringsbryter for bordet
#define HISPIN PINA // Porten aktiveringsbryteren står på
#define EMPTY 0
#define FORWARD 1
#define REVERSE 0
#define UP 1
#define DOWN 0
#define BOUNCELIMIT 30 // Avprelleingsteller grenseverdi
int sensecnt = 0; // Avprellingsteller
int holdflag=0; // Hold-flagg for avprelling
int lvlcnt1 = 1; // Enhetsteller for nivå 1
int lvlcnt2 = 1; // Enhetsteller for nivå 2
int lvlcnt3 = 1; // Enhetsteller for nivå 3
int curtemp0 = 1023; // Temperaturvariabel for nivå 1
int curtemp1 = 1023; // Temperaturvariabel for nivå 2
int curtemp2 = 1023; // Temperaturvariabel for nivå 3
int curtemp3 = 1023; // Temperaturvariabel for nivå 4
int picklvl = EMPTY;
int motor = 1;
int motordir = FORWARD;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
Les inn verdi fra ADC-omforming
@param int chan - Hvilken ADC-kanal det skal leses fra.
*/
int readADC (int chan){
int i;
int ADC_temp;
int ADCx = 0;
ADMUX = chan; // Velg kanal
ADMUX |= (1 << REFS0); // Sett referanse til AVCC med ekstern kodensator på AREF
ADMUX &= ~(1<<REFS1);
ADCSRA |= (1<<ADPS2)|(1<<ADPS0); // Sett /16 presacling
ADCSRA |= (1<<ADEN); // Aktiver ADCen
for(i=0;i<8;i++) { // Kjør 8 omforminger av signalet, og bruk gjennomsnittet
ADCSRA |= (1<<ADSC); // Kjør en enkel omforming
while(!(ADCSRA & 0x10)); // Vent til omformingen er ferdig. (ADIF-flagget settes)
ADC_temp = ADCL; // Les nedre del av SAR-registeret
ADC_temp += (ADCH<<8); // Legg til øvre del av SAR-registert. (Dette må skiftes 8 plasser)
ADCx += ADC_temp; // Akkumuler verdien
}
ADCx = (ADCx>>3); // Del på 8 (Finn gjennomsnittsverdien)
ADCSRA &= ~(1<<ADEN); // Deaktiver ADCen
return ADCx; // Returner ADC-verdien
}
/*
USART Initialiseringsrutine
@param unsigned int baud - Overføringshastigheten
*/
void USARTInit( unsigned int baud ){
UBRR0H = (unsigned char) (baud>>8); // Sett overføringshastigheten
UBRR0L = (unsigned char) baud;
UCSR0B = (1<< TXEN0); // Aktiver USART-sendemodul
UCSR0C = (1<<USBS0)|(1<<UCSZ01)|(1<<UCSZ00);// Sett rammeformat til: 1 start-, 8 data- og 2 stoppbit
}
/*
USART Sending av ett tegn
@param unsigned char data - Tegnet som skal sendes
*/
void USARTTransmitByte( unsigned char data ){
while (!(UCSR0A & (1<<UDRE0))); // Vent til USART-modulen er klar for sending
UDR0 = data; // Start overføringen
}
/*
USART Sending av tekststreng
@param const char *str - Peker til hvilken streng som skal sendes
*/
void USARTTransmit(const char *str){
while(*str) {
USARTTransmitByte((unsigned char)(*str));
str++;
}
USARTTransmitByte(0x04); // Send stopp-byte (EOT)
}
/*
USART Initialiseringsrutine
*/
void PWMInit(void){
// Setter COM0A1 = 1, COM0A0 = 0 i TCCR0A => Clear OC0A on Compare Match, SET OC0A at BOTTOM (Non-Inverting mode)
// Setter WGM01 = 1, WGM00 = 1 i TCCR0A, og WGM02 = 0 i TCCR0B => Fast-PWM mode
TCCR2A |= (0<<COM2B1) | (0<<COM2B0)| (1<<WGM21) | (1<<WGM20);
TCCR2B &= ~(1<<WGM22);
TCCR2B |= (1<<CS20); // Ingen skalering av PWM-frekvensen
// Sett dataretning på de benyttede pinnene til ut.
MOTORDDR |= (1<<PWMOUT) | (1<<MSEL1) | (1<<MSEL0) | (1<<MDIR);
}
/*
Acpreller en puls fra en sensor/bryter
@param unsigned int sens - Referanse til hvilken sensor som skal avprelles
@param volatile uint8_t *port - Referanse til hvilken port sensoren er koblet på
*/
int debounce_pulse(unsigned int sens, volatile uint8_t *port){
int returnvar = 0;
while(*port & (1<<sens)){
sensecnt++;
if(sensecnt >= BOUNCELIMIT){
returnvar = 1;
}
}
sensecnt=0;
return returnvar;
}
/*
Avpreller en sensor/bryter som holdes inne
@param unsigned int sens - Referanse til hvilken sensor som skal avprelles
@param volatile uint8_t *port - Referanse til hvilken port sensoren er koblet på
*/
int debounce_hold(unsigned int sens, volatile uint8_t *pin) {
int returnvar = 0;
if(holdflag){
if(!(*pin & (1<<sens))){
holdflag=0;
}
} else {
if(*pin & (1<<sens)){
_delay_us(500);
if(*pin & (1<<sens)){
returnvar = 1;
holdflag=1;
}
}
}
return returnvar;
}
/*
Lagrer temperaturer i "nåværende temperatur"-variabler
*/
void readtemps(){
curtemp0 = readADC(TEMP0);
curtemp1 = readADC(TEMP1);
curtemp2 = readADC(TEMP3);
curtemp3 = readADC(TEMP3);
}
/*
Finner kaldeste nivå
@returns int - Returnerer en referanse til det kaldeste nivået
*/
int getcoldestlevel(){
int min = 1023;
int coldest = 1;
if(curtemp1 < min && lvlcnt1 > 0){
coldest = 1;
min = curtemp1;
}
if(curtemp2 < min && lvlcnt2 > 0){
coldest = 2;
min = curtemp2;
}
if(curtemp3 < min && lvlcnt3 > 0){
coldest = 3;
min = curtemp3;
}
return coldest;
}
/*
Initialisering av dataretningsregisteret for sensorene
*/
void SensorInit(){
SENSDDR = 0x01; // Sett alle pinner på port C til innganger.
}
/*
Sender systemstatus til Hermes via USART
*/
void SerialSendStatus(){
char usarttext[40];
int n;
readtemps();
n=sprintf(usarttext,"T1%dT2%dT3%dC1%dC2%dC3%d", curtemp1, curtemp2, curtemp3, lvlcnt1, lvlcnt2, lvlcnt3);
USARTTransmit(usarttext);
}
/*
Initialisering av motor
@param unsigned int motor - Hvilken motor som skal kjøres
@param unsigned in direction - Hvilken retning motoren skal rotere i
*/
void motor_init(unsigned int motor, unsigned int direction){
// Velg motor
if(motor == 0){
MOTORPORT &= ~(1<<MSEL0); // 0
MOTORPORT &= ~(1<<MSEL1); // 0
} else if (motor == 1){
MOTORPORT |= (1<<MSEL0); // 1
MOTORPORT &= ~(1<<MSEL1); // 0
} else if (motor == 2){
MOTORPORT &= ~(1<<MSEL0); // 0
MOTORPORT |= (1<<MSEL1); // 1
} else if (motor == 3){
MOTORPORT |= (1<<MSEL0); // 1
MOTORPORT |= (1<<MSEL1); // 1
}
if(direction){ // Sett retningen motoren skal kjøre
MOTORPORT |= (1<<MDIR);
} else {
MOTORPORT &= ~(1<<MDIR);
}
}
/*
Setter hastigheten (pådraget) til motorene
@param unsigned int speed - Hastigheten i prosent av fullt pådrag
*/
void motor_setspeed(unsigned int speed){
OCR2B = (255*speed)/100;
}
/*
Start motoren
*/
void motor_start(){
TCCR2A |= (1<<COM2B1);
}
/*
Stopp motoren
*/
void motor_stop(){
TCCR2A &= ~(1<<COM2B1);
}
/*
Øker pådraget til motorene gradvis (såkalt ramping)
*/
void motor_rampup(){
//int i = 1;
for(int i = 1;i<=100;i++){
_delay_ms(10);
motor_setspeed((255*i)/100); // Kalkuler pådragsverdi fra prosentverdi.
}
}
/*
Reduserer pådraget til motorene gradvis (såkalt ramping)
*/
void motor_rampdown(){
for(int i = 100;i>=1;i--){
_delay_ms(10);
motor_setspeed((255*i)/100); // Kalkuler pådragsverdi fra prosentverdi.
}
}
/*
Kjør heisen til ønsket nivå
@param unsigned int level - Hvilket nivå heisen skal kjøre til
*/
void elevator_goto(unsigned int level){
unsigned int dir;
if(level < HOME){
dir = DOWN;
} else {
dir = UP;
}
motor_init(level, dir);
motor_setspeed(60);
motor_start();
while(1){
if(level == 1){
if(debounce_hold(LVL1, &SENSINPUTPIN)){
break;
}
} else if (level == 2){
if(debounce_hold(LVL2, &SENSINPUTPIN)){
break;
}
} else if (level == 3){
if(debounce_hold(LVL3, &SENSINPUTPIN)){
break;
}
} else if (level == HOME){
if(debounce_hold(LVL3, &SENSINPUTPIN)){
break;
}
}
}
motor_stop();
}
/*
Roter et gitt nivå
@param unsigned int level - Hvilket nivå som skal roteres
@param unsigned int direction - Hvilken retnings skal nivået roteres i
@param unsigned int duration - Hvor lenge skal nivået rotere. (0 for uendelig).
*/
void rotatelevel(unsigned int level, unsigned int direction, unsigned int duration){
// Initialiser motoren med riktige verdier
motor_init(level, direction);
motor_setspeed(0); // Start motoren med 0 i pådrag
motor_start();
// Gradvis økning av pådrag (ramping) i 100*10ms = 1 sekund
motor_rampup();
// Motoren kjører nå på fullt pådrag
if(duration > 0){
_delay_ms(duration);
// Gradvis redusering av pådrag i 1 sekund
motor_rampdown();
motor_setspeed(0);
motor_stop();
}
}
/*
Starter dispenseringen av en enhet
@param unsigned int level - Hvilket nivå det skal hentes en enhet fra
*/
void dispenseunit(unsigned int level){
elevator_goto(level);
UCPORT |= (1<<APOLLOEN); // Aktiver Apollo (Lyseffekter)
rotatelevel(level, FORWARD, 5000);
elevator_goto(HOME);
UCPORT &= ~(1<<APOLLOEN); // Deaktiver Apollo (Lyseffekter)
}
/*
Starter påfyllingsmodus for et gitt nivå
@param unsigned int level - Hvilket nivå skal gå i påfyllingsmodus
@param unsigned int sens - Hvilken sensor/bryter som skal avbryte påfyllingen
@param volatile uint8_t *port - Hvilken port sensoren/bryteren er koblet til
*/
void startrefillmode(unsigned int level, unsigned int sens, volatile uint8_t *port){
rotatelevel(level, FORWARD, 0); // Roter nivået kontinuerlig
int count = 0;
while(debounce_hold(sens, port)){
// Øk antallet enheter i hvertnivå når en enhet blir satt inn
if(level == 1){
if(debounce_pulse(UCNT1, &SENSINPUTPIN)){
lvlcnt1++;
count = 1;
}
} else if(level == 2){
if(debounce_pulse(UCNT2, &SENSINPUTPIN)){
lvlcnt2++;
count = 1;
}
} else if(level == 3){
if(debounce_pulse(UCNT3, &SENSINPUTPIN)){
lvlcnt3++;
count = 1;
}
}
// Dersom en enhetsteller har økt, gi beskjed til Hermes.
if(count){
SerialSendStatus();
count = 0;
}
}
// Stopp rotasjonen av platået når døren lukkes
motor_rampdown();
motor_setspeed(0);
motor_stop();
}
/*
Håndtering av sensorer
*/
void handle_sensors(){
if(debounce_hold(DOOR1, &DOORPIN)){ // Dersom dør 1 er åpnet...
startrefillmode(1, DOOR1, &DOORPIN); // ... start påfyllingsmodus i nivå 1
}
if(debounce_hold(DOOR2, &DOORPIN)){ // Dersom dør 1 er åpnet...
startrefillmode(2, DOOR2, &DOORPIN); // ... start påfyllingsmodus i nivå 1
}
if(debounce_hold(DOOR3, &DOORPIN)){ // Dersom dør 1 er åpnet...
startrefillmode(3, DOOR3, &DOORPIN); // ... start påfyllingsmodus i nivå 1
}
if(debounce_pulse(HIS, &HISPIN)){ // Dersom sensoren i bordplaten aktiveres...
dispenseunit(getcoldestlevel()); // ... start dispenseringen av en enhet
}
}
/*
Hovedprogram
*/
int main(void){
USARTInit(MYUBRR); // Initialiser USART
PWMInit(); // Initialiser PWM
SensorInit(); // Initialiser sensorport
DDRA = 0x00; // Alle pinner i port A settes til innganger.
//ADCInit() ; // Init ADC
//DDRD = 0xFF; // Port D datadir: All out.
UCPORT |= (1<<HERMESEN); // Enable Hermes
int i=0;
for(;;){
if(i++ >= 2000){ // Send status til Hermes ved jevne mellomrom.
SerialSendStatus();
i=0;
}
handle_sensors(); // Håndter sensoraktivering/brytertrykk
}
}
Toggle field disable property (19-May @ 16:48)
Syntax Highlighted Code
- function disableField(field1,field2) {
- if(document.getElementById(field1).value == 'value1' || document.getElementById(field1).value == 'value2') {
- document.getElementById(field2).disabled = true;
- } else {
- [2 more lines...]
Plain Code
function disableField(field1,field2) {
if(document.getElementById(field1).value == 'value1' || document.getElementById(field1).value == 'value2') {
document.getElementById(field2).disabled = true;
} else {
document.getElementById(field2).disabled = false;
}
}
JavaScript AOP Framework (6-May @ 10:01)
Syntax Highlighted Code
- /**
- * AOP framework for aspect oriented programming in JavaScript
- */
- [49 more lines...]
Plain Code
/**
* AOP framework for aspect oriented programming in JavaScript
*/
var AOP = AOP || function() {
//Private methods
function toArray(iterable) {
if (!iterable) return [];
if (iterable.toArray) return iterable.toArray();
var length = iterable.length || 0, results = new Array(length);
while (length--) results[length] = iterable[length];
return results;
}
//Public methods
var public = {
around: function(obj, fname, advice) {
var oldFunc = obj[fname];
obj[fname] = function() {
var args = [oldFunc].concat(toArray(arguments));
return advice.apply(this, args);
};
},
before: function(obj, fname, advice) {
var oldFunc = obj[fname];
obj[fname] = function() {
var args = [oldFunc].concat(toArray(arguments));
advice.apply(this, args);
return oldFunc.apply(this, arguments);
};
},
after: function(obj, fname, advice) {
var oldFunc = obj[fname];
obj[fname] = function() {
var args = [oldFunc].concat(toArray(arguments));
oldFunc.apply(this, arguments);
return advice.apply(this, args);
};
},
callMethod: function(args) {
var argsArray = toArray(args);
return argsArray[0].apply(this, argsArray.slice(1));
}
};
return public;
}();
Untitled JavaScript (30-Apr @ 12:27)
Syntax Highlighted Code
- <script type="text/javascript">
- $(function() {
- $(".lightbox").lightBox();
- [1 more lines...]
Plain Code
<script type="text/javascript">
$(function() {
$(".lightbox").lightBox();
});
</script>
Untitled JavaScript (29-Apr @ 11:23)
Syntax Highlighted Code
- function foo(){alert('hello')};
Plain Code
function foo(){alert('hello')};
Untitled JavaScript (29-Apr @ 11:23)
Syntax Highlighted Code
- javascript:%20Portal.Modules.PluginManager.installPlugin('org.polarion.team.svn');
Plain Code
javascript:%20Portal.Modules.PluginManager.installPlugin('org.polarion.team.svn');
Tynamitom Blogger Template (27-Apr @ 17:13)
Syntax Highlighted Code
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
- [663 more lines...]
Plain Code
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>
<b:skin><![CDATA[
/*
-----------------------------------------------
Blogger Template Style
Name: Rounders
Designer: Douglas Bowman
URL: www.stopdesign.com
Date: 27 Feb 2004
Updated by: Blogger Team
----------------------------------------------- */
/* Variable definitions
====================
<Variable name="mainBgColor" description="Main Background Color"
type="color" default="#fff" value="#264D76">
<Variable name="mainTextColor" description="Text Color" type="color"
default="#333" value="#99ccff">
<Variable name="postTitleColor" description="Post Title Color" type="color"
default="#333" value="#99ccff">
<Variable name="dateHeaderColor" description="Date Header Color"
type="color" default="#357" value="#99ccff">
<Variable name="borderColor" description="Post Border Color" type="color"
default="#bbb" value="#bbbbbb">
<Variable name="mainLinkColor" description="Link Color" type="color"
default="#258" value="#99ccff">
<Variable name="mainVisitedLinkColor" description="Visited Link Color"
type="color" default="#666" value="#666666">
<Variable name="titleBgColor" description="Page Header Background Color"
type="color" default="#456" value="#254C75">
<Variable name="titleTextColor" description="Blog Title Color"
type="color" default="#fff" value="#99ccff">
<Variable name="topSidebarHeaderColor"
description="Top Sidebar Title Color"
type="color" default="#234" value="#254C75">
<Variable name="topSidebarBgColor"
description="Top Sidebar Background Color"
type="color" default="#cdc" value="#264D76">
<Variable name="topSidebarTextColor" description="Top Sidebar Text Color"
type="color" default="#345" value="#334455">
<Variable name="topSidebarLinkColor" description="Top Sidebar Link Color"
type="color" default="#258" value="#225588">
<Variable name="topSidebarVisitedLinkColor"
description="Top Sidebar Visited Link Color"
type="color" default="#258" value="#225588">
<Variable name="bodyFont" description="Text Font" type="font"
default="normal normal 100% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal normal 100% 'Trebuchet MS',Verdana,Arial,Sans-serif">
<Variable name="pageTitleFont" description="Blog Title Font" type="font"
default="normal bold 200% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal bold 200% 'Trebuchet MS',Verdana,Arial,Sans-serif">
<Variable name="descriptionFont" description="Blog Description Font" type="font"
default="normal normal 100% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal normal 100% 'Trebuchet MS',Verdana,Arial,Sans-serif">
<Variable name="headerFont" description="Sidebar Title Font" type="font"
default="normal bold 100% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal bold 100% 'Trebuchet MS',Verdana,Arial,Sans-serif">
<Variable name="postTitleFont" description="Post Title Font" type="font"
default="normal bold 135% 'Trebuchet MS',Verdana,Arial,Sans-serif" value="normal bold 135% 'Trebuchet MS',Verdana,Arial,Sans-serif">
<Variable name="startSide" description="Start side in blog language"
type="automatic" default="left" value="left">
<Variable name="endSide" description="End side in blog language"
type="automatic" default="right" value="right">
*/
body {
background-image:url('http://tynamite.uk.to/back.png');
margin:0;
text-align:center;
line-height: 1.5em;
font:x-small Trebuchet MS, Verdana, Arial, Sans-serif;
color:$mainTextColor;
font-size/* */:/**/small;
font-size: /**/small;
}
/* Page Structure
----------------------------------------------- */
/* The images which help create rounded corners depend on the
following widths and measurements. If you want to change
these measurements, the images will also need to change.
*/
#outer-wrapper {
width:740px;
left:100px;
margin-left: 70px;
margin-top: 110px;
text-align:$startSide;
font: $bodyFont;
}
#main-wrap1 {
width:475px;
float:$startSide;
background-color: $topSidebarBgColor;
margin:15px 0 0;
border: 0px;
color:$mainTextColor;
font-size:97%;
line-height:1.5em;
border: 8px solid #0C3762;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
#main-wrap2 {
float: $startSide;
width: 100%;
padding: 0px 0 0;
}
#main {
/* those left and right borders */
padding:0;
width:475px;
}
#sidebar-wrap {
width:240px;
float:$endSide;
margin:15px 0 0;
font-size:97%;
line-height:1.5em;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
.main .widget {
margin-top: 4px;
width: 468px;
padding: 0 13px;
}
.main .Blog {
margin: 0;
padding: 0;
width: 484px;
}
/* Links
----------------------------------------------- */
a:link {
color: $mainLinkColor;
}
a:visited {
color: $mainVisitedLinkColor;
}
a:hover {
color: $mainVisitedLinkColor;
}
a img {
border-width:0;
}
/* Blog Header
----------------------------------------------- */
#header-wrapper {
border: 8px solid #0C3762;
background-color: $titleBgColor;
color:$titleTextColor;
margin-top:22px;
margin-$endSide:0;
margin-bottom:0;
margin-$startSide:0;
padding-top:8px;
padding-$endSide:0;
padding-bottom:0;
padding-$startSide:0;
}
#header {
padding:0 15px 8px;
}
#header h1 {
margin:0;
padding:10px 30px 5px;
line-height:1.2em;
font: $pageTitleFont;
}
#header a,
#header a:visited {
text-decoration:none;
color: $titleTextColor;
}
#header .description {
margin:0;
padding:5px 30px 10px;
line-height:1.5em;
font: $descriptionFont;
}
/* Posts
----------------------------------------------- */
h2.date-header {
margin-top:0;
margin-$endSide:28px;
margin-bottom:0;
margin-$startSide:43px;
font-size:85%;
line-height:2em;
text-transform:uppercase;
letter-spacing:.2em;
color:$dateHeaderColor;
}
.post {
margin:.3em 0 25px;
padding:0 13px;
border:1px dotted $borderColor;
border-width:1px 0;
}
.post h3 {
margin:0;
line-height:1.5em;
background:url("http://www2.blogblog.com/rounders/icon_arrow.gif") no-repeat 10px .5em;
display:block;
border:1px dotted $borderColor;
border-width:0 1px 1px;
padding-top:2px;
padding-$endSide:14px;
padding-bottom:2px;
padding-$startSide:29px;
color: $postTitleColor;
font: $postTitleFont;
}
.post h3 a, .post h3 a:visited {
text-decoration:none;
color: $postTitleColor;
}
a.title-link:hover {
background-color: $borderColor;
color: $mainTextColor;
}
.post-body {
border:1px dotted $borderColor;
border-width:0 1px 1px;
border-bottom-color:$mainBgColor;
padding-top:10px;
padding-$endSide:14px;
padding-bottom:1px;
padding-$startSide:29px;
}
html>body .post-body {
border-bottom-width:0;
}
.post-body {
margin:0 0 .75em;
}
.post-body blockquote {
line-height:1.3em;
}
.post-footer {
background: #ded;
margin:0;
padding-top:2px;
padding-$endSide:14px;
padding-bottom:2px;
padding-$startSide:29px;
border:1px dotted $borderColor;
border-width:1px;
font-size:100%;
line-height:1.5em;
color: #666;
}
/*
The first line of the post footer might only have floated text, so we need to give it a height.
The height comes from the post-footer line-height
*/
.post-footer-line-1 {
min-height:1.5em;
_height:1.5em;
}
.post-footer p {
margin: 0;
}
html>body .post-footer {
border-bottom-color:transparent;
}
.uncustomized-post-template .post-footer {
text-align: $endSide;
}
.uncustomized-post-template .post-author,
.uncustomized-post-template .post-timestamp {
display: block;
float: $startSide;
text-align:$startSide;
margin-$endSide: 4px;
}
.post-footer a {
color: #258;
}
.post-footer a:hover {
color: #666;
}
a.comment-link {
/* IE5.0/Win doesn't apply padding to inline elements,
so we hide these two declarations from it */
background/* */:/**/url("http://www.blogblog.com/rounders/icon_comment_$startSide.gif") no-repeat $startSide 45%;
padding-$startSide:14px;
}
html>body a.comment-link {
/* Respecified, for IE5/Mac's benefit */
background:url("http://www.blogblog.com/rounders/icon_comment_$startSide.gif") no-repeat $startSide 45%;
padding-$startSide:14px;
}
.post img {
margin-top:0;
margin-$endSide:0;
margin-bottom:5px;
margin-$startSide:0;
padding:4px;
border:1px solid $borderColor;
}
blockquote {
margin:.75em 0;
border:1px dotted $borderColor;
border-width:1px 0;
padding:5px 15px;
color: $dateHeaderColor;
}
.post blockquote p {
margin:.5em 0;
}
#blog-pager-newer-link {
float: $startSide;
margin-$startSide: 13px;
}
#blog-pager-older-link {
float: $endSide;
margin-$endSide: 13px;
}
#blog-pager {
text-align: center;
}
.feed-links {
clear: both;
line-height: 2.5em;
margin-$startSide: 13px;
}
/* Comments
----------------------------------------------- */
#comments {
margin:-25px 13px 0;
border:1px dotted $borderColor;
border-width:0 1px 1px;
padding-top:20px;
padding-$endSide:0;
padding-bottom:15px;
padding-$startSide:0;
}
#comments h4 {
margin:0 0 10px;
padding-top:0;
padding-$endSide:14px;
padding-bottom:2px;
padding-$startSide:29px;
border-bottom:1px dotted $borderColor;
font-size:120%;
line-height:1.4em;
color:$postTitleColor;
}
#comments-block {
margin-top:0;
margin-$endSide:15px;
margin-bottom:0;
margin-$startSide:9px;
}
.comment-author {
background:url("http://www.blogblog.com/rounders/icon_comment_$startSide.gif") no-repeat 2px .3em;
margin:.5em 0;
padding-top:0;
padding-$endSide:0;
padding-bottom:0;
padding-$startSide:20px;
font-weight:bold;
}
.comment-body {
margin:0 0 1.25em;
padding-top:0;
padding-$endSide:0;
padding-bottom:0;
padding-$startSide:20px;
}
.comment-body p {
margin:0 0 .5em;
}
.comment-footer {
margin:0 0 .5em;
padding-top:0;
padding-$endSide:0;
padding-bottom:.75em;
padding-$startSide:20px;
}
.comment-footer a:link {
color: #333;
}
.deleted-comment {
font-style:italic;
color:gray;
}
.comment-form {
padding-$startSide:20px;
padding-$endSide:5px;
}
#comments .comment-form h4 {
padding-$startSide:0px;
}
/* Profile
----------------------------------------------- */
.profile-img {
float: $startSide;
margin-top: 5px;
margin-$endSide: 5px;
margin-bottom: 5px;
margin-$startSide: 0;
border: 4px solid $topSidebarTextColor;
}
.profile-datablock {
margin-top:0;
margin-$endSide:15px;
margin-bottom:.5em;
margin-$startSide:0;
padding-top:8px;
}
.profile-link {
background:url("http://www.blogblog.com/rounders/icon_profile_$startSide.gif") no-repeat $startSide .1em;
padding-$startSide:15px;
font-weight:bold;
}
.profile-textblock {
clear: both;
margin: 0;
}
.sidebar .clear, .main .widget .clear {
clear: both;
}
#sidebartop-wrap {
border: 8px solid #0C3762;
background-color: $topSidebarBgColor;
margin:0px 0px 15px;
padding:0px 0px 10px;
color:$topSidebarTextColor;
}
#sidebartop-wrap2 {
padding: 10px 0 0;
margin:0;
border-width:0;
}
#sidebartop h2 {
line-height:1.5em;
color:$topSidebarHeaderColor;
border-bottom: 1px dotted $topSidebarHeaderColor;
margin-bottom: 0.5em;
font: $headerFont;
}
#sidebartop a {
color: $topSidebarLinkColor;
}
#sidebartop a:hover {
color: $topSidebarVisitedLinkColor;
}
#sidebartop a:visited {
color: $topSidebarVisitedLinkColor;
}
/* Sidebar Boxes
----------------------------------------------- */
.sidebar .widget {
margin:.5em 13px 1.25em;
padding:0 0px;
}
.widget-content {
margin-top: 0.5em;
}
#sidebarbottom-wrap1 {
border: 8px solid #0C3762;
background-color: $topSidebarBgColor;
margin:0 0 15px;
padding:10px 0 0;
color: $mainTextColor;
}
#sidebarbottom-wrap2 {
padding:0 0 8px;
}
.sidebar h2 {
margin:0;
padding:0 0 .2em;
line-height:1.5em;
font:$headerFont;
}
.sidebar ul {
list-style:none;
margin:0 0 1.25em;
padding:0;
}
.sidebar ul li {
background:url("http://www2.blogblog.com/rounders/icon_arrow_sm.gif") no-repeat 2px .25em;
margin:0;
padding-top:0;
padding-$endSide:0;
padding-bottom:3px;
padding-$startSide:16px;
margin-bottom:3px;
border-bottom:1px dotted $borderColor;
line-height:1.4em;
}
.sidebar p {
margin:0 0 .6em;
}
#sidebar h2 {
color: $postTitleColor;
border-bottom: 1px dotted $postTitleColor;
}
/* Footer
----------------------------------------------- */
#footer-wrap1 {
clear:both;
margin:0 0 10px;
padding:15px 0 0;
}
#footer-wrap2 {
background:$titleBgColor url("http://www2.blogblog.com/rounders/corners_cap_top.gif") no-repeat $startSide top;
color:$titleTextColor;
}
#footer {
background:url("http://www.blogblog.com/rounders/corners_cap_bot.gif") no-repeat $startSide bottom;
padding:8px 15px;
}
#footer hr {display:none;}
#footer p {margin:0;}
#footer a {color:$titleTextColor;}
#footer .widget-content {
margin:0;
}
/** Page structure tweaks for layout editor wireframe */
body#layout #main-wrap1,
body#layout #sidebar-wrap,
body#layout #header-wrapper {
margin-top: 0;
}
body#layout #header, body#layout #header-wrapper,
body#layout #outer-wrapper {
margin-$startSide:0,
margin-$endSide: 0;
padding: 0;
}
body#layout #outer-wrapper {
width: 730px;
}
body#layout #footer-wrap1 {
padding-top: 0;
}
]]></b:skin>
</head>
<body>
<div id='outer-wrapper'>
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1'>
<b:widget id='Header1' locked='true' title='Tynami-pages (Header)' type='Header'/>
</b:section>
</div>
<div id='crosscol-wrapper' style='text-align:center'>
<b:section class='crosscol' id='crosscol' showaddelement='no'/>
</div>
<div id='main-wrap1'><div id='main-wrap2'>
<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
</b:section>
</div></div>
<div id='sidebar-wrap'>
<div id='sidebartop-wrap'><div id='sidebartop-wrap2'>
<b:section class='sidebar' id='sidebartop'>
<b:widget id='Profile1' locked='false' title='About Me' type='Profile'/>
</b:section>
</div></div>
<div id='sidebarbottom-wrap1'><div id='sidebarbottom-wrap2'>
<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='LinkList1' locked='false' title='All my websites' type='LinkList'/>
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'/>
</b:section>
</div></div>
</div>
<div id='footer-wrap1'><div id='footer-wrap2'>
<b:section class='footer' id='footer'/>
</div></div>
<!-- Start of StatCounter Code -->
<script type='text/javascript'>
var sc_project=4677138;
var sc_invisible=0;
var sc_partition=56;
var sc_click_stat=1;
var sc_security="f4c96873";
</script>
<script src='http://www.statcounter.com/counter/counter_xhtml.js' type='text/javascript'/>
<!-- End of StatCounter Code -->
</div>
</body>
</html>
Untitled JavaScript (18-Apr @ 14:09)
Syntax Highlighted Code
- function jQueryable(value, context) {
- var ret;
- // jQuery object
- [15 more lines...]
Plain Code
function jQueryable(value, context) {
var ret;
// jQuery object
if (value.jquery) {
// do nothing, already a jQuery object
}
// DOMElement
// array
// selector
else if (value.nodeType || value.length || typeof value == 'string') {
ret = $(value, context);
}
// function
else if ($.isFunction(value)) {
ret = value(context);
}
return ret;
}
Untitled JavaScript (9-Apr @ 13:31)
Syntax Highlighted Code
- alert ("Hello");
Plain Code
alert ("Hello");
Untitled JavaScript (8-Apr @ 12:05)
Syntax Highlighted Code
- jQuery(document).ready
- (
- function()
- {
- [76 more lines...]
Plain Code
jQuery(document).ready
(
function()
{
jQuery.post
(
"adauga_poze_nexus.php",
{
act: "update_poza",
id_poza: "338",
optiuni: "12#"
},
function(data)
{
jQuery("#dpoza338").html(data);
}
);
jQuery.post
(
"adauga_poze_nexus.php",
{
act: "update_poza",
id_poza: "337",
optiuni: "12#"
},
function(data)
{
jQuery("#dpoza337").html(data);
}
);
jQuery.post
(
"adauga_poze_nexus.php",
{
act: "update_poza",
id_poza: "336",
optiuni: "12#"
},
function(data)
{
jQuery("#dpoza336").html(data);
}
);
jQuery.post
(
"adauga_poze_nexus.php",
{
act: "update_poza",
id_poza: "335",
optiuni: "12#"
},
function(data)
{
jQuery("#dpoza335").html(data);
}
);
jQuery.post
(
"adauga_poze_nexus.php",
{
act: "update_poza",
id_poza: "334",
optiuni: "12#"
},
function(data)
{
jQuery("#dpoza334").html(data);
}
);
}
);
jQuery("#idPachet").change
(
function()
{
jQuery("#test").html("buhu");
}
);
Untitled JavaScript (7-Apr @ 15:44)
Syntax Highlighted Code
- jQuery(document).ready
- (
- function()
- {
- [22 more lines...]
Plain Code
jQuery(document).ready
(
function()
{
jQuery(".dpoza").each
(
function()
{
jQuery(this).post
(
"adauga_poze_nexus.php",
{
act: "update_poza",
id_poza: jQuery(this).attr("id"),
optiuni: "12#"
},
function(data)
{
alert(data);
}
);
}
);
}
);
Untitled JavaScript (7-Apr @ 15:30)
Syntax Highlighted Code
- jQuery(document).ready(function(){
- jQuery(".dpoza").each(function(){
- var id = jQuery(this).attr("id");
- jQuery(this).post("_nexus.php",{id:id,mode="test"},function(data){
- [4 more lines...]
Plain Code
jQuery(document).ready(function(){
jQuery(".dpoza").each(function(){
var id = jQuery(this).attr("id");
jQuery(this).post("_nexus.php",{id:id,mode="test"},function(data){
alert(data);
// Other callback
});
});
});
Untitled JavaScript (4-Mar @ 15:15)
Syntax Highlighted Code
- var test = 31;
Plain Code
var test = 31;
Untitled JavaScript (26-Feb @ 11:53)
Syntax Highlighted Code
- window.addEvent('domready',function(){
- var contentHeight = $('contentDetailScroll').offsetHeight;
- var scroll = new Fx.Scroll('contentDetailScroll', {
- wait: false,
- [22 more lines...]
Plain Code
window.addEvent('domready',function(){
var contentHeight = $('contentDetailScroll').offsetHeight;
var scroll = new Fx.Scroll('contentDetailScroll', {
wait: false,
duration: 500,
offset: {'x': 0, 'y': 0},
transition: Fx.Transitions.Quad.easeInOut
});
$('intvntScrollUp').addEvent('click', function(event) {
event = new Event(event).stop();
actualUpPosition = $('contentDetailScroll').getScroll();
stepUp = actualUpPosition.y - 100;
// alert('Scroll position actuel : '+actualUpPosition.y+' - Step actuel : '+stepUp);
scroll.start(0, stepUp);
});
$('intvntScrollDown').addEvent('click', function(event) {
event = new Event(event).stop();
actualDwnPosition = $('contentDetailScroll').getScroll();
stepDwn = actualDwnPosition.y + 100;
// alert('Scroll position actuel : '+actualDwnPosition.y+' - Step actuel : '+stepDwn);
scroll.start(0, stepDwn);
});
});
Untitled JavaScript (23-Feb @ 19:37)
Syntax Highlighted Code
- ( function test( $ )
- {
- console.debug( $ );
- } )( jQuery );
Plain Code
( function test( $ )
{
console.debug( $ );
} )( jQuery );
Untitled JavaScript (23-Feb @ 08:01)
Syntax Highlighted Code
- /**
- * @author Andre Berg
- *
- * @copyright 2009 Berg Media. All rights reserved.
- [359 more lines...]
Plain Code
/**
* @author Andre Berg
*
* @copyright 2009 Berg Media. All rights reserved.
*
* @license On "as-is" basis. Use at your own risk!
* Free to use personally and commercially,
* free to modify with the limitation that
* it must be made obvious (marked) what was changed.
* Free to distribute, with the limitation that this
* description text incl. author name copyright and
* license must be included without exceptions.
*
* @info Various utility functions mostly pure JS but sometimes
* built around/for jQuery
*
* @deps JavaScript 1.3+ and jQuery 1.2.x
*
*/
/**
* A lightweight, small footprint DOM Builder.
*
* @param {Object} p
* @param {Object} t
*/
function TAGNAME(p, t) {
for (var i in t)
typeof(t[i]) == 'object' ?
TAGNAME(p.appendChild(document.createElement(i.split('_')[0])), t[i])
: i == 's' ?
p.style.cssText = t[i]
: i == 't' ?
p.appendChild(document.createTextNode(t[i]))
: p[i] = t[i];
return p
}
var min = function() {
return Math.min.apply(Math, arguments);
}
/**
* Returns the true type of x. The JavaScript keyword 'typeof'
* doesn't work reliably enough. For example it returns Arrays as Objects.
* This method was invented by Mark Miller.
*/
function typeOf(x) {
var res = Object.prototype.toString.apply(x);
if (res === '[object Array]') {
return 'Array';
} else if (res === '[object Object]') {
return 'Object';
} else if (res === '[object Number]') {
return 'Number';
} else {
return 'Unknown';
}
}
// STRING UTILS //
// Some convenience functions inspired by AppleScript (heh...)
/**
* Convenience method to check if a string starts with a certain string.
* @param {String} str
* @return {Boolean} true/false
*/
String.prototype.startsWith = function(str) {
return (this.indexOf(str) == 0);
};
/**
* Convenience method to check if a string ends with a certain string.
* @param {String} str
* @return {Boolean} true/false
*/
String.prototype.endsWith = function(str) {
return (this.indexOf(str) == this.length - str.length);
};
/**
* Convenience method to check if a string contains a certain string.
* @param {String} str
* @return {Boolean} true/false
*/
String.prototype.contains = function(str) {
return (this.indexOf(str) > -1);
};
/**
* Trims whitespace off both ends of a string.
* Best all around approach of dealing with cases of mixed length.
* @return {String} the trimmed string
*/
String.prototype.trim = function() {
return this.replace(/^\s\s*/, '').replace(/\s\s*$/,'');
};
/**
* Trims whitespace off both ends of a string.
* This function is especially suited for large texts because it
* starts to trim whitespace from the end by looping backwards
* and stopping at the first sign of a non-whitespace character.
*
* @return {String} the trimmed string
*/
String.prototype.trim2 = function() {
var str = this.replace(/^\s\s*/, '');
for (var i = str.length - 1; i >= 0; i--) {
if (/\S/.test(str.charAt(i))) {
str = str.substring(0, i + 1);
break;
}
}
return str;
};
/**
* Trims whitespace of of both ends of a string.
* Uses a non-regex approach for the trimming which might yield better results
* with strings that have excessive amounts of leading whitespace.
* One caveat; MSIE might show problems with matching the \v (vertical tab) character
* included in the whitespace string variable.
*
* @return {String} the trimmed string
*/
String.prototype.fastTrim = function() {
var s = this;
var whitespace = ' \n\r\t\v\f\u00a0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000';
var i = 0, j = s.length - 1;
while (i < s.length && whitespace.indexOf(s.charAt(i)) != -1)
i++;
while (j > i && whitespace.indexOf(s.charAt(j)) != -1)
j--;
return s.substring(i, j + 1);
}
/**
* Trims whitespace off the left side of a string.
* @return {String} the trimmer string
*/
String.prototype.trimLeft = function() {
return this.replace(/^\s+/, '');
};
/**
* Trims whitespace off the right side of a string.
* @return {String} the trimmer string
*/
String.prototype.trimRight = function() {
var str = this;
for (var i = str.length - 1; i >= 0; i--) {
if (/\S/.test(str.charAt(i))) {
str = str.substring(0, i + 1);
break;
}
}
return str;
};
// ARRAY UTILS //
/**
* Returns the smallest number in an array.
* @param {Array} array an array of Numbers
* @return {Number} the smallest number in the array.
*/
Array.prototype.min = function(){ return Math.min.apply( Math, this ); };
/**
* Returns the largest number in an array.
* @param {Array} array an array of Numbers
* @return {Number} the largest number in the array.
*/
Array.prototype.max = function(){ return Math.max.apply( Math, this ); };
/**
* Takes the sum of numeric arrays.
* @return {Number} the total of all members added together
*/
Array.prototype.sum = function() {
var total = 0;
for(var i = 0; i < this.length; i++) {
total += this[i];
}
return total;
};
/**
* Returns a slice of an array. Has negative slicing support.
* Numbers bigger than array length are wrapped around, e.g. 12 for length of 10 gives 2.
* This works both with negative and positive numbers, except when to is positive and from
* is smaller than array length. In this case to will be set to array.length.
*
* @param {Number} from start of the slice
* @param {Number} to end of the slice
*
* @return {Array} the new sliced array
*/
Array.prototype.slice = function(from ,to) {
var newArr = [];
var len = this.length;
if (!to) to = len;
if (!from) from = 0;
if (to > len) to = len;
// support for negative slicing
// from either or both ends
if (from < 0 && to < 0) {
from = ((from % len) + len);
to = ((to % len) + len);
}
else if (from < 0) {
from = ((from % len) + len);
}
else if (to < 0) {
to = ((to % len) + len);
}
var f1 = from;
var t1 = to;
from = Math.min(f1, t1);
to = Math.max(f1, t1);
// console.log("from = " + from + ", to = " + to + ", len = " + len);
if (from == to || from > len)
return newArr;
for (var i = from; i < to; i++) {
newArr.push(this[i]);
}
return newArr;
};
/**
* Assert that an expression is either true or false.
* Compare to what was expected (either passes or fails for that assumption).
* You can either pass your own info message (recommended, since it is somewhat faster)
* in which you declare what you expect the outcome of the evaluation to be.
* For example: "expr should be true" or "expr will fail".
* You can also just use "true", "false", "pass" or "fail" for msg and have the function generate
* the info message for you (slower). assert() takes around 5-8ms per call on a fast machine.
*
* You can block assertions globally by setting window.BLOCK_ASSERTIONS to true.
*
* @param {Expression} expr the expression to evaluate
* @param {String} msg the expectational message i.e. "expr should be true" or "expr will fail"
* @param {Boolean} alertOnError if true posts an alert() on AssertionError (=> outcome differs from expectation).
* Of course this won't make much of a difference if alert() is the only available debugging tool.
*
* @return {Boolean} evaluation state of expr
*/
function assert(expr, msg, alertOnError) {
var BLOCK_ASSERTIONS = window.BLOCK_ASSERTIONS || false;
if (BLOCK_ASSERTIONS) return false;
var pass = "pass";
var fail = "fail";
var s = [pass, fail];
var state = expr ? true : false;
var slabel = s[state?1:0];
var anypat = /(fail|pass|true|false)/i;
var onlypat = /^(fails?|pass(es)?|true|false)$/i;
var passpat = /(pass|true)/i;
var failpat = /(fail|false)/i;
var logf = console.log ? console.log : alert;
// defaults
alertOnError = alertOnError || false;
msg = msg || slabel;
// parse expectation message for the intended outcome of the evaluation
var expect = anypat.test(msg) ? msg.match(anypat)[0] : slabel;
// cache some essential comparisons
var ismatch = (slabel == expect || slabel == s[expect?1:0]);
if (onlypat.test(msg)) {
// prep a default info string if msg only contains one of these words.
// caveat: this is quite costly in terms of performance in critical code
// ergo it's always best to define your own message for msg
msg = "Was expected to " + (/true|false/.test(expect) ? "be " : "") + expect + " " + (ismatch ? "and" : "but") + " " + slabel + (slabel == pass ? "es" : "s");
}
if (!anypat.test(msg)) {
// msg contains neither pattern indicative for what the outcome should be
// which means an AssertionError cannot be detected and we just log
// the outcome without breaking/alerting on AssertionError
alertOnError = false;
}
if (!ismatch) {
(alertOnError ? alert : logf)("AssertionError: " + slabel.toUpperCase() + ": " + msg);
} else {
logf(slabel.toUpperCase() + ": " + msg);
}
return ismatch;
}
/**
* A logging function which logs an arbitrary amount of arguments
* to the console or via alert depending on whats available.
*
* One calls the log() function with any amount of arguments which are
* concatenated as strings and output to the logging device.
*
* @return {Boolean} true if logging succeeded, false if logging was blocked
* by the global variable window.BLOCK_LOGS
*/
function log(){
BLOCK_LOGS = window.BLOCK_LOGS || false;
if (BLOCK_LOGS) return false;
var logf = console.log ? console.log : out.println ? out.println : alert;
var msg = "";
for ( var i = 0; i < arguments.length; i++ ) {
msg += " " + arguments[i];
}
logf(msg);
return true;
}
/**
* A simple timing function.
* @param {Number} n number of loops. more means more accuracy
* @param {Function} func the function to execute
* @param {Any} arguments for the function you can pass as many as you like or none
*
* @return {Number} the average execution time in ms
*/
function time(n, func) {
var args = [];
for (var j = 2; j < arguments.length; j++)
args.push(arguments[j]);
if (args.length > 0) {
var t0 = new Date().getTime();
for (var i = 0; i < n; i++) {
func.apply(this, args);
};
var t1 = new Date().getTime();
} else {
var t0 = new Date().getTime();
for (var i = 0; i < n; i++) {
func.call(this);
}
var t1 = new Date().getTime();
}
return (t1 - t0) / n;
};
Untitled JavaScript (20-Feb @ 14:01)
Syntax Highlighted Code
- // builds a PHP-compatible query string from a hash
- // includes support for arrays and hashes
- function param(data) {
- // array of key=value pairs to build the query string
- [34 more lines...]
Plain Code
// builds a PHP-compatible query string from a hash
// includes support for arrays and hashes
function param(data) {
// array of key=value pairs to build the query string
var processed = [];
// adds a key/value pair to the processed array
// index is used for assoc and non-assoc arrays
function add(key, value, index) {
var encoded = encodeURIComponent(key);
if (typeof index == 'string') {
encoded += '[' + encodeURIComponent(index) + ']';
}
encoded += '=' + encodeURIComponent(value);
processed.push(encoded);
}
$.each(data, function(key, value) {
// skip null/undefined
if (value === null || value === undefined) { return; }
// handle simple values
if (typeof value == 'string' || typeof value == 'number') {
add(key, value);
// handle arrays
} else if ($.isArray(value)) {
$.each(value, function() {
add(key, this, '');
});
// handle hashes
} else {
$.each(value, function(hashKey, hashValue) {
add(key, hashValue, hashKey);
});
}
});
return processed.join('&').replace(/%20/g, '+');
}
Untitled JavaScript (13-Feb @ 14:22)
Syntax Highlighted Code
- bindFirst: function(types, data, fn) {
- return this.each(function(index, elem) {
- $.each(types.split(/\s+/), function(index, type) {
- var eventType = type.split(".").shift(),
- [13 more lines...]
Plain Code
bindFirst: function(types, data, fn) {
return this.each(function(index, elem) {
$.each(types.split(/\s+/), function(index, type) {
var eventType = type.split(".").shift(),
events = $.data(elem, "events"),
originalEvents = events && events[eventType] || null;
if (!originalEvents) {
return $(elem).bind(type, data, fn);
}
events[eventType] = {};
$(elem).bind(type, data, fn);
$.extend(events[eventType], originalEvents);
});
});
}
Untitled JavaScript (13-Feb @ 14:12)
Syntax Highlighted Code
- bindFirst: function(types, data, fn) {
- return this.each(function(index, elem) {
- $.each(types.split(/\s+/), function(index, type) {
- var eventType = type.split(".").shift(),
- [13 more lines...]
Plain Code
bindFirst: function(types, data, fn) {
return this.each(function(index, elem) {
$.each(types.split(/\s+/), function(index, type) {
var eventType = type.split(".").shift(),
events = $.data(elem, "events"),
originalEvents = events && events[eventType] ? events[eventType] : {};
if (!originalEvents) {
return $(elem).bind(type, data, fn);
}
events[eventType] = {};
$(elem).bind(type, data, fn);
$.extend(events[eventType], originalEvents);
});
});
}
Untitled JavaScript (13-Feb @ 14:07)
Syntax Highlighted Code
- // TODO: support multiple types
- bindFirst: function(type, data, fn) {
- var args = arguments,
- eventType = type;
- [13 more lines...]
Plain Code
// TODO: support multiple types
bindFirst: function(type, data, fn) {
var args = arguments,
eventType = type;
return this.each(function() {
var events = $.data(this, "events"),
originalEvents = events && events[eventType] ? events[eventType] : {};
if (!originalEvents) {
return $(this).bind(type, data, fn);
}
events[eventType] = {};
$(this).bind(type, data, fn);
$.extend(events[eventType], originalEvents);
});
}
JavaScript event delegator template (10-Feb @ 13:48)
Syntax Highlighted Code
- window.onload = function () { var navigation = document.getElementById("some_element_high_up_in_the_hierarchy");
- navigation.onclick = function (evt) {
- // Event tweaks, since IE wants to go its own way...
- var event = evt || window.event;
- [5 more lines...]
Plain Code
window.onload = function () { var navigation = document.getElementById("some_element_high_up_in_the_hierarchy");
navigation.onclick = function (evt) {
// Event tweaks, since IE wants to go its own way...
var event = evt || window.event;
var target = event.target || event.srcElement;
if(target.className && target.className==='someClass') {
//do your stuff here
}
}
};
jQuery indexOf (9-Feb @ 00:11)
Syntax Highlighted Code
- $(el).prevAll().length;
Plain Code
$(el).prevAll().length;
Untitled JavaScript (2-Feb @ 16:51)
Syntax Highlighted Code
- 28ded51460348e2179e0b1ee3ae35ca5ed6a7f01
Plain Code
28ded51460348e2179e0b1ee3ae35ca5ed6a7f01
Untitled JavaScript (2-Feb @ 03:37)
Syntax Highlighted Code
- function testWidgetDefaults(widget, defaults) {
- var pluginDefaults = $.extend({},
- $.widget.defaults,
- $.ui[widget].defaults
- [74 more lines...]
Plain Code
function testWidgetDefaults(widget, defaults) {
var pluginDefaults = $.extend({},
$.widget.defaults,
$.ui[widget].defaults
);
// ensure that all defualts have the correct value
test('defined defaults', function() {
$.each(defaults, function(key, val) {
same(pluginDefaults[key], val, key);
});
});
// ensure that all defaults were tested
test('tested defaults', function() {
$.each(pluginDefaults, function(key) {
ok(key in defaults, key);
});
});
// defaults after init
test('defaults on init', function() {
var el = $('<div/>')[widget](),
instance = el.data(widget);
$.each(defaults, function(key, val) {
same(instance.options[key], val, key);
});
el.remove();
});
}
function testSettingOptions(widget, options) {
test('option values', function() {
var el = $('<div/>')[widget](),
instance = el.data(widget);
$.each(options, function(i, option) {
$.each({
'null': null,
'false': false,
'true': true,
zero: 0,
number: 1,
'empty string': '',
string: 'string',
'empty array': [],
array: ['array'],
'empty object': {},
object: {obj: 'ect'},
date: new Date(),
regexp: /regexp/,
'function': function() {}
}, function(type, val) {
el[widget]('option', option, val);
same(instance.options[option], val, option + ': ' + type);
});
});
});
}
function testWidgetOverrides(widget) {
test('$.widget overrides', function() {
$.each(['option', '_getData', '_trigger'], function(i, method) {
ok($.widget.prototype[method] == $.ui[widget].prototype[method],
'should not override ' + method);
});
});
}
function commonWidgetTests(widget, settings) {
var options = [];
$.each(settings.defaults, function(option) {
options.push(option);
});
testWidgetDefaults(widget, settings.defaults);
// testSettingOptions(widget, options);
testWidgetOverrides(widget);
}
Untitled JavaScript (30-Jan @ 05:42)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- [267 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="en-us" http-equiv="Content-Language" />
<meta content="Twitter is a free social messaging utility for staying connected in real-time" name="description" />
<meta content="no" http-equiv="imagetoolbar" />
<meta content="width = 780" name="viewport" />
<meta content="4FTTxY4uvo0RZTMQqIyhh18HsepyJOctQ+XTOu1zsfE=" name="verify-v1" />
<meta content="y" name="session-loggedin" />
<meta content="19577182" name="session-userid" />
<meta content="biophylia" name="session-user-screen_name" />
<meta content="poecooper" name="page-user-screen_name" />
<title>Twitter / poecooper</title>
<link href="http://assets1.twitter.com/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="http://assets1.twitter.com/images/twitter_57.png" rel="apple-touch-icon" />
<link href="http://assets2.twitter.com/stylesheets/screen.css?1233275810" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="http://assets2.twitter.com/stylesheets/master.css?1233275806" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="http://assets2.twitter.com/stylesheets/ie.css?1233275807" media="screen, projection" rel="stylesheet" type="text/css" />
<style type="text/css">
body { background: #9ae4e8 url(http://assets2.twitter.com/images/bg.gif) fixed no-repeat top left; }
div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url(http://static.twitter.com/images/arr2.gif) no-repeat 25px 0px; }
.status-btn input.round-btn { background: url('http://static.twitter.com/images/round-btn.gif'); }
.status-btn input.round-btn:hover { background: url('http://static.twitter.com/images/round-btn-hover.gif'); }
.status-btn input.disabled, .status-btn input.disabled:hover { background: url('http://static.twitter.com/images/round-btn.gif'); }
.hentry .actions .fav { background-image: url('http://static.twitter.com/images/icon_star_full.gif'); }
.hentry .actions .non-fav { background-image: url('http://static.twitter.com/images/icon_star_empty.gif'); }
.hentry .actions .fav-throb, .hentry .actions a.del-throb { background-image: url('http://static.twitter.com/images/icon_throbber.gif'); }
.hentry .actions .del { background-image: url('http://static.twitter.com/images/icon_trash.gif'); }
body#show .repl, .hentry .actions .repl { background-image: url('http://static.twitter.com/images/icon_reply.gif'); }
.direct_message .actions .repl { background-image: url('http://static.twitter.com/images/icon_direct_reply.gif'); }
.direct_message .actions .del { background-image: url('http://static.twitter.com/images/icon_trash.gif'); }
.notify { background-image: url('http://static.twitter.com/images/girl.gif'); }
.promotion, ul#tabMenu a#keyword_search_tab.hover, ul#tabMenu a:hover { background-image: url('http://static.twitter.com/images/pale.png'); }
div#follow-toggle.closed { background-image: url('http://static.twitter.com/images/toggle_closed.gif'); }
div#follow-toggle.opened { background-image: url('http://static.twitter.com/images/toggle_opened.gif'); }
.follow-actions .following { background-image: url('http://static.twitter.com/images/checkmark.gif'); }
</style>
</head>
<body class="account ie" id="profile">
<div id="dim-screen"></div>
<ul id="accessibility">
<li>On a mobile phone? Check out <a href="http://m.twitter.com/">m.twitter.com</a>!</li>
<li><a href="#footer" accesskey="2">Skip to navigation</a></li>
<li><a href="#tabMenu" accesskey="3">Jump to the sidebar</a></li> <li><a href="#signin">Skip to sign in form</a></li>
</ul>
<div id="container" class="subpage">
<span id="loader" style="display:none"><img alt="Loader" src="http://assets0.twitter.com/images/loader.gif" /></span>
<h1 id="header">
<a href="/home" title="Twitter: home" accesskey="1">
<img alt="Twitter.com" height="41" src="http://assets1.twitter.com/images/twitter_logo_s.png" width="175" />
</a>
</h1>
<div id="flash" style="display:none;">
</div>
<div class="content-bubble-arrow"></div>
<table cellspacing="0" class="columns">
<tbody>
<tr>
<td id="content" class="column">
<div class="wrapper">
<div class="profile-head">
<h2 class="thumb">
<img alt="" class="profile-img" height="73" src="http://s3.amazonaws.com/twitter_production/profile_images/65319488/graffiti-istanbul_bigger.jpg" width="73" /> poecooper
</h2>
<div class="clear"></div>
<br />
<span class='sub-h1'>You need to send a request before you can start following this person.</span>
</td></tr></table>
<center>
<form action="friendships/create/17594015" method="post"><div style="margin:0;padding:0"><input name="authenticity_token" value="6c1729bbb0a192d52b7e01ff2653c232cfca4de8" /></div> name="commit" type="submit"
</div>
</div>
</td>
<td id="side_base" class="column">
<div id="side">
<div class="section">
<span class="section-links">
</ul>
</address>
<table class="stats" cellspacing="0">
<tr>
<td>
<a href="/poecooper/friends" id="following_count_link" rel="me">
<span id="following_count" class="stats_count numeric">1</span>
<br/>
<span class="label">Following</span>
</a>
</td>
<td>
<a href="/poecooper/followers" id="follower_count_link" rel="me">
<span id="follower_count" class="stats_count numeric">1</span>
<br/>
<span class="label">Followers</span>
</a>
</td><td>
<a href="/poecooper" rel="me"><span id="update_count" class="stats_count numeric">1</span><br/>
<span class="label">Updates</span></a>
</td>
</tr>
</table>
</div>
<ul id="tabMenu">
<li>
<a href="/poecooper" id="updates_tab">Updates</a> </li>
<li>
<a href="/poecooper/favourites" id="favorites_tab">Favorites</a> </li>
</ul>
<div class="section last">
<div class="section-header">
<h1>Actions</h1>
</div> <!-- /section-header -->
<ul>
<a href="/blocks/confirm/17594015" style="color: grey;">block</a> poecooper
</ul>
<br/>
<div class="section-header">
<h1>Following</h1>
</div>
<div id="friends">
<span class="vcard">
<a href="http://twitter.com/GratefulJen" class="url" rel="contact" title="GratefulJen"><img alt="GratefulJen" class="photo fn" height="24" src="http://s3.amazonaws.com/twitter_production/profile_images/65266377/photoshop-heart-brushes-21_mini.jpg" width="24" /></a>
</span>
</div>
<br/>
</div>
</div>
<hr />
</td>
</tr>
</tbody>
</table>
<div id="footer" >
<h3>Footer</h3>
<ul>
<li class="first">© 2009 Twitter</li>
<li><a href="/about#about">About Us</a></li>
<li><a href="/about#contact">Contact</a></li>
<li><a href="http://blog.twitter.com">Blog</a></li>
<li><a href="http://status.twitter.com">Status</a></li>
<li><a href="/downloads">Apps</a></li>
<li><a href="http://apiwiki.twitter.com/">API</a></li>
<li><a href="http://search.twitter.com">Search</a></li>
<li><a href="http://help.twitter.com">Help</a></li>
<li><a href="/jobs">Jobs</a></li>
<li><a href="/terms">Terms</a></li>
<li><a href="/privacy">Privacy</a></li>
</ul>
</div>
<hr />
<div id="navigation">
<ul>
<li class="first"><a href="http://twitter.com/home" id="home_link">Home</a></li>
<li><a href="http://twitter.com/biophylia" id="profile_link">Profile</a></li>
<li><a href="http://twitter.com/invitations" id="find_people_link">Find People</a></li>
<li><a href="/account/settings" id="settings_link">Settings</a></li>
<li><a href="http://help.twitter.com" id="help_link">Help</a></li>
<li><a id="sign_out_link" href="#" onclick="document.getElementById('sign_out_form').submit(); return false;">Sign out</a></li>
</ul>
<form method="post" id="sign_out_form" action="/sessions/destroy" style="display:none;">
<input name="authenticity_token" value="6c1729bbb0a192d52b7e01ff2653c232cfca4de8"
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js" type="text/javascript"></script><script src="http://assets1.twitter.com/javascripts/application.js?1233275775" type="text/javascript"></script><script type="text/javascript">
//<![CDATA[
twttr.form_authenticity_token = '6c1729bbb0a192d52b7e01ff2653c232cfca4de8';
//]]>
</script><script type="text/javascript">
//<![CDATA[
$( function () {
$('body#profile ul#tabMenu li a#updates_tab, body#favourings ul#tabMenu li a#favorites_tab').isSidebarTab();
});
//]]>
</script>
<!-- BEGIN google analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-30775-6");
pageTracker._setDomainName("twitter.com");
url = '/profile/poecooper';
pageTracker._setVar('Logged In');
pageTracker._setVar('lang: en_US');
pageTracker._trackPageview(url);
</script>
<!-- END google analytics -->
</body>
</html>
Untitled JavaScript (30-Jan @ 05:34)
Syntax Highlighted Code
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- [280 more lines...]
Plain Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="en-us" http-equiv="Content-Language" />
<meta content="Twitter is a free social messaging utility for staying connected in real-time" name="description" />
<meta content="no" http-equiv="imagetoolbar" />
<meta content="width = 780" name="viewport" />
<meta content="4FTTxY4uvo0RZTMQqIyhh18HsepyJOctQ+XTOu1zsfE=" name="verify-v1" />
<meta content="y" name="session-loggedin" />
<meta content="19577182" name="session-userid" />
<meta content="biophylia" name="session-user-screen_name" />
<meta content="poecooper" name="page-user-screen_name" />
<title>Twitter / poecooper</title>
<link href="http://assets1.twitter.com/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="http://assets1.twitter.com/images/twitter_57.png" rel="apple-touch-icon" />
<link href="http://assets2.twitter.com/stylesheets/screen.css?1233275810" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="http://assets2.twitter.com/stylesheets/master.css?1233275806" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="http://assets2.twitter.com/stylesheets/ie.css?1233275807" media="screen, projection" rel="stylesheet" type="text/css" />
<style type="text/css">
body { background: #9ae4e8 url(http://assets2.twitter.com/images/bg.gif) fixed no-repeat top left; }
div.content-bubble-arrow { margin-top: 6px; padding-top: 11px; background: url(http://static.twitter.com/images/arr2.gif) no-repeat 25px 0px; }
.status-btn input.round-btn { background: url('http://static.twitter.com/images/round-btn.gif'); }
.status-btn input.round-btn:hover { background: url('http://static.twitter.com/images/round-btn-hover.gif'); }
.status-btn input.disabled, .status-btn input.disabled:hover { background: url('http://static.twitter.com/images/round-btn.gif'); }
.hentry .actions .fav { background-image: url('http://static.twitter.com/images/icon_star_full.gif'); }
.hentry .actions .non-fav { background-image: url('http://static.twitter.com/images/icon_star_empty.gif'); }
.hentry .actions .fav-throb, .hentry .actions a.del-throb { background-image: url('http://static.twitter.com/images/icon_throbber.gif'); }
.hentry .actions .del { background-image: url('http://static.twitter.com/images/icon_trash.gif'); }
body#show .repl, .hentry .actions .repl { background-image: url('http://static.twitter.com/images/icon_reply.gif'); }
.direct_message .actions .repl { background-image: url('http://static.twitter.com/images/icon_direct_reply.gif'); }
.direct_message .actions .del { background-image: url('http://static.twitter.com/images/icon_trash.gif'); }
.notify { background-image: url('http://static.twitter.com/images/girl.gif'); }
.promotion, ul#tabMenu a#keyword_search_tab.hover, ul#tabMenu a:hover { background-image: url('http://static.twitter.com/images/pale.png'); }
div#follow-toggle.closed { background-image: url('http://static.twitter.com/images/toggle_closed.gif'); }
div#follow-toggle.opened { background-image: url('http://static.twitter.com/images/toggle_opened.gif'); }
.follow-actions .following { background-image: url('http://static.twitter.com/images/checkmark.gif'); }
</style>
</head>
<body class="account ie" id="profile">
<div id="dim-screen"></div>
<ul id="accessibility">
<li>On a mobile phone? Check out <a href="http://m.twitter.com/">m.twitter.com</a>!</li>
<li><a href="#footer" accesskey="2">Skip to navigation</a></li>
<li><a href="#tabMenu" accesskey="3">Jump to the sidebar</a></li> <li><a href="#signin">Skip to sign in form</a></li>
</ul>
<div id="container" class="subpage">
<span id="loader" style="display:none"><img alt="Loader" src="http://assets0.twitter.com/images/loader.gif" /></span>
<h1 id="header">
<a href="/home" title="Twitter: home" accesskey="1">
<img alt="Twitter.com" height="41" src="http://assets1.twitter.com/images/twitter_logo_s.png" width="175" />
</a>
</h1>
<div id="flash" style="display:none;">
</div>
<div class="content-bubble-arrow"></div>
<table cellspacing="0" class="columns">
<tbody>
<tr>
<td id="content" class="column">
<div class="wrapper">
<div class="profile-head">
<h2 class="thumb">
<img alt="" class="profile-img" height="73" src="http://s3.amazonaws.com/twitter_production/profile_images/65319488/graffiti-istanbul_bigger.jpg" width="73" /> poecooper
</h2>
<div class="clear"></div>
<div class="protected-box">
<table><tr><td><br /><img alt="Padlock_large" src="http://assets3.twitter.com/images/padlock_large.gif" /></td>
<td><h1>This person has protected their updates.</h1>
<br />
<span class='sub-h1'>You need to send a request before you can start following this person.</span>
</td></tr></table>
<center>
<form action="friendships/create/17594015" method="post"><div style="margin:0;padding:0"><input name="authenticity_token" type="hidden" value="6c1729bbb0a192d52b7e01ff2653c232cfca4de8" /></div> <input id="send_request" name="commit" type="submit" value="Send request" />
</form>
</center><br />
</div>
</div>
</div>
</td>
<td id="side_base" class="column">
<div id="side">
<div class="section">
<span class="section-links">
<img src="http://assets0.twitter.com/images/icon_lock_sidebar.gif" title="This user’s updates are protected."/>
</span>
<address>
<ul class="about vcard entry-author">
<li><span class="label">Name</span> <span class="fn">poecooper</span></li>
</ul>
</address>
<table class="stats" cellspacing="0">
<tr>
<td>
<a href="/poecooper/friends" id="following_count_link" rel="me">
<span id="following_count" class="stats_count numeric">1</span>
<br/>
<span class="label">Following</span>
</a>
</td>
<td>
<a href="/poecooper/followers" id="follower_count_link" rel="me">
<span id="follower_count" class="stats_count numeric">1</span>
<br/>
<span class="label">Followers</span>
</a>
</td><td>
<a href="/poecooper" rel="me"><span id="update_count" class="stats_count numeric">1</span><br/>
<span class="label">Updates</span></a>
</td>
</tr>
</table>
</div>
<ul id="tabMenu">
<li>
<a href="/poecooper" id="updates_tab">Updates</a> </li>
<li>
<a href="/poecooper/favourites" id="favorites_tab">Favorites</a> </li>
</ul>
<div class="section last">
<div class="section-header">
<h1>Actions</h1>
</div> <!-- /section-header -->
<ul>
<a href="/blocks/confirm/17594015" style="color: grey;">block</a> poecooper
</ul>
<br/>
<div class="section-header">
<h1>Following</h1>
</div>
<div id="friends">
<span class="vcard">
<a href="http://twitter.com/GratefulJen" class="url" rel="contact" title="GratefulJen"><img alt="GratefulJen" class="photo fn" height="24" src="http://s3.amazonaws.com/twitter_production/profile_images/65266377/photoshop-heart-brushes-21_mini.jpg" width="24" /></a>
</span>
</div>
<br/>
</div>
</div>
<hr />
</td>
</tr>
</tbody>
</table>
<div id="footer" >
<h3>Footer</h3>
<ul>
<li class="first">© 2009 Twitter</li>
<li><a href="/about#about">About Us</a></li>
<li><a href="/about#contact">Contact</a></li>
<li><a href="http://blog.twitter.com">Blog</a></li>
<li><a href="http://status.twitter.com">Status</a></li>
<li><a href="/downloads">Apps</a></li>
<li><a href="http://apiwiki.twitter.com/">API</a></li>
<li><a href="http://search.twitter.com">Search</a></li>
<li><a href="http://help.twitter.com">Help</a></li>
<li><a href="/jobs">Jobs</a></li>
<li><a href="/terms">Terms</a></li>
<li><a href="/privacy">Privacy</a></li>
</ul>
</div>
<hr />
<div id="navigation">
<ul>
<li class="first"><a href="http://twitter.com/home" id="home_link">Home</a></li>
<li><a href="http://twitter.com/biophylia" id="profile_link">Profile</a></li>
<li><a href="http://twitter.com/invitations" id="find_people_link">Find People</a></li>
<li><a href="/account/settings" id="settings_link">Settings</a></li>
<li><a href="http://help.twitter.com" id="help_link">Help</a></li>
<li><a id="sign_out_link" href="#" onclick="document.getElementById('sign_out_form').submit(); return false;">Sign out</a></li>
</ul>
<form method="post" id="sign_out_form" action="/sessions/destroy" style="display:none;">
<input name="authenticity_token" value="6c1729bbb0a192d52b7e01ff2653c232cfca4de8" type="hidden" />
</form>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js" type="text/javascript"></script><script src="http://assets1.twitter.com/javascripts/application.js?1233275775" type="text/javascript"></script><script type="text/javascript">
//<![CDATA[
twttr.form_authenticity_token = '6c1729bbb0a192d52b7e01ff2653c232cfca4de8';
//]]>
</script><script type="text/javascript">
//<![CDATA[
$( function () {
$('body#profile ul#tabMenu li a#updates_tab, body#favourings ul#tabMenu li a#favorites_tab').isSidebarTab();
});
//]]>
</script>
<!-- BEGIN google analytics -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-30775-6");
pageTracker._setDomainName("twitter.com");
url = '/profile/poecooper';
pageTracker._setVar('Logged In');
pageTracker._setVar('lang: en_US');
pageTracker._trackPageview(url);
</script>
<!-- END google analytics -->
</body>
</html>
Untitled JavaScript (22-Jan @ 16:41)
Syntax Highlighted Code
- //DEFINIZIONE DI VARIABILI GLOBALI
- var dati_array_immobili ="";
- [402 more lines...]
Plain Code
//DEFINIZIONE DI VARIABILI GLOBALI
var dati_array_immobili ="";
var idimmobilemax=10000;
var idimmobilemin=0;
var abitativa_commerciale =0;
//questa function serve per settare il codice cliente
function setClienteinBox(array_clienti_id) {
document.getElementById("dati_del_proprietario").innerHTML = d_ric_cliente[array_clienti_id+1];
document.getElementById("immobilenew_idcliente").setAttribute( "value", d_ric_cliente[array_clienti_id] )
}
$(document).ready(function() {
/************************************************
//attributi iniziali //
*************************************************/
$("#makepdf").wrap("<a href='pdf.php?idimmobile="+idimmobile+"'>");
$("#wiz1").show();
$("#riferimento").html("Rif. "+idimmobile);
$("#navigation").show();
$("#ricerca_cliente").hide();
$("#immobilenew_pubblicita").val('');
$("#tabella_info_aggiuntive").slideUp("fast");
$("#tabella_finiture").slideUp("fast");
//Definisci i TOOLTIP
$('#navigation *').tooltip({
showURL: false
});
$('#wiz1 *').tooltip({
showURL: false
});
$.ajax({
type: "GET",
dataType: "text",
url: "handler_abitativo.php",
data: "action=getidimmobilemax",
success: function(text){
dati_array_idimm = text.split("#");
idimmobilemax=$.trim(dati_array_idimm[0]);
idimmobilemin=$.trim(dati_array_idimm[1]);
}
});
$("#latitudineLongitudine").click(function() {
tempIndirizzo = $("#immobilenew_indirizzo").val();
$("#container").html("");
$("#container").load('div/definisciMappa.php',function() {
$.getScript("js/gestioneMappa.js");
$("#mappa_indirizzo_transfer").attr("value",tempIndirizzo);
})
})
//GESTIONE MAPPE END
//associa il datepicker al suo input box
//ed imponi al DP la scelta solo per date future e non pregresse
$.datepicker.regional['it'];
$('#immobilenew_data_scad_incarico').datepicker({
dateFormat: "yy-mm-dd",
showOn: "both",
buttonImage: "../images/calendar.gif",
buttonImageOnly: true
});
//associa il datepicker al suo input box
//ed imponi al DP la scelta solo per date future e non pregresse
$.datepicker.regional['it'];
$('#immobilenew_data_verifica').datepicker({
dateFormat: "yy-mm-dd",
showOn: "both",
buttonImage: "../images/calendar.gif",
buttonImageOnly: true
});
//format number
$("#immobilenew_vendita_valore").floatnumber(".",2);
$("#immobilenew_vendita_trattabilita").floatnumber(".",2);
$("#immobilenew_affitto_valore").floatnumber(".",2);
$("#immobilenew_affitto_trattabilita").floatnumber(".",2);
//combo select editabili
$('#immobile_agente_segnalatore').editableCombobox();
/*************************************************************************************
//autocompletamento comune
*************************************************************************************/
$("#clientenew_comune").change(function () {
comune = $("#clientenew_comune").val();
$.ajax({
type: "GET",
dataType: "text",
url: "../_util/provincia_form/provinciaform_id.php",
data: "comune="+comune,
success: function(text){
text = $.trim(text);
comuni_province_array = text.split("#");
$("#clientenew_comune").val(comuni_province_array[0]);
$("#clientenew_provincia").val(comuni_province_array[2]);
$("#clientenew_cap").val(comuni_province_array[1]);
$("#clientenew_idcomune").val(comuni_province_array[3]);
$.ajax({
type: "GET",
dataType: "text",
url: "../_util/frazione_from/frazione_id.php",
data: "comune="+comuni_province_array[3],
success: function(text){
text = $.trim(text);
comuni_province_array = text.split("#");
$("#clientenew_idfrazione").html("");
for(i=0;i<comuni_province_array.length-1;i++) {
if(i%2==0){
$("#clientenew_idfrazione").append("<option value='"+comuni_province_array[i]+"' >"+comuni_province_array[i+1]+"</option>");
}
}
$("#clientenew_idfrazione").val(dati_array_immobili[4]);
},
error : function (XMLHttpRequest, textStatus, errorThrown) {
// typically only one of textStatus or errorThrown
// will have info
alert("error"); // the options for this ajax request
}
});
},
error : function (XMLHttpRequest, textStatus, errorThrown) {
// typically only one of textStatus or errorThrown
// will have info
alert("error"); // the options for this ajax request
}
});
});
$("#_close_dettagli").click(function(event) {
//alert("click");
event.preventDefault();
if (($("#_close_dettagli").attr("src"))=="../../../images/icons/png32/up16.png") {
$("#tabella_finiture").slideUp("normal");
$("#_close_dettagli").attr("src","../../../images/icons/png32/down16.png");
} else {
$("#tabella_finiture").slideDown("normal");
$("#_close_dettagli").attr("src","../../../images/icons/png32/up16.png");
}
});
$("#_close_dettagli_ulteriori_info").click(function(event) {
//alert("click");
event.preventDefault();
if (($("#_close_dettagli_ulteriori_info").attr("src"))=="../../../images/icons/png32/up16.png") {
$("#tabella_info_aggiuntive").slideUp("normal");
$("#_close_dettagli_ulteriori_info").attr("src","../../../images/icons/png32/down16.png");
} else {
$("#tabella_info_aggiuntive").slideDown("normal");
$("#_close_dettagli_ulteriori_info").attr("src","../../../images/icons/png32/up16.png");
}
});
//attiva la funzione seleziona il proprietario
$("#start_select_proprietario").click(function(event) {
//#dati_del_proprietario
$('#ricerca_cliente').dialog({
modal: true,
draggable: true,
height : 300,
width:350,
resizable:true,
title: 'Cerca Cliente',
overlay: {
opacity: 0.5,
background: "black"
}
}).show();
event.preventDefault();
//$('#ricerca_cliente').show();
});
var g = {
clearfields: function () {
$(":text").val("0");
$(":checkbox").attr('checked',false);
},
populate: function () {
$.ajax({
type: "GET",
dataType: "text",
url: "handler_abitativo.php",
data: "action=geteditimmobile&idimmobile="+idimmobile,
success: function(text){
text = $.trim(text);
dati_array_immobili = text.split("#");
//DATI DA CARICARE
if(dati_array_immobili[0]==1){$("#immobilenew_vendita").attr('checked',true)}
if(dati_array_immobili[1]==1){$("#immobilenew_affitto").attr('checked',true)}
$("#immobilenew_indirizzo").val(dati_array_immobili[2]);
$("$clientenew_idcomune").val(dati_array_immobili[3]).change();
$("#clientenew_idfrazione").val(dati_array_immobili[4]).change();
$("#immobilenew_descrizione").val(dati_array_immobili[5]);
$("#immobilenew_tipo_0").val(dati_array_immobili[6]).change();
$("#immobilenew_subtipo_0").val(dati_array_immobili[7]);
if(dati_array_immobili[8]==1){$("#immobilenew_compravenditaiva").attr('checked',true)}
$("#immobilenew_note").val(dati_array_immobili[9]);
$("#immobilenew_finiture_interne").val(dati_array_immobili[10]);
$("#immobilenew_finiture_esterne").val(dati_array_immobili[11]);
$("#immobilenew_disponibilita").val(dati_array_immobili[12]);
$("#immobilenew_spese").val(dati_array_immobili[13]);
$("#immobilenew_visita").val(dati_array_immobili[14]);
$("#immobile_agente").val(dati_array_immobili[15]).change();
$("#immobile_agente_segnalatore").val(dati_array_immobili[16]);
$("#immobile_agente_compilatore").val(dati_array_immobili[17]);
if(dati_array_immobili[18]==1){$("#immobilenew_mandato").attr('checked',true)}
$("#immobilenew_notemandato").val(dati_array_immobili[19]);
$("#immobilenew_mq_commli").val(dati_array_immobili[20]);
$("#immobilenew_mq_calpestabili").val(dati_array_immobili[21]);
$("#immobilenew_pubblicita").val(dati_array_immobili[22]);
$("#immobilenew_idcliente").val(dati_array_immobili[23]);
//ora stampa di dati del cliente
$.ajax({
type: "GET",
dataType: "text",
url: "handler.php",
data: "action=getcliente4firstsearch&idcliente="+$("#immobilenew_idcliente").val(),
success: function(text){
$("#dati_del_proprietario").html($.trim(text));
}
});
$("#immobilenew_data_verifica").val(dati_array_immobili[24]);
$("#immobilenew_data_inserimento").val(dati_array_immobili[25]);
$("#immobilenew_data_scad_incarico").val(dati_array_immobili[26]);
//DATI DA INSERISE NELLE SPECIFICHE TABELLE --> IMMOBILI_ABITATIVI / IMMOBILI_COMMERCIALI
$("#immobilenew_anno_costruzione").val(dati_array_immobili[27]);
$("#immobilenew_vendita_valore").val(dati_array_immobili[28]);
$("#immobilenew_vendita_trattabilita").val(dati_array_immobili[29]);
$("#immobilenew_affitto_valore").val(dati_array_immobili[30]);
$("#immobilenew_affitto_trattabilita").val(dati_array_immobili[31]);
if(dati_array_immobili[32]==1){$("#immobilenew_nuovo").attr('checked',true)}
if(dati_array_immobili[33]==1){$("#immobilenew_da_ristrutturare").attr('checked',true)}
if(dati_array_immobili[34]==1){$("#immobilenew_piantine").attr('checked',true)}
//if(dati_array_immobili[35]==1){$("#immobilenew_garage").attr('checked',true)}
$("#immobilenew_garage").val(dati_array_immobili[35]);
if(dati_array_immobili[36]==1){$("#immobilenew_chiavi").attr('checked',true)}
if(dati_array_immobili[37]==1){$("#immobilenew_luce").attr('checked',true)}
if(dati_array_immobili[38]==1){$("#immobilenew_ascensore").attr('checked',true)}
$("#immobilenew_bagni").val(dati_array_immobili[39]);
$("#immobilenew_vani").val(dati_array_immobili[40]);
$("#immobilenew_piano").val(dati_array_immobili[41]);
if(dati_array_immobili[42]==1){$("#immobilenew_risc_aut").attr('checked',true)}
if(dati_array_immobili[43]==1){$("#immobilenew_peep").attr('checked',true)}
if(dati_array_immobili[44]==1){$("#immobilenew_cantina").attr('checked',true)}
if(dati_array_immobili[45]==1){$("#immobilenew_palazzina").attr('checked',true)}
if(dati_array_immobili[46]==1){$("#immobilenew_ultimo").attr('checked',true)}
if(dati_array_immobili[47]==1){$("#immobilenew_balcone").attr('checked',true)}
if(dati_array_immobili[48]==1){$("#immobilenew_terrazzo").attr('checked',true)}
$("#immobilenew_mq_terrazzo").val(dati_array_immobili[49]);
$("#immobilenew_giardino").val(dati_array_immobili[50]);
if(dati_array_immobili[50]==1){$("#immobilenew_giardino").attr('checked',true)}
$("#immobilenew_mq_giardino").val(dati_array_immobili[51]);
$("#immobilenew_letti").val(dati_array_immobili[52]);
$("#clientenew_comune").val(dati_array_immobili[53]).change();
if (dati_array_immobili[54]!=0&&dati_array_immobili[55]!=0) {
$("#latitudineLongitudine").attr("src","../../../images/icons/png32/weboptions24.png");
$("#latitudineLongitudine").attr("title","Zona configurata correttamente");
}
}
});
}
};
$.ajax({
type: "GET",
dataType: "text",
url: "handler.php",
data: "action=carica_agenti&idimmobile="+idimmobile,
success: function(text){
text = $.trim(text);
$("#immobile_agente").html($("#immobile_agente").html()+text);
$("#immobile_agente_segnalatore").html($("#immobile_agente_segnalatore").html()+text);
$("#immobile_agente_compilatore").html($("#immobile_agente_compilatore").html()+text);
g.populate(); //richiama la funziona populate per riempire i campi
}
});
/*************************************************************************************
//gestisci gli eventi SUBMIT
*************************************************************************************/
$("#form1").submit( function(event) {
//effettua il submit solo se i campi sono stati compilati corretamente
if (validaForm.controlla()) {
//configura dati form1
input = "&idimmobile="+idimmobile+"&immobilenew_tipologia_ab_com=0&immobilenew_idcliente="+$("#immobilenew_idcliente").val() +"&immobile_tipo="+$("#immobilenew_tipo_0").val() +"&immobilenew_subtipo="+$("#immobilenew_subtipo_0").val();
input = input + "&immobilenew_vendita="+$("#immobilenew_vendita").attr('checked') +"&immobilenew_affitto="+$("#immobilenew_affitto").attr('checked') +"&immobilenew_indirizzo="+$("#immobilenew_indirizzo").val();
input = input + "&clientenew_idcomune="+$("#clientenew_idcomune").val() +"&clientenew_idfrazione="+$("#clientenew_idfrazione").val()+"&immobilenew_vendita_valore="+$("#immobilenew_vendita_valore").val();
input = input + "&immobilenew_vendita_trattabilita="+$("#immobilenew_vendita_trattabilita").val() +"&immobilenew_affitto_valore="+$("#immobilenew_affitto_valore").val();
input = input + "&immobilenew_affitto_trattabilita="+$("#immobilenew_affitto_trattabilita").val() +"&immobilenew_descrizione="+$("#immobilenew_descrizione").val();
input = input + "&immobilenew_pubblicita="+$("#immobilenew_pubblicita").val() +"&immobilenew_note="+$("#immobilenew_note").val();
input = input + "&immobilenew_finiture_interne="+$("#immobilenew_finiture_interne").val() +"&immobilenew_finiture_esterne="+$("#immobilenew_finiture_esterne").val();
input = input + "&immobilenew_nuovo="+$("#immobilenew_nuovo").attr('checked')+"&immobilenew_piantine="+$("#immobilenew_piantine").attr('checked');
input = input + "&immobilenew_letti="+$("#immobilenew_letti").val() +"&immobilenew_mq_commli="+$("#immobilenew_mq_commli").val();
input = input + "&immobilenew_da_ristrutturare="+$("#immobilenew_da_ristrutturare").attr('checked') +"&immobilenew_bagni="+$("#immobilenew_bagni").val();
input = input + "&immobilenew_mq_calpestabili="+$("#immobilenew_mq_calpestabili").val() + "&immobilenew_peep="+$("#immobilenew_peep").attr('checked');
input = input + "&immobilenew_chiavi="+$("#immobilenew_chiavi").attr('checked')+ "&immobilenew_vani="+$("#immobilenew_vani").val()+ "&immobilenew_anno_costruzione="+$("#immobilenew_anno_costruzione").val();
input = input + "&immobilenew_ascensore="+$("#immobilenew_ascensore").attr('checked')+"&immobilenew_luce="+$("#immobilenew_luce").attr('checked') +"&immobilenew_garage="+$("#immobilenew_garage").val();
input = input + "&immobilenew_cantina="+$("#immobilenew_cantina").attr('checked') +"&immobilenew_balcone="+$("#immobilenew_balcone").attr('checked')+"&immobilenew_piano="+$("#immobilenew_piano").val();
input = input + "&immobilenew_terrazzo="+$("#immobilenew_terrazzo").attr('checked')+"&immobilenew_mq_terrazzo="+$("#immobilenew_mq_terrazzo").val()+"&immobilenew_ultimo="+$("#immobilenew_ultimo").attr('checked');
input = input + "&immobilenew_giardino="+$("#immobilenew_giardino").attr('checked') +"&immobilenew_mq_giardino="+$("#immobilenew_mq_giardino").val()+"&immobile_agente="+$("#immobile_agente").val();
input = input + "&immobile_agente_segnalatore="+$("#immobile_agente_segnalatore").val() +"&immobile_agente_compilatore="+$("#immobile_agente_compilatore").val()+"&immobilenew_spese="+$("#immobilenew_spese").val();
input = input + "&immobilenew_disponibilita="+$("#immobilenew_disponibilita").val() + "&immobilenew_visita="+$("#immobilenew_visita").val() +"&immobilenew_mandato="+$("#immobilenew_mandato").attr('checked')+"&immobilenew_notemandato="+$("#immobilenew_notemandato").val()
input = input + "&immobilenew_data_scad_incarico="+$("#immobilenew_data_scad_incarico").val()+ "&immobilenew_data_inserimento="+$("#immobilenew_data_inserimento").val();
input = input + "&immobilenew_data_verifica="+$("#immobilenew_data_verifica").val();
input = input + "&immobilenew_palazzina="+$("#immobilenew_palazzina").attr('checked')+ "&immobilenew_risc_aut="+$("#immobilenew_risc_aut").attr('checked')+ "&immobilenew_venditaiva="+$("#immobilenew_venditaiva").attr('checked');
//alert(input);
$.ajax({
type: "POST",
dataType: "text",
url: "handler_abitativo.php",
data: "action=editimmobile"+input,
success: function(text){
esito = $.trim(text) ;
if (esito==1) {
alert("Modifiche apportate con Successo!");
} else {
alert("Errore nella registrazione delle informazioni.. operazione annullata!");
}
}
});
}
return false;
});
/************************************************************************************************************************************************************
DIV NAVIGAZIONE Ver. 0.1
************************************************************************************************************************************************************/
$("#navigation *").click(function(){
action=$(this).attr('id');
if (action=="makepdf") {
}
if (action=="gotofirst") {
if (idimmobile!=idimmobilemin) {
idimmobile=idimmobilemin;
g.clearfields();
g.populate();
}
}
if (action=="gotoback") {
if(idimmobile!=idimmobilemin) {
$.ajax({
type: "GET",
dataType: "text",
url: "handler_abitativo.php",
data: "action=getidpreviousrow&idimmobile="+idimmobile,
success: function(text){
esito = $.trim(text) ;
idimmobile=esito;
g.clearfields();
g.populate();
}
});
}
}
if (action=="gotonext") {
if (idimmobile<idimmobilemax) {
$.ajax({
type: "GET",
dataType: "text",
url: "handler_abitativo.php",
data: "action=getidnextrow&idimmobile="+idimmobile,
success: function(text){
esito = $.trim(text) ;
idimmobile=esito;
g.clearfields();
g.populate();
}
});
}
}
if (action=="gotoforward") {
if (idimmobile!=idimmobilemax) {
idimmobile=idimmobilemax;
g.clearfields();
g.populate();
}
}
});
/************************************************************************************************************************************************************/
});
Untitled JavaScript (22-Jan @ 16:40)
Syntax Highlighted Code
- $.ajax({
- type: "GET",
- dataType: "text",
- url: "handlerrichiesta.php",
- [8 more lines...]
Plain Code
$.ajax({
type: "GET",
dataType: "text",
url: "handlerrichiesta.php",
data: "action=printPreferiti",
success: function(text){
list = text.split(",");
for(i=0;i<list.length;i++) {
$("#preferitiaggiunti").append("<option value="+list[i]+">rif."+list[i]+"</option>");
}
}
});
Untitled JavaScript (20-Jan @ 15:23)
Syntax Highlighted Code
- $("#dialog")
- .dialog()
- .parents('.ui-dialog').find('.ui-dialog-titlebar')
- .append($('<span>_</span>')
- [9 more lines...]
Plain Code
$("#dialog")
.dialog()
.parents('.ui-dialog').find('.ui-dialog-titlebar')
.append($('<span>_</span>')
.click(function() {
alert('minimize');
})
)
.append($('<span>^</span>')
.click(function() {
alert('maximize');
})
);
Untitled JavaScript (19-Jan @ 10:03)
Syntax Highlighted Code
- /
- 8
- 9
- 10 $(document).ready(function () {
- [43 more lines...]
Plain Code
/
8
9
10 $(document).ready(function () {
11
12 // detect link to subpage
13 var host = window.location.host;
14 var URI = location.href.replace(/#.*/,'');//local url without hash
15 var currentlocation = URI.split('/').pop();
16
17 if(currentlocation && $.inArray('#',window.location.href.split('/').pop())){
18 document.location.replace('http://'+host+'/#'+currentlocation);
19 return;
20 }
21
22 var a_uris = [];
23 var $navigationitems = $('#navigatie a');
24 var nrOfItems=$navigationitems.size();
25
26 $navigationitems.each(function(list){
27 a_uris.push(this.href);
28
29 var s_url = this.href + '/ajax';
30
31 // Change url to anchor
32 this.href = '#' + this.href.split('/').pop();
33
34 if(list>0){
35
36 jQuery.ajaxQueue({
37 url: s_url,
38 success: function(html){
39 $("#scrollContainer").append(html);
40 if(list==nrOfItems-1){
41 $.getScript("js/coda-slider.js");
42 $.getScript("js/photobook.js");
43 $.getScript("js/projectgallery.js");
44 }
45
46 }
47 });
48 }
49
50 });
51
52 });
53
Untitled JavaScript (15-Jan @ 00:12)
Syntax Highlighted Code
- document.getElementById("hello").innerHTML = "Can't be fucked.<br>Literally, Paul";
Plain Code
document.getElementById("hello").innerHTML = "Can't be fucked.<br>Literally, Paul";
Untitled JavaScript (14-Jan @ 00:40)
Syntax Highlighted Code
- // handle IE 6
- if ($.browser.msie && $.browser.version < 7) {
- var scrollHeight = Math.max(
- document.documentElement.scrollHeight,
- [15 more lines...]
Plain Code
// handle IE 6
if ($.browser.msie && $.browser.version < 7) {
var scrollHeight = Math.max(
document.documentElement.scrollHeight,
document.body.scrollHeight
);
var offsetHeight = Math.max(
document.documentElement.offsetHeight,
document.body.offsetHeight
);
if (scrollHeight < offsetHeight) {
return $(window).height() + 'px';
} else {
return scrollHeight + 'px';
}
// handle "good" browsers
} else {
return $(document).height() + 'px';
}
not in selector (14-Jan @ 00:11)
Syntax Highlighted Code
- jQuery.extend(jQuery.expr[":"], {
- notin: function (a, b, m) {
- return !!!jQuery(a).parents(m[3]).length;
- }
- });
Plain Code
jQuery.extend(jQuery.expr[":"], {
notin: function (a, b, m) {
return !!!jQuery(a).parents(m[3]).length;
}
});
Untitled JavaScript (13-Jan @ 23:39)
Syntax Highlighted Code
- $(document).ready(function() {
- var log = alert;
- $('body')
- .bind('test.a', function() {
- [25 more lines...]
Plain Code
$(document).ready(function() {
var log = alert;
$('body')
.bind('test.a', function() {
log('.a');
})
.bind('test.b', function() {
log('.b');
})
.bind('test.a.b', function() {
log('.a.b');
})
.bind('test.a test.b', function() {
log('.a .b');
});
$('<button/>')
.appendTo('body')
.text('a')
.click(function() {
$('body').trigger('test.a');
});
$('<button/>')
.appendTo('body')
.text('b')
.click(function() {
$('body').trigger('test.b');
});
});
Filter where parent isn't (13-Jan @ 16:22)
Syntax Highlighted Code
- $('tag').parents(':not(selector)').find('> tag')
Plain Code
$('tag').parents(':not(selector)').find('> tag')
Untitled JavaScript (13-Jan @ 15:27)
Syntax Highlighted Code
- $("a.tooltip").hover(
- function(e) {
- tooltipText = $(this).children("img").attr("alt");
- if ($.browser.msie) $(this).children("img").attr("alt", "");
- [14 more lines...]
Plain Code
$("a.tooltip").hover(
function(e) {
tooltipText = $(this).children("img").attr("alt");
if ($.browser.msie) $(this).children("img").attr("alt", "");
$("body").append("<div id='tooltip'><p>" + tooltipText + "</p></div>");
positionTooltip(e.pageX, e.pageY);
$("#tooltip").fadeIn();
},
function() {
if ($.browser.msie) $(this).children("img").attr("alt", tooltipText);
$("#tooltip").remove();
});
$("a.tooltip").mousemove(function(e) {
positionTooltip(e.pageX, e.pageY);
});
function positionTooltip(pageX, pageY) {
$("#tooltip").css("left", (pageX - $("#tooltip").width() + 30) + "px").css("top", (pageY + 30) + "px");
}
Untitled JavaScript (7-Jan @ 09:05)
Syntax Highlighted Code
- function valid_job(job,type,statut,serveur)
- {
- var url="/desk/sauvegarde/valid_job.php";
- [12 more lines...]
Plain Code
function valid_job(job,type,statut,serveur)
{
var url="/desk/sauvegarde/valid_job.php";
//alert(job+" "+type+" "+statut+" "+serveur);
var ajax = new Ajax(url, {
method: "POST",
data: "job=" + job + "&type=" + type + "&statut=" + statut + "&serveur=" + serveur,
onComplete: function(msg) {
$("tab_job").innerHTML=msg;
}
onFailure: function() {
$("tab_job").innerHTML="test";
}
}).request();
}
Untitled JavaScript (2-Jan @ 22:00)
Syntax Highlighted Code
- _trigger: function(type, event, data) {
- var eventName = (type == this.widgetEventPrefix
- ? type : this.widgetEventPrefix + type),
- baseEvent = { type: eventName, target: this.element[0] };
- [6 more lines...]
Plain Code
_trigger: function(type, event, data) {
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type),
baseEvent = { type: eventName, target: this.element[0] };
event = $.extend(event || $.event.fix(baseEvent), baseEvent);
this.element.trigger(event, data);
var ret = (this.options[type] && this.options[type].call(this.element[0], event, data));
return !event.isDefaultPrevented() && ret !== false;
}
Untitled JavaScript (2-Jan @ 21:46)
Syntax Highlighted Code
- _trigger: function(type, event, data) {
- var eventName = (type == this.widgetEventPrefix
- ? type : this.widgetEventPrefix + type);
- [8 more lines...]
Plain Code
_trigger: function(type, event, data) {
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type);
event = event ? $.event.fix( event ) : jQuery.Event();
event.type = eventName;
this.element.trigger(event, data);
return !( this.options[type] &&
this.options[type].call(this.element[0], event, data) === false ||
event.isDefaultPrevented() );
}
Untitled JavaScript (2-Jan @ 18:26)
Syntax Highlighted Code
- var attr = $.attr,
- normalizedTabindex = ($.browser.msie && parseInt($.browser.version, 10) < 8
- ? 'tabIndex'
- : 'tabindex');
- [12 more lines...]
Plain Code
var attr = $.attr,
normalizedTabindex = ($.browser.msie && parseInt($.browser.version, 10) < 8
? 'tabIndex'
: 'tabindex');
$.attr = function(elem, key, value) {
if (/tabindex/i.test(key)) {
if (value !== undefined) {
return attr.apply(elem, normalizedTabindex, value);
} else {
var attribute = elem.getAttributeNode(normalizedTabindex);
return attribute && attribute.specified && attribute.value || undefined;
}
}
return attr.apply(this, arguments);
};
Untitled JavaScript (2-Jan @ 02:44)
Syntax Highlighted Code
- document.write("HELLO WORLD");
Plain Code
document.write("HELLO WORLD");
Email JS Validation (1-Jan @ 13:04)
Syntax Highlighted Code
- if (!/^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/.test(email)) {
- // email is not valid
- }
Plain Code
if (!/^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/.test(email)) {
// email is not valid
}
Untitled JavaScript (1-Jan @ 05:59)
Syntax Highlighted Code
- _trigger: function(type, event, data) {
- var eventName = (type == this.widgetEventPrefix
- ? type : this.widgetEventPrefix + type);
- event = event || $.event.fix({ type: eventName, target: this.element[0] });
- [5 more lines...]
Plain Code
_trigger: function(type, event, data) {
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type);
event = event || $.event.fix({ type: eventName, target: this.element[0] });
this.element.trigger(event, data);
var ret = (this.options[type] && this.options[type].call(this.element[0], event, data));
return !event.isDefaultPrevented() && ret !== false;
}
Window Scroll Position (30-Dec @ 13:12)
Syntax Highlighted Code
- function getScrollXY() {
- var scrOfX = 0, scrOfY = 0;
- if( typeof( window.pageYOffset ) == 'number' ) {
- //Netscape compliant
- [12 more lines...]
Plain Code
function getScrollXY() {
var scrOfX = 0, scrOfY = 0;
if( typeof( window.pageYOffset ) == 'number' ) {
//Netscape compliant
scrOfY = window.pageYOffset;
scrOfX = window.pageXOffset;
} else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
//DOM compliant
scrOfY = document.body.scrollTop;
scrOfX = document.body.scrollLeft;
} else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
//IE6 standards compliant mode
scrOfY = document.documentElement.scrollTop;
scrOfX = document.documentElement.scrollLeft;
}
return [ scrOfX, scrOfY ];
}
Viewport (30-Dec @ 12:43)
Syntax Highlighted Code
- function getViewportHeight() {
- var height = self.innerHeight; // Safari, Opera
- var mode = document.compatMode;
- [20 more lines...]
Plain Code
function getViewportHeight() {
var height = self.innerHeight; // Safari, Opera
var mode = document.compatMode;
if ( (mode || $.browser.msie) && !$.browser.opera ) { // IE, Gecko
height = (mode == 'CSS1Compat') ?
document.documentElement.clientHeight : // Standards
document.body.clientHeight; // Quirks
}
return height;
}
function getViewportWidth() {
var width = self.innerWidth; // Safari, Opera
var mode = document.compatMode;
if ( (mode || $.browser.msie) && !$.browser.opera ) { // IE, Gecko
width = (mode == 'CSS1Compat') ?
document.documentElement.clientWidth : // Standards
document.body.clientWidth; // Quirks
}
return width;
}
Untitled JavaScript (29-Dec @ 09:11)
Syntax Highlighted Code
- var AudioPlayer = function () {
- var instances = [];
- var activePlayerID;
- var playerURL = "";
- [105 more lines...]
Plain Code
var AudioPlayer = function () {
var instances = [];
var activePlayerID;
var playerURL = "";
var defaultOptions = {};
var currentVolume = -1;
function getPlayer(playerID) {
return document.all ? window[playerID] : document[playerID];
}
return {
setup: function (url, options) {
playerURL = url;
defaultOptions = options;
},
getPlayer: function (playerID) {
return getPlayer(playerID);
},
embed: function (elementID, options) {
var instanceOptions = {};
var key;
var so;
var bgcolor;
var wmode;
var flashParams = {};
var flashVars = {};
var flashAttributes = {};
// Merge default options and instance options
for (key in defaultOptions) {
instanceOptions[key] = defaultOptions[key];
}
for (key in options) {
instanceOptions[key] = options[key];
}
if (instanceOptions.transparentpagebg == "yes") {
flashParams.bgcolor = "#FFFFFF";
flashParams.wmode = "transparent";
} else {
if (instanceOptions.pagebg) {
flashParams.bgcolor = "#" + instanceOptions.pagebg;
}
flashParams.wmode = "opaque";
}
flashParams.menu = "false";
for (key in instanceOptions) {
if (key == "pagebg" || key == "width" || key == "transparentpagebg") {
continue;
}
flashVars[key] = instanceOptions[key];
}
flashAttributes.name = elementID;
flashAttributes.style = "outline: none";
flashVars.playerID = elementID;
swfobject.embedSWF(playerURL, elementID, instanceOptions.width.toString(), "24", "9", false, flashVars, flashParams, flashAttributes);
instances.push(elementID);
},
syncVolumes: function (playerID, volume) {
currentVolume = volume;
for (var i = 0; i < instances.length; i++) {
if (instances[i] != playerID) {
getPlayer(instances[i]).setVolume(currentVolume);
}
}
},
activate: function (playerID) {
if (activePlayerID && activePlayerID != playerID) {
getPlayer(activePlayerID).close();
}
activePlayerID = playerID;
},
load: function (playerID, soundFile, titles, artists) {
getPlayer(playerID).load(soundFile, titles, artists);
},
close: function (playerID) {
getPlayer(playerID).close();
if (playerID == activePlayerID) {
activePlayerID = null;
}
},
open: function (playerID) {
getPlayer(playerID).open();
},
getVolume: function (playerID) {
return currentVolume;
}
}
}();
Untitled JavaScript (6-Dec @ 05:34)
Syntax Highlighted Code
- minutes = parseInt(258.227 / 60);
- seconds = 258.227 - (minutes * 60);
- var eN, tS = seconds.toString();
- if(tS.split('.').length==1){
- [9 more lines...]
Plain Code
minutes = parseInt(258.227 / 60);
seconds = 258.227 - (minutes * 60);
var eN, tS = seconds.toString();
if(tS.split('.').length==1){
eN = Number(tS +='0');
}
else{
eN = Number(tS.substr(0,5));
}
Untitled JavaScript (6-Dec @ 05:34)
Syntax Highlighted Code
- minutes = parseInt(258.227 / 60);
- seconds = 258.227 - (minutes * 60);
- var eN, tS = seconds.toString();
- if(tS.split('.').length==1){
- [9 more lines...]
Plain Code
minutes = parseInt(258.227 / 60);
seconds = 258.227 - (minutes * 60);
var eN, tS = seconds.toString();
if(tS.split('.').length==1){
eN = Number(tS +='0');
}
else{
eN = Number(tS.substr(0,5));
}
eN
Untitled JavaScript (3-Dec @ 12:22)
Syntax Highlighted Code
- document.firstChild.nextSibling.setAttribute('xmlns', 'http://www.w3.org/1999/xhtml');
- document.firstChild.nextSibling.setAttribute('xmlns:svg', 'http://www.w3.org/1999/xhtml');
- var se = document.createElement('div');
- [4 more lines...]
Plain Code
document.firstChild.nextSibling.setAttribute('xmlns', 'http://www.w3.org/1999/xhtml');
document.firstChild.nextSibling.setAttribute('xmlns:svg', 'http://www.w3.org/1999/xhtml');
var se = document.createElement('div');
se.setAttribute('style','width:300px;height:100px;float:left;');
se.innerHTML='<svg width="100%" height="100%">'+
'<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:1;stroke:rgb(0,0,0)"/>'+
'</svg>';
document.body.appendChild(se);
Untitled JavaScript (3-Dec @ 01:39)
Syntax Highlighted Code
- // ==UserScript==
- // @name Youtube Alternate Video Player
- // @namespace userscripts.org
- // @description Replaces the youtube flash video player with FlowPlayer flash video player. ( flowplayer.org )
- [102 more lines...]
Plain Code
// ==UserScript==
// @name Youtube Alternate Video Player
// @namespace userscripts.org
// @description Replaces the youtube flash video player with FlowPlayer flash video player. ( flowplayer.org )
// @version 1.0
// @include http://*.youtube.com/watch*
// @include http://youtube.com/watch*
// ==/UserScript==
(function(){
function lg(m){
try{
unsafeWindow.console.log(m);
}
catch(e){
GM_log(m);
}
}
function iPeedInTheSandBox(el){
return unsafeWindow.document.getElementById(el);
}
var vidID = document.location.toString().split("v=")[1].split("&")[0];
var mp = document.getElementById('movie_player');
lg(mp);
var mpAtt = mp.getAttribute("flashvars");
lg(mpAtt);
var mPar = mp.parentNode;
lg(mPar);
var altPlayer = document.createElement('object');
altPlayer.width="640";
altPlayer.height="360";
altPlayer.type="application/x-shockwave-flash";
altPlayer.id="myytplayer";
altPlayer.data="http://www.youtube.com/apiplayer?enablejsapi=1&playerapiid=myytplayer";
altPlayer.setAttribute('allowScriptAccess','always');
mPar.replaceChild( altPlayer, mp );
var altPlayerControls = document.createElement('p');
altPlayerControls.setAttribute('style','width:640px;height:60px;');
altPlayerControls.id="myytplayerControls";
altPlayerControls.innerHTML="Player Controls: ";
var altPlayerControlsA1 = document.createElement('a');
altPlayerControlsA1.href='#';
altPlayerControlsA1.setAttribute('style','margin:5px;');
altPlayerControlsA1.id="myytplayerControlsPlay";
altPlayerControlsA1.textContent="Play";
//altPlayerControlsA2.setAttribute("onclick", "document.getElementById('myytplayer').playVideo();return false;");
altPlayerControlsA1.addEventListener('click', function(e){
e.preventDefault();
iPeedInTheSandBox('myytplayer').playVideo();
}, false);
var altPlayerControlsA2 = document.createElement('a');
altPlayerControlsA2.href='#';
altPlayerControlsA2.setAttribute('style','margin:5px;');
altPlayerControlsA2.id="myytplayerControlsLoad";
altPlayerControlsA2.textContent="Cue";
var cueVidAtts = "document.getElementById('myytplayer').cueVideoById('"+vidID+"', 0);return false;"
//altPlayerControlsA2.setAttribute("onclick", cueVidAtts);
altPlayerControlsA2.addEventListener('click', function(e){
e.preventDefault();
iPeedInTheSandBox('myytplayer').cueVideoById(vidID, 0);
}, false);
altPlayerControls.appendChild( altPlayerControlsA1 );
altPlayerControls.appendChild( altPlayerControlsA2 );
mPar.appendChild( altPlayerControls );
/***alternatives to using setTimeout?
http://code.google.com/apis/youtube/js_api_reference.html#onYouTubePlayerReady
***/
iPeedInTheSandBox('myytplayer').addEventListener('onStateChange', function(){
alert('onYouTubePlayerReady');
iPeedInTheSandBox('myytplayer').cueVideoById(vidID, 0);
}, false);
//altPlayer.loadVideoById(vidID, parseInt(0));
//altPlayer.cueVideoById(vidID, 0);
//altPlayer.playVideo();
})();
Untitled JavaScript (2-Dec @ 16:21)
Syntax Highlighted Code
- Fx.CSS = new Class({
- Extends: Fx,
- [84 more lines...]
Plain Code
Fx.CSS = new Class({
Extends: Fx,
//prepares the base from/to object
prepare: function(element, property, values){
values = $splat(values);
var values1 = values[1];
if (!$chk(values1)){
values[1] = values[0];
values[0] = element.getStyle(property);
}
var parsed = values.map(this.parse);
return {from: parsed[0], to: parsed[1]};
},
//parses a value into an array
parse: function(value){
value = $lambda(value)();
value = (typeof value == 'string') ? value.split(' ') : $splat(value);
return value.map(function(val){
val = String(val);
var found = false;
Fx.CSS.Parsers.each(function(parser, key){
if (found) return;
var parsed = parser.parse(val);
if ($chk(parsed)) found = {value: parsed, parser: parser};
});
found = found || {value: val, parser: Fx.CSS.Parsers.String};
return found;
});
},
//computes by a from and to prepared objects, using their parsers.
compute: function(from, to, delta){
var computed = [];
(Math.min(from.length, to.length)).times(function(i){
computed.push({value: from[i].parser.compute(from[i].value, to[i].value, delta), parser: from[i].parser});
});
computed.$family = {name: 'fx:css:value'};
return computed;
},
//serves the value as settable
serve: function(value, unit){
if ($type(value) != 'fx:css:value') value = this.parse(value);
var returned = [];
value.each(function(bit){
returned = returned.concat(bit.parser.serve(bit.value, unit));
});
return returned;
},
//renders the change to an element
render: function(element, property, value, unit){
element.setStyle(property, this.serve(value, unit));
},
//searches inside the page css to find the values for a selector
search: function(selector){
if (Fx.CSS.Cache[selector]) return Fx.CSS.Cache[selector];
var to = {};
Array.each(document.styleSheets, function(sheet, j){
var href = sheet.href;
if (href && href.contains('://') && !href.contains(document.domain)) return;
var rules = sheet.rules || sheet.cssRules;
Array.each(rules, function(rule, i){
if (!rule.style) return;
var selectorText = (rule.selectorText) ? rule.selectorText.replace(/^\w+/, function(m){
return m.toLowerCase();
}) : null;
if (!selectorText || !selectorText.test('^' + selector + '$')) return;
Element.Styles.each(function(value, style){
if (!rule.style[style] || Element.ShortStyles[style]) return;
value = String(rule.style[style]);
to[style] = (value.test(/^rgb/)) ? value.rgbToHex() : value;
});
});
});
return Fx.CSS.Cache[selector] = to;
}
});
encode (1-Dec @ 23:39)
Syntax Highlighted Code
- function encode(str) {
- var s = '';
- for (var i = 0; i < str.length; i++) {
- s += '&#' + str.charCodeAt(i) + ';';
- [2 more lines...]
Plain Code
function encode(str) {
var s = '';
for (var i = 0; i < str.length; i++) {
s += '&#' + str.charCodeAt(i) + ';';
}
return s;
}
JavaScript module template (1-Dec @ 10:20)
Syntax Highlighted Code
- var MyModule = MyModule || (function() {
- //Put private stuff here
- [43 more lines...]
Plain Code
var MyModule = MyModule || (function() {
//Put private stuff here
var privateProperty = "sectret stuff";
function myPrivateFunction() {
}
//Put public stuff here
var public = {
myPublicProperty: "value",
myPublicMethod: function() {
},
myPublicMethod2: function() {
}
};
return public;
})();
-- Variation --
var MyModule = MyModule || new function() {
//Put private stuff here
var privateProperty = "sectret stuff";
function myPrivateFunction() {
}
//Put public stuff here
this.myPublicProperty = "value";
this.myPublicMethod = function() {
};
this.myPublicMethod2 = function() {
};
}
simple JavaScript logger (1-Dec @ 10:04)
Syntax Highlighted Code
- <span id='testOutput'>Ouptput: <br/></span>
- <script language="JavaScript" type="text/javascript">
- [24 more lines...]
Plain Code
<span id='testOutput'>Ouptput: <br/></span>
<script language="JavaScript" type="text/javascript">
function logg(text) {
var output = document.getElementById('testOutput');
output.innerHTML=output.innerHTML + text + "<br></br>";
return true;
}
//Not sure this one works correctly
function dumpProps(obj, parent) {
// Go through all the properties of the passed-in object
for (var i in obj) {
// if a parent (2nd parameter) was passed in, then use that to
// build the message. Message includes i (the object's property name)
// then the object's property value on a new line
if (parent) { var msg = parent + "." + i + "\n" + obj[i]; } else { var msg = i + "\n" + obj[i]; }
// Display the message. If the user clicks "OK", then continue. If they
// click "CANCEL" then quit this level of recursion
if (!logg(msg)) { return; }
// If this property (i) is an object, then recursively process the object
if (typeof obj[i] == "object") {
if (parent) { dumpProps(obj[i], parent + "." + i); } else { dumpProps(obj[i], i); }
}
}
}
</script>
Untitled JavaScript (11-Nov @ 03:32)
Syntax Highlighted Code
- alert('What');
Plain Code
alert('What');
Untitled JavaScript (8-Nov @ 22:20)
Syntax Highlighted Code
- $.extend($.expr[':'], {
- focusable: function(element) {
- var nodeName = element.nodeName.toLowerCase(),
- tabIndex = element.tabIndex;
- [18 more lines...]
Plain Code
$.extend($.expr[':'], {
focusable: function(element) {
var nodeName = element.nodeName.toLowerCase(),
tabIndex = element.tabIndex;
if ($(element).is(':hidden') || $(element).parents(':hidden').length) {
return false;
}
return (/input|select|textarea|button|object|area/.test(nodeName)
? !('hidden' == element.type || element.disabled)
: 'a' == nodeName
? !!element.href
: !isNaN(tabIndex));
},
tabbable: function(element) {
var tabIndex = element.tabIndex;
return !isNaN(tabIndex) && tabIndex >= 0 && $(element).is(':focusable');
}
});
Untitled JavaScript (5-Nov @ 02:35)
Syntax Highlighted Code
- var attr = $.attr;
- $.attr = function(elem, name, value) {
- var set = value !== undefined,
- state = /^aria-/;
- [10 more lines...]
Plain Code
var attr = $.attr;
$.attr = function(elem, name, value) {
var set = value !== undefined,
state = /^aria-/;
return (name == 'role'
? (set
? attr.call(this, elem, name, "wairole:" + value)
: (attr.apply(this, arguments) || "").replace(/^wairole:/, ""))
: (state.test(name)
? (set
? elem.setAttributeNS("http://www.w3.org/2005/07/aaa", name.replace(state, "aaa:"), value)
: attr.call(this, elem, name.replace(state, "aaa:")))
: attr.apply(this,arguments)));
};
Untitled JavaScript (5-Nov @ 02:35)
Syntax Highlighted Code
- var attr = $.attr;
- $.attr = function(elem, name, value) {
- var set = value !== undefined,
- state = /^aria-/;
- [10 more lines...]
Plain Code
var attr = $.attr;
$.attr = function(elem, name, value) {
var set = value !== undefined,
state = /^aria-/;
return (name == 'role'
? (set
? attr.call(this, elem, name, "wairole:" + value)
: (attr.apply(this, arguments) || "").replace(/^wairole:/, ""))
: (state.test(name)
? (set
? elem.setAttributeNS("http://www.w3.org/2005/07/aaa", name.replace(state, "aaa:"), value)
: attr.call(this, elem, name.replace(state, "aaa:")))
: attr.apply(this,arguments)));
};
Untitled JavaScript (23-Oct @ 20:31)
Syntax Highlighted Code
- www.hoerbuch.in
Plain Code
www.hoerbuch.in
Untitled JavaScript (23-Oct @ 18:12)
Syntax Highlighted Code
- this.tooltip = function(){
- xOffset = 10;
- yOffset = 20;
- $("a.tooltip").hover(function(e){
- [40 more lines...]
Plain Code
this.tooltip = function(){
xOffset = 10;
yOffset = 20;
$("a.tooltip").hover(function(e){
this.t = this.title;
this.title = "";
$("body").append("<p id='tooltip'>"+ this.t +"</p>");
$("#tooltip")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px")
.fadeIn("fast");
},
function(){
this.title = this.t;
$("#tooltip").remove();
});
$("a.tooltip").mousemove(function(e){
$("#tooltip")
.css("top",(e.pageY - xOffset) + "px")
.css("left",(e.pageX + yOffset) + "px");
});
};
$(document).ready(function(){
tooltip();
});
$(document).ready(function()
{
$('table.gridhead tr:even').addClass('odd'); $('table.gridhead tr:odd').addClass('even');
});
$(function () {
var tabContainers = $('div.tabs > div');
tabContainers.hide().filter(':first').show();
$('div.tabs ul.tabNavigation a').click(function () {
tabContainers.hide();
tabContainers.filter(this.hash).show();
$('div.tabs ul.tabNavigation a').removeClass('selected');
$(this).addClass('selected');
return false;
}).filter(':first').click();
});
Untitled JavaScript (22-Oct @ 22:49)
Syntax Highlighted Code
- alert("Hello world");
Plain Code
alert("Hello world");
String methods (16-Oct @ 23:01)
Syntax Highlighted Code
- String.prototype.trim = function() {
- return this.replace(/^\s+|\s+$/g, "");
- };
- [8 more lines...]
Plain Code
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g, "");
};
String.prototype.capitalize = function() {
return this.replace(/\w+/g, function(a) {
return a.charAt(0).toUpperCase() + a.substr(1).toLowerCase();
});
};
var str = ' a string that needs trimming... ';
console.log(str.trim());
console.log(str.trim().capitalize());
clone (15-Oct @ 10:01)
Syntax Highlighted Code
- function clone(myObj) {
- if(typeof(myObj) != 'object') return myObj;
- if(myObj == null) return myObj;
- [6 more lines...]
Plain Code
function clone(myObj) {
if(typeof(myObj) != 'object') return myObj;
if(myObj == null) return myObj;
var myNewObj = new Object();
for(var i in myObj)
myNewObj[i] = clone(myObj[i]);
return myNewObj;
}
repeat (15-Oct @ 01:14)
Syntax Highlighted Code
- String.prototype.repeat = function( num ) {
- return new Array( num + 1 ).join( this );
- }
- alert( "string to repeat\n".repeat( 4 ) );
Plain Code
String.prototype.repeat = function( num ) {
return new Array( num + 1 ).join( this );
}
alert( "string to repeat\n".repeat( 4 ) );
Untitled JavaScript (14-Oct @ 16:30)
Syntax Highlighted Code
- function test (){
- var test = "123";
- [1 more lines...]
Plain Code
function test (){
var test = "123";
}
Untitled JavaScript (10-Oct @ 21:50)
Syntax Highlighted Code
- $.fn.pieChart = function(data) {
- var canvas = $(this)
- .wrap('<div/>'),
- [104 more lines...]
Plain Code
$.fn.pieChart = function(data) {
var canvas = $(this)
.wrap('<div/>'),
wrapper = canvas.parent()
.css({
position: 'relative',
'font-size': '10px'
}),
dataList = $('<ul/>')
.css('list-style', 'none')
.appendTo(wrapper),
ctx = canvas[0].getContext('2d'),
width = canvas.width(),
height = canvas.height(),
centerX = width / 2,
centerY = height / 2,
radius = centerY - 20, // TODO: make this adjustable
counter = 0;
//draw the pie pieces
$(data.members).each(function(i) {
var fraction = this.total / data.total,
// TODO: get offsets (15, 8) based on font size
sliceMiddle = (counter + fraction / 2),
labelX = centerX + Math.sin(sliceMiddle * Math.PI * 2) * (radius / 2) - 15,
labelY = centerY - Math.cos(sliceMiddle * Math.PI * 2) * (radius / 2) - 8;
ctx.beginPath();
ctx.moveTo(centerX, centerY);
ctx.arc(centerX, centerY, radius,
counter * Math.PI * 2 - Math.PI / 2,
(counter + fraction) * Math.PI * 2 - Math.PI / 2,
false);
ctx.lineTo(centerX, centerY);
ctx.closePath();
ctx.fillStyle = this.color;
ctx.fill();
// draw labels
$('<li/>')
.text(Math.round(fraction * 100) + '%')
.css({
position: 'absolute',
top: labelY + 'px',
left: labelX + 'px'
}).css({
color: '#fff',
'font-size': '1.5em',
'font-weight': 'bold'
}).appendTo(dataList);
counter += fraction;
});
};
// TODO:
// - colorize option (for table lables)
// - allow defining colors
var colors = ['#be1e2d','#666699','#92d5ea','#ee8310','#8d10ee','#5a3b16','#26a4ed','#f45a90','#e9e744'];
$.tableData = function(tableId, chartId) {
var $table = $('#' + tableId),
members = [],
total = 0,
max;
// convert table to data set
$table.find('tr:gt(0)').each(function(i) {
var points = [];
$(this).find('td').each(function() {
points.push(parseInt($(this).text(), 10));
});
members.push({
points: points,
// TODO: loop through colors
color: colors[i]
});
});
// calculate totals and max
max = members[0].points[0];
$.each(members, function() {
var member = this;
member.total = 0;
$.each(member.points, function() {
member.total += this;
max = Math.max(max, this);
});
total += member.total;
});
// sort members array
members.sort(function(a, b) {
return b.total - a.total;
});
return {
members: members,
total: total,
max: max
};
};
JQuery box balancer (10-Oct @ 10:27)
Syntax Highlighted Code
- // height balancing - get all the boxes the same height (i.e. The height of the biggest)!
- var boxes = new Array();
- $('.myelement').each(function(){
- boxes.push($(this).height());
- [4 more lines...]
Plain Code
// height balancing - get all the boxes the same height (i.e. The height of the biggest)!
var boxes = new Array();
$('.myelement').each(function(){
boxes.push($(this).height());
});
var setheight = Math.max.apply(Math,boxes);
$('.myelement').height(setheight);
Untitled JavaScript (9-Oct @ 17:00)
Syntax Highlighted Code
- var mark = 'hello';
- alert(mark);
Plain Code
var mark = 'hello';
alert(mark);
Object (6-Oct @ 21:18)
Syntax Highlighted Code
- function equal( a, b ){
- return a === b || a && b &&
- typeof a == 'object' && typeof b == 'object' &&
- equalObjects( a, b );
- [11 more lines...]
Plain Code
function equal( a, b ){
return a === b || a && b &&
typeof a == 'object' && typeof b == 'object' &&
equalObjects( a, b );
}
function equalObjects( a, b ){
var k;
for( k in a )
if( !equal(a[k],b[k]) )
return false;
for( k in b )
if( !equal(a[k],b[k]) )
return false;
return true;
}
Untitled JavaScript (6-Oct @ 07:29)
Syntax Highlighted Code
- var sliceFirstTrack2 = sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+",";
Plain Code
var sliceFirstTrack2 = sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+",";
Untitled JavaScript (6-Oct @ 07:28)
Syntax Highlighted Code
- var sliceFirstTrack2 = (sliceFirstTrack.charAt(0) == ',')? sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+"," :sliceFirstTrack.substr(sliceFirstTrack.indexOf(',')+1)+returnedLink+",";
Plain Code
var sliceFirstTrack2 = (sliceFirstTrack.charAt(0) == ',')? sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+"," :sliceFirstTrack.substr(sliceFirstTrack.indexOf(',')+1)+returnedLink+",";
Untitled JavaScript (3-Oct @ 09:58)
Syntax Highlighted Code
- var wikiContents = document.getElementById('wiki-content');
- wikiContents.innerHTML = wikiContents.innerHTML.wiki2html();
Plain Code
var wikiContents = document.getElementById('wiki-content');
wikiContents.innerHTML = wikiContents.innerHTML.wiki2html();
Untitled JavaScript (28-Sep @ 10:45)
Syntax Highlighted Code
- function ciwPopup(index){
- $('#editor-'+index+'-button-0').bind("mouseover",function(e){
- showPop('CIWDiv',Drupal.settings.ciw.firstPopup,e,this)
- uploadComputerAction();
- [346 more lines...]
Plain Code
function ciwPopup(index){
$('#editor-'+index+'-button-0').bind("mouseover",function(e){
showPop('CIWDiv',Drupal.settings.ciw.firstPopup,e,this)
uploadComputerAction();
embedLibraryAction();
embedWebAction();
$('#CIWDiv').bind("mouseover",function(e){mouseCheck = 0})
$('#CIWDiv').bind("mouseout",function(e){mouseCheck = 1})
$('#editor-'+index+'-button-0').bind("mouseout",function(e){mouseCheck = 1})
$('#editor-'+index+'-button-0').bind("mouseover",function(e){mouseCheck = 0})
$('#CIWDiv, #editor-'+index+'-button-0').bind("mouseout",function(e){
setTimeout("if(!(($.trim($('#uploadComputer').html()) || $.trim($('#embedLibrary').html()) || $.trim($('#embedWeb').html())) ) && (mouseCheck) ){$('#CIWDiv').remove();}",1000)
})
})
}
function showCiw(divId,Event) {
$('#'+divId).bind(Event,function(e){
showPop('CIWDiv',Drupal.settings.ciw.firstPopup,e,this)
uploadComputerAction();
embedLibraryAction();
embedWebAction();
})
}
var mediaName,mouseCheck;
function uploadComputerAction() {
$("#uploadComputerClick").bind("click",function(e){
$('#embedLibraryClick').css({'background-color':'#ffffff'})
$(this).css({'background-color':'#f2f2f2'})
$('#embedWebClick').css({'background-color':'#ffffff'})
hidePop('embedWeb');hidePop('embedLibrary');
showPop('uploadComputer', Drupal.settings.ciw.selectMediaContent,e,this);
$('.popup_hide').bind('click', function(){
hidePop('uploadComputer'); $('.ciw_extends').remove();$('#firstPopup').remove();
});
$('#selectMedia').bind('change',function (){
if(this.value==0){$('#dynamicDiv').html('');return;}
mediaName = this.value;
url = '/englishlibrary/'+this.value;
$.ajax({
type: "POST",
url: url,
beforeSend : function(){
$('#dynamicDiv').html('<img src = "'+Drupal.settings.ciw.loaderGif+'" height = "30" width = "30" />')
},
//error: function(a,b,c) {alert(a.error);alert(b);alert(c)},
data : "scratchpadContent=123",
dataType: "html",
success: function(msg){
//$('#dynamicDiv').html(msg);
document.getElementById('dynamicDiv').innerHTML=msg;
eval('show'+mediaName+'()');
}
})
})
});
}
function embedLibraryAction() {
$("#embedLibraryClick").bind("click",function(e){
$('#uploadComputerClick').css({'background-color':'#ffffff'})
$(this).css({'background-color':'#f2f2f2'})
$('#embedWebClick').css({'background-color':'#ffffff'})
hidePop('embedWeb');hidePop('uploadComputer');
showPop('embedLibrary', Drupal.settings.ciw.selectMediaContent,e,this);
$('.popup_hide').bind('click', function(){
hidePop('embedLibrary');$('.ciw_extends').remove();$('#firstPopup').remove();
});
$('#selectMedia').change(function () {
if(this.value==0){$('#dynamicDiv').html('');return;}
mediaName = this.value;
url = '/mylibrary/embed_library';
$.ajax({
type: "POST",
url: url,
beforeSend : function(){
$('#dynamicDiv').html('<img src = "'+Drupal.settings.ciw.loaderGif+'" height = "20" width = "20" />')
},
data : "type="+this.value,
dataType: "html",
success: function(msg){
$('#dynamicDiv').html(msg);
$('#noContent').bind('click',function (){$('#uploadComputerClick').click();})
showThumbnail(mediaName);
}
})
});
});
}
function embedWebAction() {
$("#embedWebClick").bind("click",function(e){
$('#uploadComputerClick').css({'background-color':'#ffffff'})
$(this).css({'background-color':'#f2f2f2'})
$('#embedLibraryClick').css({'background-color':'#ffffff'})
hidePop('embedLibrary');hidePop('uploadComputer');
showPop('embedWeb', Drupal.settings.ciw.selectVideoMediaContent,e,this);
$('.popup_hide').bind('click', function(){
hidePop('embedWeb')
$('.ciw_extends').remove();$('#firstPopup').remove();
//$('.ciw_extends').fadeOut("slow",function(){$('.ciw_extends').remove();});
});
url = '/englishlibrary/embed_from_website';
$.ajax({
type: "POST",
url: url,
beforeSend : function(){
$('#dynamicDiv').html('<img src = "'+Drupal.settings.ciw.loaderGif+'" height = "20" width = "20" />')
},
//data : "scratchpadContent=123",
dataType: "html",
//error :function(a,b,c){alert(a);alert(b);alert(c);},
success: function(msg){
//$('.embedWeb > #dynamicDiv').html(msg)
document.getElementById('dynamicDiv').innerHTML = msg;
showvideo();
}
})
});
}
/*
* paging coding starts
*/
var embed_library_limit=9;
var embed_library_pageNumber;
var embed_library_totalItems;
/*
* paging coding ends
*/
var albumId;
function showThumbnail(mediaName) {
$('#album_list').bind('change',function(){
if(this.value==0){$('#thumbnail').html('');return;}
albumId = this.value
url ='/mylibrary/thumb_library';
$.ajax({
type: "POST",
url: url,
beforeSend : function(){
$('#thumbnail').html('<img src = "'+Drupal.settings.ciw.loaderGif+'" height = "20" width = "20" />')
},
data : "id="+this.value+'&type='+mediaName+"&pageNumber=1", //data : "type="+this.value+'&id='+this.value,
dataType: "html",
success: function(msg){
$('#thumbnail').html(msg);
paging_init('embed_library',9);
thumbnailBind();
//eval('show'+mediaName+'()');
}
})
})
}
function thumbnailBind() {
$('#embed_library').find('li.embed_lib').bind('click',function(){
url = '/mylibrary/thumb_library_click';
$.ajax({
type: "POST",
url: url,
beforeSend : function(){
progressOverlayStart('Embeding from library');
},
data : "id="+this.id+'&albumId='+albumId+'&type='+mediaName+"&pageNumber=1", //data : "type="+this.value+'&id='+this.value,
dataType: "html",
success: function(msg){
$('.ciw_extends, #ciw_popup_hidden').remove();
$('body').css({'overflow':'auto'});
$('#firstPopup,#embedLibrary').remove();
insertTo('\n'+msg+'\n');ciw_focus('edit-body','\n'+msg+'\n')
}
})
});
}
/*
*
*/
function pagingembed_library() {
$.ajax({
type: "POST",
url: '/mylibrary/thumb_library_paging',
beforeSend : function(){ //$("<img/>").attr("src", <img src="themes/pushbutton/images/ajax-loader.gif" alt="loading">).appendTo("#scratchpad");
divHeight = $('#embed_library').css("height");
divWidth = $("#embed_library").css("width");
divHeight = (Number(document.getElementById('embed_library').offsetHeight)-15)+"px";
$('#embed_library').html('<div id = "loaderImage" align = "center" style = ""><img src = "'+Drupal.settings.ciw.loaderGif+'" alt = "Loader"/></div>'); $("#loaderImage").css({ height: divHeight, width: divWidth });
},
data : "id="+albumId+'&type='+mediaName+"&pageNumber="+embed_library_pageNumber ,
dataType: "html",
//error :function(a,b,c){alert(a);alert(b);alert(c);},
success: function(msg){
$('#embed_library').html(msg);
pagingAction('embed_library');
thumbnailBind();
}
})
}
function insertTo(content) {
if(document.getElementById('edit-body')) {
insertAtCursor(document.getElementById('edit-body'), content);
}
else if(document.getElementById('edit-comment')) {
insertAtCursor(document.getElementById('edit-comment'), content);
}
}
function ciw_focus(id,insert) {
original=document.getElementById(id).value;
if(document.getElementById(id) && original!='' ) {
var elem=document.getElementById(id);
var last_pos=original.lastIndexOf(insert)
caretPos =last_pos+insert.length
if(elem != null) {
if(elem.createTextRange) {
var range = elem.createTextRange();
range.move('character', caretPos);
range.select();
}
else {
if(elem.selectionStart) {
elem.focus();
elem.setSelectionRange(caretPos, caretPos);
}
else {
elem.focus();
}
}
}
}
}
if (Drupal.jsEnabled) {
$(document).ready(function() {
//paging_init('embed_library',2);
});
}
var startPos,endPos;
$( function(){$('#edit-body').bind('blur',findPos)})
/*
function insertAtCursor(myField, myValue) {
//IE support
if (document.selection) {
myField.focus();
sel = document.selection.createRange();
sel.text = myValue;
}
//MOZILLA/NETSCAPE support
else if (startPos|| startPos == '0') {
//var startPos = myField.selectionStart;
//var endPos = myField.selectionEnd;
myField.value = myField.value.substring(0, startPos)
+ myValue
+ myField.value.substring(endPos, myField.value.length);
} else {
myField.value += myValue;
}
}
*/
function insertAtCursor(myField, myValue) {
if (startPos|| startPos == '0') {
//var startPos = myField.selectionStart;
//var endPos = myField.selectionEnd;
myField.value = myField.value.substring(0, startPos)
+ myValue
+ myField.value.substring(endPos, myField.value.length);
} else {
myField.value += myValue;
}
}
function findPos() {
if($.browser.mozilla) {
startPos = document.getElementById('edit-body').selectionStart;endPos = document.getElementById('edit-body').selectionEnd;
}
if($.browser.msie) {
var element = document.getElementById( 'edit-body' );
if( document.selection ){
// The current selection
var range = document.selection.createRange();//alert(range.duplicate())
// We'll use this as a 'dummy'
var stored_range = range.duplicate();
// Select all text
stored_range.moveToElementText( element );
// Now move 'dummy' end point to end point of original range
stored_range.setEndPoint( 'EndToEnd', range );
// Now we can calculate start and end points
element.selectionStart = stored_range.text.length - range.text.length;
element.selectionEnd = element.selectionStart + range.text.length;
startPos = element.selectionStart
endPos = element.selectionEnd
alert(stored_range.text.length)
alert(range.text.length)
//alert( stored_range.text.length - range.text.length)
//alert(element.selectionStart + range.text.length)
}
}
}
/******************************************/
/*
path = $("#filePath"+this.id).val();
node = $("#node").val()
audioinsertString= '<div class="embeded_video"><div id="PlayAudioDiv" style="padding: 10px 0px 10px 10px; background-color: rgb(244, 243, 241);" align="left"><object type="application/x-shockwave-flash" data="/modules/audio/players/1pixelout.swf" width="290" height="24"><param name="movie" value="/modules/audio/players/1pixelout.swf"> <param name="wmode" value="transparent"> <param name="menu" value="false"> <param name="quality" value="heigh"> <param name="FlashVars" value="soundFile='+path+'"> <embed src="/modules/audio/players/1pixelout.swf" flashvars="soundFile='+path+'" width="290" height="24"></object></div></div>';
/*
videoinsertString = '<div class="embeded_video"><object type="application/x-shockwave-flash" height="350" width="400" data="'+path+'" id="VideoPlayback" > <param name="movie" value="'+path+'" /> <param name="allowScriptAcess" value="sameDomain"/> <param name="quality" value="best"/> <param name="bgcolor" value="#FFFFFF"/> <param name="scale" value="noScale"/> <param name="salign" value="TL"/> <param name="FlashVars" value="playerMode=embedded" /> <param name="wmode" value="transparent"/></object></div>';
*/
/*
videoinsertString = '<div align="center" class = "BlogPhoto"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" height="350" width="450"><param name="movie" value="/sites/all/dashplayer/dashPlayer.swf"><param name="wmode" value="window"><param name="allowfullscreen" value="true"><param name="FlashVars" value="playlist=videos&autostart=false&file='+path+'><param name="quality" value="high"><embed allowscriptaccess="always" src="/sites/all/dashplayer/dashPlayer.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="window" allowfullscreen="true" quality="high" flashvars="playlist=videos&autostart=false&file='+path+'" border="0" height="350" width="450"></object></div><div align="center" class = "BlogPhoto">Video from <a href="/node/302">'+title+'</a></div>'
imageinsertString = '<div class="BlogPhoto" style="padding-top: 10px; padding-bottom: 10px;" align="center"><a href="/node/'+this.id+'"><img src="/'+path+'" alt="image not found" title="" class="image post"></a></div>';
documentinsertString = '<a href = "/node/'+this.id+'"><img src = "/sites/all/themes/englishcafe/images/document-new.jpg" alt = "documentImage"/>'+$(this).find('.lib_content_title').html()+'</a>';
//alert(window[mediaName+'insertString'])
//submit_form('\n'+window[mediaName+'insertString']+'\n');
insertTo('\n'+window[mediaName+'insertString']+'\n')
$("#edit-body").focus();
ciw_focus('edit-body','\n'+window[mediaName+'insertString']+'\n')
hidePop('CIWDiv');hidePop('embedLibrary');
/********************************************/
Untitled JavaScript (27-Sep @ 19:29)
Syntax Highlighted Code
- /**
- * remy sharp / http://remysharp.com
- * http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/
- *
- [302 more lines...]
Plain Code
/**
* remy sharp / http://remysharp.com
* http://remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step/
*
* @params
* cssIdOfContainer: e.g. twitters
* options:
* {
* id: {String} username,
* count: {Int} 1-20, defaults to 1 - max limit 20
* prefix: {String} '%name% said', defaults to blank
* clearContents: {Boolean} true, removes contents of element specified in cssIdOfContainer, defaults to true
* ignoreReplies: {Boolean}, skips over tweets starting with '@', defaults to false
* template: {String} HTML template to use for LI element (see URL above for examples), defaults to predefined template
* enableLinks: {Boolean} linkifies text, defaults to true,
* timeout: {Int} How long before triggering onTimeout, defaults to 10 seconds if onTimeout is set
* onTimeoutCancel: {Boolean} Completely cancel twitter call if timedout, defaults to false
* onTimeout: {Function} Function to run when the timeout occurs. Function is bound to element specified with
* cssIdOfContainer (i.e. 'this' keyword)
*
* CURRENTLY DISABLED DUE TO CHANGE IN TWITTER API:
* withFriends: {Boolean} includes friend's status
*
* }
*
* @license MIT (MIT-LICENSE.txt)
* @version 1.11 - Added timeout functionality, and removed withFriends while Twitter works out API changes
* @date $Date: 2008-05-31 14:26:49 +0100 (Sat, 31 May 2008) $
*/
// to protect variables from resetting if included more than once
if (typeof renderTwitters != 'function') (function () {
/** Private variables */
var browser = (function() {
var b = navigator.userAgent.toLowerCase();
// Figure out what browser is being used
return {
safari: /webkit/.test(b),
opera: /opera/.test(b),
msie: /msie/.test(b) && !(/opera/).test(b),
mozilla: /mozilla/.test(b) && !(/(compatible|webkit)/).test(b)
};
})();
var guid = 0;
var readyList = [];
var isReady = false;
/** Global functions */
// to create a public function within our private scope, we attach the
// the function to the window object
window.renderTwitters = function (obj, options) {
// private shortcuts
function node(e) {
return document.createElement(e);
}
function text(t) {
return document.createTextNode(t);
}
var target = document.getElementById(options.twitterTarget);
var data = null;
var ul = node('ul'), li, statusSpan, timeSpan, i, max = obj.length > options.count ? options.count : obj.length;
for (i = 0; i < max && obj[i]; i++) {
data = getTwitterData(obj[i]);
if (options.ignoreReplies && obj[i].text.substr(0, 1) == '@') {
max++;
continue; // skip
}
li = node('li');
if (options.template) {
li.innerHTML = options.template.replace(/%([a-z_\-\.]*)%/ig, function (m, l) {
var r = data[l] + "" || "";
if (l == 'text' && options.enableLinks) r = linkify(r);
return r;
});
} else {
statusSpan = node('span');
statusSpan.className = 'twitterStatus';
timeSpan = node('span');
timeSpan.className = 'twitterTime';
statusSpan.innerHTML = obj[i].text; // forces the entities to be converted correctly
if (options.enableLinks == true) {
statusSpan.innerHTML = linkify(statusSpan.innerHTML);
}
timeSpan.innerHTML = relative_time(obj[i].created_at);
if (options.prefix) {
var s = node('span');
s.className = 'twitterPrefix';
s.innerHTML = options.prefix.replace(/%(.*?)%/g, function (m, l) {
return obj[i].user[l];
});
li.appendChild(s);
li.appendChild(text(' ')); // spacer :-(
}
li.appendChild(statusSpan);
li.appendChild(text(' '));
li.appendChild(timeSpan);
}
ul.appendChild(li);
}
if (options.clearContents) {
while (target.firstChild) {
target.removeChild(target.firstChild);
}
}
target.appendChild(ul);
};
window.getTwitters = function (target, id, count, options) {
guid++;
if (typeof id == 'object') {
options = id;
id = options.id;
count = options.count;
}
// defaulting options
if (!count) count = 1;
if (options) {
options.count = count;
} else {
options = {};
}
if (!options.timeout && typeof options.onTimeout == 'function') {
options.timeout = 10;
}
if (typeof options.clearContents == 'undefined') {
options.clearContents = true;
}
// Hack to disable withFriends, twitter changed their API so this requires auth
// http://getsatisfaction.com/twitter/topics/friends_timeline_api_call_suddenly_requires_auth
if (options.withFriends) options.withFriends = false;
// need to make these global since we can't pass in to the twitter callback
options['twitterTarget'] = target;
// default enable links
if (typeof options.enableLinks == 'undefined') options.enableLinks = true;
// this looks scary, but it actually allows us to have more than one twitter
// status on the page, which in the case of my example blog - I do!
window['twitterCallback' + guid] = function (obj) {
if (options.timeout) {
clearTimeout(window['twitterTimeout' + guid]);
}
renderTwitters(obj, options);
};
// check out the mad currying!
ready((function(options, guid) {
return function () {
// if the element isn't on the DOM, don't bother
if (!document.getElementById(options.twitterTarget)) {
return;
}
var url = 'http://www.twitter.com/statuses/' + (options.withFriends ? 'friends_timeline' : 'user_timeline') + '/' + id + '.json?callback=twitterCallback' + guid + '&count=20';
if (options.timeout) {
window['twitterTimeout' + guid] = setTimeout(function () {
// cancel callback
if (options.onTimeoutCancel) window['twitterCallback' + guid] = function () {};
options.onTimeout.call(document.getElementById(options.twitterTarget));
}, options.timeout);
}
var script = document.createElement('script');
script.setAttribute('src', url);
document.getElementsByTagName('head')[0].appendChild(script);
};
})(options, guid));
};
// GO!
DOMReady();
/** Private functions */
function getTwitterData(orig) {
var data = orig, i;
for (i in orig.user) {
data['user_' + i] = orig.user[i];
}
data.time = relative_time(orig.created_at);
return data;
}
function ready(callback) {
if (!isReady) {
readyList.push(callback);
} else {
callback.call();
}
}
function fireReady() {
isReady = true;
var fn;
while (fn = readyList.shift()) {
fn.call();
}
}
// ready and browser adapted from John Resig's jQuery library (http://jquery.com)
function DOMReady() {
if ( browser.mozilla || browser.opera ) {
document.addEventListener( "DOMContentLoaded", fireReady, false );
} else if ( browser.msie ) {
// If IE is used, use the excellent hack by Matthias Miller
// http://www.outofhanwell.com/blog/index.php?title=the_window_onload_problem_revisited
// Only works if you document.write() it
document.write("<scr" + "ipt id=__ie_init defer=true src=//:><\/script>");
// Use the defer script hack
var script = document.getElementById("__ie_init");
// script does not exist if jQuery is loaded dynamically
if (script) {
script.onreadystatechange = function() {
if ( this.readyState != "complete" ) return;
this.parentNode.removeChild( this );
fireReady.call();
};
}
// Clear from memory
script = null;
// If Safari is used
} else if ( browser.safari ) {
// Continually check to see if the document.readyState is valid
var safariTimer = setInterval(function () {
// loaded and complete are both valid states
if ( document.readyState == "loaded" ||
document.readyState == "complete" ) {
// If either one are found, remove the timer
clearInterval( safariTimer );
safariTimer = null;
// and execute any waiting functions
fireReady.call();
}
}, 10);
}
}
function relative_time(time_value) {
var values = time_value.split(" ");
time_value = values[1] + " " + values[2] + ", " + values[5] + " " + values[3];
var parsed_date = Date.parse(time_value);
var relative_to = (arguments.length > 1) ? arguments[1] : new Date();
var delta = parseInt((relative_to.getTime() - parsed_date) / 1000);
delta = delta + (relative_to.getTimezoneOffset() * 60);
var r = '';
if (delta < 60) {
r = 'less than a minute ago';
} else if(delta < 120) {
r = 'about a minute ago';
} else if(delta < (45*60)) {
r = (parseInt(delta / 60)).toString() + ' minutes ago';
} else if(delta < (2*90*60)) { // 2* because sometimes read 1 hours ago
r = 'about an hour ago';
} else if(delta < (24*60*60)) {
r = 'about ' + (parseInt(delta / 3600)).toString() + ' hours ago';
} else if(delta < (48*60*60)) {
r = '1 day ago';
} else {
r = (parseInt(delta / 86400)).toString() + ' days ago';
}
return r;
}
function linkify(s) {
return s.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/g, function(m) {
return m.link(m);
}).replace(/@[\S]+/g, function(m) {
return '<a href="http://twitter.com/' + m.substr(1) + '">' + m + '</a>';
});
}
})();
Untitled JavaScript (27-Sep @ 14:46)
Syntax Highlighted Code
- else{
- var sliceFirstTrack = GM_getValue("lastRead0");
- [8 more lines...]
Plain Code
else{
var sliceFirstTrack = GM_getValue("lastRead0");
var sliceFirstTrack2 = (sliceFirstTrack.charAt(0) == ',')? sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+"," :sliceFirstTrack.substr(sliceFirstTrack.indexOf(',')+1)+returnedLink+",";
// var sliceFirstTrack2 = (sliceFirstTrack.charAt(0) == ',')? sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+"," :sliceFirstTrack.substr(sliceFirstTrack.indexOf(','))+returnedLink+",";
GM_setValue("lastRead0", sliceFirstTrack2);
}
Untitled JavaScript (24-Sep @ 15:41)
Syntax Highlighted Code
- function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])return jQuery().find(selector);return jQuery(elem);}selector=[];}}else
- return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else
- return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true));else
- selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one)return value;values.push(value);}}return values;}else
- [56 more lines...]
Plain Code
function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])return jQuery().find(selector);return jQuery(elem);}selector=[];}}else
return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)if(value===undefined)return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}return this.each(function(i){for(name in options)jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else
return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){if(this.nodeType==3)return;var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)if(isSimple.test(selector))return this.pushStack(jQuery.multiFilter(selector,this,true));else
selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one)return value;values.push(value);}}return values;}else
return(this[0].value||"").replace(/\r/g,"");}return undefined;}if(value.constructor==Number)value+='';return this.each(function(){if(this.nodeType!=1)return;if(value.constructor==Array&&/radio|checkbox/.test(this.type))this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)this.selectedIndex=-1;}else
this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else
return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)elems.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script"))scripts=scripts.add(elem);else{if(elem.nodeType==1)scripts=scripts.add(jQuery("script",elem).remove());callback.call(obj,elem);}});scripts.each(evalScript);});}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else
jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}function now(){return+new Date;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}if(typeof target!="object"&&typeof target!="function")target={};if(length==i){target=this;--i;}for(;i<length;i++)if((options=arguments[i])!=null)for(var name in options){var src=target[name],copy=options[name];if(target===copy)continue;if(deep&©&&typeof copy=="object"&&!copy.nodeType)target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy);else if(copy!==undefined)target[name]=copy;}return target;};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)window.jQuery=_jQuery;return jQuery;},isFunction:function(fn){return!!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/^[\s[]?function/.test(fn+"");},isXMLDoc:function(elem){return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body;},globalEval:function(data){data=jQuery.trim(data);if(data){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.browser.msie)script.text=data;else
script.appendChild(document.createTextNode(data));head.insertBefore(script,head.firstChild);head.removeChild(script);}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])jQuery.cache[id]={};if(data!==undefined)jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id;},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id])break;if(!name)jQuery.removeData(elem);}}else{try{delete elem[expando];}catch(e){if(elem.removeAttribute)elem.removeAttribute(expando);}delete jQuery.cache[id];}},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length==undefined){for(name in object)if(callback.apply(object[name],args)===false)break;}else
for(;i<length;)if(callback.apply(object[i++],args)===false)break;}else{if(length==undefined){for(name in object)if(callback.call(object[name],name,object[name])===false)break;}else
for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}return object;},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))value=value.call(elem,i);return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value;},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))elem.className+=(elem.className?" ":"")+className;});},remove:function(elem,classNames){if(elem.nodeType==1)elem.className=classNames!=undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return!jQuery.className.has(classNames,className);}).join(" "):"";},has:function(elem,className){return jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}callback.call(elem);for(var name in options)elem.style[name]=old[name];},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});val-=Math.round(padding+border);}if(jQuery(elem).is(":visible"))getWH();else
jQuery.swap(elem,props,getWH);return Math.max(0,val);}return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save;}if(name.match(/float/i))name=styleFloat;if(!force&&style&&style[name])ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem))ret=computedStyle.getPropertyValue(name);else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode)stack.unshift(a);for(;i<stack.length;i++)if(color(stack[i])){swap[i]=stack[i].style.display;stack[i].style.display="block";}ret=name=="display"&&swap[stack.length-1]!=null?"none":(computedStyle&&computedStyle.getPropertyValue(name))||"";for(i=0;i<swap.length;i++)if(swap[i]!=null)stack[i].style.display=swap[i];}if(name=="opacity"&&ret=="")ret="1";}else if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase();});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft;}}return ret;},clean:function(elems,context){var ret=[];context=context||document;if(typeof context.createElement=='undefined')context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;jQuery.each(elems,function(i,elem){if(!elem)return;if(elem.constructor==Number)elem+='';if(typeof elem=="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf("<table")&&tags.indexOf("<tbody")<0?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&tags.indexOf("<tbody")<0?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j)if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)tbody[j].parentNode.removeChild(tbody[j]);if(/^\s/.test(elem))div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);}elem=jQuery.makeArray(div.childNodes);}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select")))return;if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options)ret.push(elem);else
ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(name in elem&¬xml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem[name]=value;}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))return elem.getAttributeNode(name).nodeValue;return elem[name];}if(msie&¬xml&&name=="style")return jQuery.attr(elem.style,"cssText",value);if(set)elem.setAttribute(name,""+value);var attr=msie&¬xml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set)elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)ret[0]=array;else
while(i)ret[--i]=array[i];}return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)if(array[i]===elem)return i;return-1;},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++])if(elem.nodeType!=8)first[pos++]=elem;}else
while(elem=second[i++])first[pos++]=elem;return first;},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i]);}}}catch(e){ret=array;}return ret;},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)if(!inv!=!callback(elems[i],i))ret.push(elems[i]);return ret;},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null)ret[ret.length]=value;}return ret.concat.apply([],ret);}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function(elem){return elem.parentNode;},parents:function(elem){return jQuery.dir(elem,"parentNode");},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string")ret=jQuery.multiFilter(selector,ret);return this.pushStack(jQuery.unique(ret));};});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(){var args=arguments;return this.each(function(){for(var i=0,length=args.length;i<length;i++)jQuery(args[i])[original](this);});};});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1)this.removeAttribute(name);},addClass:function(classNames){jQuery.className.add(this,classNames);},removeClass:function(classNames){jQuery.className.remove(this,classNames);},toggleClass:function(classNames){jQuery.className[jQuery.className.has(this,classNames)?"remove":"add"](this,classNames);},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this);});if(this.parentNode)this.parentNode.removeChild(this);}},empty:function(){jQuery(">*",this).remove();while(this.firstChild)this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px");};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},"#":function(a,i,m){return a.getAttribute("id")==m[2];},":":{lt:function(a,i,m){return i<m[3]-0;},gt:function(a,i,m){return i>m[3]-0;},nth:function(a,i,m){return m[3]-0==i;},eq:function(a,i,m){return m[3]-0==i;},first:function(a,i){return i==0;},last:function(a,i,m,r){return i==r.length-1;},even:function(a,i){return i%2==0;},odd:function(a,i){return i%2;},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},"only-child":function(a){return!jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},parent:function(a){return a.firstChild;},empty:function(a){return!a.firstChild;},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},enabled:function(a){return!a.disabled;},disabled:function(a){return a.disabled;},checked:function(a){return a.checked;},selected:function(a){return a.selected||jQuery.attr(a,"selected");},text:function(a){return"text"==a.type;},radio:function(a){return"radio"==a.type;},checkbox:function(a){return"checkbox"==a.type;},file:function(a){return"file"==a.type;},password:function(a){return"password"==a.type;},submit:function(a){return"submit"==a.type;},image:function(a){return"image"==a.type;},reset:function(a){return"reset"==a.type;},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button");},input:function(a){return/input|select|textarea|button/i.test(a.nodeName);},has:function(a,i,m){return jQuery.find(m[3],a).length;},header:function(a){return/h\d/i.test(a.nodeName);},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&context.nodeType!=1&&context.nodeType!=9)return[];context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j<rl;j++){var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;for(;n;n=n.nextSibling)if(n.nodeType==1){var id=jQuery.data(n);if(m=="~"&&merge[id])break;if(!nodeName||n.nodeName.toUpperCase()==nodeName){if(m=="~")merge[id]=true;r.push(n);}if(m=="+")break;}}ret=r;t=jQuery.trim(t.replace(re,""));foundToken=true;}}if(t&&!foundToken){if(!t.indexOf(",")){if(context==ret[0])ret.shift();done=jQuery.merge(done,ret);r=ret=[context];t=" "+t.substr(1,t.length);}else{var re2=quickID;var m=re2.exec(t);if(m){m=[0,m[2],m[3],m[1]];}else{re2=quickClass;m=re2.exec(t);}m[2]=m[2].replace(/\\/g,"");var elem=ret[ret.length-1];if(m[1]=="#"&&elem&&elem.getElementById&&!jQuery.isXMLDoc(elem)){var oid=elem.getElementById(m[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2])oid=jQuery('[@id="'+m[2]+'"]',elem)[0];ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[];}else{for(var i=0;ret[i];i++){var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object")tag="param";r=jQuery.merge(r,ret[i].getElementsByTagName(tag));}if(m[1]==".")r=jQuery.classFilter(r,m[2]);if(m[1]=="#"){var tmp=[];for(var i=0;r[i];i++)if(r[i].getAttribute("id")==m[2]){tmp=[r[i]];break;}r=tmp;}ret=r;}t=t.replace(re2,"");}}if(t){var val=jQuery.filter(t,r);ret=r=val.r;t=jQuery.trim(val.t);}}if(t)ret=[];if(ret&&context==ret[0])ret.shift();done=jQuery.merge(done,ret);return done;},classFilter:function(r,m,not){m=" "+m+" ";var tmp=[];for(var i=0;r[i];i++){var pass=(" "+r[i].className+" ").indexOf(m)>=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2]))z=jQuery.attr(a,m[2])||'';if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling)if(n.nodeType==1)n.nodeIndex=c++;merge[id]=true;}var add=false;if(first==0){if(node.nodeIndex==last)add=true;}else if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0)add=true;if(add^not)tmp.push(node);}r=tmp;}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")fn=fn[m[2]];if(typeof fn=="string")fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r);},not);}}return{r:r,t:t};},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)matched.push(cur);cur=cur[dir];}return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])if(cur.nodeType==1&&++num==result)break;return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)r.push(n);}return r;}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)return;if(jQuery.browser.msie&&elem.setInterval)elem=window;if(!handler.guid)handler.guid=this.guid++;if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments);});handler.data=data;}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)return jQuery.event.handle.apply(arguments.callee.elem,arguments);});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener)elem.addEventListener(type,handle,false);else if(elem.attachEvent)elem.attachEvent("on"+type,handle);}}handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)=="."))for(var type in events)this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler)delete events[type][handler.guid];else
for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}ret=null;delete events[type];}}});}for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true;}if(!elem){if(this.global[type])jQuery("*").add([window,document]).trigger(type,data);}else{if(elem.nodeType==3||elem.nodeType==8)return undefined;var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true;}data[0].type=type;if(exclusive)data[0].exclusive=true;var handle=jQuery.data(elem,"handle");if(handle)val=handle.apply(elem,data);if((!fn||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)val=false;if(event)data.shift();if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined)val=ret;}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}this.triggered=false;}return val;},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false)val=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}return val;},fix:function(event){if(event[expando]==true)return event;var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--)event[props[i]]=originalEvent[props[i]];event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault)originalEvent.preventDefault();originalEvent.returnValue=false;};event.stopPropagation=function(){if(originalEvent.stopPropagation)originalEvent.stopPropagation();originalEvent.cancelBubble=true;};event.timeStamp=event.timeStamp||now();if(!event.target)event.target=event.srcElement||document;if(event.target.nodeType==3)event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)event.metaKey=event.ctrlKey;if(!event.which&&event.button)event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:function(){bindReady();return;},teardown:function(){return;}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseenter";return jQuery.event.handle.apply(this,arguments);}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseleave";return jQuery.event.handle.apply(this,arguments);}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn);});},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn);},toggle:function(fn){var args=arguments,i=1;while(i<args.length)jQuery.event.proxy(fn,args[i++]);return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(fnOver,fnOut){return this.bind('mouseenter',fnOver).bind('mouseleave',fnOut);},ready:function(fn){bindReady();if(jQuery.isReady)fn.call(document,jQuery);else
jQuery.readyList.push(function(){return fn.call(this,jQuery);});return this;}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document);});jQuery.readyList=null;}jQuery(document).triggerHandler("ready");}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener&&!jQuery.browser.opera)document.addEventListener("DOMContentLoaded",jQuery.ready,false);if(jQuery.browser.msie&&window==top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}jQuery.ready();})();if(jQuery.browser.opera)document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady)return;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}jQuery.ready();},false);if(jQuery.browser.safari){var numStyles;(function(){if(jQuery.isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(numStyles===undefined)numStyles=jQuery("style, link[rel=stylesheet]").length;if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return;}jQuery.ready();})();}jQuery.event.add(window,"load",jQuery.ready);}jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name);};});var withinElement=function(event,elem){var parent=event.relatedTarget;while(parent&&parent!=elem)try{parent=parent.parentNode;}catch(error){parent=elem;}return parent==elem;};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind();});jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!='string')return this._load(url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText);self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}if(head)head.removeChild(script);};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return undefined;}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username)xhr.open(type,s.url,s.async,s.username,s.password);else
xhr.open(type,s.url,s.async);try{if(s.data)xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false;}if(s.global)jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else
jQuery.handleError(s,xhr,status);complete();if(s.async)xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}if(!s.async)onreadystatechange();function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xhr,s]);}function complete(){if(s.complete)s.complete(xhr,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}return false;},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(filter)data=filter(data,type);if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else
for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else
s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none")this.style.display="block";elem.remove();}}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1)return false;var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return opt.complete.call(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else
e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)if(timers[i].elem==this){if(gotoEnd)timers[i](true);timers.splice(i,1);}});if(!gotoEnd)this.dequeue();return this;}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array)q=jQuery.data(elem,type+"queue",jQuery.makeArray(array));}return q;};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length)q[0].call(this);});};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)jQuery(this).dequeue();if(jQuery.isFunction(opt.old))opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd);}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++)if(!timers[i]())timers.splice(i--,1);if(!timers.length){clearInterval(jQuery.timerId);jQuery.timerId=null;}},13);}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height")this.elem.style[this.prop]="1px";jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var t=now();if(gotoEnd||t>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done)this.options.complete.call(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop);}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent;}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));}results={top:top,left:left};}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true));}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0;}return results;};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br);};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0);};});})();(function($){$.dimensions={version:'1.2'};$.each(['Height','Width'],function(i,name){$.fn['inner'+name]=function(){if(!this[0])return;var torl=name=='Height'?'Top':'Left',borr=name=='Height'?'Bottom':'Right';return this.is(':visible')?this[0]['client'+name]:num(this,name.toLowerCase())+num(this,'padding'+torl)+num(this,'padding'+borr);};$.fn['outer'+name]=function(options){if(!this[0])return;var torl=name=='Height'?'Top':'Left',borr=name=='Height'?'Bottom':'Right';options=$.extend({margin:false},options||{});var val=this.is(':visible')?this[0]['offset'+name]:num(this,name.toLowerCase())+num(this,'border'+torl+'Width')+num(this,'border'+borr+'Width')+num(this,'padding'+torl)+num(this,'padding'+borr);return val+(options.margin?(num(this,'margin'+torl)+num(this,'margin'+borr)):0);};});$.each(['Left','Top'],function(i,name){$.fn['scroll'+name]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(name=='Left'?val:$(window)['scrollLeft'](),name=='Top'?val:$(window)['scrollTop']()):this['scroll'+name]=val;}):this[0]==window||this[0]==document?self[(name=='Left'?'pageXOffset':'pageYOffset')]||$.boxModel&&document.documentElement['scroll'+name]||document.body['scroll'+name]:this[0]['scroll'+name];};});$.fn.extend({position:function(){var left=0,top=0,elem=this[0],offset,parentOffset,offsetParent,results;if(elem){offsetParent=this.offsetParent();offset=this.offset();parentOffset=offsetParent.offset();offset.top-=num(elem,'marginTop');offset.left-=num(elem,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&$.css(offsetParent,'position')=='static'))offsetParent=offsetParent.offsetParent;return $(offsetParent);}});function num(el,prop){return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;};})(jQuery);jQuery.fn.mousehold=function(timeout,f){if(timeout&&typeof timeout=='function'){f=timeout;timeout=100;}
if(f&&typeof f=='function'){var timer=0;var fireStep=0;return this.each(function(){jQuery(this).mousedown(function(){fireStep=1;var ctr=0;var t=this;timer=setInterval(function(){ctr++;f.call(t,ctr);fireStep=2;},timeout);})
clearMousehold=function(){clearInterval(timer);if(fireStep==1)f.call(this,1);fireStep=0;}
jQuery(this).mouseout(clearMousehold);jQuery(this).mouseup(clearMousehold);})}}
(function($){$.extend($.fn,{livequery:function(type,fn,fn2){var self=this,q;if($.isFunction(type))
fn2=fn,fn=type,type=undefined;$.each($.livequery.queries,function(i,query){if(self.selector==query.selector&&self.context==query.context&&type==query.type&&(!fn||fn.$lqguid==query.fn.$lqguid)&&(!fn2||fn2.$lqguid==query.fn2.$lqguid))
return(q=query)&&false;});q=q||new $.livequery(this.selector,this.context,type,fn,fn2);q.stopped=false;$.livequery.run(q.id);return this;},expire:function(type,fn,fn2){var self=this;if($.isFunction(type))
fn2=fn,fn=type,type=undefined;$.each($.livequery.queries,function(i,query){if(self.selector==query.selector&&self.context==query.context&&(!type||type==query.type)&&(!fn||fn.$lqguid==query.fn.$lqguid)&&(!fn2||fn2.$lqguid==query.fn2.$lqguid)&&!this.stopped)
$.livequery.stop(query.id);});return this;}});$.livequery=function(selector,context,type,fn,fn2){this.selector=selector;this.context=context||document;this.type=type;this.fn=fn;this.fn2=fn2;this.elements=[];this.stopped=false;this.id=$.livequery.queries.push(this)-1;fn.$lqguid=fn.$lqguid||$.livequery.guid++;if(fn2)fn2.$lqguid=fn2.$lqguid||$.livequery.guid++;return this;};$.livequery.prototype={stop:function(){var query=this;if(this.type)
this.elements.unbind(this.type,this.fn);else if(this.fn2)
this.elements.each(function(i,el){query.fn2.apply(el);});this.elements=[];this.stopped=true;},run:function(){if(this.stopped)return;var query=this;var oEls=this.elements,els=$(this.selector,this.context),nEls=els.not(oEls);this.elements=els;if(this.type){nEls.bind(this.type,this.fn);if(oEls.length>0)
$.each(oEls,function(i,el){if($.inArray(el,els)<0)
$.event.remove(el,query.type,query.fn);});}
else{nEls.each(function(){query.fn.apply(this);});if(this.fn2&&oEls.length>0)
$.each(oEls,function(i,el){if($.inArray(el,els)<0)
query.fn2.apply(el);});}}};$.extend($.livequery,{guid:0,queries:[],queue:[],running:false,timeout:null,checkQueue:function(){if($.livequery.running&&$.livequery.queue.length){var length=$.livequery.queue.length;while(length--)
$.livequery.queries[$.livequery.queue.shift()].run();}},pause:function(){$.livequery.running=false;},play:function(){$.livequery.running=true;$.livequery.run();},registerPlugin:function(){$.each(arguments,function(i,n){if(!$.fn[n])return;var old=$.fn[n];$.fn[n]=function(){var r=old.apply(this,arguments);$.livequery.run();return r;}});},run:function(id){if(id!=undefined){if($.inArray(id,$.livequery.queue)<0)
$.livequery.queue.push(id);}
else
$.each($.livequery.queries,function(id){if($.inArray(id,$.livequery.queue)<0)
$.livequery.queue.push(id);});if($.livequery.timeout)clearTimeout($.livequery.timeout);$.livequery.timeout=setTimeout($.livequery.checkQueue,20);},stop:function(id){if(id!=undefined)
$.livequery.queries[id].stop();else
$.each($.livequery.queries,function(id){$.livequery.queries[id].stop();});}});$.livequery.registerPlugin('append','prepend','after','before','wrap','attr','removeAttr','addClass','removeClass','toggleClass','empty','remove');$(function(){$.livequery.play();});var init=$.prototype.init;$.prototype.init=function(a,c){var r=init.apply(this,arguments);if(a&&a.selector)
r.context=a.context,r.selector=a.selector;if(typeof a=='string')
r.context=c||document,r.selector=a;return r;};$.prototype.init.prototype=$.prototype;})(jQuery);;(function($){var $scrollTo=$.scrollTo=function(target,duration,settings){$scrollTo.window().scrollTo(target,duration,settings);};$scrollTo.defaults={axis:'y',duration:1};$scrollTo.window=function(){return $($.browser.safari?'body':'html');};$.fn.scrollTo=function(target,duration,settings){if(typeof duration=='object'){settings=duration;duration=0;}
settings=$.extend({},$scrollTo.defaults,settings);duration=duration||settings.speed||settings.duration;settings.queue=settings.queue&&settings.axis.length>1;if(settings.queue)
duration/=2;settings.offset=both(settings.offset);settings.over=both(settings.over);return this.each(function(){var elem=this,$elem=$(elem),t=target,toff,attr={},win=$elem.is('html,body');switch(typeof t){case'number':case'string':if(/^([+-]=)?\d+(px)?$/.test(t)){t=both(t);break;}
t=$(t,this);case'object':if(t.is||t.style)
toff=(t=$(t)).offset();}
$.each(settings.axis.split(''),function(i,axis){var Pos=axis=='x'?'Left':'Top',pos=Pos.toLowerCase(),key='scroll'+Pos,act=elem[key],Dim=axis=='x'?'Width':'Height',dim=Dim.toLowerCase();if(toff){attr[key]=toff[pos]+(win?0:act-$elem.offset()[pos]);if(settings.margin){attr[key]-=parseInt(t.css('margin'+Pos))||0;attr[key]-=parseInt(t.css('border'+Pos+'Width'))||0;}
attr[key]+=settings.offset[pos]||0;if(settings.over[pos])
attr[key]+=t[dim]()*settings.over[pos];}else
attr[key]=t[pos];if(/^\d+$/.test(attr[key]))
attr[key]=attr[key]<=0?0:Math.min(attr[key],max(Dim));if(!i&&settings.queue){if(act!=attr[key])
animate(settings.onAfterFirst);delete attr[key];}});animate(settings.onAfter);function animate(callback){$elem.animate(attr,duration,settings.easing,callback&&function(){callback.call(this,target);});};function max(Dim){var el=win?$.browser.opera?document.body:document.documentElement:elem;return el['scroll'+Dim]-el['client'+Dim];};});};function both(val){return typeof val=='object'?val:{top:val,left:val};};})(jQuery);var tb_pathToImage="_img/loadingAnimation.gif";$(document).ready(function(){tb_init('a.thickbox, area.thickbox, input.thickbox');imgLoader=new Image();imgLoader.src=tb_pathToImage;});function tb_init(domChunk){$(domChunk).click(function(){var t=this.title||this.name||null;var a=this.href||this.alt;var g=this.rel||false;tb_show(t,a,g);this.blur();return false;});}
function tb_show(caption,url,imageGroup){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove);}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove);}}
if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack");}else{$("#TB_overlay").addClass("TB_overlayBG");}
if(caption===null){caption="";}
$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$('#TB_load').show();var baseURL;if(url.indexOf("?")!==-1){baseURL=url.substr(0,url.indexOf("?"));}else{baseURL=url;}
var urlString=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var urlType=baseURL.toLowerCase().match(urlString);if(urlType=='.jpg'||urlType=='.jpeg'||urlType=='.png'||urlType=='.gif'||urlType=='.bmp'){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(imageGroup){TB_TempArray=$("a[@rel="+imageGroup+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var urlTypeTemp=TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);if(!(TB_TempArray[TB_Counter].href==url)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'> <a href='#'>Next ></a></span>";}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_p
Untitled JavaScript (24-Sep @ 12:50)
Syntax Highlighted Code
- console.log("hello");
Plain Code
console.log("hello");
Untitled JavaScript (24-Sep @ 12:50)
Syntax Highlighted Code
- console.log("hello"
Plain Code
console.log("hello"
ARIA jQuery UI (23-Sep @ 00:30)
Syntax Highlighted Code
- // WAI-ARIA Semantics
- var isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
- $.fn.extend({
- ariaRole: function(role) {
- [24 more lines...]
Plain Code
// WAI-ARIA Semantics
var isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
$.fn.extend({
ariaRole: function(role) {
return (role !== undefined
// setter
? this.attr("role", isFF2 ? "wairole:" + role : role)
// getter
: (this.attr("role") || "").replace("wairole:", ""));
},
ariaState: function(state, value) {
return (value !== undefined
// setter
? this.each(function(i, el) {
(isFF2
? el.setAttributeNS("http://www.w3.org/2005/07/aaa",
"aaa:" + state, value)
: $(el).attr("aria-" + state, value));
})
// getter
: this.attr(isFF2 ? "aaa:" + state : "aria-" + state));
}
});
Untitled JavaScript (22-Sep @ 22:37)
Syntax Highlighted Code
- // WAI-ARIA Semantics
- var isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
- $.fn.extend({
- ariaRole: function(role) {
- [24 more lines...]
Plain Code
// WAI-ARIA Semantics
var isFF2 = $.browser.mozilla && (parseFloat($.browser.version) < 1.9);
$.fn.extend({
ariaRole: function(role) {
return (role !== undefined
// setter
? this.attr("role", isFF2 ? "wairole:" + role : role)
// getter
: (this.eq(0).attr("role") || "").replace(/^wairole:/, ""));
},
ariaState: function(state, value) {
return (value !== undefined
// setter
? this.each(function(i, el) {
(isFF2
? el.setAttributeNS("http://www.w3.org/2005/07/aaa",
"aaa:" + state, value)
: $(el).attr("aria-" + state, value));
})
// getter
: this.attr(isFF2 ? "aaa:" + state : "aria-" + state));
}
});
Untitled JavaScript (20-Sep @ 11:35)
Syntax Highlighted Code
- // this would be the ID of the result
- var id = 'trigger141',
- item = jquerydocs.data[id],
- i = 0,
- [18 more lines...]
Plain Code
// this would be the ID of the result
var id = 'trigger141',
item = jquerydocs.data[id],
i = 0,
blank_iframe = '/index_blank.html',
examples = $('exampleHolder'), // arbitrary placeholder
html = [];
for (i = 0; i < item.examples.length; i++) {
if (item.examples[i].html) {
html.push('<iframe id="'
+ item.examples[i].id
+ '" src="'
+ blank_iframe
+ '"></iframe>');
}
}
examples.append(html.join(''));
// runExample is a helper in api-loader.js
runExample(item);
Untitled JavaScript (20-Sep @ 03:04)
Syntax Highlighted Code
- var a = 0;
- alert(a);
Plain Code
var a = 0;
alert(a);
Untitled JavaScript (19-Sep @ 17:57)
Syntax Highlighted Code
- (function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'.',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}var rows=table.tBodies[0].rows;if(table.tBodies[0].rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,cells[i]);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,node){var l=parsers.length;for(var i=1;i<l;i++){if(parsers[i].is($.trim(getElementText(table.config,node)),table,node)){return parsers[i];}}return parsers[0];}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=table.tBodies[0].rows[i],cols=[];cache.row.push($(c));for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c.cells[j]),table,c.cells[j]));}cols.push(i);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){if(!node)return"";var t="";if(config.textExtraction=="simple"){if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){t=node.childNodes[0].innerHTML;}else{t=node.innerHTML;}}else{if(typeof(config.textExtraction)=="function"){t=config.textExtraction(node);}else{t=$(node).text();}}return t;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){rows.push(r[n[i][checkCell]]);if(!table.config.appender){var o=r[n[i][checkCell]];var l=o.length;for(var j=0;j<l;j++){tableBody[0].appendChild(o[j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false,tableHeadersRows=[];for(var i=0;i<table.tHead.rows.length;i++){tableHeadersRows[i]=0;};$tableHeaders=$("thead th",table);$tableHeaders.each(function(index){this.count=0;this.column=index;this.order=formatSortingOrder(table.config.sortInitialOrder);if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(!this.sortDisabled){$(this).addClass(table.config.cssHeader);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeaders;};function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++));}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell);}}}return arr;};function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true;};return false;}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true;};return false;}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table);}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i];}}};function formatSortingOrder(v){if(typeof(v)!="Number"){i=(v.toLowerCase()=="desc")?1:0;}else{i=(v==(0||1))?v:0;}return i;}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true;}}return false;}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this);}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]]);}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$('<colgroup>');$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($('<col>').css('width',$(this).width()));});$(table).prepend(colgroup);};}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++;}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date();}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(getCachedSortType(table.config.parsers,c)=="text")?((order==0)?"sortText":"sortTextDesc"):((order==0)?"sortNumeric":"sortNumericDesc");var e="e"+i;dynamicExp+="var "+e+" = "+s+"(a["+c+"],b["+c+"]); ";dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { ";}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; ";}dynamicExp+="return 0; ";dynamicExp+="}; ";eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime);}return cache;};function sortText(a,b){return((a<b)?-1:((a>b)?1:0));};function sortTextDesc(a,b){return((b<a)?-1:((b>a)?1:0));};function sortNumeric(a,b){return a-b;};function sortNumericDesc(a,b){return b-a;};function getCachedSortType(parsers,i){return parsers[i].type;};this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies)return;var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){$this.trigger("sortStart");var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){var $cell=$(this);var i=this.column;this.order=this.count++%2;if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j]);}}}config.sortList.push([i,this.order]);}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2;}}}else{config.sortList.push([i,this.order]);}};setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache));},1);return false;}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false;}});$this.bind("update",function(){this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);}).bind("sorton",function(e,list){$(this).trigger("sortStart");config.sortList=list;var sortList=config.sortList;updateHeaderSortCount(this,sortList);setHeadersCss(this,$headers,sortList,sortCSS);appendToTable(this,multisort(this,sortList,cache));}).bind("appendCache",function(){appendToTable(this,cache);}).bind("applyWidgetId",function(e,id){getWidgetById(id).format(this);}).bind("applyWidgets",function(){applyWidget(this);});if($.metadata&&($(this).metadata()&&$(this).metadata().sortlist)){config.sortList=$(this).metadata().sortlist;}if(config.sortList.length>0){$this.trigger("sorton",[config.sortList]);}applyWidget(this);});};this.addParser=function(parser){var l=parsers.length,a=true;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==parser.id.toLowerCase()){a=false;}}if(a){parsers.push(parser);};};this.addWidget=function(widget){widgets.push(widget);};this.formatFloat=function(s){var i=parseFloat(s);return(isNaN(i))?0:i;};this.formatInt=function(s){var i=parseInt(s);return(isNaN(i))?0:i;};this.isDigit=function(s,config){var DECIMAL='\\'+config.decimal;var exp='/(^[+]?0('+DECIMAL+'0+)?$)|(^([-+]?[1-9][0-9]*)$)|(^([-+]?((0?|[1-9][0-9]*)'+DECIMAL+'(0*[1-9][0-9]*)))$)|(^[-+]?[1-9]+[0-9]*'+DECIMAL+'0+$)/';return RegExp(exp).test($.trim(s));};this.clearTableBody=function(table){if($.browser.msie){function empty(){while(this.firstChild)this.removeChild(this.firstChild);}empty.apply(table.tBodies[0]);}else{table.tBodies[0].innerHTML="";}};}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(s){return true;},format:function(s){return $.trim(s.toLowerCase());},type:"text"});ts.addParser({id:"digit",is:function(s,table){var c=table.config;return $.tablesorter.isDigit(s,c);},format:function(s){return $.tablesorter.formatFloat(s);},type:"numeric"});ts.addParser({id:"currency",is:function(s){return/^[£$€?.]/.test(s);},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/[^0-9.]/g),""));},type:"numeric"});ts.addParser({id:"ipAddress",is:function(s){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(s);},format:function(s){var a=s.split("."),r="",l=a.length;for(var i=0;i<l;i++){var item=a[i];if(item.length==2){r+="0"+item;}else{r+=item;}}return $.tablesorter.formatFloat(r);},type:"numeric"});ts.addParser({id:"url",is:function(s){return/^(https?|ftp|file):\/\/$/.test(s);},format:function(s){return jQuery.trim(s.replace(new RegExp(/(https?|ftp|file):\/\//),''));},type:"text"});ts.addParser({id:"isoDate",is:function(s){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(s);},format:function(s){return $.tablesorter.formatFloat((s!="")?new Date(s.replace(new RegExp(/-/g),"/")).getTime():"0");},type:"numeric"});ts.addParser({id:"percent",is:function(s){return/\%$/.test($.trim(s));},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/%/g),""));},type:"numeric"});ts.addParser({id:"usLongDate",is:function(s){return s.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/));},format:function(s){return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"shortDate",is:function(s){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s);},format:function(s,table){var c=table.config;s=s.replace(/\-/g,"/");if(c.dateFormat=="us"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2");}else if(c.dateFormat=="uk"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1");}else if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3");}return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"time",is:function(s){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(s);},format:function(s){return $.tablesorter.formatFloat(new Date("2000/01/01 "+s).getTime());},type:"numeric"});ts.addParser({id:"metadata",is:function(s){return false;},format:function(s,table,cell){var c=table.config,p=(!c.parserMetadataName)?'sortValue':c.parserMetadataName;return $(cell).metadata()[p];},type:"numeric"});ts.addWidget({id:"zebra",format:function(table){if(table.config.debug){var time=new Date();}$("tr:visible",table.tBodies[0]).filter(':even').removeClass(table.config.widgetZebra.css[1]).addClass(table.config.widgetZebra.css[0]).end().filter(':odd').removeClass(table.config.widgetZebra.css[0]).addClass(table.config.widgetZebra.css[1]);if(table.config.debug){$.tablesorter.benchmark("Applying Zebra widget",time);}}});})(jQuery);
Plain Code
(function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'.',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}var rows=table.tBodies[0].rows;if(table.tBodies[0].rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,cells[i]);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,node){var l=parsers.length;for(var i=1;i<l;i++){if(parsers[i].is($.trim(getElementText(table.config,node)),table,node)){return parsers[i];}}return parsers[0];}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=table.tBodies[0].rows[i],cols=[];cache.row.push($(c));for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c.cells[j]),table,c.cells[j]));}cols.push(i);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){if(!node)return"";var t="";if(config.textExtraction=="simple"){if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){t=node.childNodes[0].innerHTML;}else{t=node.innerHTML;}}else{if(typeof(config.textExtraction)=="function"){t=config.textExtraction(node);}else{t=$(node).text();}}return t;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){rows.push(r[n[i][checkCell]]);if(!table.config.appender){var o=r[n[i][checkCell]];var l=o.length;for(var j=0;j<l;j++){tableBody[0].appendChild(o[j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false,tableHeadersRows=[];for(var i=0;i<table.tHead.rows.length;i++){tableHeadersRows[i]=0;};$tableHeaders=$("thead th",table);$tableHeaders.each(function(index){this.count=0;this.column=index;this.order=formatSortingOrder(table.config.sortInitialOrder);if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(!this.sortDisabled){$(this).addClass(table.config.cssHeader);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeaders;};function checkCellColSpan(table,rows,row){var arr=[],r=table.tHead.rows,c=r[row].cells;for(var i=0;i<c.length;i++){var cell=c[i];if(cell.colSpan>1){arr=arr.concat(checkCellColSpan(table,headerArr,row++));}else{if(table.tHead.length==1||(cell.rowSpan>1||!r[row+1])){arr.push(cell);}}}return arr;};function checkHeaderMetadata(cell){if(($.metadata)&&($(cell).metadata().sorter===false)){return true;};return false;}function checkHeaderOptions(table,i){if((table.config.headers[i])&&(table.config.headers[i].sorter===false)){return true;};return false;}function applyWidget(table){var c=table.config.widgets;var l=c.length;for(var i=0;i<l;i++){getWidgetById(c[i]).format(table);}}function getWidgetById(name){var l=widgets.length;for(var i=0;i<l;i++){if(widgets[i].id.toLowerCase()==name.toLowerCase()){return widgets[i];}}};function formatSortingOrder(v){if(typeof(v)!="Number"){i=(v.toLowerCase()=="desc")?1:0;}else{i=(v==(0||1))?v:0;}return i;}function isValueInArray(v,a){var l=a.length;for(var i=0;i<l;i++){if(a[i][0]==v){return true;}}return false;}function setHeadersCss(table,$headers,list,css){$headers.removeClass(css[0]).removeClass(css[1]);var h=[];$headers.each(function(offset){if(!this.sortDisabled){h[this.column]=$(this);}});var l=list.length;for(var i=0;i<l;i++){h[list[i][0]].addClass(css[list[i][1]]);}}function fixColumnWidth(table,$headers){var c=table.config;if(c.widthFixed){var colgroup=$('<colgroup>');$("tr:first td",table.tBodies[0]).each(function(){colgroup.append($('<col>').css('width',$(this).width()));});$(table).prepend(colgroup);};}function updateHeaderSortCount(table,sortList){var c=table.config,l=sortList.length;for(var i=0;i<l;i++){var s=sortList[i],o=c.headerList[s[0]];o.count=s[1];o.count++;}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date();}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=(getCachedSortType(table.config.parsers,c)=="text")?((order==0)?"sortText":"sortTextDesc"):((order==0)?"sortNumeric":"sortNumericDesc");var e="e"+i;dynamicExp+="var "+e+" = "+s+"(a["+c+"],b["+c+"]); ";dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { ";}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; ";}dynamicExp+="return 0; ";dynamicExp+="}; ";eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime);}return cache;};function sortText(a,b){return((a<b)?-1:((a>b)?1:0));};function sortTextDesc(a,b){return((b<a)?-1:((b>a)?1:0));};function sortNumeric(a,b){return a-b;};function sortNumericDesc(a,b){return b-a;};function getCachedSortType(parsers,i){return parsers[i].type;};this.construct=function(settings){return this.each(function(){if(!this.tHead||!this.tBodies)return;var $this,$document,$headers,cache,config,shiftDown=0,sortOrder;this.config={};config=$.extend(this.config,$.tablesorter.defaults,settings);$this=$(this);$headers=buildHeaders(this);this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);var sortCSS=[config.cssDesc,config.cssAsc];fixColumnWidth(this);$headers.click(function(e){$this.trigger("sortStart");var totalRows=($this[0].tBodies[0]&&$this[0].tBodies[0].rows.length)||0;if(!this.sortDisabled&&totalRows>0){var $cell=$(this);var i=this.column;this.order=this.count++%2;if(!e[config.sortMultiSortKey]){config.sortList=[];if(config.sortForce!=null){var a=config.sortForce;for(var j=0;j<a.length;j++){if(a[j][0]!=i){config.sortList.push(a[j]);}}}config.sortList.push([i,this.order]);}else{if(isValueInArray(i,config.sortList)){for(var j=0;j<config.sortList.length;j++){var s=config.sortList[j],o=config.headerList[s[0]];if(s[0]==i){o.count=s[1];o.count++;s[1]=o.count%2;}}}else{config.sortList.push([i,this.order]);}};setTimeout(function(){setHeadersCss($this[0],$headers,config.sortList,sortCSS);appendToTable($this[0],multisort($this[0],config.sortList,cache));},1);return false;}}).mousedown(function(){if(config.cancelSelection){this.onselectstart=function(){return false};return false;}});$this.bind("update",function(){this.config.parsers=buildParserCache(this,$headers);cache=buildCache(this);}).bind("sorton",function(e,list){$(this).trigger("sortStart");config.sortList=list;var sortList=config.sortList;updateHeaderSortCount(this,sortList);setHeadersCss(this,$headers,sortList,sortCSS);appendToTable(this,multisort(this,sortList,cache));}).bind("appendCache",function(){appendToTable(this,cache);}).bind("applyWidgetId",function(e,id){getWidgetById(id).format(this);}).bind("applyWidgets",function(){applyWidget(this);});if($.metadata&&($(this).metadata()&&$(this).metadata().sortlist)){config.sortList=$(this).metadata().sortlist;}if(config.sortList.length>0){$this.trigger("sorton",[config.sortList]);}applyWidget(this);});};this.addParser=function(parser){var l=parsers.length,a=true;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==parser.id.toLowerCase()){a=false;}}if(a){parsers.push(parser);};};this.addWidget=function(widget){widgets.push(widget);};this.formatFloat=function(s){var i=parseFloat(s);return(isNaN(i))?0:i;};this.formatInt=function(s){var i=parseInt(s);return(isNaN(i))?0:i;};this.isDigit=function(s,config){var DECIMAL='\\'+config.decimal;var exp='/(^[+]?0('+DECIMAL+'0+)?$)|(^([-+]?[1-9][0-9]*)$)|(^([-+]?((0?|[1-9][0-9]*)'+DECIMAL+'(0*[1-9][0-9]*)))$)|(^[-+]?[1-9]+[0-9]*'+DECIMAL+'0+$)/';return RegExp(exp).test($.trim(s));};this.clearTableBody=function(table){if($.browser.msie){function empty(){while(this.firstChild)this.removeChild(this.firstChild);}empty.apply(table.tBodies[0]);}else{table.tBodies[0].innerHTML="";}};}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(s){return true;},format:function(s){return $.trim(s.toLowerCase());},type:"text"});ts.addParser({id:"digit",is:function(s,table){var c=table.config;return $.tablesorter.isDigit(s,c);},format:function(s){return $.tablesorter.formatFloat(s);},type:"numeric"});ts.addParser({id:"currency",is:function(s){return/^[£$€?.]/.test(s);},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/[^0-9.]/g),""));},type:"numeric"});ts.addParser({id:"ipAddress",is:function(s){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(s);},format:function(s){var a=s.split("."),r="",l=a.length;for(var i=0;i<l;i++){var item=a[i];if(item.length==2){r+="0"+item;}else{r+=item;}}return $.tablesorter.formatFloat(r);},type:"numeric"});ts.addParser({id:"url",is:function(s){return/^(https?|ftp|file):\/\/$/.test(s);},format:function(s){return jQuery.trim(s.replace(new RegExp(/(https?|ftp|file):\/\//),''));},type:"text"});ts.addParser({id:"isoDate",is:function(s){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(s);},format:function(s){return $.tablesorter.formatFloat((s!="")?new Date(s.replace(new RegExp(/-/g),"/")).getTime():"0");},type:"numeric"});ts.addParser({id:"percent",is:function(s){return/\%$/.test($.trim(s));},format:function(s){return $.tablesorter.formatFloat(s.replace(new RegExp(/%/g),""));},type:"numeric"});ts.addParser({id:"usLongDate",is:function(s){return s.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/));},format:function(s){return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"shortDate",is:function(s){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s);},format:function(s,table){var c=table.config;s=s.replace(/\-/g,"/");if(c.dateFormat=="us"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2");}else if(c.dateFormat=="uk"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1");}else if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){s=s.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3");}return $.tablesorter.formatFloat(new Date(s).getTime());},type:"numeric"});ts.addParser({id:"time",is:function(s){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(s);},format:function(s){return $.tablesorter.formatFloat(new Date("2000/01/01 "+s).getTime());},type:"numeric"});ts.addParser({id:"metadata",is:function(s){return false;},format:function(s,table,cell){var c=table.config,p=(!c.parserMetadataName)?'sortValue':c.parserMetadataName;return $(cell).metadata()[p];},type:"numeric"});ts.addWidget({id:"zebra",format:function(table){if(table.config.debug){var time=new Date();}$("tr:visible",table.tBodies[0]).filter(':even').removeClass(table.config.widgetZebra.css[1]).addClass(table.config.widgetZebra.css[0]).end().filter(':odd').removeClass(table.config.widgetZebra.css[0]).addClass(table.config.widgetZebra.css[1]);if(table.config.debug){$.tablesorter.benchmark("Applying Zebra widget",time);}}});})(jQuery);
Untitled JavaScript (19-Sep @ 14:54)
Syntax Highlighted Code
- var teste = "teste";
- alert(teste);
Plain Code
var teste = "teste";
alert(teste);
Untitled JavaScript (18-Sep @ 01:49)
Syntax Highlighted Code
- alert('tets');
Plain Code
alert('tets');
Untitled JavaScript (16-Sep @ 19:50)
Syntax Highlighted Code
- <script type="javascript">
- print('hello world');
- </script>
Plain Code
<script type="javascript">
print('hello world');
</script>
Untitled JavaScript (15-Sep @ 04:20)
Syntax Highlighted Code
- var pageTracker = _gat._getTracker("UA-1656750-9");
- pageTracker._initData();
- pageTracker._trackPageview();
Plain Code
var pageTracker = _gat._getTracker("UA-1656750-9");
pageTracker._initData();
pageTracker._trackPageview();
Untitled JavaScript (14-Sep @ 18:39)
Syntax Highlighted Code
- var bob = function(){
- msg = 'Hello, World!';
- return {
- getMsg:function(){
- [3 more lines...]
Plain Code
var bob = function(){
msg = 'Hello, World!';
return {
getMsg:function(){
alert(msg);
}
}
}();
Untitled JavaScript (14-Sep @ 07:53)
Syntax Highlighted Code
- for(i=0; i< 100; i++){
- console.log((i & 1));
- }
Plain Code
for(i=0; i< 100; i++){
console.log((i & 1));
}
Untitled JavaScript (14-Sep @ 07:31)
Syntax Highlighted Code
- /**javascript console***/
- function LOG(msg) {
- var lg = Components.classes["@mozilla.org/consoleservice;1"].getService(Components.interfaces.nsIConsoleService);
- [172 more lines...]
Plain Code
/**javascript console***/
function LOG(msg) {
var lg = Components.classes["@mozilla.org/consoleservice;1"].getService(Components.interfaces.nsIConsoleService);
lg.logStringMessage(msg);
}
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("extensions.whimarchivebackup.");
var jsScriptLoader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader);
// getById
function $i(id, d) {
return d.getElementById(id);
}
// xpath unordered nodes
function $xu(p, d) {
var i, r = [], x = d.evaluate(p, d, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null);
while(i=x.iterateNext()) r.push(i); return r;
}
// xpath ordered nodes
function $xo(p, d) {
var i, r = [], x = d.evaluate(p, d, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null);
while(i=x.iterateNext()) r.push(i);
return r;
}
// xpath single first node
function $xf(p, d) {
return d.evaluate(p, d, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}
// xpath single any node
function $xa(p, d) {
return d.evaluate(p, d, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;
}
// create Element
function $ec(type, attributes){
var node = document.createElement(type);
for (var attr in attributes) if (attributes.hasOwnProperty(attr)){
node.setAttribute(attr, attributes[attr]);
}
return node;
}
// delete Element
function $ed(element) {
element.parentNode.removeChild(element);
}
// insert element after
function $ea(newNode, node) {
return node.parentNode.insertBefore(newNode, node.nextSibling);
}
// insert element before
function $eb(newNode, node) {
return node.parentNode.insertBefore(newNode, node);
}
// make element first child of par
function $ef(newNode, par) {
return par.insertBefore(newNode, par.firstChild);
}
// make element last child of par
function $el(newNode, par) {
return par.appendChild(newNode);
}
function loadS(eT, iCheck){
var whimLink = $xf('//div[@id="left"]//a[contains(@href, "//whirlpool.net.au/whim/")]', eT);
var whimpluslink = eT.createElement('a');
whimpluslink.style.position='absolute';
whimpluslink.style.display='inline';
whimpluslink.style.padding='0 8px';
whimpluslink.textContent='+';
whimpluslink.href='#';
$ea(whimpluslink, whimLink);
whimpluslink.addEventListener("click", function (event) {
event.preventDefault();
alert('asd');
}, false);
/*if(!iCheck){
}*/
}
getBrowser().addEventListener("DOMContentLoaded", function (event) {
var eT = event.target;
if(!eT.defaultView.frameElement){
LOG("yep ");
var iHazAbrowza = this;
var wpIframe = $i('wpHiddenIframe', document);
var iCheck = true;
if(eT.URL.indexOf('whirlpool.net.au')>-1){
if(!wpIframe){
var iContainer = document.createElement('vbox');
iContainer.id="wpHiddenIframeContainer";
iContainer.hidden="false";
iContainer.height="0";
var hidI = document.createElement('iframe');
hidI.id="wpHiddenIframe";
hidI.hidden="false";
hidI.height="0";
hidI.name="false";
hidI.src="";
hidI.type="content";
hidI.addEventListener("DOMContentLoaded", function (e) {
LOG("hidI DOMContentLoaded ");
var doc = e.originalTarget;
var url = doc.location.href;
if (e.originalTarget.nodeName == "#document") {
LOG("[DF] URL = "+url+"\n");
//var text = doc.evaluate("/html/body/",doc,null,XPathResult.STRING_TYPE,null).stringValue;
//LOG("[DF] TEXT in /html/body/ = "+text+"\n");
}
}, true);
$el(hidI, iContainer);
$el(iContainer, iHazAbrowza);
alert(hidI); //[object XULElement]
alert(hidI.nodeName); // browser or iframe
alert(hidI.id); // id of element
hidI.webNavigation.loadURI("http://whirlpool.net.au/whim/?action=archive",Components.interfaces.nsIWebNavigation,null,null,null);
iCheck = false;
}
LOG('whirlpool');
loadS(eT, iCheck);
}
else{
var num = iHazAbrowza.browsers.length;
var removeI = true;
for (var i = 0; i < num; i++) {
var b = iHazAbrowza.getBrowserAtIndex(i);
if(b.currentURI.spec.match(/whirlpool.net.au/)){
removeI = false;
}
}
if(removeI && wpIframe){
$ed(wpIframe);
}
}
}
}, false);
Untitled JavaScript (13-Sep @ 18:48)
Syntax Highlighted Code
- function pepe() {
- var a = 2;
- }
Plain Code
function pepe() {
var a = 2;
}
Untitled JavaScript (12-Sep @ 14:38)
Syntax Highlighted Code
- $('div.demo marquee').marquee('pointer').mouseover(function () {
- $(this).trigger('stop');
- }).mouseout(function () {
- $(this).trigger('start');
- [8 more lines...]
Plain Code
$('div.demo marquee').marquee('pointer').mouseover(function () {
$(this).trigger('stop');
}).mouseout(function () {
$(this).trigger('start');
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
}
}).mousedown(function (event) {
$(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
}).mouseup(function () {
$(this).data('drag', false);
});
Untitled JavaScript (12-Sep @ 12:40)
Syntax Highlighted Code
- function func() {
- alert("hey, there!");
- }
Plain Code
function func() {
alert("hey, there!");
}
Untitled JavaScript (12-Sep @ 11:54)
Syntax Highlighted Code
- alert('Hola');
Plain Code
alert('Hola');
Untitled JavaScript (11-Sep @ 15:15)
Syntax Highlighted Code
- function excess() {
- var $output = $('<div/>')
- .append('<h1>Unused CSS Selectors</h1>');
- [21 more lines...]
Plain Code
function excess() {
var $output = $('<div/>')
.append('<h1>Unused CSS Selectors</h1>');
$.each(document.styleSheets, function() {
var $selectors = $('<ol/>');
$output.append('<h2>' + this.href + '</h2>');
$.each(this.cssRules, function() {
$.each(this.selectorText.split(','), function() {
var selector = $.trim(this),
selectorTest = selector.replace(/:(before|after|link|visited|hover|active)/, '');
if (!$(selectorTest).length) {
$selectors.append('<li>' + selector + '</li>');
}
});
});
if ($selectors.children().length) {
$output.append($selectors);
}
});
$(document.body).empty().append($output);
};
Untitled JavaScript (11-Sep @ 02:31)
Syntax Highlighted Code
- $(document).ready(function() {
- var $output = $('<div/>')
- .append('<h1>Unused CSS Selectors</h1>');
- [22 more lines...]
Plain Code
$(document).ready(function() {
var $output = $('<div/>')
.append('<h1>Unused CSS Selectors</h1>');
$.each(document.styleSheets, function() {
var $selectors = $('<ol/>');
$output.append('<h2>' + this.href + '</h2>');
$.each(this.cssRules, function() {
$.each(this.selectorText.split(','), function() {
var selector = $.trim(this),
selectorTest = selector.replace(/:(before|after)/, '');
if (!$(selectorTest).length) {
$selectors.append('<li>' + selector + '</li>');
}
});
});
if ($selectors.children().length) {
$output.append($selectors);
}
});
$(document.body).empty().append($output);
});
jQuery fix for IE radio button change event (10-Sep @ 16:21)
Syntax Highlighted Code
- // Deals with IE's issue with change event (only fires onblur)
- // Cheers Remy!
- $.fn.radioChange = function (fn) {
- return this.each(function () {
- [8 more lines...]
Plain Code
// Deals with IE's issue with change event (only fires onblur)
// Cheers Remy!
$.fn.radioChange = function (fn) {
return this.each(function () {
if (!$.browser.msie) {
$(this).change(fn);
} else {
$(this).click(fn);
}
});
};
radioChange (10-Sep @ 16:12)
Syntax Highlighted Code
- $.fn.radioChange = function (fn) {
- return this.each(function () {
- if (!$.browser.msie) {
- $(this).change(fn);
- [6 more lines...]
Plain Code
$.fn.radioChange = function (fn) {
return this.each(function () {
if (!$.browser.msie) {
$(this).change(fn);
} else {
$(this).click(fn);
}
});
};
Untitled JavaScript (10-Sep @ 09:35)
Syntax Highlighted Code
- $('div.demo marquee').marquee('pointer').mouseover(function () {
- $(this).trigger('stop');
- }).mouseout(function () {
- $(this).trigger('start');
- [10 more lines...]
Plain Code
$('div.demo marquee').marquee('pointer').mouseover(function () {
$(this).trigger('stop');
}).mouseout(function () {
$(this).trigger('start');
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
}
}).mousedown(function (event) {
$(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
}).mouseup(function () {
$(this).data('drag', false);
});
Untitled JavaScript (9-Sep @ 22:37)
Syntax Highlighted Code
- alert('foobar');
Plain Code
alert('foobar');
Untitled JavaScript (7-Sep @ 15:21)
Syntax Highlighted Code
- sdfgasdfasdfasdfasd
Plain Code
sdfgasdfasdfasdfasd
Untitled JavaScript (6-Sep @ 12:01)
Syntax Highlighted Code
- <html>
- <body>
- <script type="text/javascript">
- [41 more lines...]
Plain Code
<html>
<body>
<script type="text/javascript">
var font = (function () {
var test_string = 'mmmmmmmmmwwwwwww';
var test_font = '"Comic Sans MS"';
var notInstalledWidth = 0;
var testbed = null;
var guid = 0;
return {
// must be called when the dom is ready
setup : function () {
if ($('#fontInstalledTest').length) return;
$('head').append('<' + 'style> #fontInstalledTest, #fontTestBed { position: absolute; left: -9999px; top: 0; visibility: hidden; } #fontInstalledTest { font-size: 50px!important; font-family: ' + test_font + ';}</' + 'style>');
$('body').append('<div id="fontTestBed"></div>').append('<span id="fontInstalledTest" class="fonttest">' + test_string + '</span>');
testbed = $('#fontTestBed');
notInstalledWidth = $('#fontInstalledTest').width();
},
isInstalled : function(font) {
guid++;
var style = '<' + 'style id="fonttestStyle"> #fonttest' + guid + ' { font-size: 50px!important; font-family: ' + font + ', ' + test_font + '; } <' + '/style>';
$('head').find('#fonttestStyle').remove().end().append(style);
testbed.empty().append('<span id="fonttest' + guid + '" class="fonttest">' + test_string + '</span>');
return (testbed.find('span').width() != notInstalledWidth);
}
};
})();
$(document).ready(function () {
font.setup(); // run setup when the DOM is ready
});
font.isInstalled(Calibri); // returns true or false
</script>
</body>
</html>
Untitled JavaScript (5-Sep @ 17:11)
Syntax Highlighted Code
- $("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img
- id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"'
- alt='"+caption+"'/></a>"
- + "<div id='TB_caption'>"+caption+"</div><div
- [1 more lines...]
Plain Code
$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img
id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"'
alt='"+caption+"'/></a>"
+ "<div id='TB_caption'>"+caption+"</div><div
id='TB_closeWindow'><a href='#' id='TB_closeWindowButton'>close</a></div>");
$("#TB_closeWindowButton").click(TB_remove);
Untitled JavaScript (5-Sep @ 05:00)
Syntax Highlighted Code
- // is.js
- // (c) 2001 Douglas Crockford
- // 2001 June 3
- [27 more lines...]
Plain Code
// is.js
// (c) 2001 Douglas Crockford
// 2001 June 3
// is
// The -is- object is used to identify the browser. Every browser edition
// identifies itself, but there is no standard way of doing it, and some of
// the identification is deceptive. This is because the authors of web
// browsers are liars. For example, Microsoft's IE browsers claim to be
// Mozilla 4. Netscape 6 claims to be version 5.
var is = {
ie: navigator.appName == 'Microsoft Internet Explorer',
java: navigator.javaEnabled(),
ns: navigator.appName == 'Netscape',
ua: navigator.userAgent.toLowerCase(),
version: parseFloat(navigator.appVersion.substr(21)) ||
parseFloat(navigator.appVersion),
win: navigator.platform == 'Win32'
}
is.mac = is.ua.indexOf('mac') >= 0;
if (is.ua.indexOf('opera') >= 0) {
is.ie = is.ns = false;
is.opera = true;
}
if (is.ua.indexOf('gecko') >= 0) {
is.ie = is.ns = false;
is.gecko = true;
}
Untitled JavaScript (4-Sep @ 18:58)
Syntax Highlighted Code
- var sliceFirstTrack2;
- if(sliceFirstTrack.charAt(0) == ','){
- [7 more lines...]
Plain Code
var sliceFirstTrack2;
if(sliceFirstTrack.charAt(0) == ','){
sliceFirstTrack2 = sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+",";
}
else{
sliceFirstTrack2 = sliceFirstTrack.substr(sliceFirstTrack.indexOf(','))+returnedLink+",";
}
Untitled JavaScript (4-Sep @ 18:52)
Syntax Highlighted Code
- // ==UserScript==
- // @name WLR Basic
- // @namespace http://forums.whirlpool.net.au
- // @version 1.7
- [1069 more lines...]
Plain Code
// ==UserScript==
// @name WLR Basic
// @namespace http://forums.whirlpool.net.au
// @version 1.7
// @description WLR Basic
// @include http://forums.whirlpool.net.au/*
// @include http://whirlpool.net.au/*
// @include http://whirlpool.net.au/wiki/?tag=wlr
// @exclude http://forums.whirlpool.net.au/forum-replies.cfm?*p=-2*
// @exclude http://forums.whirlpool.net.au/forum-replies.cfm*&r=*#r*
// @exclude http://forums.whirlpool.net.au/forum-replies.cfm*&ux*
// @exclude http://forums.whirlpool.net.au/forum-replies-archive.cfm*
// ==/UserScript==
//based on MeatSacks WLR script
//0.2 changes - fixed "Mark All Read" bug
//0.3 changes - fixed wlr settings thread track number bug
//0.4 changes - added function to disable colouring of threads/posts
//0.5 changes - changed the colour picker link to be more obvious
//0.6 changes - added style flip. added only colour end square. Added settings reset to default. Added new post number hover.
//0.7 changes - changed to GM storage.
//0.8 changes - changed in thread post highlighting - no longer highlights first couple of posts. Fixed in thread highlighting when click back button. Fixed disable colouring when only colour last square is checked. Fixed number of threads to track. Fixed New GM Key glitch
//0.9 changes - fixed colour picker code
//1.0 changes - fixed colour reset
//1.1 changes - fixed thread colour highlighting/save changes
//1.2 changes - fixed max tracking glitch
//1.3 changes - fixed max tracking glitch - 2nd go
//1.4 changes - fixed max tracking glitch - 3rd
//1.5 changes - added option to disable tracking of sticky threads
//1.6 changes - added option to disable colouring of end square
//1.7 changes - fixed max tracking glitch - 4th go & added new exclude (&ux)
$ = unsafeWindow.jQuery;
var dUrl = document.URL.toLowerCase();
/**check if threadnumber is in cookie***/
/*
if(GM_getValue('lastRead0') && (GM_getValue('lastRead0').indexOf('r=')>-1 || GM_getValue('lastRead0').indexOf('rt=')>-1)){
alert('it happend');
}
*/
function checkIfPrev(tn){
var ofTheMac, checkForAmp;
var cLR = GM_getValue('lastRead0');
if(cLR){
if(cLR.match(tn) ){
var clrThis = cLR.split(',');
clrThis.pop();
for(var u =0;u<clrThis.length;u++){
checkForAmp = clrThis[u].split('t=')[1].split('&')[0].split('#')[0];
if( checkForAmp == tn ){
ofTheMac = clrThis[u];
break;
}
}
}
else{
ofTheMac = 'newThread';
}
}
else{
ofTheMac = 'newCookie';
}
return ofTheMac;
}
var numTotrack, bcg, hpc, jtbgc, nptc, nojtbgc, nnptc, lbox, flip, setSplit;
if(GM_getValue('wlrSettings0')){
setSplit = GM_getValue('wlrSettings0').split(',');
numTotrack = setSplit[0];
bcg = setSplit[1];
hpc = setSplit[2];
jtbgc = setSplit[3];
nptc = setSplit[4];
nojtbgc = setSplit[5];
nnptc = setSplit[6];
lbox = setSplit[7];
flip = setSplit[8];
(setSplit.length < 10)? nostick = 'false': nostick = setSplit[9];
(setSplit.length < 11)? noColourEnd = 'false': noColourEnd = setSplit[10];
}
else{
numTotrack = '1000';
bcg = '#CFCBBC';
hpc = 'false';
jtbgc = "#95b0cb";
nptc = 'false';
nojtbgc = "#cbc095";
nnptc = 'false';
lbox = 'false';
flip = 'false';
nostick = 'false';
noColourEnd = 'false';
GM_setValue('wlrSettings0', '1000,#CFCBBC,false,#95b0cb,false,#cbc095,false,false,false,false,false');
}
$('#menu_forum ul').append('<li><a href="http://forums.whirlpool.net.au/wiki/?tag=wlr">WLR</a></li>');
if(dUrl.indexOf('wiki/?tag=wlr') > -1){
/********
Colour Picker Code - http://acko.net/dev/farbtastic
***********/
// $Id: farbtastic.js,v 1.2 2007/01/08 22:53:01 unconed Exp $
// Farbtastic 1.2
jQuery = unsafeWindow.jQuery;
jQuery.fn.farbtastic = function (callback) {
$.farbtastic(this, callback);
return this;
};
jQuery.farbtastic = function (container, callback) {
var container = $(container).get(0);
return jQuery._farbtastic(container, callback);
//return container.farbtastic || ( container.farbtastic = new jQuery._farbtastic(container, callback));
}
jQuery._farbtastic = function (container, callback) {
// Store farbtastic object
var fb = this;
// Insert markup
$(container).html('<div class="farbtastic"><div class="color"></div><div class="wheel"></div><div class="overlay"></div><div class="h-marker marker"></div><div class="sl-marker marker"></div></div>');
var e = $('.farbtastic', container);
fb.wheel = $('.wheel', container).get(0);
// Dimensions
fb.radius = 84;
fb.square = 100;
fb.width = 194;
// Fix background PNGs in IE6
if (navigator.appVersion.match(/MSIE [0-6]\./)) {
$('*', e).each(function () {
if (this.currentStyle.backgroundImage != 'none') {
var image = this.currentStyle.backgroundImage;
image = this.currentStyle.backgroundImage.substring(5, image.length - 2);
$(this).css({
'backgroundImage': 'none',
'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')"
});
}
});
}
/**
* Link to the given element(s) or callback.
*/
fb.linkTo = function (callback) {
// Unbind previous nodes
if (typeof fb.callback == 'object') {
$(fb.callback).unbind('keyup', fb.updateValue);
}
// Reset color
fb.color = null;
// Bind callback or elements
if (typeof callback == 'function') {
fb.callback = callback;
}
else if (typeof callback == 'object' || typeof callback == 'string') {
fb.callback = $(callback);
fb.callback.bind('keyup', fb.updateValue);
if (fb.callback.get(0).value) {
fb.setColor(fb.callback.get(0).value);
}
}
return this;
}
fb.updateValue = function (event) {
if (this.value && this.value != fb.color) {
fb.setColor(this.value);
}
}
/**
* Change color with HTML syntax #123456
*/
fb.setColor = function (color) {
var unpack = fb.unpack(color);
if (fb.color != color && unpack) {
fb.color = color;
fb.rgb = unpack;
fb.hsl = fb.RGBToHSL(fb.rgb);
fb.updateDisplay();
}
return this;
}
/**
* Change color with HSL triplet [0..1, 0..1, 0..1]
*/
fb.setHSL = function (hsl) {
fb.hsl = hsl;
fb.rgb = fb.HSLToRGB(hsl);
fb.color = fb.pack(fb.rgb);
fb.updateDisplay();
return this;
}
/////////////////////////////////////////////////////
/**
* Retrieve the coordinates of the given event relative to the center
* of the widget.
*/
fb.widgetCoords = function (event) {
var x, y;
var el = event.target || event.srcElement;
var reference = fb.wheel;
if (typeof event.offsetX != 'undefined') {
// Use offset coordinates and find common offsetParent
var pos = { x: event.offsetX, y: event.offsetY };
// Send the coordinates upwards through the offsetParent chain.
var e = el;
while (e) {
e.mouseX = pos.x;
e.mouseY = pos.y;
pos.x += e.offsetLeft;
pos.y += e.offsetTop;
e = e.offsetParent;
}
// Look for the coordinates starting from the wheel widget.
var e = reference;
var offset = { x: 0, y: 0 }
while (e) {
if (typeof e.mouseX != 'undefined') {
x = e.mouseX - offset.x;
y = e.mouseY - offset.y;
break;
}
offset.x += e.offsetLeft;
offset.y += e.offsetTop;
e = e.offsetParent;
}
// Reset stored coordinates
e = el;
while (e) {
e.mouseX = undefined;
e.mouseY = undefined;
e = e.offsetParent;
}
}
else {
// Use absolute coordinates
var pos = fb.absolutePosition(reference);
x = (event.pageX || 0*(event.clientX + $('html').get(0).scrollLeft)) - pos.x;
y = (event.pageY || 0*(event.clientY + $('html').get(0).scrollTop)) - pos.y;
}
// Subtract distance to middle
return { x: x - fb.width / 2, y: y - fb.width / 2 };
}
/**
* Mousedown handler
*/
fb.mousedown = function (event) {
// Capture mouse
if (!document.dragging) {
$(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup);
document.dragging = true;
}
// Check which area is being dragged
var pos = fb.widgetCoords(event);
fb.circleDrag = Math.max(Math.abs(pos.x), Math.abs(pos.y)) * 2 > fb.square;
// Process
fb.mousemove(event);
return false;
}
/**
* Mousemove handler
*/
fb.mousemove = function (event) {
// Get coordinates relative to color picker center
var pos = fb.widgetCoords(event);
// Set new HSL parameters
if (fb.circleDrag) {
var hue = Math.atan2(pos.x, -pos.y) / 6.28;
if (hue < 0) hue += 1;
fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]);
}
else {
var sat = Math.max(0, Math.min(1, -(pos.x / fb.square) + .5));
var lum = Math.max(0, Math.min(1, -(pos.y / fb.square) + .5));
fb.setHSL([fb.hsl[0], sat, lum]);
}
return false;
}
/**
* Mouseup handler
*/
fb.mouseup = function () {
// Uncapture mouse
$(document).unbind('mousemove', fb.mousemove);
$(document).unbind('mouseup', fb.mouseup);
document.dragging = false;
}
/**
* Update the markers and styles
*/
fb.updateDisplay = function () {
// Markers
var angle = fb.hsl[0] * 6.28;
$('.h-marker', e).css({
left: Math.round(Math.sin(angle) * fb.radius + fb.width / 2) + 'px',
top: Math.round(-Math.cos(angle) * fb.radius + fb.width / 2) + 'px'
});
$('.sl-marker', e).css({
left: Math.round(fb.square * (.5 - fb.hsl[1]) + fb.width / 2) + 'px',
top: Math.round(fb.square * (.5 - fb.hsl[2]) + fb.width / 2) + 'px'
});
// Saturation/Luminance gradient
$('.color', e).css('backgroundColor', fb.pack(fb.HSLToRGB([fb.hsl[0], 1, 0.5])));
// Linked elements or callback
if (typeof fb.callback == 'object') {
// Set background/foreground color
$(fb.callback).css({
backgroundColor: fb.color,
color: fb.hsl[2] > 0.5 ? '#000' : '#fff'
});
// Change linked value
$(fb.callback).each(function() {
if (this.value && this.value != fb.color) {
this.value = fb.color;
}
});
}
else if (typeof fb.callback == 'function') {
fb.callback.call(fb, fb.color);
}
}
/**
* Get absolute position of element
*/
fb.absolutePosition = function (el) {
var r = { x: el.offsetLeft, y: el.offsetTop };
// Resolve relative to offsetParent
if (el.offsetParent) {
var tmp = fb.absolutePosition(el.offsetParent);
r.x += tmp.x;
r.y += tmp.y;
}
return r;
};
/* Various color utility functions */
fb.pack = function (rgb) {
var r = Math.round(rgb[0] * 255);
var g = Math.round(rgb[1] * 255);
var b = Math.round(rgb[2] * 255);
return '#' + (r < 16 ? '0' : '') + r.toString(16) +
(g < 16 ? '0' : '') + g.toString(16) +
(b < 16 ? '0' : '') + b.toString(16);
}
fb.unpack = function (color) {
if (color.length == 7) {
return [parseInt('0x' + color.substring(1, 3)) / 255,
parseInt('0x' + color.substring(3, 5)) / 255,
parseInt('0x' + color.substring(5, 7)) / 255];
}
else if (color.length == 4) {
return [parseInt('0x' + color.substring(1, 2)) / 15,
parseInt('0x' + color.substring(2, 3)) / 15,
parseInt('0x' + color.substring(3, 4)) / 15];
}
}
fb.HSLToRGB = function (hsl) {
var m1, m2, r, g, b;
var h = hsl[0], s = hsl[1], l = hsl[2];
m2 = (l <= 0.5) ? l * (s + 1) : l + s - l*s;
m1 = l * 2 - m2;
return [this.hueToRGB(m1, m2, h+0.33333),
this.hueToRGB(m1, m2, h),
this.hueToRGB(m1, m2, h-0.33333)];
}
fb.hueToRGB = function (m1, m2, h) {
h = (h < 0) ? h + 1 : ((h > 1) ? h - 1 : h);
if (h * 6 < 1) return m1 + (m2 - m1) * h * 6;
if (h * 2 < 1) return m2;
if (h * 3 < 2) return m1 + (m2 - m1) * (0.66666 - h) * 6;
return m1;
}
fb.RGBToHSL = function (rgb) {
var min, max, delta, h, s, l;
var r = rgb[0], g = rgb[1], b = rgb[2];
min = Math.min(r, Math.min(g, b));
max = Math.max(r, Math.max(g, b));
delta = max - min;
l = (min + max) / 2;
s = 0;
if (l > 0 && l < 1) {
s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l));
}
h = 0;
if (delta > 0) {
if (max == r && max != g) h += (g - b) / delta;
if (max == g && max != b) h += (2 + (b - r) / delta);
if (max == b && max != r) h += (4 + (r - g) / delta);
h /= 6;
}
return [h, s, l];
}
// Install mousedown handler (the others are set on the document on-demand)
$('*', e).mousedown(fb.mousedown);
// Init color
fb.setColor('#000000');
// Set linked elements/callback
if (callback) {
fb.linkTo(callback);
}
}
/************
end colour picker code
*******************/
GM_addStyle(".farbtastic {"+
" position: absolute;"+
"}"+
".farbtastic * {"+
" position: absolute;"+
" cursor: crosshair;"+
"}"+
".farbtastic, .farbtastic .wheel {"+
" width: 195px;"+
" height: 195px;"+
"}"+
".farbtastic .color, .farbtastic .overlay {"+
" top: 47px;"+
" left: 47px;"+
" width: 101px;"+
" height: 101px;"+
"}"+
".farbtastic .wheel {"+
" background: url(http://img.photobucket.com/albums/v215/thegooddale/wheel.png) no-repeat;"+
" width: 195px;"+
" height: 195px;"+
"}"+
".farbtastic .overlay {"+
" background: url(http://img.photobucket.com/albums/v215/thegooddale/mask.png) no-repeat;"+
"}"+
".farbtastic .marker {"+
" width: 17px;"+
" height: 17px;"+
" margin: -8px 0 0 -8px;"+
" overflow: hidden; "+
" background: url(http://img.photobucket.com/albums/v215/thegooddale/marker.png) no-repeat;"+
"} "+
"#cPick{"+
" position:relative; "+
" width:200px;"+
"}"+
"#colorpicker{"+
" background-color:transparent !important;"+
"}"+
"#toggleC{"+
"color:green;"+
"font-size:10px;"+
"opacity:0.5;"+
"position:relative;"+
"text-decoration:underline;"+
"top:5px;"+
"}"+
"#resetWLR {"+
"font-size:10px;"+
"padding:0;"+
"width:60px;"+
"float:left;"+
"}"+
"#saveWLR {"+
"height:58px;"+
"padding:0;"+
"width:80px;"+
"margin-left:20px;"+
"}" );
var iHazSettinz = '<p>Default Settings Are Enabled</p>';
if(setSplit){
iHazSettinz = '';
}
$('#breadcrumb').after('<div id="wlrSettings" style="position:relative;background:#EEEEEE;border:1px solid grey;'+
'margin:0.5em 0.5em 3em 0.5em;padding:2em 3em; z-index:3;">'+
'<h2 style="border-bottom:1px dashed #888888;font-family:Arial,sans-serif;margin:0pt 0pt 0.6em;padding:0pt 0pt 0.2em;">Last Read Settings</h2>'+
iHazSettinz+
'<p>Number Of Threads To Track:'+
' <select selected="'+numTotrack+'" name="wlrsetts">'+
' <option value="300">300</option>'+
' <option value="500">500</option>'+
' <option value="1000">1000</option>'+
' <option value="2000">2000</option>'+
' <option value="5000">5000</option>'+
' </select>'+
'</p>'+
'<p>Highlighted Posts Colour:'+
' <input type="text" size="7" id="lighted" value="'+bcg+'" name="wlrsetts"/>'+
' <a class="wReset" style="margin-left:40px;color:green;text-decoration:underline;" href="#">reset</a>'+
' <input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+hpc+'"><span style="opacity:0.5;font-size:10px;"> disable colouring</span>'+
' <div class="showColourPicker" style="height:22px;width:22px;background:'+bcg+';position:relative;margin:-35px 0 0 230px">'+
' </div>'+
'</p>'+
'<p>New Posts Thread Colour:'+
' <input type="text" size="7" id="last" name="wlrsetts" value="'+jtbgc+'" />'+
' <a class="wReset" style="margin-left:40px;color:green;text-decoration:underline;" href="#">reset</a>'+
' <input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+nptc+'"><span style="opacity:0.5;font-size:10px;"> disable colouring</span>'+
' <div class="showColourPicker" style="height:22px;width:22px;background:'+jtbgc+';position:relative;margin:-35px 0 0 230px">'+
' </div> '+
'</p>'+
'<p>No New Posts Thread Colour:'+
' <input type="text" size="7" id="nolast" name="wlrsetts" value="'+nojtbgc+'" />'+
' <a class="wReset" style="margin-left:40px;color:green;text-decoration:underline;" href="#">reset</a>'+
' <input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+nnptc+'"><span style="opacity:0.5;font-size:10px;"> disable colouring</span>'+
' <div class="showColourPicker" style="height:22px;width:22px;background:'+nojtbgc+';position:relative;margin:-35px 0 0 250px">'+
' </div> '+
'</p>'+
'<a id="toggleC" href="#">Show Colour Picker</a>'+
'<div id="toggleColourP" style="display:none;width:200px;height:225px;position:absolute;border:grey 3px solid;background-color:#EEEEEE;z-index:5;"><form id="cPick"><input type="text" id="color" name="color" value="#123456" /></form>'+
'<div id="colorpicker"></div></div><br /> <br/> '+
'<p><input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+lbox+'"><span style="opacity:0.5;font-size:10px;"> only colour end square</span> <img src="http://img.photobucket.com/albums/v215/thegooddale/noneread.gif" /></p>'+
'<p><input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+flip+'"><span style="opacity:0.5;font-size:10px;"> style flip (Colours unread posts in threads rather than read posts)</span>'+
'<p><input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+nostick+'"><span style="opacity:0.5;font-size:10px;"> don\'t track sticky threads</span></p>'+
'<p><input type="checkbox" name="wlrsetts" style="margin-left:10px;" value="'+noColourEnd+'"><span style="opacity:0.5;font-size:10px;"> don\'t colour end square</span></p>'+
'</p>'+
'<br/><br/><button id="resetWLR">Reset Settings To Default Values</button> <button id="saveWLR">Save</button> '+
'<span id="changesSaved" style="color:green;margin-left:20px;display:none;">Changes Saved</span>'+
'</div>');
$('#colorpicker').farbtastic('#color');
$('.wReset').one("click", function(){
var va;
var tPrev = $(this).prev();
if(tPrev.attr('id') == 'lighted'){
va = '#CFCBBC';
}
else if(tPrev.attr('id') == 'last'){
va = "#95b0cb";
}
else if(tPrev.attr('id') == 'nolast'){
va = "#cbc095";
}
tPrev.val(va);
tPrev.parent().next().css('background', va);
return false;
});
$('#wlrSettings input[@type="text"]').bind("click mouseup blur keyup input", function() {
var wlrSetThis = $(this);
var colourDiv = $(this).parent().next();
colourDiv.css('background', wlrSetThis.val())
});
$('#toggleC').click(function(evt){
var eY = evt.pageY-80;
var eX = evt.pageX-300;
($(this).text() == 'Show Colour Picker')?$(this).text('Hide Colour Picker') : $(this).text('Show Colour Picker');
$('#toggleColourP').toggle().css({"left": eX, "top": eY});
return false;
});
var wI = document.getElementsByName('wlrsetts');
$(wI).each(function(q){
if((wI[q].type == "checkbox") && (setSplit[q] == 'true')){
wI[q].checked = true;
}
else if(wI[q].type == "select-one"){
wI[q].value = setSplit[q];
}
});
document.getElementById('saveWLR').addEventListener('mouseup', function(){
var tAr = [];
$(wI).each(function(i){
var toPush;
(wI[i].type == "checkbox")?toPush=wI[i].checked: toPush=wI[i].value;
tAr.push(toPush);
});
if(tAr[0] < setSplit[0] && GM_getValue("lastRead0").split(',').length > tAr[0]){
var getLR2split = GM_getValue("lastRead0").split(',')[tAr[0]];
var getLR2split2 = GM_getValue("lastRead0").split(getLR2split+',')[1];
GM_setValue("lastRead0", getLR2split2);
}
GM_setValue('wlrSettings0', tAr.toString());
$('#changesSaved').fadeIn(1000).fadeOut(2000);
}, false);
document.getElementById('resetWLR').addEventListener('mouseup', function(){
GM_setValue('wlrSettings0', '1000,#CFCBBC,false,#95b0cb,false,#cbc095,false,false,false');
$('#changesSaved').fadeIn(1000).fadeOut(2000);
}, false);
}
/*******run on forum-threads.cfm page********/
if((dUrl.indexOf('threads') > -1) || (dUrl.indexOf('user') > -1)){
var stupidimages, stupidAtags, lazyFuckers = 'newread', lazyFuckers2 = "nonewread";
var durM = dUrl.match('user');
var userLink = $('#left .userinfo dt a span').text();
if( nptc == 'true'){
lazyFuckers = 'lazyFuckers';
}
if(nnptc == 'true'){
lazyFuckers2 = 'lazyFuckers';
}
if(durM){
stupidimages = $("td.goend>a");
}
else{
stupidimages = $("a[@title='Jump to last post']");
}
GM_addStyle("#threads table tbody tr.newread td{background:"+jtbgc+" url(http://img.photobucket.com/albums/v215/thegooddale/generic-gradient6.png) !important}"+
"#threads table tbody tr.nonewread td{background:"+nojtbgc+" url(http://img.photobucket.com/albums/v215/thegooddale/generic-gradient6.png) !important}"+
".stopTrack{"+
"border-bottom-color:grey;"+
"border-bottom-style:dashed;"+
"border-bottom-width:1px;"+
"float:left;"+
"margin-top:-5px;"+
"margin-left:-14px;"+
"opacity:0.3;"+
"} "+
".markRead{"+
"float:right;"+
"opacity:0.3;"+
"border-bottom-color:grey;"+
"border-bottom-style:dashed;"+
"border-bottom-width:1px;"+
"margin-top:-5px;"+
"}"+
".wlrx{"+
" position:absolute;"+
" font-size:9px !important;"+
" width:95px; "+
"}");
for(var z=0;z<stupidimages.length;z++){
var jThis = $(stupidimages[z]);
var checkClass = jThis.parent().parent()[0].className.match('sticky');
if(nostick == 'true' && checkClass){
continue;
}
else{
var jumpThreadNum = stupidimages[z].href.split('t=')[1].split('&')[0].split('#')[0];
var tCheck = checkIfPrev(jumpThreadNum);
var lastPoster, postedInColour;
var postedin = false, jThisParent = jThis.parent();
if(tCheck != 'newCookie' && tCheck != 'newThread'){
var cookArrThreadNum = tCheck.split('t=')[1].split('&')[0].split('#')[0];
if(durM){
stupidAtags = Number(jThis.parent().prev().prev().text());
lastPoster = jThis.parent().prev().find('b').text();
if(jThisParent[0].style.backgroundColor == "rgb(226, 208, 187)"){
postedin = true;
postedInColour = "background-image: url(http://forums.whirlpool.net.au/img/forum/grad-morange.gif) !important; background-color: #E2C6A8 !important;";
}
}
else{
stupidAtags = Number(jThis.parent().prev().prev().prev().prev().text());
lastPoster = jThis.parent().prev().find('a').text();
if(jThisParent[0].style.backgroundColor == "rgb(192, 180, 167)"){
postedin = true;
postedInColour = "background-color: #C2B7AA !important;";
}
}
var replyNum = stupidAtags+1;
if( jumpThreadNum == cookArrThreadNum ){
var tholdpare = jThisParent.parent();
if( (tCheck.split('#r')[1]< replyNum) && (replyNum > 1) && (lastPoster != userLink)){
if( lbox == 'true' && nptc == 'false' ){
lazyFuckers = 'lazyFuckers';
jThisParent.attr("style", "background:"+jtbgc+" url(http://img.photobucket.com/albums/v215/thegooddale/generic-gradient6.png) !important");
}
var newpostsTitle = replyNum - tCheck.split('#r')[1]+' new posts';
jThis.attr('href', '/forum-replies.cfm?'+tCheck).attr('title', 'Jump to last read post');
tholdpare.attr("class", lazyFuckers).children('td.reps:first').attr('title', newpostsTitle).prepend('<span attcheat="'+jumpThreadNum+
','+tCheck+','+replyNum+'" class="small wlrx"><a '+
'href="# title="Stop Tracking Thread" class="stopTrack">S</a>'+
'<a href="#" title="Mark All Threads As Read" class="markRead">M</a>'+
'</span>');
}
else{
if(!tholdpare.hasClass("pointer") ){
if( lbox == 'true' && nnptc == 'false' ){
lazyFuckers2 = 'lazyFuckers2';
jThisParent.attr("style", "background:"+nojtbgc+" url(http://img.photobucket.com/albums/v215/thegooddale/generic-gradient6.png) !important");
}
tholdpare.attr("class", lazyFuckers2).children('td.reps:first').prepend('<span attcheat="'+jumpThreadNum+','+replyNum+'" class="small wlrx">'+
'<a href="#" title="Stop Tracking Thread" class="stopTrack">S</a>'+
'</span>');
}
}
if(lbox == 'false' && noColourEnd == 'true' && postedin){
jThisParent.attr('style', postedInColour+' !important;');
}
}
}
}
}
/***stop tracking thread***/
var AnywhoIsAFucktard = $('.stopTrack, .markRead');
for(var d=0;d<AnywhoIsAFucktard.length;d++){
AnywhoIsAFucktard[d].addEventListener('click', function(e){
e.preventDefault();
var mehThis = $(this);
var mehThisParent = mehThis.parent();
var aSP = mehThisParent.attr('attcheat').split(',');
var stRem = GM_getValue("lastRead0");
var wholeThreadNum = stRem.slice( stRem.indexOf(aSP[0]), stRem.indexOf( ',', stRem.indexOf(aSP[0])) );
var getLastTD = mehThisParent.parent().parent().children('td:last');
var wholeReplace;
if(mehThis.hasClass("stopTrack")){
wholeReplace = stRem.replace("t="+wholeThreadNum+",","");
GM_setValue("lastRead0", wholeReplace);
getLastTD.removeAttr("style");
mehThisParent.parent().parent().removeClass("newread nonewread");
}
else{
var pageNo = '&p=1';
var getLastPage = mehThisParent.parent().prev().prev().children('span.small').children('a:last')
if(getLastPage[0]){
pageNo = '&p='+getLastPage[0].href.split('&p=')[1];
}
var setReadAll = wholeThreadNum.split('&')[0]+pageNo.split('#r')[0]+'#r'+aSP[1];
wholeReplace = stRem.replace(wholeThreadNum, setReadAll);
GM_setValue("lastRead0", wholeReplace);
getLastTD.attr("style", "background:"+nojtbgc+" url(http://img.photobucket.com/albums/v215/thegooddale/generic-gradient6.png) !important");
mehThisParent.parent().parent().removeClass("newread").attr("class", lazyFuckers2);
}
mehThis.remove();
return false;
}, false);
}
}
/*******run on forum-replies page********/
if(dUrl.indexOf('replies') > -1) {
var lastReadLink;
var yOff = (window.pageYOffset+window.innerHeight);
var threadNumber = dUrl.split('t=')[1].split('&')[0].split('#')[0];
var anchorArrRev = $('a[@title$=specific post]');
function hazRead(rN, eType){
if(Number(anchorArrRev.eq(anchorArrRev.length-1)[0].href.split('#r')[1]) <= Number(rN) && (eType != 'new') && (hpc == 'false')&&(flip == 'false')){ //if the last link on the page is lower than what already read up to
GM_addStyle(".bodypost{background:"+bcg+" !important}");
return 'noNew';
}
else{
anchorArrRev.each(function(i){
var h = $(this).attr('href');
var curtop = 0;
var t = this;
curtop = t.offsetTop;
for(t!== null;t=t.offsetParent;){ //http://www.quirksmode.org/blog/archives/2008/01/using_the_assig.html
curtop += t.offsetTop;
}
if(i === 0){
/*if( (hpc =='false') && (flip == 'false') ){//always colour and grab the first link just in case first thread post is bigger than viewable area
$(this).parent().parent().css('background', bcg+' !important');
}*/
lastReadLink = this.href;
}
if( (flip == 'false') && ((Number(h.slice(h.lastIndexOf('#r')+2))) < Number(rN)) && (eType == 'load') && (hpc == 'false')){
$(this).parent().parent().css('background', bcg);
}
else if( (flip == 'true') && ((Number(h.slice(h.lastIndexOf('#r')+2))) > Number(rN)) && (eType == 'load') && (hpc == 'false')){
$(this).parent().parent().css('background', bcg);
}
if( curtop < yOff ){
lastReadLink = this.href;
}
});
return 't='+lastReadLink.split('t=')[1];
}
}
window.addEventListener('scroll', function() {
if((window.pageYOffset+window.innerHeight) > yOff){
yOff = (window.pageYOffset+window.innerHeight);
}
}, false);
window.addEventListener('load', function(){
var loadCheck = checkIfPrev(threadNumber);
if(loadCheck != 'newThread' && loadCheck != 'newCookie'){
hazRead(loadCheck.slice(loadCheck.lastIndexOf('#r')+2), 'load');
}
}, false);
window.addEventListener('unload', function(){
var cP = checkIfPrev(threadNumber);
var returnedLink;
if( cP == 'newThread') {
returnedLink = hazRead(0, 'unload');
var getLR2splitCheck = GM_getValue("lastRead0").split(',');
if(getLR2splitCheck.length < Number(numTotrack)) {
GM_setValue("lastRead0", GM_getValue('lastRead0')+returnedLink+",");
}
else{
var sliceFirstTrack = GM_getValue("lastRead0");
var sliceFirstTrack2 = (sliceFirstTrack.charAt(0) == ',')? sliceFirstTrack.slice(sliceFirstTrack.indexOf(',',1))+returnedLink+"," :sliceFirstTrack.substr(sliceFirstTrack.indexOf(','))+returnedLink+",";
GM_setValue("lastRead0", sliceFirstTrack2);
}
}
else if(cP == 'newCookie'){
returnedLink = hazRead(0, 'unload');
GM_setValue("lastRead0", returnedLink+",");
}
else{
var checkSplit = cP.slice(cP.lastIndexOf('#r')+2);
returnedLink = hazRead(checkSplit, 'unload');
if( (returnedLink !='noNew')&& ( Number(returnedLink.slice(returnedLink.lastIndexOf('#r')+2)) > Number(checkSplit) ) ){
var repREturned = GM_getValue("lastRead0").replace(cP,returnedLink);
GM_setValue("lastRead0", repREturned);
}
}
}, false);
}
Untitled JavaScript (3-Sep @ 21:59)
Syntax Highlighted Code
- function foo(){
- this.hello;
- }
Plain Code
function foo(){
this.hello;
}
Untitled JavaScript (31-Aug @ 15:25)
Syntax Highlighted Code
- var status = "aberto";
- alert(status);
Plain Code
var status = "aberto";
alert(status);
dvlvlmk (28-Aug @ 19:41)
Syntax Highlighted Code
- // Collect form input fields
- var inputs = new Object;
- $(':input', this).each(function() {
- [15 more lines...]
Plain Code
// Collect form input fields
var inputs = new Object;
$(':input', this).each(function() {
if (this.name != "") { // Ignore inputs without a name
if ((this.type == "radio" || this.type == "checkbox") && !this.checked) {
// ignore this item
} else {
inputs[this.name] = this.value;
}
}
});
// Send the request
jQuery.ajax({
data: inputs,
url: this.getAttribute('action'),
type: this.getAttribute('method'),
Untitled JavaScript (28-Aug @ 07:18)
Syntax Highlighted Code
- function sum_home(){
- $("#summary_home_tons").html(
- tons_home.toString()
- );
- [5 more lines...]
Plain Code
function sum_home(){
$("#summary_home_tons").html(
tons_home.toString()
);
$("#summary_home_cost").html(
"$" + parseInt(tons_home * cost_per_ton)
);
update_totals();
}
Untitled JavaScript (27-Aug @ 20:27)
Syntax Highlighted Code
- /*
- * jQuery jTagging plugin
- * Version 1.0.0 (10/01/2007)
- *
- [171 more lines...]
Plain Code
/*
* jQuery jTagging plugin
* Version 1.0.0 (10/01/2007)
*
* Copyright (c) 2007 Alcohol.Wang
* Dual licensed under the MIT and GPL licenses.
*
* http://www.alcoholwang.cn/jquery/jTagging.htm
*/
(
function($)
{
$.jTagging =
{
version : "1.0.0",
defaults :
{
normalStyle : { padding : "4px 2px", textDecoration : "none", color : "#1358B0", backgroundColor : "" },
selectedStyle : { padding : "4px 2px", textDecoration : "none", color : "#fff", background : "#1358B0" },
normalHoverStyle : { padding : "4px 2px", textDecoration : "none", color : "#4193E0", backgroundColor : "#EEE"}
},
arrayRemove : function(array, value)
{
array = array || [];
for(var o in array)
{
array[o] = $.trim(array[o]);
if (array[o] == value || array[o] == "")
{
array.splice(o, 1);
}
}
},
setClass : function(el, nc, hc)
{
$(el).css(nc);
$(el).hover
(
function()
{
$(el).css(hc);
}
,
function()
{
$(el).css(nc);
}
);
}
};
$.fn.jTagging = function(tags, seperator,normalStyle, selectedStyle, normalHoverStyle)
{
seperator = seperator || ",";
normalStyle =normalStyle || $.jTagging.defaults.normalStyle;
selectedStyle =selectedStyle || $.jTagging.defaults.selectedStyle;
normalHoverStyle = normalHoverStyle || $.jTagging.defaults.normalHoverStyle;
tags = [tags];
return this.each
(
function()
{
var name = this.nodeName.toLowerCase();
var type = this.type.toLowerCase();
if (name != "input" || type != "text" && name != "textarea")
{
throw "Element must be \"input:text\" or \"textarea\"";
}
var input = this;
$.each
(
["keydown", "keyup"]
,
function(i, n)
{
$(input).bind
(
n
,
function()
{
$.each
(
tags, function(i, n)
{
$.each
(
n, function (j, o)
{
$("a", o).each
(
function(k)
{
var value = $(input).val().split(seperator);
$.jTagging.arrayRemove(value);
if ($(value).index($(this).text()) >= 0)
{
$.jTagging.setClass(this, selectedStyle, normalHoverStyle);
}
else
{
$.jTagging.setClass(this, normalStyle, normalHoverStyle);
}
}
);
}
);
}
);
}
);
}
);
$.each
(
tags, function(i, n)
{
$.each
(
n, function (j, o)
{
$("a", o).each
(
function(k)
{
$(this).removeClass();
$(this).attr("href", "#");
$(this).click
(
function()
{
var value = $(input).val().split(seperator);
$.jTagging.arrayRemove(value);
if ($(value).index($(this).text()) >= 0)
{
$.jTagging.arrayRemove(value, $(this).text());
$(input).val(value.join(seperator));
$.jTagging.setClass(this, normalStyle, normalHoverStyle);
}
else
{
value.push($(this).text());
$(input).val(value.join(seperator));
$.jTagging.setClass(this, selectedStyle, normalHoverStyle);
}
this.blur();
return false;
}
);
var value = $(input).val().split(seperator);
$.jTagging.arrayRemove(value);
if ($(value).index($(this).text()) >= 0)
{
$.jTagging.setClass(this, selectedStyle, normalHoverStyle);
}
else
{
$.jTagging.setClass(this,normalStyle, normalHoverStyle);
}
}
);
}
);
}
);
}
);
}
}
)
(jQuery);
Untitled JavaScript (27-Aug @ 02:14)
Syntax Highlighted Code
- option: function(key, value) {
- var options = key,
- self = this;
- [13 more lines...]
Plain Code
option: function(key, value) {
var options = key,
self = this;
if (key.constructor == String) {
if (value === undefined) {
return this._getData(key);
}
options = {};
options[key] = value;
}
$.each(options, function(key, value) {
self._setData(key, value);
});
return this.element;
},
Untitled JavaScript (26-Aug @ 21:48)
Syntax Highlighted Code
- $(document).ready(function(){
- $("#more1").dialog({
- autoOpen: false,
- modal: true,
- [11 more lines...]
Plain Code
$(document).ready(function(){
$("#more1").dialog({
autoOpen: false,
modal: true,
overlay: {
opacity: 0.7,
background: "black"
}
});
});
$(document).ready(function(){
$("#tog1").click(function () {
$("#more1").dialog("open");
});
});
Untitled JavaScript (26-Aug @ 21:48)
Syntax Highlighted Code
- <script type="text/javascript">
- $(document).ready(function(){
- $("#releaseID").sortable({
- [11 more lines...]
Plain Code
<script type="text/javascript">
$(document).ready(function(){
$("#releaseID").sortable({
connectWith: ["#withholdID"]
});
});
$(document).ready(function(){
$("#withholdID").sortable({
connectWith: ["#releaseID"]
});
});
</script>
Untitled JavaScript (25-Aug @ 18:33)
Syntax Highlighted Code
- $(function(){
- $('fieldset#billing :checkbox').click(
- function(){
- if ($('#sameAsBilling:checked')){
- [3 more lines...]
Plain Code
$(function(){
$('fieldset#billing :checkbox').click(
function(){
if ($('#sameAsBilling:checked')){
$('fieldset#shipping').toggle()
}
})
})
Untitled JavaScript (25-Aug @ 10:43)
Syntax Highlighted Code
- document.getElementById('test');
- //tests
Plain Code
document.getElementById('test');
//tests
Untitled JavaScript (22-Aug @ 21:30)
Syntax Highlighted Code
- for(test in testing){
- alert(testing[test] + " yo MTV RAps!" );
- }
Plain Code
for(test in testing){
alert(testing[test] + " yo MTV RAps!" );
}
Untitled JavaScript (21-Aug @ 21:35)
Syntax Highlighted Code
- alert('asdad');
Plain Code
alert('asdad');
Untitled JavaScript (21-Aug @ 13:24)
Syntax Highlighted Code
- function terror(){
- }
Plain Code
function terror(){
}
Untitled JavaScript (21-Aug @ 09:26)
Syntax Highlighted Code
- var results = document.querySelectorAll( selector );
- var length = results.length;
- results.constructor = jQuery;
- results.__proto__ = jQuery.prototype;
- results.length = length;
Plain Code
var results = document.querySelectorAll( selector );
var length = results.length;
results.constructor = jQuery;
results.__proto__ = jQuery.prototype;
results.length = length;
blop title (20-Aug @ 22:49)
Syntax Highlighted Code
- var MooTools = {
- 'version': '1.2.0',
- 'build': ''
- };
- [17 more lines...]
Plain Code
var MooTools = {
'version': '1.2.0',
'build': ''
};
var Native = function(options){
options = options || {};
var afterImplement = options.afterImplement || function(){};
var generics = options.generics;
generics = (generics !== false);
var legacy = options.legacy;
var initialize = options.initialize;
var protect = options.protect;
var name = options.name;
var object = initialize || legacy;
object.constructor = Native;
object.$family = {name: 'native'};
if (legacy && initialize) object.prototype = legacy.prototype;
object.prototype.constructor = object;
Untitled JavaScript (20-Aug @ 22:48)
Syntax Highlighted Code
- var MooTools = {
- 'version': '1.2.0',
- 'build': ''
- };
- [17 more lines...]
Plain Code
var MooTools = {
'version': '1.2.0',
'build': ''
};
var Native = function(options){
options = options || {};
var afterImplement = options.afterImplement || function(){};
var generics = options.generics;
generics = (generics !== false);
var legacy = options.legacy;
var initialize = options.initialize;
var protect = options.protect;
var name = options.name;
var object = initialize || legacy;
object.constructor = Native;
object.$family = {name: 'native'};
if (legacy && initialize) object.prototype = legacy.prototype;
object.prototype.constructor = object;
Untitled JavaScript (20-Aug @ 06:30)
Syntax Highlighted Code
- var a = "asdf";
Plain Code
var a = "asdf";
test (19-Aug @ 16:10)
Syntax Highlighted Code
- $('#colorchange').change(function(e) {
- if (e.target.checked) {
- doc.bind('selected:choice', changeColor);
- } else {
- [3 more lines...]
Plain Code
$('#colorchange').change(function(e) {
if (e.target.checked) {
doc.bind('selected:choice', changeColor);
} else {
doc.unbind('selected:choice', changeColor);
}
})
Untitled JavaScript (19-Aug @ 09:51)
Syntax Highlighted Code
- function showhide_obj(obj,icon)
- {
- obj=document.getElementById(obj);
- icon=document.getElementById(icon);
- [35 more lines...]
Plain Code
function showhide_obj(obj,icon)
{
obj=document.getElementById(obj);
icon=document.getElementById(icon);
if (obj.style.display=="none")
{
div_list = document.getElementsByTagName("div");
for (i=0; i< div_list.length; i ++) {
thisDiv = div_list[i];
if(thisDiv.id.indexOf("title")!=-1 && thisDiv.id != "title_first" && thisDiv.id != "title_all")
{
thisDiv.style.display="none";
}
}
myfont=document.getElementsByTagName("span");
for(i=0;i<myfont.length;i++)
{
thisfont = myfont[i];
if(thisfont.id.indexOf("icon")!=-1 && icon.id!=icon)
{
thisfont.innerHTML="<img src='images/xia.gif' />";
}
}
icon.innerHTML="<img src='images/sh.gif' />";
obj.style.display=""; //只显示当前链接
}
else
{//假如当前对象是打开的,就关闭它;
icon.innerHTML="<img src='images/xia.gif' />";
obj.style.display="none";
}
}
function showhide_all(div_id)
{
obj=document.getElementById(div_id);
if(obj.style.display=="none")
obj.style.display="";
else
obj.style.display="none";
}
Untitled JavaScript (17-Aug @ 16:24)
Syntax Highlighted Code
- // @MD Now we will add the jQuery code to toggle the background color of the div- 2008-08-16
- // this first bit of code is run when the java DOM is loaded. Anything inside that will load
- // even before the images of the page have loaded!
- [10 more lines...]
Plain Code
// @MD Now we will add the jQuery code to toggle the background color of the div- 2008-08-16
// this first bit of code is run when the java DOM is loaded. Anything inside that will load
// even before the images of the page have loaded!
$(document).ready(function(){
// @MD this code toggles the background color of the div - 2008-08-16
$('#btn').toggle(function() {
$('#div2').css('background-color','#fff')
}, function() {
$('#div2').css('background-color','#f00')
});
});
Untitled JavaScript (16-Aug @ 13:02)
Syntax Highlighted Code
- var MY_ID = "alternateflashplayer@forboden";
- var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
- var emfile = em.getInstallLocation(MY_ID).getItemLocation(MY_ID);
- [43 more lines...]
Plain Code
var MY_ID = "alternateflashplayer@forboden";
var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
var emfile = em.getInstallLocation(MY_ID).getItemLocation(MY_ID);
function getLocalPlaya(whichOne){
var filePa = emfile.path+'\\chrome\\content\\players\\'+whichOne;
var gunsNRoses = filePa.replace('\\', '\\\\');
var bFile = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
bFile.initWithPath(gunsNRoses);
var istream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
istream.init(bFile, -1, -1, false);
var bstream = Components.classes["@mozilla.org/binaryinputstream;1"].createInstance(Components.interfaces.nsIBinaryInputStream);
bstream.setInputStream(istream);
var bytes = bstream.readBytes(bstream.available());
var serverSocket;
var listener =
{
onSocketAccepted : function(socket, transport)
{
try {
var outputString = 'HTTP/1.1 200 OK\n' +
'Content-Length: '+bytes.length+'\r\n'+
'Content-Type: application/x-shockwave-flash\r\n' +
'content-disposition: attachment; filename="'+whichOne+'"\r\n'+
'Accept-Ranges: bytes\r\n'+
bytes;
var stream = transport.openOutputStream(0,0,0);
stream.write(outputString,outputString.length);
stream.close();
} catch(ex2){ LOG("::"+ex2); }
},
onStopListening : function(socket, status){}
};
try {
serverSocket = Components.classes["@mozilla.org/network/server-socket;1"]
.createInstance(Components.interfaces.nsIServerSocket);
serverSocket.init(7088,true,-1);
serverSocket.asyncListen(listener);
} catch(ex){ LOG(ex); }
}
Untitled JavaScript (16-Aug @ 12:16)
Syntax Highlighted Code
- var MY_ID = "alternateflashplayer@forboden";
- var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
- var file = em.getInstallLocation(MY_ID).getItemLocation(MY_ID);
- var filePa = file.path+'\\chrome\\content\\players\\FlowPlayerLight-2.2.2.swf';
- [41 more lines...]
Plain Code
var MY_ID = "alternateflashplayer@forboden";
var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
var file = em.getInstallLocation(MY_ID).getItemLocation(MY_ID);
var filePa = file.path+'\\chrome\\content\\players\\FlowPlayerLight-2.2.2.swf';
var gunsNRoses = filePa.replace('\\', '\\\\');
var bFile = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
bFile.initWithPath(gunsNRoses);
var istream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
istream.init(bFile, -1, -1, false);
var bstream = Components.classes["@mozilla.org/binaryinputstream;1"].createInstance(Components.interfaces.nsIBinaryInputStream);
bstream.setInputStream(istream);
var bytes = bstream.readBytes(bstream.available());
var serverSocket;
function start(){
var listener =
{
onSocketAccepted : function(socket, transport)
{
try {
var outputString = 'HTTP/1.1 200 OK\n' +
'Content-Length: '+bytes.length+'\r\n'+
'Content-Type: application/x-shockwave-flash\r\n' +
'content-disposition: attachment; filename="FlowPlayerLight-2.2.2.swf"\r\n'+
'Accept-Ranges: bytes\r\n'+
bytes;
var stream = transport.openOutputStream(0,0,0);
stream.write(outputString,outputString.length);
stream.close();
} catch(ex2){ LOG("::"+ex2); }
},
onStopListening : function(socket, status){}
};
try {
serverSocket = Components.classes["@mozilla.org/network/server-socket;1"]
.createInstance(Components.interfaces.nsIServerSocket);
serverSocket.init(7055,true,-1);
serverSocket.asyncListen(listener);
} catch(ex){ LOG(ex); }
}
start();
Untitled JavaScript (16-Aug @ 10:50)
Syntax Highlighted Code
- $('div').hide();
Plain Code
$('div').hide();
Untitled JavaScript (15-Aug @ 22:31)
Syntax Highlighted Code
- dfsdf sfwgfwdfg
Plain Code
dfsdf sfwgfwdfg
Untitled JavaScript (15-Aug @ 20:26)
Syntax Highlighted Code
- //{"xtype": "pymenthon-combobox", "displayField": "name",
- //"fieldLabel": "Client Type", "allowBlank": false, "url": "listclients", "emptyText": "Select one..",
- //"valueField": "id", "name": "client_type"}
- [22 more lines...]
Plain Code
//{"xtype": "pymenthon-combobox", "displayField": "name",
//"fieldLabel": "Client Type", "allowBlank": false, "url": "listclients", "emptyText": "Select one..",
//"valueField": "id", "name": "client_type"}
Ext.pymenthon.form.ComboBox = Ext.extend(Ext.form.ComboBox, {
url : 'url-to-get-the-list',
initComponent:function() {
Ext.apply(this,{
store: new Ext.data.JsonStore({
url: this.url,
autoLoad: true,
}),
//store : [['3', 'Inscripto'], ['4','Responsable'], ['8', 'otra'], ['17', 'papapa']],
typeAhead: true,
mode: 'local',
triggerAction: 'all',
selectOnFocus:true,
});
// call parent initComponent
Ext.pymenthon.form.ComboBox.superclass.initComponent.call(this);
} // end of function initComponent
});
Ext.reg('pymenthon-combobox', Ext.pymenthon.form.ComboBox);
Untitled JavaScript (14-Aug @ 08:40)
Syntax Highlighted Code
- alert('toto');
Plain Code
alert('toto');
Untitled JavaScript (13-Aug @ 09:37)
Syntax Highlighted Code
- (function(){
- /*
- * jQuery 1.2.6 - New Wave Javascript
- *
- [1824 more lines...]
Plain Code
(function(){
/*
* jQuery 1.2.6 - New Wave Javascript
*
* Copyright (c) 2008 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2008-05-24 14:22:17 -0400 (Sat, 24 May 2008) $
* $Rev: 5685 $
*/
// Map over jQuery in case of overwrite
var _jQuery = window.jQuery,
// Map over the $ in case of overwrite
_$ = window.$;
var jQuery = window.jQuery = window.$ = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
};
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,
// Is it a simple selector
isSimple = /^.[^:#\[\.]*$/,
// Will speed up references to undefined, and allows munging its name.
undefined;
jQuery.fn = jQuery.prototype = {
init: function( selector, context ) {
// Make sure that a selection was provided
selector = selector || document;
// Handle $(DOMElement)
if ( selector.nodeType ) {
this[0] = selector;
this.length = 1;
return this;
}
// Handle HTML strings
if ( typeof selector == "string" ) {
// Are we dealing with HTML string or an ID?
var match = quickExpr.exec( selector );
// Verify a match, and that no context was specified for #id
if ( match && (match[1] || !context) ) {
// HANDLE: $(html) -> $(array)
if ( match[1] )
selector = jQuery.clean( [ match[1] ], context );
// HANDLE: $("#id")
else {
var elem = document.getElementById( match[3] );
// Make sure an element was located
if ( elem ){
// Handle the case where IE and Opera return items
// by name instead of ID
if ( elem.id != match[3] )
return jQuery().find( selector );
// Otherwise, we inject the element directly into the jQuery object
return jQuery( elem );
}
selector = [];
}
// HANDLE: $(expr, [context])
// (which is just equivalent to: $(content).find(expr)
} else
return jQuery( context ).find( selector );
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) )
return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector );
return this.setArray(jQuery.makeArray(selector));
},
// The current version of jQuery being used
jquery: "1.2.6",
// The number of elements contained in the matched element set
size: function() {
return this.length;
},
// The number of elements contained in the matched element set
length: 0,
// Get the Nth element in the matched element set OR
// Get the whole matched element set as a clean array
get: function( num ) {
return num == undefined ?
// Return a 'clean' array
jQuery.makeArray( this ) :
// Return just the object
this[ num ];
},
// Take an array of elements and push it onto the stack
// (returning the new matched element set)
pushStack: function( elems ) {
// Build a new jQuery matched element set
var ret = jQuery( elems );
// Add the old object onto the stack (as a reference)
ret.prevObject = this;
// Return the newly-formed element set
return ret;
},
// Force the current matched set of elements to become
// the specified array of elements (destroying the stack in the process)
// You should use pushStack() in order to do this, but maintain the stack
setArray: function( elems ) {
// Resetting the length to 0, then using the native Array push
// is a super-fast way to populate an object with array-like properties
this.length = 0;
Array.prototype.push.apply( this, elems );
return this;
},
// Execute a callback for every element in the matched set.
// (You can seed the arguments with an array of args, but this is
// only used internally.)
each: function( callback, args ) {
return jQuery.each( this, callback, args );
},
// Determine the position of an element within
// the matched set of elements
index: function( elem ) {
var ret = -1;
// Locate the position of the desired element
return jQuery.inArray(
// If it receives a jQuery object, the first element is used
elem && elem.jquery ? elem[0] : elem
, this );
},
attr: function( name, value, type ) {
var options = name;
// Look for the case where we're accessing a style value
if ( name.constructor == String )
if ( value === undefined )
return this[0] && jQuery[ type || "attr" ]( this[0], name );
else {
options = {};
options[ name ] = value;
}
// Check to see if we're setting style values
return this.each(function(i){
// Set all the styles
for ( name in options )
jQuery.attr(
type ?
this.style :
this,
name, jQuery.prop( this, options[ name ], type, i, name )
);
});
},
css: function( key, value ) {
// ignore negative width and height values
if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 )
value = undefined;
return this.attr( key, value, "curCSS" );
},
text: function( text ) {
if ( typeof text != "object" && text != null )
return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );
var ret = "";
jQuery.each( text || this, function(){
jQuery.each( this.childNodes, function(){
if ( this.nodeType != 8 )
ret += this.nodeType != 1 ?
this.nodeValue :
jQuery.fn.text( [ this ] );
});
});
return ret;
},
wrapAll: function( html ) {
if ( this[0] )
// The elements to wrap the target around
jQuery( html, this[0].ownerDocument )
.clone()
.insertBefore( this[0] )
.map(function(){
var elem = this;
while ( elem.firstChild )
elem = elem.firstChild;
return elem;
})
.append(this);
return this;
},
wrapInner: function( html ) {
return this.each(function(){
jQuery( this ).contents().wrapAll( html );
});
},
wrap: function( html ) {
return this.each(function(){
jQuery( this ).wrapAll( html );
});
},
append: function() {
return this.domManip(arguments, true, false, function(elem){
if (this.nodeType == 1)
this.appendChild( elem );
});
},
prepend: function() {
return this.domManip(arguments, true, true, function(elem){
if (this.nodeType == 1)
this.insertBefore( elem, this.firstChild );
});
},
before: function() {
return this.domManip(arguments, false, false, function(elem){
this.parentNode.insertBefore( elem, this );
});
},
after: function() {
return this.domManip(arguments, false, true, function(elem){
this.parentNode.insertBefore( elem, this.nextSibling );
});
},
end: function() {
return this.prevObject || jQuery( [] );
},
find: function( selector ) {
var elems = jQuery.map(this, function(elem){
return jQuery.find( selector, elem );
});
return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ?
jQuery.unique( elems ) :
elems );
},
clone: function( events ) {
// Do the clone
var ret = this.map(function(){
if ( jQuery.browser.msie && !jQuery.isXMLDoc(this) ) {
// IE copies events bound via attachEvent when
// using cloneNode. Calling detachEvent on the
// clone will also remove the events from the orignal
// In order to get around this, we use innerHTML.
// Unfortunately, this means some modifications to
// attributes in IE that are actually only stored
// as properties will not be copied (such as the
// the name attribute on an input).
var clone = this.cloneNode(true),
container = document.createElement("div");
container.appendChild(clone);
return jQuery.clean([container.innerHTML])[0];
} else
return this.cloneNode(true);
});
// Need to set the expando to null on the cloned set if it exists
// removeData doesn't work here, IE removes it from the original as well
// this is primarily for IE but the data expando shouldn't be copied over in any browser
var clone = ret.find("*").andSelf().each(function(){
if ( this[ expando ] != undefined )
this[ expando ] = null;
});
// Copy the events from the original to the clone
if ( events === true )
this.find("*").andSelf().each(function(i){
if (this.nodeType == 3)
return;
var events = jQuery.data( this, "events" );
for ( var type in events )
for ( var handler in events[ type ] )
jQuery.event.add( clone[ i ], type, events[ type ][ handler ], events[ type ][ handler ].data );
});
// Return the cloned set
return ret;
},
filter: function( selector ) {
return this.pushStack(
jQuery.isFunction( selector ) &&
jQuery.grep(this, function(elem, i){
return selector.call( elem, i );
}) ||
jQuery.multiFilter( selector, this ) );
},
not: function( selector ) {
if ( selector.constructor == String )
// test special case where just one selector is passed in
if ( isSimple.test( selector ) )
return this.pushStack( jQuery.multiFilter( selector, this, true ) );
else
selector = jQuery.multiFilter( selector, this );
var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType;
return this.filter(function() {
return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;
});
},
add: function( selector ) {
return this.pushStack( jQuery.unique( jQuery.merge(
this.get(),
typeof selector == 'string' ?
jQuery( selector ) :
jQuery.makeArray( selector )
)));
},
is: function( selector ) {
return !!selector && jQuery.multiFilter( selector, this ).length > 0;
},
hasClass: function( selector ) {
return this.is( "." + selector );
},
val: function( value ) {
if ( value == undefined ) {
if ( this.length ) {
var elem = this[0];
// We need to handle select boxes special
if ( jQuery.nodeName( elem, "select" ) ) {
var index = elem.selectedIndex,
values = [],
options = elem.options,
one = elem.type == "select-one";
// Nothing was selected
if ( index < 0 )
return null;
// Loop through all the selected options
for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
var option = options[ i ];
if ( option.selected ) {
// Get the specifc value for the option
value = jQuery.browser.msie && !option.attributes.value.specified ? option.text : option.value;
// We don't need an array for one selects
if ( one )
return value;
// Multi-Selects return an array
values.push( value );
}
}
return values;
// Everything else, we just grab the value
} else
return (this[0].value || "").replace(/\r/g, "");
}
return undefined;
}
if( value.constructor == Number )
value += '';
return this.each(function(){
if ( this.nodeType != 1 )
return;
if ( value.constructor == Array && /radio|checkbox/.test( this.type ) )
this.checked = (jQuery.inArray(this.value, value) >= 0 ||
jQuery.inArray(this.name, value) >= 0);
else if ( jQuery.nodeName( this, "select" ) ) {
var values = jQuery.makeArray(value);
jQuery( "option", this ).each(function(){
this.selected = (jQuery.inArray( this.value, values ) >= 0 ||
jQuery.inArray( this.text, values ) >= 0);
});
if ( !values.length )
this.selectedIndex = -1;
} else
this.value = value;
});
},
html: function( value ) {
return value == undefined ?
(this[0] ?
this[0].innerHTML :
null) :
this.empty().append( value );
},
replaceWith: function( value ) {
return this.after( value ).remove();
},
eq: function( i ) {
return this.slice( i, i + 1 );
},
slice: function() {
return this.pushStack( Array.prototype.slice.apply( this, arguments ) );
},
map: function( callback ) {
return this.pushStack( jQuery.map(this, function(elem, i){
return callback.call( elem, i, elem );
}));
},
andSelf: function() {
return this.add( this.prevObject );
},
data: function( key, value ){
var parts = key.split(".");
parts[1] = parts[1] ? "." + parts[1] : "";
if ( value === undefined ) {
var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
if ( data === undefined && this.length )
data = jQuery.data( this[0], key );
return data === undefined && parts[1] ?
this.data( parts[0] ) :
data;
} else
return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){
jQuery.data( this, key, value );
});
},
removeData: function( key ){
return this.each(function(){
jQuery.removeData( this, key );
});
},
domManip: function( args, table, reverse, callback ) {
var clone = this.length > 1, elems;
return this.each(function(){
if ( !elems ) {
elems = jQuery.clean( args, this.ownerDocument );
if ( reverse )
elems.reverse();
}
var obj = this;
if ( table && jQuery.nodeName( this, "table" ) && jQuery.nodeName( elems[0], "tr" ) )
obj = this.getElementsByTagName("tbody")[0] || this.appendChild( this.ownerDocument.createElement("tbody") );
var scripts = jQuery( [] );
jQuery.each(elems, function(){
var elem = clone ?
jQuery( this ).clone( true )[0] :
this;
// execute all scripts after the elements have been injected
if ( jQuery.nodeName( elem, "script" ) )
scripts = scripts.add( elem );
else {
// Remove any inner scripts for later evaluation
if ( elem.nodeType == 1 )
scripts = scripts.add( jQuery( "script", elem ).remove() );
// Inject the elements into the document
callback.call( obj, elem );
}
});
scripts.each( evalScript );
});
}
};
// Give the init function the jQuery prototype for later instantiation
jQuery.fn.init.prototype = jQuery.fn;
function evalScript( i, elem ) {
if ( elem.src )
jQuery.ajax({
url: elem.src,
async: false,
dataType: "script"
});
else
jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
if ( elem.parentNode )
elem.parentNode.removeChild( elem );
}
function now(){
return +new Date;
}
jQuery.extend = jQuery.fn.extend = function() {
// copy reference to target object
var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options;
// Handle a deep copy situation
if ( target.constructor == Boolean ) {
deep = target;
target = arguments[1] || {};
// skip the boolean and the target
i = 2;
}
// Handle case when target is a string or something (possible in deep copy)
if ( typeof target != "object" && typeof target != "function" )
target = {};
// extend jQuery itself if only one argument is passed
if ( length == i ) {
target = this;
--i;
}
for ( ; i < length; i++ )
// Only deal with non-null/undefined values
if ( (options = arguments[ i ]) != null )
// Extend the base object
for ( var name in options ) {
var src = target[ name ], copy = options[ name ];
// Prevent never-ending loop
if ( target === copy )
continue;
// Recurse if we're merging object values
if ( deep && copy && typeof copy == "object" && !copy.nodeType )
target[ name ] = jQuery.extend( deep,
// Never move original objects, clone them
src || ( copy.length != null ? [ ] : { } )
, copy );
// Don't bring in undefined values
else if ( copy !== undefined )
target[ name ] = copy;
}
// Return the modified object
return target;
};
var expando = "jQuery" + now(), uuid = 0, windowData = {},
// exclude the following css properties to add px
exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
// cache defaultView
defaultView = document.defaultView || {};
jQuery.extend({
noConflict: function( deep ) {
window.$ = _$;
if ( deep )
window.jQuery = _jQuery;
return jQuery;
},
// See test/unit/core.js for details concerning this function.
isFunction: function( fn ) {
return !!fn && typeof fn != "string" && !fn.nodeName &&
fn.constructor != Array && /^[\s[]?function/.test( fn + "" );
},
// check if an element is in a (or is an) XML document
isXMLDoc: function( elem ) {
return elem.documentElement && !elem.body ||
elem.tagName && elem.ownerDocument && !elem.ownerDocument.body;
},
// Evalulates a script in a global context
globalEval: function( data ) {
data = jQuery.trim( data );
if ( data ) {
// Inspired by code by Andrea Giammarchi
// http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
var head = document.getElementsByTagName("head")[0] || document.documentElement,
script = document.createElement("script");
script.type = "text/javascript";
if ( jQuery.browser.msie )
script.text = data;
else
script.appendChild( document.createTextNode( data ) );
// Use insertBefore instead of appendChild to circumvent an IE6 bug.
// This arises when a base node is used (#2709).
head.insertBefore( script, head.firstChild );
head.removeChild( script );
}
},
nodeName: function( elem, name ) {
return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase();
},
cache: {},
data: function( elem, name, data ) {
elem = elem == window ?
windowData :
elem;
var id = elem[ expando ];
// Compute a unique ID for the element
if ( !id )
id = elem[ expando ] = ++uuid;
// Only generate the data cache if we're
// trying to access or manipulate it
if ( name && !jQuery.cache[ id ] )
jQuery.cache[ id ] = {};
// Prevent overriding the named cache with undefined values
if ( data !== undefined )
jQuery.cache[ id ][ name ] = data;
// Return the named cache data, or the ID for the element
return name ?
jQuery.cache[ id ][ name ] :
id;
},
removeData: function( elem, name ) {
elem = elem == window ?
windowData :
elem;
var id = elem[ expando ];
// If we want to remove a specific section of the element's data
if ( name ) {
if ( jQuery.cache[ id ] ) {
// Remove the section of cache data
delete jQuery.cache[ id ][ name ];
// If we've removed all the data, remove the element's cache
name = "";
for ( name in jQuery.cache[ id ] )
break;
if ( !name )
jQuery.removeData( elem );
}
// Otherwise, we want to remove all of the element's data
} else {
// Clean up the element expando
try {
delete elem[ expando ];
} catch(e){
// IE has trouble directly removing the expando
// but it's ok with using removeAttribute
if ( elem.removeAttribute )
elem.removeAttribute( expando );
}
// Completely remove the data cache
delete jQuery.cache[ id ];
}
},
// args is for internal usage only
each: function( object, callback, args ) {
var name, i = 0, length = object.length;
if ( args ) {
if ( length == undefined ) {
for ( name in object )
if ( callback.apply( object[ name ], args ) === false )
break;
} else
for ( ; i < length; )
if ( callback.apply( object[ i++ ], args ) === false )
break;
// A special, fast, case for the most common use of each
} else {
if ( length == undefined ) {
for ( name in object )
if ( callback.call( object[ name ], name, object[ name ] ) === false )
break;
} else
for ( var value = object[0];
i < length && callback.call( value, i, value ) !== false; value = object[++i] ){}
}
return object;
},
prop: function( elem, value, type, i, name ) {
// Handle executable functions
if ( jQuery.isFunction( value ) )
value = value.call( elem, i );
// Handle passing in a number to a CSS property
return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ?
value + "px" :
value;
},
className: {
// internal only, use addClass("class")
add: function( elem, classNames ) {
jQuery.each((classNames || "").split(/\s+/), function(i, className){
if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) )
elem.className += (elem.className ? " " : "") + className;
});
},
// internal only, use removeClass("class")
remove: function( elem, classNames ) {
if (elem.nodeType == 1)
elem.className = classNames != undefined ?
jQuery.grep(elem.className.split(/\s+/), function(className){
return !jQuery.className.has( classNames, className );
}).join(" ") :
"";
},
// internal only, use hasClass("class")
has: function( elem, className ) {
return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1;
}
},
// A method for quickly swapping in/out CSS properties to get correct calculations
swap: function( elem, options, callback ) {
var old = {};
// Remember the old values, and insert the new ones
for ( var name in options ) {
old[ name ] = elem.style[ name ];
elem.style[ name ] = options[ name ];
}
callback.call( elem );
// Revert the old values
for ( var name in options )
elem.style[ name ] = old[ name ];
},
css: function( elem, name, force ) {
if ( name == "width" || name == "height" ) {
var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ];
function getWH() {
val = name == "width" ? elem.offsetWidth : elem.offsetHeight;
var padding = 0, border = 0;
jQuery.each( which, function() {
padding += parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0;
border += parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0;
});
val -= Math.round(padding + border);
}
if ( jQuery(elem).is(":visible") )
getWH();
else
jQuery.swap( elem, props, getWH );
return Math.max(0, val);
}
return jQuery.curCSS( elem, name, force );
},
curCSS: function( elem, name, force ) {
var ret, style = elem.style;
// A helper method for determining if an element's values are broken
function color( elem ) {
if ( !jQuery.browser.safari )
return false;
// defaultView is cached
var ret = defaultView.getComputedStyle( elem, null );
return !ret || ret.getPropertyValue("color") == "";
}
// We need to handle opacity special in IE
if ( name == "opacity" && jQuery.browser.msie ) {
ret = jQuery.attr( style, "opacity" );
return ret == "" ?
"1" :
ret;
}
// Opera sometimes will give the wrong display answer, this fixes it, see #2037
if ( jQuery.browser.opera && name == "display" ) {
var save = style.outline;
style.outline = "0 solid black";
style.outline = save;
}
// Make sure we're using the right name for getting the float value
if ( name.match( /float/i ) )
name = styleFloat;
if ( !force && style && style[ name ] )
ret = style[ name ];
else if ( defaultView.getComputedStyle ) {
// Only "float" is needed here
if ( name.match( /float/i ) )
name = "float";
name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase();
var computedStyle = defaultView.getComputedStyle( elem, null );
if ( computedStyle && !color( elem ) )
ret = computedStyle.getPropertyValue( name );
// If the element isn't reporting its values properly in Safari
// then some display: none elements are involved
else {
var swap = [], stack = [], a = elem, i = 0;
// Locate all of the parent display: none elements
for ( ; a && color(a); a = a.parentNode )
stack.unshift(a);
// Go through and make them visible, but in reverse
// (It would be better if we knew the exact display type that they had)
for ( ; i < stack.length; i++ )
if ( color( stack[ i ] ) ) {
swap[ i ] = stack[ i ].style.display;
stack[ i ].style.display = "block";
}
// Since we flip the display style, we have to handle that
// one special, otherwise get the value
ret = name == "display" && swap[ stack.length - 1 ] != null ?
"none" :
( computedStyle && computedStyle.getPropertyValue( name ) ) || "";
// Finally, revert the display styles back
for ( i = 0; i < swap.length; i++ )
if ( swap[ i ] != null )
stack[ i ].style.display = swap[ i ];
}
// We should always get a number back from opacity
if ( name == "opacity" && ret == "" )
ret = "1";
} else if ( elem.currentStyle ) {
var camelCase = name.replace(/\-(\w)/g, function(all, letter){
return letter.toUpperCase();
});
ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];
// From the awesome hack by Dean Edwards
// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
// If we're not dealing with a regular pixel number
// but a number that has a weird ending, we need to convert it to pixels
if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) {
// Remember the original values
var left = style.left, rsLeft = elem.runtimeStyle.left;
// Put in the new values to get a computed value out
elem.runtimeStyle.left = elem.currentStyle.left;
style.left = ret || 0;
ret = style.pixelLeft + "px";
// Revert the changed values
style.left = left;
elem.runtimeStyle.left = rsLeft;
}
}
return ret;
},
clean: function( elems, context ) {
var ret = [];
context = context || document;
// !context.createElement fails in IE with an error but returns typeof 'object'
if (typeof context.createElement == 'undefined')
context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
jQuery.each(elems, function(i, elem){
if ( !elem )
return;
if ( elem.constructor == Number )
elem += '';
// Convert html string into DOM nodes
if ( typeof elem == "string" ) {
// Fix "XHTML"-style tags in all browsers
elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){
return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ?
all :
front + "></" + tag + ">";
});
// Trim whitespace, otherwise indexOf won't work as expected
var tags = jQuery.trim( elem ).toLowerCase(), div = context.createElement("div");
var wrap =
// option or optgroup
!tags.indexOf("<opt") &&
[ 1, "<select multiple='multiple'>", "</select>" ] ||
!tags.indexOf("<leg") &&
[ 1, "<fieldset>", "</fieldset>" ] ||
tags.match(/^<(thead|tbody|tfoot|colg|cap)/) &&
[ 1, "<table>", "</table>" ] ||
!tags.indexOf("<tr") &&
[ 2, "<table><tbody>", "</tbody></table>" ] ||
// <thead> matched above
(!tags.indexOf("<td") || !tags.indexOf("<th")) &&
[ 3, "<table><tbody><tr>", "</tr></tbody></table>" ] ||
!tags.indexOf("<col") &&
[ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ] ||
// IE can't serialize <link> and <script> tags normally
jQuery.browser.msie &&
[ 1, "div<div>", "</div>" ] ||
[ 0, "", "" ];
// Go to html and back, then peel off extra wrappers
div.innerHTML = wrap[1] + elem + wrap[2];
// Move to the right depth
while ( wrap[0]-- )
div = div.lastChild;
// Remove IE's autoinserted <tbody> from table fragments
if ( jQuery.browser.msie ) {
// String was a <table>, *may* have spurious <tbody>
var tbody = !tags.indexOf("<table") && tags.indexOf("<tbody") < 0 ?
div.firstChild && div.firstChild.childNodes :
// String was a bare <thead> or <tfoot>
wrap[1] == "<table>" && tags.indexOf("<tbody") < 0 ?
div.childNodes :
[];
for ( var j = tbody.length - 1; j >= 0 ; --j )
if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length )
tbody[ j ].parentNode.removeChild( tbody[ j ] );
// IE completely kills leading whitespace when innerHTML is used
if ( /^\s/.test( elem ) )
div.insertBefore( context.createTextNode( elem.match(/^\s*/)[0] ), div.firstChild );
}
elem = jQuery.makeArray( div.childNodes );
}
if ( elem.length === 0 && (!jQuery.nodeName( elem, "form" ) && !jQuery.nodeName( elem, "select" )) )
return;
if ( elem[0] == undefined || jQuery.nodeName( elem, "form" ) || elem.options )
ret.push( elem );
else
ret = jQuery.merge( ret, elem );
});
return ret;
},
attr: function( elem, name, value ) {
// don't set attributes on text and comment nodes
if (!elem || elem.nodeType == 3 || elem.nodeType == 8)
return undefined;
var notxml = !jQuery.isXMLDoc( elem ),
// Whether we are setting (or getting)
set = value !== undefined,
msie = jQuery.browser.msie;
// Try to normalize/fix the name
name = notxml && jQuery.props[ name ] || name;
// Only do all the following if this is a node (faster for style)
// IE elem.getAttribute passes even for style
if ( elem.tagName ) {
// These attributes require special treatment
var special = /href|src|style/.test( name );
// Safari mis-reports the default selected property of a hidden option
// Accessing the parent's selectedIndex property fixes it
if ( name == "selected" && jQuery.browser.safari )
elem.parentNode.selectedIndex;
// If applicable, access the attribute via the DOM 0 way
if ( name in elem && notxml && !special ) {
if ( set ){
// We can't allow the type property to be changed (since it causes problems in IE)
if ( name == "type" && jQuery.nodeName( elem, "input" ) && elem.parentNode )
throw "type property can't be changed";
elem[ name ] = value;
}
// browsers index elements by id/name on forms, give priority to attributes.
if( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) )
return elem.getAttributeNode( name ).nodeValue;
return elem[ name ];
}
if ( msie && notxml && name == "style" )
return jQuery.attr( elem.style, "cssText", value );
if ( set )
// convert the value to a string (all browsers do this but IE) see #1070
elem.setAttribute( name, "" + value );
var attr = msie && notxml && special
// Some attributes require a special call on IE
? elem.getAttribute( name, 2 )
: elem.getAttribute( name );
// Non-existent attributes return null, we normalize to undefined
return attr === null ? undefined : attr;
}
// elem is actually elem.style ... set the style
// IE uses filters for opacity
if ( msie && name == "opacity" ) {
if ( set ) {
// IE has trouble with opacity if it does not have layout
// Force it by setting the zoom level
elem.zoom = 1;
// Set the alpha filter to set the opacity
elem.filter = (elem.filter || "").replace( /alpha\([^)]*\)/, "" ) +
(parseInt( value ) + '' == "NaN" ? "" : "alpha(opacity=" + value * 100 + ")");
}
return elem.filter && elem.filter.indexOf("opacity=") >= 0 ?
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) + '':
"";
}
name = name.replace(/-([a-z])/ig, function(all, letter){
return letter.toUpperCase();
});
if ( set )
elem[ name ] = value;
return elem[ name ];
},
trim: function( text ) {
return (text || "").replace( /^\s+|\s+$/g, "" );
},
makeArray: function( array ) {
var ret = [];
if( array != null ){
var i = array.length;
//the window, strings and functions also have 'length'
if( i == null || array.split || array.setInterval || array.call )
ret[0] = array;
else
while( i )
ret[--i] = array[i];
}
return ret;
},
inArray: function( elem, array ) {
for ( var i = 0, length = array.length; i < length; i++ )
// Use === because on IE, window == document
if ( array[ i ] === elem )
return i;
return -1;
},
merge: function( first, second ) {
// We have to loop this way because IE & Opera overwrite the length
// expando of getElementsByTagName
var i = 0, elem, pos = first.length;
// Also, we need to make sure that the correct elements are being returned
// (IE returns comment nodes in a '*' query)
if ( jQuery.browser.msie ) {
while ( elem = second[ i++ ] )
if ( elem.nodeType != 8 )
first[ pos++ ] = elem;
} else
while ( elem = second[ i++ ] )
first[ pos++ ] = elem;
return first;
},
unique: function( array ) {
var ret = [], done = {};
try {
for ( var i = 0, length = array.length; i < length; i++ ) {
var id = jQuery.data( array[ i ] );
if ( !done[ id ] ) {
done[ id ] = true;
ret.push( array[ i ] );
}
}
} catch( e ) {
ret = array;
}
return ret;
},
grep: function( elems, callback, inv ) {
var ret = [];
// Go through the array, only saving the items
// that pass the validator function
for ( var i = 0, length = elems.length; i < length; i++ )
if ( !inv != !callback( elems[ i ], i ) )
ret.push( elems[ i ] );
return ret;
},
map: function( elems, callback ) {
var ret = [];
// Go through the array, translating each of the items to their
// new value (or values).
for ( var i = 0, length = elems.length; i < length; i++ ) {
var value = callback( elems[ i ], i );
if ( value != null )
ret[ ret.length ] = value;
}
return ret.concat.apply( [], ret );
}
});
var userAgent = navigator.userAgent.toLowerCase();
// Figure out what browser is being used
jQuery.browser = {
version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1],
safari: /webkit/.test( userAgent ),
opera: /opera/.test( userAgent ),
msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
mozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )
};
var styleFloat = jQuery.browser.msie ?
"styleFloat" :
"cssFloat";
jQuery.extend({
// Check to see if the W3C box model is being used
boxModel: !jQuery.browser.msie || document.compatMode == "CSS1Compat",
props: {
"for": "htmlFor",
"class": "className",
"float": styleFloat,
cssFloat: styleFloat,
styleFloat: styleFloat,
readonly: "readOnly",
maxlength: "maxLength",
cellspacing: "cellSpacing"
}
});
jQuery.each({
parent: function(elem){return elem.parentNode;},
parents: function(elem){return jQuery.dir(elem,"parentNode");},
next: function(elem){return jQuery.nth(elem,2,"nextSibling");},
prev: function(elem){return jQuery.nth(elem,2,"previousSibling");},
nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
children: function(elem){return jQuery.sibling(elem.firstChild);},
contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
}, function(name, fn){
jQuery.fn[ name ] = function( selector ) {
var ret = jQuery.map( this, fn );
if ( selector && typeof selector == "string" )
ret = jQuery.multiFilter( selector, ret );
return this.pushStack( jQuery.unique( ret ) );
};
});
jQuery.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(name, original){
jQuery.fn[ name ] = function() {
var args = arguments;
return this.each(function(){
for ( var i = 0, length = args.length; i < length; i++ )
jQuery( args[ i ] )[ original ]( this );
});
};
});
jQuery.each({
removeAttr: function( name ) {
jQuery.attr( this, name, "" );
if (this.nodeType == 1)
this.removeAttribute( name );
},
addClass: function( classNames ) {
jQuery.className.add( this, classNames );
},
removeClass: function( classNames ) {
jQuery.className.remove( this, classNames );
},
toggleClass: function( classNames ) {
jQuery.className[ jQuery.className.has( this, classNames ) ? "remove" : "add" ]( this, classNames );
},
remove: function( selector ) {
if ( !selector || jQuery.filter( selector, [ this ] ).r.length ) {
// Prevent memory leaks
jQuery( "*", this ).add(this).each(function(){
jQuery.event.remove(this);
jQuery.removeData(this);
});
if (this.parentNode)
this.parentNode.removeChild( this );
}
},
empty: function() {
// Remove element nodes and prevent memory leaks
jQuery( ">*", this ).remove();
// Remove any remaining nodes
while ( this.firstChild )
this.removeChild( this.firstChild );
}
}, function(name, fn){
jQuery.fn[ name ] = function(){
return this.each( fn, arguments );
};
});
jQuery.each([ "Height", "Width" ], function(i, name){
var type = name.toLowerCase();
jQuery.fn[ type ] = function( size ) {
// Get window width or height
return this[0] == window ?
// Opera reports document.body.client[Width/Height] properly in both quirks and standards
jQuery.browser.opera && document.body[ "client" + name ] ||
// Safari reports inner[Width/Height] just fine (Mozilla and Opera include scroll bar widths)
jQuery.browser.safari && window[ "inner" + name ] ||
// Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode
document.compatMode == "CSS1Compat" && document.documentElement[ "client" + name ] || document.body[ "client" + name ] :
// Get document width or height
this[0] == document ?
// Either scroll[Width/Height] or offset[Width/Height], whichever is greater
Math.max(
Math.max(document.body["scroll" + name], document.documentElement["scroll" + name]),
Math.max(document.body["offset" + name], document.documentElement["offset" + name])
) :
// Get or set width or height on the element
size == undefined ?
// Get width or height on the element
(this.length ? jQuery.css( this[0], type ) : null) :
// Set the width or height on the element (default to pixels if value is unitless)
this.css( type, size.constructor == String ? size : size + "px" );
};
});
// Helper function used by the dimensions and offset modules
function num(elem, prop) {
return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
}var chars = jQuery.browser.safari && parseInt(jQuery.browser.version) < 417 ?
"(?:[\\w*_-]|\\\\.)" :
"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",
quickChild = new RegExp("^>\\s*(" + chars + "+)"),
quickID = new RegExp("^(" + chars + "+)(#)(" + chars + "+)"),
quickClass = new RegExp("^([#.]?)(" + chars + "*)");
jQuery.extend({
expr: {
"": function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},
"#": function(a,i,m){return a.getAttribute("id")==m[2];},
":": {
// Position Checks
lt: function(a,i,m){return i<m[3]-0;},
gt: function(a,i,m){return i>m[3]-0;},
nth: function(a,i,m){return m[3]-0==i;},
eq: function(a,i,m){return m[3]-0==i;},
first: function(a,i){return i==0;},
last: function(a,i,m,r){return i==r.length-1;},
even: function(a,i){return i%2==0;},
odd: function(a,i){return i%2;},
// Child Checks
"first-child": function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},
"last-child": function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},
"only-child": function(a){return !jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},
// Parent Checks
parent: function(a){return a.firstChild;},
empty: function(a){return !a.firstChild;},
// Text Check
contains: function(a,i,m){return (a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},
// Visibility
visible: function(a){return "hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},
hidden: function(a){return "hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},
// Form attributes
enabled: function(a){return !a.disabled;},
disabled: function(a){return a.disabled;},
checked: function(a){return a.checked;},
selected: function(a){return a.selected||jQuery.attr(a,"selected");},
// Form elements
text: function(a){return "text"==a.type;},
radio: function(a){return "radio"==a.type;},
checkbox: function(a){return "checkbox"==a.type;},
file: function(a){return "file"==a.type;},
password: function(a){return "password"==a.type;},
submit: function(a){return "submit"==a.type;},
image: function(a){return "image"==a.type;},
reset: function(a){return "reset"==a.type;},
button: function(a){return "button"==a.type||jQuery.nodeName(a,"button");},
input: function(a){return /input|select|textarea|button/i.test(a.nodeName);},
// :has()
has: function(a,i,m){return jQuery.find(m[3],a).length;},
// :header
header: function(a){return /h\d/i.test(a.nodeName);},
// :animated
animated: function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}
}
},
// The regular expressions that power the parsing engine
parse: [
// Match: [@value='test'], [@foo]
/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,
// Match: :contains('foo')
/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,
// Match: :even, :last-child, #id, .class
new RegExp("^([:.#]*)(" + chars + "+)")
],
multiFilter: function( expr, elems, not ) {
var old, cur = [];
while ( expr && expr != old ) {
old = expr;
var f = jQuery.filter( expr, elems, not );
expr = f.t.replace(/^\s*,\s*/, "" );
cur = not ? elems = f.r : jQuery.merge( cur, f.r );
}
return cur;
},
find: function( t, context ) {
// Quickly handle non-string expressions
if ( typeof t != "string" )
return [ t ];
// check to make sure context is a DOM element or a document
if ( context && context.nodeType != 1 && context.nodeType != 9)
return [ ];
// Set the correct context (if none is provided)
context = context || document;
// Initialize the search
var ret = [context], done = [], last, nodeName;
// Continue while a selector expression exists, and while
// we're no longer looping upon ourselves
while ( t && last != t ) {
var r = [];
last = t;
t = jQuery.trim(t);
var foundToken = false,
// An attempt at speeding up child selectors that
// point to a specific element tag
re = quickChild,
m = re.exec(t);
if ( m ) {
nodeName = m[1].toUpperCase();
// Perform our own iteration and filter
for ( var i = 0; ret[i]; i++ )
for ( var c = ret[i].firstChild; c; c = c.nextSibling )
if ( c.nodeType == 1 && (nodeName == "*" || c.nodeName.toUpperCase() == nodeName) )
r.push( c );
ret = r;
t = t.replace( re, "" );
if ( t.indexOf(" ") == 0 ) continue;
foundToken = true;
} else {
re = /^([>+~])\s*(\w*)/i;
if ( (m = re.exec(t)) != null ) {
r = [];
var merge = {};
nodeName = m[2].toUpperCase();
m = m[1];
for ( var j = 0, rl = ret.length; j < rl; j++ ) {
var n = m == "~" || m == "+" ? ret[j].nextSibling : ret[j].firstChild;
for ( ; n; n = n.nextSibling )
if ( n.nodeType == 1 ) {
var id = jQuery.data(n);
if ( m == "~" && merge[id] ) break;
if (!nodeName || n.nodeName.toUpperCase() == nodeName ) {
if ( m == "~" ) merge[id] = true;
r.push( n );
}
if ( m == "+" ) break;
}
}
ret = r;
// And remove the token
t = jQuery.trim( t.replace( re, "" ) );
foundToken = true;
}
}
// See if there's still an expression, and that we haven't already
// matched a token
if ( t && !foundToken ) {
// Handle multiple expressions
if ( !t.indexOf(",") ) {
// Clean the result set
if ( context == ret[0] ) ret.shift();
// Merge the result sets
done = jQuery.merge( done, ret );
// Reset the context
r = ret = [context];
// Touch up the selector string
t = " " + t.substr(1,t.length);
} else {
// Optimize for the case nodeName#idName
var re2 = quickID;
var m = re2.exec(t);
// Re-organize the results, so that they're consistent
if ( m ) {
m = [ 0, m[2], m[3], m[1] ];
} else {
// Otherwise, do a traditional filter check for
// ID, class, and element selectors
re2 = quickClass;
m = re2.exec(t);
}
m[2] = m[2].replace(/\\/g, "");
var elem = ret[ret.length-1];
// Try to do a global search by ID, where we can
if ( m[1] == "#" && elem && elem.getElementById && !jQuery.isXMLDoc(elem) ) {
// Optimization for HTML document case
var oid = elem.getElementById(m[2]);
// Do a quick check for the existence of the actual ID attribute
// to avoid selecting by the name attribute in IE
// also check to insure id is a string to avoid selecting an element with the name of 'id' inside a form
if ( (jQuery.browser.msie||jQuery.browser.opera) && oid && typeof oid.id == "string" && oid.id != m[2] )
oid = jQuery('[@id="'+m[2]+'"]', elem)[0];
// Do a quick check for node name (where applicable) so
// that div#foo searches will be really fast
ret = r = oid && (!m[3] || jQuery.nodeName(oid, m[3])) ? [oid] : [];
} else {
// We need to find all descendant elements
for ( var i = 0; ret[i]; i++ ) {
// Grab the tag name being searched for
var tag = m[1] == "#" && m[3] ? m[3] : m[1] != "" || m[0] == "" ? "*" : m[2];
// Handle IE7 being really dumb about <object>s
if ( tag == "*" && ret[i].nodeName.toLowerCase() == "object" )
tag = "param";
r = jQuery.merge( r, ret[i].getElementsByTagName( tag ));
}
// It's faster to filter by class and be done with it
if ( m[1] == "." )
r = jQuery.classFilter( r, m[2] );
// Same with ID filtering
if ( m[1] == "#" ) {
var tmp = [];
// Try to find the element with the ID
for ( var i = 0; r[i]; i++ )
if ( r[i].getAttribute("id") == m[2] ) {
tmp = [ r[i] ];
break;
}
r = tmp;
}
ret = r;
}
t = t.replace( re2, "" );
}
}
// If a selector string still exists
if ( t ) {
// Attempt to filter it
var val = jQuery.filter(t,r);
ret = r = val.r;
t = jQuery.trim(val.t);
}
}
// An error occurred with the selector;
// just return an empty set instead
if ( t )
ret = [];
// Remove the root context
if ( ret && context == ret[0] )
ret.shift();
// And combine the results
done = jQuery.merge( done, ret );
return done;
},
classFilter: function(r,m,not){
m = " " + m + " ";
var tmp = [];
for ( var i = 0; r[i]; i++ ) {
var pass = (" " + r[i].className + " ").indexOf( m ) >= 0;
if ( !not && pass || not && !pass )
tmp.push( r[i] );
}
return tmp;
},
filter: function(t,r,not) {
var last;
// Look for common filter expressions
while ( t && t != last ) {
last = t;
var p = jQuery.parse, m;
for ( var i = 0; p[i]; i++ ) {
m = p[i].exec( t );
if ( m ) {
// Remove what we just matched
t = t.substring( m[0].length );
m[2] = m[2].replace(/\\/g, "");
break;
}
}
if ( !m )
break;
// :not() is a special case that can be optimized by
// keeping it out of the expression list
if ( m[1] == ":" && m[2] == "not" )
// optimize if only one selector found (most common case)
r = isSimple.test( m[3] ) ?
jQuery.filter(m[3], r, true).r :
jQuery( r ).not( m[3] );
// We can get a big speed boost by filtering by class here
else if ( m[1] == "." )
r = jQuery.classFilter(r, m[2], not);
else if ( m[1] == "[" ) {
var tmp = [], type = m[3];
for ( var i = 0, rl = r.length; i < rl; i++ ) {
var a = r[i], z = a[ jQuery.props[m[2]] || m[2] ];
if ( z == null || /href|src|selected/.test(m[2]) )
z = jQuery.attr(a,m[2]) || '';
if ( (type == "" && !!z ||
type == "=" && z == m[5] ||
type == "!=" && z != m[5] ||
type == "^=" && z && !z.indexOf(m[5]) ||
type == "$=" && z.substr(z.length - m[5].length) == m[5] ||
(type == "*=" || type == "~=") && z.indexOf(m[5]) >= 0) ^ not )
tmp.push( a );
}
r = tmp;
// We can get a speed boost by handling nth-child here
} else if ( m[1] == ":" && m[2] == "nth-child" ) {
var merge = {}, tmp = [],
// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
m[3] == "even" && "2n" || m[3] == "odd" && "2n+1" ||
!/\D/.test(m[3]) && "0n+" + m[3] || m[3]),
// calculate the numbers (first)n+(last) including if they are negative
first = (test[1] + (test[2] || 1)) - 0, last = test[3] - 0;
// loop through all the elements left in the jQuery object
for ( var i = 0, rl = r.length; i < rl; i++ ) {
var node = r[i], parentNode = node.parentNode, id = jQuery.data(parentNode);
if ( !merge[id] ) {
var c = 1;
for ( var n = parentNode.firstChild; n; n = n.nextSibling )
if ( n.nodeType == 1 )
n.nodeIndex = c++;
merge[id] = true;
}
var add = false;
if ( first == 0 ) {
if ( node.nodeIndex == last )
add = true;
} else if ( (node.nodeIndex - last) % first == 0 && (node.nodeIndex - last) / first >= 0 )
add = true;
if ( add ^ not )
tmp.push( node );
}
r = tmp;
// Otherwise, find the expression to execute
} else {
var fn = jQuery.expr[ m[1] ];
if ( typeof fn == "object" )
fn = fn[ m[2] ];
if ( typeof fn == "string" )
fn = eval("false||function(a,i){return " + fn + ";}");
// Execute it against the current filter
r = jQuery.grep( r, function(elem, i){
return fn(elem, i, m, r);
}, not );
}
}
// Return an array of filtered elements (r)
// and the modified expression string (t)
return { r: r, t: t };
},
dir: function( elem, dir ){
var matched = [],
cur = elem[dir];
while ( cur && cur != document ) {
if ( cur.nodeType == 1 )
matched.push( cur );
cur = cur[dir];
}
return matched;
},
nth: function(cur,result,dir,elem){
result = result || 1;
var num = 0;
for ( ; cur; cur = cur[dir] )
if ( cur.nodeType == 1 && ++num == result )
break;
return cur;
},
sibling: function( n, elem ) {
var r = [];
for ( ; n; n = n.nextSibling ) {
if ( n.nodeType == 1 && n != elem )
r.push( n );
}
return r;
}
});
/*
* A number of helper functions used for managing events.
* Many of the ideas behind this code orignated from
* Dean Edwards' addEvent library.
*/
jQuery.event = {
// Bind an event to an element
// Original by Dean Edwards
add: function(elem, types, handler, data) {
if ( elem.nodeType == 3 || elem.nodeType == 8 )
return;
// For whatever reason, IE has trouble passing the window object
// a
Untitled JavaScript (12-Aug @ 21:00)
Syntax Highlighted Code
- <script type="text/javascript">
- $(function(){
- $("#varBusinessUnit").change(function(){
- var jobTitles = '<option value=""></option>';
- [45 more lines...]
Plain Code
<script type="text/javascript">
$(function(){
$("#varBusinessUnit").change(function(){
var jobTitles = '<option value=""></option>';
if ( "SBS" == $("#varBusinessUnit option:selected").val() )
{
jobTitles += '<option value="SA"<%=formFields.getSelectValue("jobTitle","SA")%>>SA</option>';
jobTitles += '<option value="CFTM"<%=formFields.getSelectValue("jobTitle","CFTM")%>>CFTM</option>';
jobTitles += '<option value="Acquisition Specialist"<%=formFields.getSelectValue("jobTitle","Acquisition Specialist")%>>Acquisition Specialist</option>';
jobTitles += '<option value="DVP"<%=formFields.getSelectValue("jobTitle","DVP")%>>DVP</option>';
jobTitles += '<option value="AVP"<%=formFields.getSelectValue("jobTitle","AVP")%>>AVP</option>';
jobTitles += '<option value="Other"<%=formFields.getSelectValue("jobTitle","Other")%>>Other</option>';
}
else if ( "TotalSource" == $("#varBusinessUnit option:selected").val() )
{
jobTitles += '<option value="DM"<%=formFields.getSelectValue("jobTitle","DM")%>>DM</option>';
jobTitles += '<option value="SDM"<%=formFields.getSelectValue("jobTitle","SDM")%>>SDM</option>';
jobTitles += '<option value="STM"<%=formFields.getSelectValue("jobTitle","STM")%>>STM</option>';
jobTitles += '<option value="DVP"<%=formFields.getSelectValue("jobTitle","DVP")%>>DVP</option>';
jobTitles += '<option value="AVP"<%=formFields.getSelectValue("jobTitle","AVP")%>>AVP</option>';
jobTitles += '<option value="Other"<%=formFields.getSelectValue("jobTitle","Other")%>>Other</option>';
}
else if ( "Insurance Services" == $("#varBusinessUnit option:selected").val() )
{
jobTitles += '<option value="Producer"<%=formFields.getSelectValue("jobTitle","Producer")%>>Producer</option>';
jobTitles += '<option value="DVP"<%=formFields.getSelectValue("jobTitle","DVP")%>>DVP</option>';
jobTitles += '<option value="AVP"<%=formFields.getSelectValue("jobTitle","AVP")%>>AVP</option>';
jobTitles += '<option value="Other"<%=formFields.getSelectValue("jobTitle","Other")%>>Other</option>';
}
else if ( "Retirement Services" == $("#varBusinessUnit option:selected").val() )
{
jobTitles += '<option value="RSDM"<%=formFields.getSelectValue("jobTitle","RSDM")%>>RSDM</option>';
jobTitles += '<option value="NARSDM"<%=formFields.getSelectValue("jobTitle","NARSDM")%>>NARSDM</option>';
jobTitles += '<option value="RCM"<%=formFields.getSelectValue("jobTitle","RCM")%>>RCM</option>';
jobTitles += '<option value="Other"<%=formFields.getSelectValue("jobTitle","Other")%>>Other</option>';
}
if ( jobTitles == '<option value=""></option>' )
{
jobTitles = '<option value="">Select a Business Unit</option>';
$("#jobTitle").attr("disabled","disabled");
}
else if ( $("#jobTitle").attr("disabled") )
$("#jobTitle").removeAttr("disabled");
$("#jobTitle").html(jobTitles);
}).change();
});
</script>
Untitled JavaScript (12-Aug @ 14:25)
Syntax Highlighted Code
- var _widget = $.widget;
- $.widget = function(name, prototype) {
- _widget.apply(this, arguments);
- [6 more lines...]
Plain Code
var _widget = $.widget;
$.widget = function(name, prototype) {
_widget.apply(this, arguments);
var namespace = name.split(".")[0];
name = name.split(".")[1];
$[namespace][name].widgetNamespace = namespace;
return $[namespace][name];
};
Untitled JavaScript (11-Aug @ 14:09)
Syntax Highlighted Code
- // navigational helper function.
- goTo : function(where){
- [7 more lines...]
Plain Code
// navigational helper function.
goTo : function(where){
// TODO: generalize this.
if (where == "payment") {
$('#book_a_ride > ul').tabs('enable', 2);
$('#book_a_ride > ul').tabs('select', 2);
}
},
Untitled JavaScript (11-Aug @ 14:06)
Syntax Highlighted Code
- // navigational helper function.
- goTo : function(where){
- },
- [8 more lines...]
Plain Code
// navigational helper function.
goTo : function(where){
},
customValidationDisplay: function(errorMap, errorList, successList){
function generateTooltip(err) {
$(err.element).attr('title', err.message).tooltip({
delay: 0,
showURL: false,
Untitled JavaScript (7-Aug @ 16:02)
Syntax Highlighted Code
- $("input.all").click(function(){
- var t = $(this);
- var c = $(':checked', t).length;
- [5 more lines...]
Plain Code
$("input.all").click(function(){
var t = $(this);
var c = $(':checked', t).length;
if (c == 1) {
console.log("checked");
}
});
Untitled JavaScript (6-Aug @ 18:45)
Syntax Highlighted Code
- $(document).ready(function(){
- $('#video_box').hide();
- $('a.video-link', this).click(function(){
- $(this).next('#video_box').slideToggle();
- [8 more lines...]
Plain Code
$(document).ready(function(){
$('#video_box').hide();
$('a.video-link', this).click(function(){
$(this).next('#video_box').slideToggle();
return false;
});
$('a.video-close', this).click(function(){
$(this).parent('#video_box').hide();
return false;
}, function(){
$(this).siblings('#video_frame').empty();
})
});
Untitled JavaScript (6-Aug @ 14:33)
Syntax Highlighted Code
- /*
- Author : Vipul Limbachiya
- FileName : jQuery.presentation
- Reqires : jQuery.js,jQuery.init.js,jQuery-ui-personalized-1.5.2.js
- [802 more lines...]
Plain Code
/*
Author : Vipul Limbachiya
FileName : jQuery.presentation
Reqires : jQuery.js,jQuery.init.js,jQuery-ui-personalized-1.5.2.js
*/
function Elem(elemId){return document.getElementById(elemId);}
jQuery.preloadImages = function()
{
for(var i = 0; i<arguments.length; i++)
{
jQuery("<img>").attr("src", arguments[i]);
}
}
// Properties for handler classes and ID so later on we can change if required
var Properties = {
currentDayBoxClass: ".calDayCur",
calendarBoxId: "#clndrEvent",
eventContainerBoxId: "#events",
eventBoxClass: ".calEvent",
eventBoxClassOnDrag: ".calEventDrag"
};
// This class manages all AJAX requests and response, its integrated with Presentation class
var EventCallBack=
{
// This method is being called on drop of event box on day,
// Calls async page and retrives details of selected template and date.
// And generates form of event using presentation class
retriveEventTemplateDetais : function(eventBoxId,templateId,selDate)
{
Presentation.appendMessage(eventBoxId,
"Wait...");
$.ajax({type:"POST",
url: "asyncHandler/handlerEvents.ashx",
data: "act=getEventTemplateDetails&tempId=" + templateId + "&selDate=" + selDate,
success:function(serverResponseData)
{
EventCallBack.retriveEventTemplateDetaisSuccess(serverResponseData,selDate,eventBoxId);
},
error: function(reqObject,typeofError,exceptionObj)
{
EventCallBack.retriveEventTemplateDetaisFailure(eventBoxId);
},
complete: function()
{
Presentation.removeMessage(eventBoxId);
}
});
},
// Being called on success of method : retriveEventTemplateDetais
retriveEventTemplateDetaisSuccess:function(responseText,selDate,eventBoxId)
{
Presentation.refreshEventPanel();
data = eval("(" + responseText + ")");
if(parseInt(data.response.error)===0)
{
Presentation.generateMyReminderPanel(data.response.table,
selDate,
eventBoxId);
}
else
{
Presentation.alertMessage(data.response.message);
Presentation.resetEventBoxIdPosition(eventBoxId,"");
}
},
// Being called on failure of method : retriveEventTemplateDetais
retriveEventTemplateDetaisFailure:function(eventBoxId)
{
Presentation.alertMessage("Error occored while processing request on server!");
Presentation.resetEventBoxIdPosition(eventBoxId,"");
},
// Submits selected option and data of event form
submitEventData : function(eventBoxId)
{
if($("#myReminderPanel_isActive").val()=="yes")
{
Presentation.appendMessage("myReminderFormPanel",
"Please Wait...");
var frequencyOption = "";
$("#myReminderPanel_EventFreq_Panel > select option:selected").each(function () {
if(frequencyOption.length>0)
{
frequencyOption += $(this).text() + ",";
}
else
{
frequencyOption = $(this).text();
}
});
var reminderOption = "";
$("#myReminderPanel_EventReminder_Panel > select option:selected").each(function () {
if(reminderOption.length>0)
{
reminderOption += $(this).text() + ",";
}
else
{
reminderOption = $(this).text();
}
});
var SelectedDate = $("#myReminderPanel_EventDate").val();
var disableEmailReminder = false;
if(Elem("myReminderPanel_EventDisableEmailReminder"))
{
disableEmailReminder = Elem("myReminderPanel_EventDisableEmailReminder").checked;
}
var disableSMSReminder = false;
if(Elem("myReminderPanel_EventDisableSMSReminder"))
{
disableSMSReminder = Elem("myReminderPanel_EventDisableSMSReminder").checked;
}
$.ajax({type:"POST",
url: "asyncHandler/handlerEvents.ashx",
data: "act=add"
+ "&tempId=" + $("#myReminderPanel_EventTemplateId").val()
+ "&eventTitle=" + $("#myReminderPanel_EventTitle").val()
+ "&eventDate=" + SelectedDate
+ "&eventFreq=" + frequencyOption
+ "&eventReminder=" + reminderOption
+ "&disableEmailReminder=" + disableEmailReminder
+ "&disableSMSReminder=" + disableSMSReminder
+ "&eventAltEmail=" + $("#myReminderPanel_EventAltEmail").val()
+ "&eventAltMobile=" + $("#myReminderPanel_EventAltMobile").val(),
success:function(serverResponseData)
{
EventCallBack.submitEventDataSuccess(serverResponseData,SelectedDate);
},
error: function(reqObject,typeofError,exceptionObj)
{
EventCallBack.submitEventDataFailure(SelectedDate);
},
complete: function()
{
Presentation.removeMessage("myReminderFormPanel");
}
});
}
},
// Being called on success of method : submitEventData
submitEventDataSuccess:function(responseText,selDate)
{
data = eval("(" + responseText + ")");
if(data.response.error==0)
{
var newEventId = data.response.newEvent[0].event_id;
var strEventBoxId = Presentation.currentEventBoxId();
Presentation.resetEventBoxIdPosition(strEventBoxId,selDate);
var eventElem = $("#"+strEventBoxId);
eventElem.effect("highlight", {}, 2000);
eventElem.removeAttr("id");
eventElem.attr("id","UserEvent_"+newEventId);
Presentation.alertMessage(data.response.message);
}
else
{
Presentation.alertMessage(data.response.message);
Presentation.resetEventBoxIdPosition(Presentation.currentEventBoxId(),"");
}
Presentation.showHideMyReminderPanel(false);
},
// Being called on failure of method : submitEventData
submitEventDataFailure:function()
{
Presentation.alertMessage("Error Occured!");
Presentation.resetEventBoxIdPosition(Presentation.currentEventBoxId(),"");
},
// Retrive event data async call
retriveEventDetails: function(eventBoxId,eventId,selDate)
{
Presentation.appendMessage(eventBoxId,
"Wait...");
$.ajax({type:"POST",
url: "asyncHandler/handlerEvents.ashx",
data: "act=getEventDetails&eventId=" + eventId,
success:function(serverResponseData)
{
EventCallBack.retriveEventDetailsSuccess(serverResponseData,selDate,eventBoxId);
},
error: function(reqObject,typeofError,exceptionObj)
{
EventCallBack.retriveEventDetailsFailure(eventBoxId);
},
complete: function()
{
Presentation.removeMessage(eventBoxId);
}
});
},
// Being called on success of method : retriveEventDetails
retriveEventDetailsSuccess:function(responseText,selDate,eventBoxId)
{
data = eval("(" + responseText + ")");
if(data.response.error==0)
{
Presentation.generateMyReminderPanelForEdit(data.response.table,
selDate,
eventBoxId);
}
else
{
Presentation.showHideMyReminderPanel(false);
Presentation.alertMessage(data.response.message);
var selDate = $("#"+eventBoxId).attr("currentdate") || "";
Presentation.resetEventBoxIdPosition(eventBoxId,selDate);
}
},
// Being called on failure of method : retriveEventDetails
retriveEventDetailsFailure:function(eventBoxId)
{
Presentation.alertMessage("Error occored while processing request on server!");
},
// Update event async call
updateEvent: function(eventBoxId,templateId,selDate)
{
if($("#myReminderPanel_isActive").val()=="yes")
{
Presentation.appendMessage("myReminderFormPanel",
"Please Wait...");
var frequencyOption = "";
$("#myReminderPanel_EventFreq_Panel > select option:selected").each(function () {
if(frequencyOption.length>0)
{
frequencyOption += $(this).text() + ",";
}
else
{
frequencyOption = $(this).text();
}
});
var reminderOption = "";
$("#myReminderPanel_EventReminder_Panel > select option:selected").each(function () {
if(reminderOption.length>0)
{
reminderOption += $(this).text() + ",";
}
else
{
reminderOption = $(this).text();
}
});
var SelectedDate = $("#myReminderPanel_EventDate").val();
var disableEmailReminder = false;
if(Elem("myReminderPanel_EventDisableEmailReminder"))
{
disableEmailReminder = Elem("myReminderPanel_EventDisableEmailReminder").checked;
}
var disableSMSReminder = false;
if(Elem("myReminderPanel_EventDisableSMSReminder"))
{
disableSMSReminder = Elem("myReminderPanel_EventDisableSMSReminder").checked;
}
$.ajax({type:"POST",
url: "asyncHandler/handlerEvents.ashx",
data: "act=updateEvent"
+ "&eventId=" + $("#myReminderPanel_EditEventId").val()
+ "&tempId=" + $("#myReminderPanel_EventTemplateId").val()
+ "&eventTitle=" + $("#myReminderPanel_EventTitle").val()
+ "&eventDate=" + SelectedDate
+ "&eventFreq=" + frequencyOption
+ "&eventReminder=" + reminderOption
+ "&disableEmailReminder=" + disableEmailReminder
+ "&disableSMSReminder=" + disableSMSReminder
+ "&eventAltEmail=" + $("#myReminderPanel_EventAltEmail").val()
+ "&eventAltMobile=" + $("#myReminderPanel_EventAltMobile").val(),
success:function(serverResponseData)
{
EventCallBack.updateEventSuccess(serverResponseData,SelectedDate,eventBoxId);
},
error: function(reqObject,typeofError,exceptionObj)
{
EventCallBack.updateEventFailure(eventBoxId);
},
complete: function()
{
Presentation.removeMessage("myReminderFormPanel");
}
});
}
},
// Being called on success of method : updateEvent
updateEventSuccess:function(responseText,selDate,eventBoxId)
{
data = eval("(" + responseText + ")");
var strEventBoxId = Presentation.currentEventBoxId();
if(data.response.error==0)
{
$("#"+strEventBoxId).attr("currentdate",selDate);
Presentation.resetEventBoxIdPosition(strEventBoxId,selDate);
$("#"+strEventBoxId).effect("highlight", {}, 2000);
Presentation.alertMessage(data.response.message);
}
else
{
Presentation.alertMessage(data.response.message);
var boxselDate = $("#"+strEventBoxId).attr("currentdate") || "";
Presentation.resetEventBoxIdPosition(strEventBoxId,boxselDate);
}
Presentation.showHideMyReminderPanel(false);
},
// Being called on failure of method : updateEvent
updateEventFailure:function(eventBoxId)
{
Presentation.alertMessage("Error Occured!");
var selDate = $("#"+eventBoxId).attr("currentdate") || "";
Presentation.resetEventBoxIdPosition(eventBoxId,selDate);
}
}
// This class manages presentation of calendar.
// Drag drop and initilization of dragdrop is handled by init function
var Presentation = {
// Initializes events and drag drop
init:function()
{
$.preloadImages("Images/throbber.gif");
Presentation.initDragDrop();
$("#myReminderPanel_Close").bind("click",
Presentation.cancleAction);
$("#eventCalendar").after("<div id=\"alertMessage\" class=\"alertMessage\" style=\"width:350px;display:none;\"></div>");
$(".calEvent").bind("click",
function(){
if($(this).attr("currentdate"))
{
if($("#myReminderPanel_isActive").val()!="yes")
{
Presentation.onDropFunction(this.id,
"dv"+$(this).attr("currentdate"),
true);
}
}
});
},
alertMessage:function(msg)
{
var alertMessageDiv=$("#alertMessage");
if(alertMessageDiv)
{
alertMessageDiv.text(msg);
}
alertMessageDiv.fadeIn(1000).fadeOut(3000)
},
refreshEventBox:function(idOfDroppedElement)
{
var eventBoxId = Presentation.currentEventBoxId();
if(eventBoxId!="" && eventBoxId!=idOfDroppedElement)
{
if(Presentation.isEditEvent())
{
var selDate = $("#"+eventBoxId).attr("currentdate");
Presentation.resetEventBoxIdPosition(eventBoxId,
selDate);
}
else
{
Presentation.resetEventBoxIdPosition(eventBoxId,
"");
}
}
},
cancleAction: function()
{
Presentation.refreshEventBox();
Presentation.refreshEventPanel();
Presentation.showHideMyReminderPanel(false);
},
// Fuction being called on drop of event box
onDropFunction:function(droppedElement,idOfDateElement,flag)
{
var idOfDroppedElement = "";
if(flag)
{
idOfDroppedElement = droppedElement;
}
else
{
idOfDroppedElement = droppedElement[0].id;
}
//Not required, because drag is disabled when add/edit form is open
//Presentation.refreshEventBox(idOfDroppedElement);
if ("#"+idOfDateElement != Properties.eventContainerBoxId)
{
if(idOfDroppedElement.indexOf('EventTemplateId_')>=0) // Add event
{
EventCallBack.retriveEventTemplateDetais(idOfDroppedElement,
idOfDroppedElement.replace('EventTemplateId_',''),
idOfDateElement.replace('dv',''));
Presentation.refreshEventPanel();
}
else // Edit Event
{
EventCallBack.retriveEventDetails(idOfDroppedElement,
idOfDroppedElement.replace('UserEvent_',''),
idOfDateElement.replace('dv',''));
}
}
else
{
Presentation.showHideMyReminderPanel(false);
}
},
// Init funciton for dragdrop
initDragDrop: function() {
$(Properties.currentDayBoxClass).droppable({
accept: Properties.eventBoxClass,
drop: function(ev, ui) {
$(this).append($(ui.draggable));
Presentation.onDropFunction($(ui.draggable),this.id);
}
});
$(Properties.eventContainerBoxId).droppable({
accept: Properties.eventBoxClass,
drop: function(ev, ui) {
$(this).append($(ui.draggable));
Presentation.onDropFunction($(ui.draggable),this.id);
}
});
$(Properties.eventBoxClass).draggable({
helper:'clone',
opacity:0.5
});
},
// Removes previously created message box
removeMessage: function(targetElementId,postfix)
{
postfix = postfix || "msg";
$("#"+targetElementId+"_" + postfix).remove();
},
// Appends message box to given element by id and with options
appendMessage: function(targetElementId,text,msgDivPostfix,containerClass,messageElementClass)
{
msgDivPostfix = msgDivPostfix || "msg";
containerClass = containerClass || "loaderContainer";
messageElementClass = messageElementClass || "waitMessage";
if($("#"+targetElementId+"_"+msgDivPostfix).length>0)
{
Presentation.removeMessage(targetElementId,
msgDivPostfix);
}
$("#"+targetElementId).prepend("<div title=\""+text+"\" class=\""+containerClass+"\" id=\""+ targetElementId + "_" + msgDivPostfix +"\"><span class=\""+messageElementClass+"\">"+text+"</span></div>");
},
// Refreshes event panle, to check whether more events available or not
refreshEventPanel:function()
{
if($("#events div").length==0)
{
if($("#dvNoEventAvailableMessage").length==0)
{
$("#events").append("<div id=\"dvNoEventAvailableMessage\" class=\"alertMessage\" title=\"No more events..!\">No more events available</div>")
}
}
else
{
$("#dvNoEventAvailableMessage").remove();
}
},
// Sets visibility of event form
showHideMyReminderPanel :function(show)
{
if(show)
{
$("#myReminderPanel").show();
$("#myReminderPanel_isActive").val("yes");
$(Properties.eventBoxClass).draggable("disable");
$(Properties.eventBoxClass).css({cursor:"text"});
}
else
{
$("#myReminderPanel").hide();
$("#myReminderPanel_isActive").val("no");
$(Properties.eventBoxClass).draggable("enable");
$(Properties.eventBoxClass).css({cursor:"move"});
}
},
// Generates Event's form using json data retrived from server
generateMyReminderPanel :function(templateData,dateOfEvent,eventBoxId)
{
if(templateData)
{
if(templateData.length>0)
{
var currentTemplate = templateData[0];
Presentation.showHideMyReminderPanel(true);
Presentation.switchSubmitButtonActionForEdit(false);
$("#myReminderPanel_Header").html("Event details");
$("#myReminderPanel_Submit").val("Save");
Presentation.currentEventBoxId(eventBoxId);
$("#myReminderPanel_EventDate").val(dateOfEvent);
$("#myReminderPanel_EventFreq").val(currentTemplate.event_template_frequency);
$("#myReminderPanel_EventReminder").val(currentTemplate.event_template_reminder);
$("#myReminderPanel_EventFreq_Panel > select option:first-child").attr("selected","true");
$("#myReminderPanel_EventReminder_Panel > select option:first-child").attr("selected","true");
if(Elem("myReminderPanel_EventDisableEmailReminder"))
{
Elem("myReminderPanel_EventDisableEmailReminder").checked=(currentTemplate.event_template_email=="y");
}
if(Elem("myReminderPanel_EventDisableSMSReminder"))
{
Elem("myReminderPanel_EventDisableSMSReminder").checked=(currentTemplate.event_template_sms=="y");
}
$("#myReminderPanel_EventTitle").val(currentTemplate.event_template_name);
$("#myReminderPanel_EventTemplateId").val(currentTemplate.event_template_id);
if(currentTemplate.event_template_account_def_time!="y")
{
$("#myReminderPanel_EventReminder_Panel").hide();
}
else
{
$("#myReminderPanel_EventReminder_Panel").show();
}
if(currentTemplate.event_template_email!="y")
{
$("#myReminderPanel_EventDisableEmailReminder_Panel").hide();
}
else
{
$("#myReminderPanel_EventDisableEmailReminder_Panel").show();
}
if(currentTemplate.event_template_sms!="y")
{
$("#myReminderPanel_EventDisableSMSReminder_Panel").hide();
}
else
{
$("#myReminderPanel_EventDisableSMSReminder_Panel").show();
}
if(currentTemplate.event_template_alt_email!="y")
{
$("#myReminderPanel_EventAltEmail_Panel").hide();
}
else
{
$("myReminderPanel_EventAltEmail_Panel").show();
}
if(currentTemplate.event_template_alt_mobile!="y")
{
$("#myReminderPanel_EventAltMobile_Panel").hide();
}
else
{
$("#myReminderPanel_EventAltMobile_Panel").show();
}
$("#myReminderPanel_EventTitle").focus();
}
}
},
isEditEvent:function()
{
return $("#myReminderPanel_EditEventId").val()!="";
},
currentEventBoxId:function(value)
{
if(value)
{
$("#myReminderPanel_currentEventBoxId").val(value);
}
return $("#myReminderPanel_currentEventBoxId").val();
},
switchSubmitButtonActionForEdit:function(flag,eventId)
{
eventId = eventId || "";
$("#myReminderPanel_Submit").unbind("click",
EventCallBack.updateEvent);
$("#myReminderPanel_Submit").unbind("click",
EventCallBack.submitEventData);
$("#myReminderPanel_EditEventId").val(eventId);
if(flag)
{
$("#myReminderPanel_EventDate_Panel_Edit").show();
$("#myReminderPanel_Submit").bind("click",
EventCallBack.updateEvent);
}
else
{
$("#myReminderPanel_EventDate_Panel_Edit").hide();
$("#myReminderPanel_Submit").bind("click",
EventCallBack.submitEventData);
}
},
// Generates Event's form for edit using json data retrived from server
generateMyReminderPanelForEdit : function(eventData,dateOfEvent,eventBoxId)
{
if(eventData)
{
if(eventData.length>0)
{
var currentEvent = eventData[0];
Presentation.showHideMyReminderPanel(true);
Presentation.switchSubmitButtonActionForEdit(true,
eventBoxId.replace('UserEvent_',''));
$("#myReminderPanel_Header").html("Edit Event details");
$("#myReminderPanel_Submit").val("Update");
Presentation.currentEventBoxId(eventBoxId);
$("#myReminderPanel_EventDate").val(dateOfEvent);
$("#myReminderPanel_EventDateEdit").html(currentEvent.converteddate);
$("#myReminderPanel_EventFreq").val(currentEvent.event_frequency);
$("#myReminderPanel_EventReminder").val(currentEvent.event_reminder);
$("#myReminderPanel_EventFreq_Panel > select option").each(function(){
if($(this).attr("value")==currentEvent.event_frequency)
{
$(this).attr("selected","true");
}
});
$("#myReminderPanel_EventReminder_Panel > select option").each(function(){
if($(this).attr("value")==currentEvent.event_reminder)
{
$(this).attr("selected","true");
}
});
if(Elem("myReminderPanel_EventDisableEmailReminder"))
{
Elem("myReminderPanel_EventDisableEmailReminder").checked=(currentEvent.event_email=="y");
}
if(Elem("myReminderPanel_EventDisableSMSReminder"))
{
Elem("myReminderPanel_EventDisableSMSReminder").checked=(currentEvent.event_sms=="y");
}
$("#myReminderPanel_EventTitle").val(currentEvent.event_title);
$("#myReminderPanel_EventTemplateId").val(currentEvent.event_template_id);
$("#myReminderPanel_EventTitle").focus();
$("#myReminderPanel_EventReminder_Panel").show();
$("#myReminderPanel_EventDisableEmailReminder_Panel").show();
$("#myReminderPanel_EventDisableSMSReminder_Panel").show();
$("#myReminderPanel_EventAltEmail_Panel").show();
$("#myReminderPanel_EventAltMobile_Panel").show();
}
}
},
resetEventBoxIdPosition:function(eventBoxId,selDate)
{
if(selDate=="")
{
if(Elem(eventBoxId))
{
var selDate = $("#"+eventBoxId).attr("currentdate") || "";
if(selDate.length==0)
{
Elem("events").appendChild(Elem(eventBoxId));
Presentation.currentEventBoxId("");
$("#myReminderPanel_EditEventId").val("");
}
}
}
else
{
var currentDateId = $("#"+eventBoxId).parent().get(0).id;
if(currentDateId != "dv" + selDate)
{
if(Elem("dv" + selDate))
{
if(Elem(eventBoxId))
{
Elem("dv" + selDate).appendChild(Elem(eventBoxId));
Presentation.currentEventBoxId("");
$("#myReminderPanel_EditEventId").val("");
}
}
else
{
if(selDate==undefined)
{
Presentation.alertMessage("error occured, Selected date not valid")
}
else
{
Presentation.alertMessage("Event is saved. Date selected is not in current month so it will not be visible")
Elem(eventBoxId).parentNode.removeChild(Elem(eventBoxId));
}
}
}
}
}
}
Untitled JavaScript (6-Aug @ 09:59)
Syntax Highlighted Code
- hello there {
- can you read me();
- }
Plain Code
hello there {
can you read me();
}
Untitled JavaScript (6-Aug @ 02:13)
Syntax Highlighted Code
- http://remysharp.com/visual-jquery/
Plain Code
http://remysharp.com/visual-jquery/
Untitled JavaScript (5-Aug @ 07:50)
Syntax Highlighted Code
- (function () {
- var blank_iframe = '/index-blank.html';
- var example_jquery = 'http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'; // latest from google
- [386 more lines...]
Plain Code
(function () {
var blank_iframe = '/index-blank.html';
var example_jquery = 'http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js'; // latest from google
var re_opt = /options/i;
if (!window.jquerydocs) window.jquerydocs = {};
if (!window.xmldoc) window.xmldoc = null;
window.loadDocs = function(data) {
$(document).trigger('api-loading');
if (!xmldoc && typeof data != "undefined") {
jquerydocs = data;
attachFind(jquerydocs);
$(document).trigger('api-load-success');
$(document).trigger('api-load-complete');
} else {
// parser
$.ajax({
url: xmldoc || 'jquery-docs.xml', // generated from jquery source: /tools/wikiapi2xml/createjQueryXMLDocs.py
dataType: 'xml',
success: parse,
error: function () {
$(document).trigger('api-load-error');
},
complete: function () {
$(document).trigger('api-load-complete');
}
});
}
};
function parse(xml) {
var docinfo = $('docs', xml);
var guid = 0; // TODO upgrade guid to a combo of fn name and params - like Jorn's browser
jquerydocs.version = docinfo.attr('version');
jquerydocs.timestamp = docinfo.attr('timestamp');
jquerydocs.startdoc = docinfo.attr('startdoc');
var letters = []; // holder before sorting and inserting
jquerydocs.letters = [];
jquerydocs.data = {};
jquerydocs.searchNames = [];
jquerydocs.categories = [];
// loop through all types collecting data
$('cat', xml).each(function (i) {
var catName = this.getAttribute('value');
var category = {};
category.name = catName;
category.subcategories = [];
$('subcat', this).each(function (i) {
var subcatName = this.getAttribute('value');
category.subcategories.push(subcatName);
$('function,property,selector', this).each(function () {
var data = {};
guid++;
// some function names have spaces around them - so trim
var name = this.getAttribute('name').replace( /^\s+|\s+$/g, '');
var searchName = name.toLowerCase().replace(/^jquery\./, '');
letters.push(name.toLowerCase().substr(0,1));
name = name.replace(/^jquery\./i, '$.');
jquerydocs.searchNames.push(searchName + guid);
data['id'] = guid;
data['searchname'] = searchName;
data['name'] = name;
data['type'] = this.nodeName.toLowerCase();
data['category'] = this.getAttribute('cat');
data['subcategory'] = subcatName;
data['return'] = escapeHTML(this.getAttribute('return'));
data['added'] = $('added', this).text();
data['sample'] = $('> sample', this).text();
data['desc'] = $('> desc', this).text();
data['longdesc'] = deWikify($('> longdesc', this).text());
// silly hack because of conversion issue from wiki to text (the .ready function
// has HTML in the description), but also includes HTML that should be printed,
// in particular the body tag :-(
data.longdesc = data.longdesc.replace(/<body>/, '<body>');
// some descs are in HTML format, some aren't
if (!(/<p>/).test(data.longdesc)) {
data.longdesc = '<p>' + data.longdesc.split(/\n\n/).join('</p><p>') + '</p>';
}
// strip our empty p tag if there was no description
if (data.longdesc == '<p></p>') {
data.longdesc = '';
}
/** params - we'll also search for Options to decide whether we need to parse */
var readOptions = false;
data.params = [];
$('params', this).each(function (i) {
var type = escapeHTML(this.getAttribute('type'));
var name = this.getAttribute('name');
var opt = this.getAttribute('optional') || "";
var desc = $('desc', this).text();
if (re_opt.test(type)) {
readOptions = true;
}
data.params.push({
optional : (/true/i).test(opt), // bool
name : name,
type : type,
desc : desc
});
});
if (readOptions) {
data.options = [];
$('option', this).each(function () {
var option = {};
option['name'] = this.getAttribute('name');
option['default'] = this.getAttribute('default') || '';
option['type'] = escapeHTML(this.getAttribute('type'));
option['desc'] = deWikify($('desc', this).text());
data.options.push(option);
});
}
data.examples = [];
/** examples */
$('example', this).each(function (i) {
var iframe = '', exampleId = '';
var example = {};
example['code'] = $('code', this).text();
example['htmlCode'] = escapeHTML(example.code);
example['desc'] = deWikify(escapeHTML($('desc', this).text()));
example['css'] = $('css', this).text() || '';
example['inhead'] = $('inhead', this).text() || '';
example['html'] = $('html', this).text() || '';
exampleId = guid + 'iframeExample' + i;
example['exampleId'] = exampleId;
if (example.html) {
iframe = '<iframe id="' + exampleId + '" class="example" src="' + blank_iframe + '"></iframe>';
// we're storing the example iframe source to insert in to
// the iframe only once it's inserted in to the DOM.
example['runCode'] = iframeTemplate().replace(/%([a-z]*)%/ig, function (m, l) {
return example[l] || "";
});
} else {
example.runCode = '';
}
data.examples.push(example);
});
jquerydocs.data[searchName + data.id] = data;
});
});
jquerydocs.categories.push(category); // FIXME should I warn if this exists?
});
jquerydocs.letters = unique($.map(letters.sort(), function (i) {
return i.substr(0,1);
}));
// attachFind(jquerydocs);
$(document).trigger('api-load-success');
}
// helpers
function attachFind(o) {
o.find = function (s, by) {
var found = [],
tmp = {},
tmpNames = [],
lettersLK = {},
letters = [],
catsLK = {},
cats = [],
catPointer = 0,
subLK = {},
sub = [],
data = {};
var i = 0;
s = s.toLowerCase();
by = (by || 'searchname').toLowerCase();
if (by == 'name') by = 'searchname'; // search without the $.
for (i = 0; i < jquerydocs.searchNames.length; i++) {
if (jquerydocs.data[jquerydocs.searchNames[i]][by] && jquerydocs.data[jquerydocs.searchNames[i]][by].toLowerCase().indexOf(s) == 0) {
data = tmp[jquerydocs.searchNames[i]] = jquerydocs.data[jquerydocs.searchNames[i]];
tmpNames.push(jquerydocs.searchNames[i]);
if (!lettersLK[jquerydocs.searchNames[i].substr(0, 1)]) {
lettersLK[jquerydocs.searchNames[i].substr(0, 1)] = true;
letters.push(jquerydocs.searchNames[i].substr(0, 1));
}
if (typeof catsLK[data.category] == 'undefined') {
catsLK[data.category] = catPointer;
cats.push({ name : data.category, subcategories : [] });
catPointer++;
}
if (!subLK[data.subcategory]) {
subLK[data.subcategory] = true;
cats[catsLK[data.category]].subcategories.push(data.subcategory);
}
}
}
tmpNames = tmpNames.sort().reverse(); // never sure if this is faster with the reverse
i = tmpNames.length;
while (i--) {
found.push(tmp[tmpNames[i]]);
}
// this is kind of noddy, but returns the same object as we queried - which is cool!
found.letters = letters;
found.categories = cats;
found.data = tmp;
found.searchNames = tmpNames;
attachFind(found);
return found;
};
}
function fieldMap() {
return {
}
}
function unique(a) {
var ret = [], done = {};
try {
for ( var i = 0, length = a.length; i < length; i++ ) {
var id = a[ i ] ;
if ( !done[ id ] ) {
done[ id ] = true;
ret.push( a[ i ] );
}
}
} catch( e ) {
ret = a;
}
return ret;
}
function iframeTemplate() {
// array so that we maintain some formatting
return [
'<!' + 'DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"',
' "http://www.w3.org/TR/html4/loose.dtd">',
'<' + 'html>',
'<' + 'head>',
'<base href="http://docs.jquery.com" />',
'<' + 'script src="' + example_jquery + '"><' + '/script>',
'%inhead%',
'<' + 'script>',
'$(document).ready(function(){', '%code%', ' });',
'<' + '/script>',
'<' + 'style>',
'%css%',
'<' + '/style>',
'<' + '/head>',
'<' + 'body>',
'%html%',
'<' + '/body>',
'<' + '/html>'
].join("\n");
}
/** public utility functions */
window.escapeHTML = function (s) {
// converts null to string
return (s+"").replace(/[<>]/g, function (m) {
if (m == '<') return '<';
else if (m == '>') return '>';
});
};
window.cleanSelector = function(s) {
return (s+"").replace(/[\$\.]/g, function (m) {
// handle escaping characters that break the selector engine
if (m == '$') {
return '\\$';
} else if (m == '.') {
return '\\.';
}
});
};
window.linkifyTypes = function(type) {
// cheeky way to avoid doing a massive if (m == x || m == y || m == etc) - we just do an .indexOf()
var nodocs = '|jQuery|XMLHttpRequest|Plugins|Validator|Validation|undefined|or|Any|DOM|Map|top|left|lt|gt|\(s\)||'; // note we purposely include an empty match
return type ? $.map(type.replace(/DOMElement/g, 'DOM Element').split(/, /), function (n) {
// match words and linkify, then italic to the optionals
return n.replace(/boolean/, 'Boolean').replace(/\b[a-z]*\b/gi, function (m, l) {
// special case
if (m == 'Elements') {
return '<a href="http://docs.jquery.com/Types#Element">Element</a>s';
// no specific documentation for these types
} else if (nodocs.indexOf('|' + m + '|') !== -1) {
return m;
} else {
return '<a href="http://docs.jquery.com/Types#' + m + '">' + m + '</a>';
}
});
}).join(', ') : "";
};
window.deWikify = function (s) {
return (""+s).replace(/'''.*?'''/g, function (m) {
return '<strong>' + m.replace(/'''/g, '') + '</strong>';
}).replace(/''.*?''/g, function (m) {
return '<em>' + m.replace(/''/g, '') + '</em>';
}).replace(/\[http.*?\]/, function (m) {
var p = m.replace(/^\[/, '').replace(/\]$/, '').split(/ /);
return '<a href="' + p[0] + '">' + (p.length == 2 ? p[1] : p[0]) + '</a>';
}).replace(/(((^|\n)(\*|[0-9]+.).*)+)/g, function (m) {
var type = 'ol';
// strip leading new line
m = m.replace( /^\s+|\s+$/g, "" );
if (m.match(/^\*/)) type = 'ul';
return '<' + type + '><li>' + m.replace(/\*?/g, '').split(/\n/).join("</li><li>") + '</li></' + type + '>';
});
};
window.runExample = function(data) {
if (!data.examples || data.examples.length == 0) return;
var i, win, example;
for (i = 0; i < data.examples.length; i++) {
example = data.examples[i];
win = $('#' + cleanSelector(example.exampleId)).get(0);
if (win) {
win = win.contentDocument || win.contentWindow.document;
// from docs.jquery.com
win.write(example.runCode.replace("$(document).ready(function(){", "window.onload = (function(){try{")
.replace(/}\);\s*<\/sc/, "}catch(e){}});</sc")
.replace("</head>", "<style>html,body{border:0; margin:0; padding:0;}</style></head>")
);
win.close();
}
}
};
window.fixLinks = function (context) {
// since the source comes from the wiki, we need to adjust some of the links
$('a', context).each(function () {
var href = this.getAttribute('href');
if (href && !href.match(/http/) && !href.match(/^#/) && this.className != 'fnName') {
this.host = 'docs.jquery.com';
this.pathname = this.pathname.replace(window.location.pathname, '');
}
});
};
})();
Untitled JavaScript (2-Aug @ 12:57)
Syntax Highlighted Code
- // Keep track of the direction of the drag for use during onDragOver
- var y = Event.getPageY(e);
- [7 more lines...]
Plain Code
// Keep track of the direction of the drag for use during onDragOver
var y = Event.getPageY(e);
if (y < this.lastY) {
this.goingUp = true;
} else if (y > this.lastY) {
this.goingUp = false;
}
this.lastY = y;
Untitled JavaScript (2-Aug @ 01:38)
Syntax Highlighted Code
- alert("stuff");
Plain Code
alert("stuff");
Untitled JavaScript (1-Aug @ 05:22)
Syntax Highlighted Code
- var newWhim = document.getElementById('menu_whim');
- if(newWhim){
- [4 more lines...]
Plain Code
var newWhim = document.getElementById('menu_whim');
if(newWhim){
var c = newWhim.cloneNode(true);
document.getElementById('blah').appendChild(c);
}
Untitled JavaScript (1-Aug @ 05:17)
Syntax Highlighted Code
- $('#daftar').click(function() {
- if ($("#userd").val() == '')
- {
- alert("Username belum di isi..!");
- [3 more lines...]
Plain Code
$('#daftar').click(function() {
if ($("#userd").val() == '')
{
alert("Username belum di isi..!");
document.frm_daftar.userd.focus();
return false;
}
Untitled JavaScript (30-Jul @ 09:23)
Syntax Highlighted Code
- // ==UserScript==
- // @name roosterteeth watchlistAlert
- // @namespace userscripts.org
- // @description roosterteeth watchlistAlert
- [31 more lines...]
Plain Code
// ==UserScript==
// @name roosterteeth watchlistAlert
// @namespace userscripts.org
// @description roosterteeth watchlistAlert
// @include http://www.roosterteeth.com*
// ==/UserScript==
if (document.getElementById('pageContent')){
GM_xmlhttpRequest({
method: 'GET',
url: 'http://www.roosterteeth.com/members/index.php',
onload: function(responseDetails) {
var rt = responseDetails.responseText;
if(!rt.match('You have no new alerts')){
var s = rt.split("id='Watching'>")[1].split("</div>")[0];
var nT = document.createElement('table');
nT.setAttribute('width','100%');
nT.innerHTML = "<div id='Watching'>"+s+"</div>";
var par = document.getElementById('shadow3');
par.insertBefore(nT, par.firstChild);
}
},
onerror: function(responseDetails) {
alert('summin broke '+responseDetails.responseText);
}
});
}
Untitled JavaScript (29-Jul @ 20:43)
Syntax Highlighted Code
- function getWeatherFeed() {
- $.ajax({
- url: 'http://web18.accuweather.com/widget/weatheralarm/weatheralarm.asp?location=16801',
- type: 'GET',
- [55 more lines...]
Plain Code
function getWeatherFeed() {
$.ajax({
url: 'http://web18.accuweather.com/widget/weatheralarm/weatheralarm.asp?location=16801',
type: 'GET',
dataType: 'xml',
timeout: 2000,
beforeSend: function() {},
error: function(e) {
$('#widget').css('background', 'green');
$('#temp').html(e);
},
success: function(xml) {
currentCity = $(xml).find('city').text();
currentState = $(xml).find('state').text();
currentIcon = $(xml).find('weathericon:first').text();
currentTemp = $(xml).find('temp').text();
currentHigh = $(xml).find('high:first').text();
currentLow = $(xml).find('low:first').text();
alertTotal = $(xml).find('alerttotal').text();
alertURL = $(xml).find('url').slice(1, 2).text();
numAlarms = $(xml).find('numalarms').text();
numAlerts = $(xml).find('alerttotal').text();
var i = 0;
$(xml).find('alarm').each(function() {
alarmType[i] = $(this).find('type').text()
alarmNumDays[i] = $(this).find('numdays').text();
alarmDay[i] = new Array();
alarmDayURL[i] = new Array();
var z = 0;
$(this).find('day').each(function() {
alarmDay[i][z] = $(this).text();
alarmDayURL[i][z] = $(this).attr('url');
z++;
});
i++;
});
var i = 0;
$(xml).find('alert').each(function() {
alertURL = $(this).find('url').text();
alertDescrip[i] = $(this).find('description').text();
i++;
});
if (currentState.length > 2) {
isInternational = true;
} else {
isInternational = false;
}
updateConditions();
}
});
}
function updateConditions() {
$('#temp').html(currentTemp);
}
Untitled JavaScript (28-Jul @ 10:24)
Syntax Highlighted Code
- // jslint.js
- // 2008-07-25
- /*
- Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
- [1677 more lines...]
Plain Code
// jslint.js
// 2008-07-25
/*
Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The Software shall be used for Good, not Evil.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/*
JSLINT is a global function. It takes two parameters.
var myResult = JSLINT(source, option);
The first parameter is either a string or an array of strings. If it is a
string, it will be split on '\n' or '\r'. If it is an array of strings, it
is assumed that each string represents one line. The source can be a
JavaScript text, or HTML text, or a Konfabulator text.
The second parameter is an optional object of options which control the
operation of JSLINT. Most of the options are booleans: They are all are
optional and have a default value of false.
If it checks out, JSLINT returns true. Otherwise, it returns false.
If false, you can inspect JSLINT.errors to find out the problems.
JSLINT.errors is an array of objects containing these members:
{
line : The line (relative to 0) at which the lint was found
character : The character (relative to 0) at which the lint was found
reason : The problem
evidence : The text line in which the problem occurred
raw : The raw message before the details were inserted
a : The first detail
b : The second detail
c : The third detail
d : The fourth detail
}
If a fatal error was found, a null will be the last element of the
JSLINT.errors array.
You can request a Function Report, which shows all of the functions
and the parameters and vars that they use. This can be used to find
implied global variables and other problems. The report is in HTML and
can be inserted in an HTML <body>.
var myReport = JSLINT.report(limited);
If limited is true, then the report will be limited to only errors.
*/
/*jslint evil: true, nomen: false */
/*members "\b", "\t", "\n", "\f", "\r", "\"", "(begin)", "(breakage)",
"(context)", "(end)", "(global)", "(identifier)", "(line)", "(loopage)",
"(name)", "(params)", "(scope)", "(verb)", ")", "++", "--", "\/",
ADSAFE, Array, Boolean, COM, Canvas, CustomAnimation, Date, Debug, E,
Error, EvalError, FadeAnimation, FormField, Frame, Function, HotKey,
Image, JSON, LN10, LN2, LOG10E, LOG2E, MAX_VALUE, MIN_VALUE, Math,
MenuItem, MoveAnimation, NEGATIVE_INFINITY, Number, Object, Option, PI,
POSITIVE_INFINITY, Point, RangeError, ReferenceError, RegExp,
RotateAnimation, SQRT1_2, SQRT2, ScrollBar, String, SyntaxError, System,
Text, TextArea, Timer, TypeError, URIError, URL, Window, XMLDOM,
XMLHttpRequest, "\\", "]", a, abbr, "about-box", "about-image",
"about-text", "about-version", acronym, action, address, adsafe, alert,
alignment, anchorstyle, animator, appleScript, applet, apply, approved,
area, arguments, author, autohide, b, background, base, bdo, beep,
create, bgcolor, bgcolour, bgopacity, big, bitwise, block, blockquote,
blur, body, br, browser, button, bytesToUIString, c, call, callee,
caller, canvas, cap, caption, cases, center, charAt, charCodeAt,
character, charset, checked, chooseColor, chooseFile, chooseFolder,
cite, clearInterval, clearTimeout, cliprect, close, closeWidget, closed,
code, col, colgroup, color, colorize, colour, columns, comment, company,
condition, confirm, console, constructor, content, contextmenuitems,
convertPathToHFS, convertPathToPlatform, copyright, d, data, dd, debug,
decodeURI, decodeURIComponent, defaultStatus, defaulttracking,
defaultvalue, defineClass, del, description, deserialize, dfn, dir,
directory, div, dl, doAttribute, doBegin, doIt, doTagName, document, dt,
dynsrc, editable, em, embed, empty, enabled, encodeURI,
encodeURIComponent, entityify, eqeqeq, errors, escape, eval, event,
evidence, evil, exec, exps, extension, fieldset, file, filesystem,
fillmode, first, floor, focus, focusWidget, font, fontstyle, forin,
form, fragment, frame, frames, frameset, from, fromCharCode, fud,
function, g, gc, getComputedStyle, group, h1, h2, h3, h4, h5,
h6, halign, handlelinks, hasOwnProperty, head, height, help, hidden,
history, hlinesize, hoffset, hotkey, hr, href, hregistrationpoint,
hscrollbar, hsladjustment, hsltinting, html, i, iTunes, icon, id,
identifier, iframe, image, img, include, indent, indexOf, init, input,
ins, interval, isAlpha, isApplicationRunning, isDigit, isFinite, isNaN,
join, kbd, key, kind, konfabulatorVersion, label, labelled, laxbreak,
lbp, led, left, legend, length, level, li, line, lines, link, load,
loadClass, loadingsrc, location, locked, log, lowsrc, m, map, match,
max, maxlength, menu, menuitem, message, meta, min, minimumversion,
minlength, missingsrc, modifier, moveBy, moveTo, name, navigator, new,
noframes, nomen, noscript, notsaved, nud, object, ol, on, onblur,
onclick, oncontextmenu, ondragdrop, ondragenter, ondragexit, onerror,
onfirstdisplay, onfocus, ongainfocus, onimageloaded, onkeydown,
onkeypress, onkeyup, onload, onlosefocus, onmousedown, onmousedrag,
onmouseenter, onmouseexit, onmousemove, onmouseup, onmousewheel,
onmulticlick, onresize, onselect, ontextinput, ontimerfired, onunload,
onvaluechanged, opacity, open, openURL, opener, opera, optgroup, option,
optionvalue, order, orientation, p, pagesize, param, parent, parseFloat,
parseInt, passfail, play, plusplus, pop, popupMenu, pre, predef,
preference, preferenceGroups, preferencegroup, preferences, print,
prompt, prototype, push, q, quit, random, raw, reach, readFile, readUrl,
reason, regexp, reloadWidget, remoteasync, replace, report,
requiredplatform, reserved, resizeBy, resizeTo, resolvePath,
resumeUpdates, rhino, right, root, rotation, runCommand, runCommandInBg,
safe, samp, saveAs, savePreferences, screen, script, scroll, scrollBy,
scrollTo, scrollbar, scrolling, scrollx, scrolly, seal, search, secure,
select, self, serialize, setInterval, setTimeout, setting, settings,
shadow, shift, showWidgetPreferences, sidebar, size, skip, sleep, slice,
small, sort, span, spawn, speak, special, spellcheck, split, src,
srcheight, srcwidth, status, strong, style, sub, substr, subviews, sup,
superview, supplant, suppressUpdates, sync, system, table, tag, tbody,
td, tellWidget, test, text, textarea, tfoot, th, thead, thumbcolor,
ticking, ticklabel, ticks, tileorigin, timer, title, toLowerCase,
toString, toUpperCase, toint32, token, tooltip, top, tr, tracking,
trigger, truncation, tt, type, u, ul, undef, unescape, union, unwatch,
updateNow, url, usefileicon, valign, value, valueOf, var, version,
visible, vlinesize, voffset, vregistrationpoint, vscrollbar, watch,
white, widget, width, window, wrap, yahooCheckLogin, yahooLogin,
yahooLogout, zorder
*/
/*global JSLINT*/
// We build the application inside a function so that we produce only a single
// global variable. The function will be invoked, its return value is the JSLINT
// application itself.
"use strict";
JSLINT = function () {
var adsafe_id, // The widget's ADsafe id.
adsafe_may, // The widget may load approved scripts.
adsafe_went, // ADSAFE.go has been called.
anonname, // The guessed name for anonymous functions.
approved, // ADsafe approved urls.
// These are members that should not be permitted in third party ads.
banned = { // the member names that ADsafe prohibits.
apply : true,
'arguments' : true,
call : true,
callee : true,
caller : true,
constructor : true,
'eval' : true,
prototype : true,
unwatch : true,
valueOf : true,
watch : true
},
// These are the JSLint boolean options.
boolOptions = {
adsafe : true, // if ADsafe should be enforced
bitwise : true, // if bitwise operators should not be allowed
browser : true, // if the standard browser globals should be predefined
cap : true, // if upper case HTML should be allowed
debug : true, // if debugger statements should be allowed
eqeqeq : true, // if === should be required
evil : true, // if eval should be allowed
forin : true, // if for in statements must filter
fragment : true, // if HTML fragments should be allowed
laxbreak : true, // if line breaks should not be checked
nomen : true, // if names should be checked
on : true, // if HTML event handlers should be allowed
passfail : true, // if the scan should stop on first error
plusplus : true, // if increment/decrement should not be allowed
regexp : true, // if the . should not be allowed in regexp literals
rhino : true, // if the Rhino environment globals should be predefined
undef : true, // if variables should be declared before used
safe : true, // if use of some browser features should be restricted
sidebar : true, // if the System object should be predefined
sub : true, // if all forms of subscript notation are tolerated
white : true, // if strict whitespace rules apply
widget : true // if the Yahoo Widgets globals should be predefined
},
// browser contains a set of global names which are commonly provided by a
// web browser environment.
browser = {
alert : true,
blur : true,
clearInterval : true,
clearTimeout : true,
close : true,
closed : true,
confirm : true,
console : true,
Debug : true,
defaultStatus : true,
document : true,
event : true,
focus : true,
frames : true,
getComputedStyle: true,
history : true,
Image : true,
length : true,
location : true,
moveBy : true,
moveTo : true,
name : true,
navigator : true,
onblur : true,
onerror : true,
onfocus : true,
onload : true,
onresize : true,
onunload : true,
open : true,
opener : true,
opera : true,
Option : true,
parent : true,
print : true,
prompt : true,
resizeBy : true,
resizeTo : true,
screen : true,
scroll : true,
scrollBy : true,
scrollTo : true,
self : true,
setInterval : true,
setTimeout : true,
status : true,
top : true,
window : true,
XMLHttpRequest : true
},
escapes = {
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'"' : '\\"',
'/' : '\\/',
'\\': '\\\\'
},
funct, // The current function
functions, // All of the functions
href = {
background : true,
content : true,
data : true,
dynsrc : true,
href : true,
lowsrc : true,
src : true
},
global, // The global scope
ids, // HTML ids
implied, // Implied globals
inblock,
indent,
jsonmode,
lines,
lookahead,
member,
membersOnly,
nexttoken,
noreach,
option,
predefined, // Global variables defined by option
prereg,
prevtoken,
rhino = {
defineClass : true,
deserialize : true,
gc : true,
help : true,
load : true,
loadClass : true,
print : true,
quit : true,
readFile : true,
readUrl : true,
runCommand : true,
seal : true,
serialize : true,
spawn : true,
sync : true,
toint32 : true,
version : true
},
scope, // The current scope
sidebar = {
System : true
},
src,
stack,
// standard contains the global names that are provided by the
// ECMAScript standard.
standard = {
Array : true,
Boolean : true,
Date : true,
decodeURI : true,
decodeURIComponent : true,
encodeURI : true,
encodeURIComponent : true,
Error : true,
'eval' : true,
EvalError : true,
Function : true,
isFinite : true,
isNaN : true,
JSON : true,
Math : true,
Number : true,
Object : true,
parseInt : true,
parseFloat : true,
RangeError : true,
ReferenceError : true,
RegExp : true,
String : true,
SyntaxError : true,
TypeError : true,
URIError : true
},
standard_member = {
E : true,
LN2 : true,
LN10 : true,
LOG2E : true,
LOG10E : true,
PI : true,
SQRT1_2 : true,
SQRT2 : true,
MAX_VALUE : true,
MIN_VALUE : true,
NEGATIVE_INFINITY : true,
POSITIVE_INFINITY : true
},
syntax = {},
tab,
token,
urls,
warnings,
// widget contains the global names which are provided to a Yahoo
// (fna Konfabulator) widget.
widget = {
alert : true,
appleScript : true,
animator : true,
appleScript : true,
beep : true,
bytesToUIString : true,
Canvas : true,
chooseColor : true,
chooseFile : true,
chooseFolder : true,
closeWidget : true,
COM : true,
convertPathToHFS : true,
convertPathToPlatform : true,
CustomAnimation : true,
escape : true,
FadeAnimation : true,
filesystem : true,
focusWidget : true,
form : true,
FormField : true,
Frame : true,
HotKey : true,
Image : true,
include : true,
isApplicationRunning : true,
iTunes : true,
konfabulatorVersion : true,
log : true,
MenuItem : true,
MoveAnimation : true,
openURL : true,
play : true,
Point : true,
popupMenu : true,
preferenceGroups : true,
preferences : true,
print : true,
prompt : true,
random : true,
reloadWidget : true,
resolvePath : true,
resumeUpdates : true,
RotateAnimation : true,
runCommand : true,
runCommandInBg : true,
saveAs : true,
savePreferences : true,
screen : true,
ScrollBar : true,
showWidgetPreferences : true,
sleep : true,
speak : true,
suppressUpdates : true,
system : true,
tellWidget : true,
Text : true,
TextArea : true,
Timer : true,
unescape : true,
updateNow : true,
URL : true,
widget : true,
Window : true,
XMLDOM : true,
XMLHttpRequest : true,
yahooCheckLogin : true,
yahooLogin : true,
yahooLogout : true
},
// xmode is used to adapt to the exceptions in XML parsing.
// It can have these states:
// false .js script file
// " A " attribute
// ' A ' attribute
// content The content of a script tag
// CDATA A CDATA block
xmode,
// xtype identifies the type of document being analyzed.
// It can have these states:
// false .js script file
// html .html file
// widget .kon Konfabulator file
xtype,
// unsafe comment or string
ax = /@cc|<\/?script|\]\]|<!|</i,
// unsafe character
cx = /[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,
// token
tx = /^\s*([(){}\[.,:;'"~]|\](\]>)?|\?>?|==?=?|\/(\*(global|extern|jslint|member|members)?|=|\/)?|\*[\/=]?|\+[+=]?|-[\-=]?|%[=>]?|&[&=]?|\|[|=]?|>>?>?=?|<([\/=%\?]|\!(\[|--)?|<=?)?|\^=?|\!=?=?|[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+([xX][0-9a-fA-F]+|\.[0-9]*)?([eE][+\-]?[0-9]+)?)/,
// star slash
lx = /\*\/|\/\*/,
// identifier
ix = /^([a-zA-Z_$][a-zA-Z0-9_$]*)$/,
// javascript url
jx = /^(?:javascript|jscript|ecmascript|vbscript|mocha|livescript)\s*:/i,
// url badness
ux = /&|\+|\u00AD|\.\.|\/\*|%[^;]|base64|url|expression|data|mailto/i;
function F() {}
if (typeof Object.create !== 'function') {
Object.create = function (o) {
F.prototype = o;
return new F();
};
}
Object.prototype.union = function (o) {
var n;
for (n in o) {
if (o.hasOwnProperty(n)) {
this[n] = o[n];
}
}
};
String.prototype.entityify = function () {
return this.
replace(/&/g, '&').
replace(/</g, '<').
replace(/>/g, '>');
};
String.prototype.isAlpha = function () {
return (this >= 'a' && this <= 'z\uffff') ||
(this >= 'A' && this <= 'Z\uffff');
};
String.prototype.isDigit = function () {
return (this >= '0' && this <= '9');
};
String.prototype.supplant = function (o) {
return this.replace(/\{([^{}]*)\}/g, function (a, b) {
var r = o[b];
return typeof r === 'string' || typeof r === 'number' ? r : a;
});
};
String.prototype.name = function () {
// If the string looks like an identifier, then we can return it as is.
// If the string contains no control characters, no quote characters, and no
// backslash characters, then we can simply slap some quotes around it.
// Otherwise we must also replace the offending characters with safe
// sequences.
if (ix.test(this)) {
return this;
}
if (/[&<"\/\\\x00-\x1f]/.test(this)) {
return '"' + this.replace(/[&<"\/\\\x00-\x1f]/g, function (a) {
var c = escapes[a];
if (c) {
return c;
}
c = a.charCodeAt();
return '\\u00' +
Math.floor(c / 16).toString(16) +
(c % 16).toString(16);
}) + '"';
}
return '"' + this + '"';
};
function assume() {
if (!option.safe) {
if (option.rhino) {
predefined.union(rhino);
}
if (option.browser || option.sidebar) {
predefined.union(browser);
}
if (option.sidebar) {
predefined.union(sidebar);
}
if (option.widget) {
predefined.union(widget);
}
}
}
// Produce an error warning.
function quit(m, l, ch) {
throw {
name: 'JSLintError',
line: l,
character: ch,
message: m + " (" + Math.floor((l / lines.length) * 100) +
"% scanned)."
};
}
function warning(m, t, a, b, c, d) {
var ch, l, w;
t = t || nexttoken;
if (t.id === '(end)') {
t = token;
}
l = t.line || 0;
ch = t.from || 0;
w = {
id: '(error)',
raw: m,
evidence: lines[l] || '',
line: l,
character: ch,
a: a,
b: b,
c: c,
d: d
};
w.reason = m.supplant(w);
JSLINT.errors.push(w);
if (option.passfail) {
quit('Stopping. ', l, ch);
}
warnings += 1;
if (warnings === 50) {
quit("Too many errors.", l, ch);
}
return w;
}
function warningAt(m, l, ch, a, b, c, d) {
return warning(m, {
line: l,
from: ch
}, a, b, c, d);
}
function error(m, t, a, b, c, d) {
var w = warning(m, t, a, b, c, d);
quit("Stopping, unable to continue.", w.line, w.character);
}
function errorAt(m, l, ch, a, b, c, d) {
return error(m, {
line: l,
from: ch
}, a, b, c, d);
}
// lexical analysis
var lex = function () {
var character, from, line, s;
// Private lex methods
function nextLine() {
var at;
line += 1;
if (line >= lines.length) {
return false;
}
character = 0;
s = lines[line].replace(/\t/g, tab);
at = s.search(cx);
if (at >= 0) {
warningAt("Unsafe character.", line, at);
}
return true;
}
// Produce a token object. The token inherits from a syntax symbol.
function it(type, value) {
var i, t;
if (type === '(punctuator)' ||
(type === '(identifier)' && syntax.hasOwnProperty(value))) {
t = syntax[value];
// Mozilla bug workaround.
if (!t.id) {
t = syntax[type];
}
} else {
t = syntax[type];
}
t = Object.create(t);
if (type === '(string)') {
if (jx.test(value)) {
warningAt("Script URL.", line, from);
}
} else if (type === '(identifier)') {
if (option.nomen && (value.charAt(0) === '_' ||
value.charAt(value.length - 1) === '_')) {
warningAt("Unexpected '_' in '{a}'.", line, from, value);
}
}
t.value = value;
t.line = line;
t.character = character;
t.from = from;
i = t.id;
if (i !== '(endline)') {
prereg = i &&
(('(,=:[!&|?{};'.indexOf(i.charAt(i.length - 1)) >= 0) ||
i === 'return');
}
return t;
}
// Public lex methods
return {
init: function (source) {
if (typeof source === 'string') {
lines = source.
replace(/\r\n/g, '\n').
replace(/\r/g, '\n').
split('\n');
} else {
lines = source;
}
line = -1;
nextLine();
from = 0;
},
// token -- this is called by advance to get the next token.
token: function () {
var b, c, captures, d, depth, high, i, l, low, q, t;
function match(x) {
var r = x.exec(s), r1;
if (r) {
l = r[0].length;
r1 = r[1];
c = r1.charAt(0);
s = s.substr(l);
character += l;
from = character - r1.length;
return r1;
}
}
function string(x) {
var c, j, r = '';
if (jsonmode && x !== '"') {
warningAt("Strings must use doublequote.",
line, character);
}
if (xmode === x || xmode === 'string') {
if (xmode && xmode !== 'CDATA' && ax.test(x)) {
warning("ADsafe string violation.", line, character);
}
return it('(punctuator)', x);
}
function esc(n) {
var i = parseInt(s.substr(j + 1, n), 16);
j += n;
if (i >= 32 && i <= 127 &&
i !== 34 && i !== 92 && i !== 39) {
warningAt("Unnecessary escapement.", line, character);
}
character += n;
c = String.fromCharCode(i);
}
j = 0;
for (;;) {
while (j >= s.length) {
j = 0;
if (xmode !== 'xml' || !nextLine()) {
errorAt("Unclosed string.", line, from);
}
}
c = s.charAt(j);
if (c === x) {
character += 1;
s = s.substr(j + 1);
return it('(string)', r, x);
}
if (c < ' ') {
if (c === '\n' || c === '\r') {
break;
}
warningAt("Control character in string: {a}.",
line, character + j, s.slice(0, j));
} else if (c === '<') {
if (option.safe && xmode === 'xml') {
warningAt("ADsafe string violation.",
line, character + j);
} else if (s.charAt(j + 1) === '/' && ((xmode && xmode !== 'CDATA') || option.safe)) {
warningAt("Expected '<\\/' and instead saw '</'.", line, character);
} else if (s.charAt(j + 1) === '!' && ((xmode && xmode !== 'CDATA') || option.safe)) {
warningAt("Unexpected '<!' in a string.", line, character);
}
} else if (c === '\\') {
if (option.safe && xmode === 'xml') {
warningAt("ADsafe string violation.",
line, character + j);
}
j += 1;
character += 1;
c = s.charAt(j);
switch (c) {
case '\\':
case '\'':
case '"':
case '/':
break;
case 'b':
c = '\b';
break;
case 'f':
c = '\f';
break;
case 'n':
c = '\n';
break;
case 'r':
c = '\r';
break;
case 't':
c = '\t';
break;
case 'u':
esc(4);
break;
case 'v':
c = '\v';
break;
case 'x':
if (jsonmode) {
warningAt("Avoid \\x-.", line, character);
}
esc(2);
break;
default:
warningAt("Bad escapement.", line, character);
}
}
r += c;
character += 1;
j += 1;
}
}
for (;;) {
if (!s) {
return it(nextLine() ? '(endline)' : '(end)', '');
}
t = match(tx);
if (!t) {
t = '';
c = '';
while (s && s < '!') {
s = s.substr(1);
}
if (s) {
errorAt("Unexpected '{a}'.",
line, character, s.substr(0, 1));
}
}
// identifier
if (c.isAlpha() || c === '_' || c === '$') {
return it('(identifier)', t);
}
// number
if (c.isDigit()) {
if (!isFinite(Number(t))) {
warningAt("Bad number '{a}'.",
line, character, t);
}
if (s.substr(0, 1).isAlpha()) {
warningAt("Missing space after '{a}'.",
line, character, t);
}
if (c === '0') {
d = t.substr(1, 1);
if (d.isDigit()) {
if (token.id !== '.') {
warningAt("Don't use extra leading zeros '{a}'.",
line, character, t);
}
} else if (jsonmode && (d === 'x' || d === 'X')) {
warningAt("Avoid 0x-. '{a}'.",
line, character, t);
}
}
if (t.substr(t.length - 1) === '.') {
warningAt(
"A trailing decimal point can be confused with a dot '{a}'.",
line, character, t);
}
return it('(number)', t);
}
// string
switch (t) {
case '"':
case "'":
return string(t);
// // comment
case '//':
if (src || (xmode && !(xmode === 'script' || xmode === 'CDATA'))) {
warningAt("Unexpected comment.", line, character);
} else if (xmode === 'script' && /\<\/script\>/i.test(s)) {
warningAt("Unexpected <\/script> in comment.", line, character);
} else if ((option.safe || xmode === 'script') && ax.test(s)) {
warningAt("Dangerous comment.", line, character);
}
s = '';
token.comment = true;
break;
// /* comment
case '/*':
if (src || (xmode && !(xmode === 'script' || xmode === 'CDATA'))) {
warningAt("Unexpected comment.", line, character);
}
if (option.safe && ax.test(s)) {
warningAt("ADsafe comment violation.", line, character);
}
for (;;) {
i = s.search(lx);
if (i >= 0) {
break;
}
if (!nextLine()) {
errorAt("Unclosed comment.", line, character);
} else {
if (option.safe && ax.test(s)) {
warningAt("ADsafe comment violation.", line, character);
}
}
}
character += i + 2;
if (s.substr(i, 1) === '/') {
errorAt("Nested comment.", line, character);
}
s = s.substr(i + 2);
token.comment = true;
break;
// /*global /*extern /*members /*jslint */
case '/*global':
case '/*extern':
case '/*members':
case '/*member':
case '/*jslint':
case '*/':
return {
value: t,
type: 'special',
line: line,
character: character,
from: from
};
case '':
break;
// /
case '/':
if (prereg) {
depth = 0;
captures = 0;
l = 0;
for (;;) {
b = true;
c = s.charAt(l);
l += 1;
switch (c) {
case '':
errorAt("Unclosed regular expression.", line, from);
return;
case '/':
if (depth > 0) {
warningAt("Unescaped '{a}'.", line, from + l, '/');
}
c = s.substr(0, l - 1);
q = {
g: true,
i: true,
m: true
};
while (q[s.charAt(l)] === true) {
q[s.charAt(l)] = false;
l += 1;
}
character += l;
s = s.substr(l);
return it('(regex)', c);
case '\\':
c = s.charAt(0);
if (c < ' ') {
warningAt("Unexpected control character in regular expression.", line, from + l);
} else if (c === '<') {
warningAt("Unexpected escaped character '{a}' in regular expression.", line, from + l, c);
}
l += 1;
break;
case '(':
depth += 1;
b = false;
if (s.charAt(l) === '?') {
l += 1;
switch (s.charAt(l)) {
case ':':
case '=':
case '!':
l += 1;
break;
default:
warningAt("Expected '{a}' and instead saw '{b}'.", line, from + l, ':', s.charAt(l));
}
} else {
captures += 1;
}
break;
case ')':
if (depth === 0) {
warningAt("Unescaped '{a}'.", line, from + l, ')');
} else {
depth -= 1;
}
break;
case ' ':
q = 1;
while (s.charAt(l) === ' ') {
l += 1;
q += 1;
}
if (q > 1) {
warningAt("Spaces are hard to count. Use {{a}}.", line, from + l, q);
}
break;
case '[':
if (s.charAt(l) === '^') {
l += 1;
}
q = false;
klass: do {
c = s.charAt(l);
l += 1;
switch (c) {
case '[':
case '^':
warningAt("Unescaped '{a}'.", line, from + l, c);
q = true;
break;
case '-':
if (q) {
q = false;
} else {
warningAt("Unescaped '{a}'.", line, from + l, '-');
q = true;
}
break;
case ']':
if (!q) {
warningAt("Unescaped '{a}'.", line, from + l - 1, '-');
}
break klass;
case '\\':
c = s.charAt(0);
if (c < ' ') {
warningAt("Unexpected control character in regular expression.", line, from + l);
} else if (c === '<') {
warningAt("Unexpected escaped character '{a}' in regular expression.", line, from + l, c);
}
l += 1;
q = true;
break;
case '/':
warningAt("Unescaped '{a}'.", line, from + l - 1, '/');
q = true;
break;
case '<':
if (xmode === 'script') {
c = s.charAt(l);
if (c === '!' || c === '/') {
warningAt("HTML confusion in regular expression '<{a}'.", line, from + l, c);
}
}
q = true;
break;
default:
q = true;
}
} while (c);
break;
case '.':
if (option.regexp) {
warningAt("Unexpected '{a}'.", line, from + l, c);
}
break;
case ']':
case '?':
case '{':
case '}':
case '+':
case '*':
warningAt("Unescaped '{a}'.", line, from + l, c);
break;
case '<':
if (xmode === 'script') {
c = s.charAt(l);
if (c === '!' || c === '/') {
warningAt("HTML confusion in regular expression '<{a}'.", line, from + l, c);
}
}
}
if (b) {
switch (s.charAt(l)) {
case '?':
case '+':
case '*':
l += 1;
if (s.charAt(l) === '?') {
l += 1;
}
break;
case '{':
l += 1;
c = s.charAt(l);
if (c < '0' || c > '9') {
warningAt("Expected a number and instead saw '{a}'.", line, from + l, c);
}
l += 1;
low = +c;
for (;;) {
c = s.charAt(l);
if (c < '0' || c > '9') {
break;
}
l += 1;
low = +c + (low * 10);
}
high = low;
if (c === ',') {
l += 1;
high = Infinity;
c = s.charAt(l);
if (c >= '0' && c <= '9') {
l += 1;
high = +c;
for (;;) {
c = s.charAt(l);
if (c < '0' || c > '9') {
break;
}
l += 1;
high = +c + (high * 10);
}
}
}
if (s.charAt(l) !== '}') {
warningAt("Expected '{a}' and instead saw '{b}'.", line, from + l, '}', c);
} else {
l += 1;
}
if (s.charAt(l) === '?') {
l += 1;
}
if (low > high) {
warningAt("'{a}' should not be greater than '{b}'.", line, from + l, low, high);
}
}
}
}
c = s.substr(0, l - 1);
character += l;
s = s.substr(l);
return it('(regex)', c);
}
return it('(punctuator)', t);
// punctuator
default:
return it('(punctuator)', t);
}
}
},
// skip -- skip past the next occurrence of a particular string.
// If the argument is empty, skip to just before the next '<' character.
// This is used to ignore HTML content. Return false if it isn't found.
skip: function (p) {
var i, t = p;
if (nexttoken.id) {
if (!t) {
t = '';
if (nexttoken.id.substr(0, 1) === '<') {
lookahead.push(nexttoken);
return true;
}
} else if (nexttoken.id.indexOf(t) >= 0) {
return true;
}
}
token = nexttoken;
nexttoken = syntax['(end)'];
for (;;) {
i = s.indexOf(t || '<');
if (i >= 0) {
character += i + t.length;
s = s.substr(i + t.length);
return true;
}
if (!nextLine()) {
break;
}
}
return false;
}
};
}();
function addlabel(t, type) {
if (t === 'hasOwnProperty') {
error("'hasOwnProperty' is a really bad name.");
}
if (option.safe && funct['(global)']) {
warning('ADsafe global: ' + t + '.', token);
}
// Define t in the current function in the current scope.
if (funct.hasOwnProperty(t)) {
warning(funct[t] === true ?
"'{a}' was used before it was defined." :
"'{a}' is already defined.",
nexttoken, t);
}
funct[t] = type;
if (type === 'label') {
scope[t] = funct;
} else if (funct['(global)']) {
global[t] = funct;
if (implied.hasOwnProperty(t)) {
warning("'{a}' was used before it was defined.", nexttoken, t);
delete implied[t];
}
} else {
funct['(scope)'][t] = funct;
}
}
function doOption() {
var b, obj, filter, o = nexttoken.value, t, v;
switch (o) {
case '*/':
error("Unbegun comment.");
break;
case '/*global':
case '/*extern':
if (option.safe) {
warning("ADsafe restriction.");
}
obj = predefined;
break;
case '/*members':
case '/*member':
o = '/*members';
if (!membersOnly) {
membersOnly = {};
}
obj = membersOnly;
break;
case '/*jslint':
if (option.safe) {
warning("ADsafe restriction.");
}
obj = option;
filter = boolOptions;
}
for (;;) {
t = lex.token();
if (t.id === ',') {
t = lex.token();
}
while (t.id === '(endline)') {
t = lex.token();
}
if (t.type === 'special' && t.value === '*/') {
break;
}
if (t.type !== '(string)' && t.type !== '(identifier)' &&
o !== '/*members') {
error("Bad option.", t);
}
if (filter) {
if (filter[t.value] !== true) {
error("Bad option.", t);
}
v = lex.token();
if (v.id !== ':') {
error("Expected '{a}' and instead saw '{b}'.",
t, ':', t.value);
}
v = lex.token();
if (v.value === 'true') {
b = true;
} else if (v.value === 'false') {
b = false;
} else {
error("Expected '{a}' and instead saw '{b}'.",
t, 'true', t.value);
}
} else {
b = true;
}
obj[t.value] = b;
}
if (filter) {
assume();
}
}
// We need a peek function. If it has an argument, it peeks that much farther
// ahead. It is used to distinguish
// for ( var i in ...
// from
// for ( var i = ...
function peek(p) {
var i = p || 0, j = 0, t;
while (j <= i) {
t = lookahead[j];
if (!t) {
t = lookahead[j] = lex.token();
}
j += 1;
}
return t;
}
var badbreak = {
')': true,
']': true,
'++': true,
'--': true
};
// Produce the next token. It looks for programming errors.
function advance(id, t) {
var l;
switch (token.id) {
case '(number)':
if (nexttoken.id === '.') {
warning(
"A dot following a number can be confused with a decimal point.", token);
}
break;
case '-':
if (nexttoken.id === '-' || nexttoken.id === '--') {
warning("Confusing minusses.");
}
break;
case '+':
if (nexttoken.id === '+' || nexttoken.id === '++') {
warning("Confusing plusses.");
}
break;
}
if (token.type === '(string)' || token.identifier) {
anonname = token.value;
}
if (id && nexttoken.id !== id) {
if (t) {
if (nexttoken.id === '(end)') {
warning("Unmatched '{a}'.", t, t.id);
} else {
warning("Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.",
nexttoken, id, t.id, t.line + 1, nexttoken.value);
}
} else if (nexttoken.type !== '(identifier)' ||
nexttoken.value !== id) {
warning("Expected '{a}' and instead saw '{b}'.",
nexttoken, id, nexttoken.value);
}
}
prevtoken = token;
token = nexttoken;
for (;;) {
nexttoken = lookahead.shift() || lex.token();
if (nexttoken.type === 'special') {
doOption();
} else {
if (nexttoken.id === '<![') {
if (option.safe) {
error("ADsafe violation.", nexttoken);
}
if (xtype === 'html') {
error("Unexpected '{a}'.", nexttoken, '<![');
}
if (xmode === 'script') {
nexttoken = lex.token();
if (nexttoken.value !== 'CDATA') {
error("Missing '{a}'.", nexttoken, 'CDATA');
}
nexttoken = lex.token();
if (nexttoken.id !== '[') {
error("Missing '{a}'.", nexttoken, '[');
}
xmode = 'CDATA';
} else if (xmode === 'xml') {
lex.skip(']]>');
} else {
error("Unexpected '{a}'.", nexttoken, '<![');
}
} else if (nexttoken.id === ']]>') {
if (xmode === 'CDATA') {
xmode = 'script';
} else {
error("Unexpected '{a}'.", nexttoken, ']]>');
}
} else if (nexttoken.id !== '(endline)') {
break;
}
if (xmode === '"' || xmode === "'") {
error("Missing '{a}'.", token, xmode);
}
l = !xmode && !option.laxbreak &&
(token.type === '(string)' || token.type === '(number)' ||
token.type === '(identifier)' || badbreak[token.id]);
}
}
if (l) {
switch (nexttoken.id) {
case '{':
case '}':
case ']':
case '.':
break;
case ')':
switch (token.id) {
case ')':
case '}':
case ']':
break;
default:
warning("Line breaking error '{a}'.", token, ')');
}
break;
default:
warning("Line breaking error '{a}'.",
token, token.value);
}
}
if (xtype === 'widget' && xmode === 'script' && nexttoken.id) {
l = nexttoken.id.charAt(0);
if (l === '<' || l === '&') {
nexttoken.nud = nexttoken.led = null;
nexttoken.lbp = 0;
nexttoken.reach = true;
}
}
}
// This is the heart of JSLINT, the Pratt parser. In addition to parsing, it
// is looking for ad hoc lint patterns. We add to Pratt's model .fud, which is
// like nud except that it is only used on the first token of a statement.
// Having .fud makes it much easier to define JavaScript. I retained Pratt's
// nomenclature.
// .nud Null denotation
// .fud First null denotation
// .led Left denotation
// lbp Left binding power
// rbp Right binding power
// They are key to the parsing method called Top Down Operator Precedence.
function parse(rbp, initial) {
var left, o;
if (nexttoken.id === '(end)') {
error("Unexpected early end of program.", token);
}
advance();
if (option.safe && predefined[token.value] === true &&
(nexttoken.id !== '(' && nexttoken.id !== '.')) {
warning('ADsafe violation.', token);
}
if (initial) {
anonname = 'anonymous';
funct['(verb)'] = token.value;
}
if (initial === true && token.fud) {
left = token.fud();
} else {
if (token.nud) {
o = token.exps;
left = token.nud();
} else {
if (nexttoken.type === '(number)' && token.id === '.') {
warning(
"A leading decimal point can be confused with a dot: '.{a}'.",
token, nexttoken.value);
advance();
return token;
} else {
error("Expected an identifier and instead saw '{a}'.",
token, token.id);
}
}
while (rbp < nexttoken.lbp) {
o = nexttoken.exps;
advance();
if (token.led) {
left = token.led(left);
} else {
error("Expected an operator and instead saw '{a}'.",
token, token.id);
}
}
if (initial && !o) {
warning(
"Expected an assignment or function call and instead saw an expression.",
token);
}
}
if (!option.evil && left && left.value === 'eval') {
warning("eval is evil.", left);
}
return left;
}
// Functions for conformance of style.
function adjacent(left, right) {
left = left || token;
right = right || nexttoken;
if (option.white) {
if (left.character !== right.from && left.line === right.line) {
warning("Unexpected space after '{a}'.",
nexttoken, left.value);
}
}
}
function nospace(left, right) {
left = left || token;
right = right || nexttoken;
if (option.white && !left.comment) {
if (left.line === right.line) {
adjacent(left, right);
}
}
}
function nonadjacent(left, right) {
left = left || token;
right = right || nexttoken;
if (option.white) {
if (left.character === right.from) {
warning("Missing space after '{a}'.",
nexttoken, left.value);
}
}
}
function indentation(bias) {
var i;
if (option.white && nexttoken.id !== '(end)') {
i = indent + (bias || 0);
if (nexttoken.from !== i) {
warning("Expected '{a}' to have an indentation of {b} instead of {c}.",
nexttoken, nexttoken.value, i, nexttoken.from);
}
}
}
function nolinebreak(t) {
if (t.line !== nexttoken.line) {
warning("Line breaking error '{a}'.", t, t.id);
}
}
// Parasitic constructors for making the symbols that will be inherited by
// tokens.
function symbol(s, p) {
var x = syntax[s];
if (!x || typeof x !== 'object') {
syntax[s] = x = {
id: s,
lbp: p,
value: s
};
}
return x;
}
function delim(s) {
return symbol(s, 0);
}
function stmt(s, f) {
var x = delim(s);
x.identifier = x.reserved = true;
x.fud = f;
return x;
}
function blockstmt(s, f) {
var x = stmt(s, f);
x.block = true;
return x;
}
function reserveName(x) {
var c = x.id.charAt(0);
if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) {
x.identifier = x.reserved = true;
}
return x;
}
function prefix(s, f) {
var x = symbol(s, 150);
reserveName(x);
x.nud = (typeof f === 'function') ? f : function () {
if (option.plusplus && (this.id === '++' || this.id === '--')) {
warning("Unexpected use of '{a}'.", this, this.id);
}
parse(150);
return this;
};
return x;
}
function type(s, f) {
var x = delim(s);
x.type = s;
x.nud = f;
return x;
}
function reserve(s, f) {
var x = type(s, f);
x.identifier = x.reserved = true;
return x;
}
function reservevar(s) {
return reserve(s, function () {
if (this.id === 'this') {
if (option.safe) {
warning("ADsafe violation.", this);
}
}
return this;
}
Untitled JavaScript (27-Jul @ 10:40)
Syntax Highlighted Code
- // first hide the navigation buttons
- var $buttons = $('img.right').add('img.left').hide();
- // start to automatically cycle the tabs
- [18 more lines...]
Plain Code
// first hide the navigation buttons
var $buttons = $('img.right').add('img.left').hide();
// start to automatically cycle the tabs
var cycleTimer = setInterval(function () {
$scroll.trigger('next');
}, 2000);
// select some trigger elements to stop the auto-cycle
var $stopTriggers = $('#slider .navigation').find('a') // tab headers
.add('.scroll') // panel itself
.add("a[href^='#']"); // links to a tab
// this is the function that will stop the auto-cycle
function stopCycle() {
$stopTriggers.unbind('click.cycle'); // remove the no longer needed stop triggers
clearInterval(cycleTimer); // stop the auto-cycle itself
$buttons.show(); // show the navigation buttons
}
// bind stop cycle function to the click event using namespaces
$stopTriggers.bind('click.cycle', stopCycle);
Untitled JavaScript (26-Jul @ 07:15)
Syntax Highlighted Code
- var fVars = [];
- function setVars(key, value){
- [23 more lines...]
Plain Code
var fVars = [];
function setVars(key, value){
fVars.push(key+value);
}
setVars("'videoFile:'", '\''+rH+'.flv'+'\'');
setVars("'autoPlay:'", '\''+prefs.getBoolPref("flow.autoPlay")+'\'');
setVars("'autoBuffering:'", '\''+prefs.getBoolPref("flow.autoBuffering")+'\'');
setVars("'usePlayOverlay:'", '\''+prefs.getBoolPref("flow.usePlayOverlay")+'\'');
setVars("'initialScale:'", '\''+prefs.getCharPref("flow.initialScale")+'\'');
setVars("'initialVolumePercentage:'", '\''+prefs.getIntPref("flow.initialVolumePercentage")+'\'');
setVars("'useNativeFullScreen:'", '\''+prefs.getBoolPref("flow.useNativeFullScreen")+'\''); //might need to be set to false for Linux users
setVars("'startingBufferLength:'", '\''+prefs.getIntPref("flow.startingBufferLength")+'\'');
//setVars("'live:'", '\''+prefs.getCharPref("flow.live")+'\''); //not sure
setVars("'controlBarBackgroundColor:'", '\''+prefs.getCharPref("flow.controlBarBackgroundColor")+'\'');
setVars("'hideControls:'", '\''+prefs.getBoolPref("flow.hideControls")+'\'');
setVars("'timeDisplayFontColor:'", '\''+prefs.getCharPref("flow.timeDisplayFontColor")+'\'');
var cFig = fVars.join(",");
LOG('cFig '+cFig);
LOG result below:
'videoFile:''http%3A%2F%2Fash-v372.ash.youtube.com%2Fget_video%3Fvideo_id%3DtcUdzPgF7kA.flv','autoPlay:''false','autoBuffering:''true','usePlayOverlay:''true','initialScale:''fit','initialVolumePercentage:''50','useNativeFullScreen:''true','startingBufferLength:''3','controlBarBackgroundColor:''#333333','hideControls:''false','timeDisplayFontColor:''#FFFFFF'
Untitled JavaScript (25-Jul @ 17:57)
Syntax Highlighted Code
- window.time = {
- // start + stop taken from firebuglite.js - http://getfirebug.com/firebuglite
- start: function(name) {
- if (!name) {
- [4 more lines...]
Plain Code
window.time = {
// start + stop taken from firebuglite.js - http://getfirebug.com/firebuglite
start: function(name) {
if (!name) {
error('start: If starting a timer manually a name must be set');
} else {
timeMap[name] = (new Date()).getTime();
}
},
Untitled JavaScript (25-Jul @ 10:10)
Syntax Highlighted Code
- xhr.prototype.XMLHttpRequester = function() {
- }
- xhr.prototype.XMLHttpRequester.prototype = {
- [22 more lines...]
Plain Code
xhr.prototype.XMLHttpRequester = function() {
}
xhr.prototype.XMLHttpRequester.prototype = {
// methods
get_sync : function(url, parameters, headers) {
if ( !parameters ) parameters = "";
else url = url + "?" + parameters;
if ( !headers ) headers = null;
var xmlHttpRequest = new XMLHttpRequest();
xmlHttpRequest.open('get', url, false);
var response = null;
xmlHttpRequest.addEventListener('load',
function(event) {
if (event.target.readyState == 4) {
response = new xhr.prototype.XMLHttpResponse();
response.parseResponse(event.target);
}
}, false);
for (var i=0; headers && (i< headers.length); i++)
xmlHttpRequest.setRequestHeader(headers[i].name, headers[i].value);
try {
xmlHttpRequest.send("");
} catch(e) {;}
return response;
}
}
Untitled JavaScript (21-Jul @ 08:25)
Syntax Highlighted Code
- window.addEvent(function(){
- $$('.toto').setStyle('selectToto');
- });
Plain Code
window.addEvent(function(){
$$('.toto').setStyle('selectToto');
});
Untitled JavaScript (21-Jul @ 02:35)
Syntax Highlighted Code
- //================================================================================================================================
- //
- // Generic Javascript Code for eEMS for Securities
- // Copyright 2008 by Jack Henry & Associates ProfitStars. All Rights Reserved.
- [1130 more lines...]
Plain Code
//================================================================================================================================
//
// Generic Javascript Code for eEMS for Securities
// Copyright 2008 by Jack Henry & Associates ProfitStars. All Rights Reserved.
// Dependencies: Requires that the javascript file nBExcMgtSuite.js be included as well.
//
//================================================================================================================================
String.prototype.startsWith = function(s) { return this.indexOf(s)==0; }
String.prototype.endsWith = function(s) { return (this.match(s+"$")==s); }
String.prototype.trim = function() {return (this.replace(/^[\s\xA0]+/, "").replace(/[\s\xA0]+$/, "")); }
// Build a string of key=value pairs each separated by an ampersand. The key begins with "nBWS_" followed by the
// id of each element where the id begins with "mdlg". The "mdlg" is not included after the "nBWS_"
function buildnBWSPairsString(parentID, idChildPrefix) {
// The modal dialog has a container DIV with id="modalDlgContent". We look at all it's child nodes for
// elements with id's that begin with "mdlg". We do this only for the following elements:
// <textarea>, <input>, <span>, <select>, <div>
if (parentID == null)
parentID = "modalDlgContent"; // id of DIV from modalDialog.js
if (idChildPrefix == null)
idChildPrefix = "mdlg";
var i, id, el, els, nbWSStr;
nbWSStr = "";
var elModalDlgContent = document.getElementById(parentID); // look at this node's children
els = elModalDlgContent.getElementsByTagName("*");
for (i=0; i < els.length; i++) {
el = els[i];
id = el.id;
if (id) {
if (id.startsWith("mdlg") && (id.length > 4)) {
if (nbWSStr.length)
nbWSStr += "&";
//alert(el.tagName);
switch (el.tagName.toUpperCase()) {
case 'SELECT':
// get the value of the user's choice and put both the text and the value in the nBWS_ pairs
// nBWS_id=value&nBWS_DDText_id=text
value = el.options[el.selectedIndex].value;
value = value.replace("/&/g", "%26");
nbWSStr = nbWSStr + "nBWS_" + id.substr(4) + "=" + value;
nbWSStr += "&";
value = el.options[el.selectedIndex].text;
value = value.replace("/&/g", "%26");
nbWSStr = nbWSStr + "nBWS_DDText_" + id.substr(4) + "=" + value;
continue;
break;
case 'INPUT':
value = el.value;
break;
default:
value = el.innerHTML;
break;
} // end switch
// Replace ampersands with %26 since when we parse this we split it by ampersand
value = value.replace("/&/g", "%26");
nbWSStr = nbWSStr + "nBWS_" + id.substr(4) + "=" + value;
}
}
}
return nbWSStr;
} // end buildnBWSPairsString()
// This function gets the drop down HTML for the drop down field ddFieldName on the summary page. It also modifies
// the HTML so that the <select> tag has id of newID. It finds the first one (the first row).
function getSummaryPageDropDownHTML(ddFieldName, newID) {
var tdAcctRuleCDList = getElementsByClass(ddFieldName, document, "td");
// The <select> tag will be a child of the <td> that we just found. We only need one of these since they are all the same - i.e. each row is the same.
var acctRuleCDHTML = "";
if (tdAcctRuleCDList && tdAcctRuleCDList.length) {
var td = tdAcctRuleCDList[0]; // first <td> tag
if (td.childNodes) {
var selAcctRuleCD = td.childNodes[0]; // <select> tag
selAcctRuleCD.id = newID;
acctRuleCDHTML = selAcctRuleCD.outerHTML;
}
}
return acctRuleCDHTML;
} // end getSummmaryPageDropDownHTML()
// This function gets the drop down HTML for the drop down field ddFieldName on the summary page. It also modifies
// the HTML so that the <select> tag has id of newID. It finds the first one (the first row).
function findFirstDropDownElement(ddFieldName) {
var selDD;
var tdDDList = getElementsByClass(ddFieldName, document, "td");
// The <select> tag will be a child of the <td> that we just found. We only need one of these since they are all the same - i.e. each row is the same.
if (tdDDList && tdDDList.length) {
var td = tdDDList[0]; // first <td> tag
if (td.childNodes) {
selDD = td.childNodes[0]; // <select> tag
return selDD
}
}
return null;
} // end getSummmaryPageDropDownHTML()
// This function fetches the user authority level and stores it in the page in a created DIV with id='userAuthLevel'.
// This function will need to be called again if the page is refreshed.
// This function issues an AJAX request and works together with the function storeUserAuthorityLevel()
// This function can be called in the initialization function for the page.
function fetchUserAuthorityLevel() {
var cfgID = getPageConfigID(); // The <html> id is set to the ConfigID by CaseMgr
var extraParms = '&eEMS_SecurityDescription=Y';
var fnResponseHandler = storeUserAuthorityLevel;
// Add a hidden DIV to the page as a place to put the user's authority level description
var hiddenDIV = document.createElement('div');
hiddenDIV.style.display = 'none';
hiddenDIV.id = 'userAuthLevel';
document.body.appendChild(hiddenDIV);
// getSummaryPageData() will use AJAX to fetch the user's authority level and call the fucntion handler to put that text
// into the hidden DIV with id = 'userAuthLevel'
// The function storeUserAuthorityLevel is called with the parms urlStr, destPageID, and the response text from the AJAX request = auth level description
getSummaryPageData('userAuthLevel', cfgID, extraParms, fnResponseHandler);
} // end fetchUserAuthorityLevel()
// Store the user authority level description into the hidden DIV with id = destPageID.
// This function is called from an AJAX request by the function fetchUserAuthorityLevel().
function storeUserAuthorityLevel(url, destPageID, userAuthLevel) {
var hiddenDIV = document.getElementById(destPageID);
if (hiddenDIV) {
hiddenDIV.innerHTML = userAuthLevel;
//alert('stored ' + userAuthLevel);
}
} // end storeUserAuthorityLevel()
//Save the Comment text to each of the marked record's hidden comment field.
//Saves passed cmt to the hidden Comment field (with the display component field name of hide_COMMENT) for each marked record.
function saveCommentToMarkedRecords(commentText, commentFieldName) {
// If no comment was entered then just return
if (!commentText.length)
return;
// If no commentFieldName is passed then default to a display component field name of hide_COMMENT.
if (commentFieldName == null)
commentFieldName = "hide_COMMENT";
// Walk through the associative array of marked records and for each marked record
// set the hidden comment value to the comment text passed to this function.
var cmtID, cmtEl;
var dict = markedRows.dictionary();
for (var recID in dict) {
// Now for each recordID (which identifies the marked record) find the hide_COMMENT field
cmtID = '__' + commentFieldName + '_' + recID; // hideCOMMENT --> __hide_COMMENT_
cmtEl = document.getElementById(cmtID);
if (cmtEl)
cmtEl.innerText = commentText;
}
} // end saveCommentToMarkedRecords()
// This function takes the HTML string for a drop down. It removes the first empty entry it finds and returns
// the adjusted drop down as an HTML string. If replacementID is passed then the ID of the <select> will be set
// to the passed parameter.
function removeEmptyEntryFromDropDown(dropDownHTML, replacementID) {
// Remove empty choice from action drop down HTML and make the Comment the default selection
// Create a temp DIV element as our scratch pad
var tempDIV = document.createElement('div');
tempDIV.innerHTML = dropDownHTML;
if (tempDIV.childNodes && tempDIV.childNodes.length) {
var selectEl = tempDIV.childNodes[0]; // <select>
if (replacementID != null)
selectEl.id = replacementID;
var optionsElArr = selectEl.childNodes;
if (optionsElArr) {
for (var i=0; i < optionsElArr.length; i++) {
if (!optionsElArr[i].text.length) {
// Remove the empty choice
optionsElArr[i].parentNode.removeChild(optionsElArr[i]);
break;
}
//alert(optionsElArr[i].text);
}
}
}
// Now that we modified the DOM, let's get the HTML equivalent.
dropDownHTML = tempDIV.innerHTML;
tempDIV = null; // free memory
return dropDownHTML;
} // end removeEmptyEntryFromDropDown()
// editableLookupFieldName is the display component field name of an editable combo box lookup field that is preferably hidden
// whose value is a code with corresponding displayed text. This function sets the current selection of the drop down to
// show text corresponding to the passed newCode. This is done for all marked records.
function saveNewEditableLookupCodeToMarkedRecords(newCode, editableLookupFieldName) {
// We will save the new account status code into the hidden editable drop down that corresponds to the
// visible lookup. We will look for the statusDropDownFieldName field for each marked record.
var recID, statusID, statusEl;
var dict = markedRows.dictionary();
for (var recID in dict) {
statusID = '__' + editableLookupFieldName + '_' + recID;
statusEl = document.getElementById(statusID); // this is a <select> tag
if (!selectDropDownByCode(newCode, statusEl))
alert("Unable to save account status information for record with ID=" + recID);
}
} // end saveNewEditableLookupCodeToMarkedRecords()
// Save the passed newCode into the editable lookup (drop down) field with the field name editableLookupFieldName
// This finds all fields that match the passed name and applies the passed code.
function saveNewEditableLookupCode(newCode, editableLookupFieldName) {
// We will save the new code into the (possibly hidden) editable drop down
var i, lookupArr, lookupEl, lookupName;
// Look for a <select> field whose name is editableLookupFieldName
lookupArr = document.getElementsByTagName('select');
for (i=0; i < lookupArr.length; i++) {
// name will be of the form __ + editableLookupFieldName + "_" + {recID}
lookupEl = lookupArr[i];
lookupName = '__' + editableLookupFieldName + '_';
if (lookupEl.name.startsWith(lookupName)) {
if (!selectDropDownByCode(newCode, lookupEl))
alert("Unable to save new code to lookup field " + editableLookupFieldName);
}
}
} // end saveNewEditableLookupCode()
// If all marked record's have the same account status code then return it. If not, then return -1.
// The editable field (hidden by javascript) acctStatusDropDownFieldName in the display component contains the current acct status code.
// acctStatusDropDownFieldName is an editable drop down lookup field.
function getCommonAccountStatusCodeFromMarkedRecords(acctStatusDropDownFieldName) {
var statusID, statusEl, acctStatusCode;
var dict = markedRows.dictionary();
var commonCode = -1;
for (var recID in dict) {
// Now for each recordID (which identifies the marked record) find the current status value (a number).
statusID = '__' + acctStatusDropDownFieldName + '_' + recID;
statusEl = document.getElementById(statusID); // this is a <select> tag
if (statusEl) {
acctStatusCode = statusEl.options[statusEl.selectedIndex].value;
if (commonCode != -1) {
if (commonCode != acctStatusCode)
return -1;
}
else
commonCode = acctStatusCode;
}
}
return commonCode;
} // end getCommonAccountStatusCodeFromMarkedRecords()
// Get the code from the one <select> field named editableLookupFieldName in the page. This function is
// primarily inteded for use on a Detali page.
function getLookupCode(editableLookupFieldName) {
var i, lookupArr, lookupEl, lookupName;
// Look for a <select> field whose name is editableLookupFieldName
lookupArr = document.getElementsByTagName('select');
for (i=0; i < lookupArr.length; i++) {
// name will be of the form __ + editableLookupFieldName + "_" + {recID}
lookupEl = lookupArr[i];
lookupName = '__' + editableLookupFieldName + '_';
if (lookupEl.name.startsWith(lookupName)) {
return lookupEl.options[lookupEl.selectedIndex].value; // we found the one field and will return its value
}
}
return -1; // we did not find it.
} // end getLookupCode()
// Hide the empty tab on the CaseMgr summary page - won't be needed with Service Pack 2+
function hideEmptyTab() {
var el, ulArr, elA, i, liArr;
el = document.getElementById('TabBar');
if (el) {
ulArr = el.childNodes;
if (ulArr && ulArr.length && ulArr[0].tagName == 'UL') {
liArr = ulArr[0].childNodes;
if (liArr) {
for (i=0; i < liArr.length; i++) {
if (liArr[i].className != 'Current') {
elA = liArr[i].childNodes[0];
if (!elA.innerHTML.length) {
liArr[i].style.display = 'none';
}
}
}
}
}
}
} // end hideEmptyTab()
//
//================ DETAIL PAGE FUNCTIONS =======================//
//
// This module will display a free form comment box and save the
// value back to the web page in a field called COMMENT.
//
// Requirements:
// CommentsDialog.html and this file must be in the same folder as nBExcMgtSuite.aspx
// A field called COMMENT is defined as an editable textbox in the EM Console
//
// If the COMMENT field does not exist then the dialog will not be displayed
// and the regular CM processing will occur.
//
// If additional functionality is required in validate, it is necessary to
// override the ValidateInput function by specifying this function in another
// javaScript file that is included *after* this file has been included on the
// detail page.
// Display the comments dialog for the user to type in a free form comment
//Hide the Comment boxes with field name commentFieldName which are textarea elements.
// *** NOTE: This function overrides the validateInput function. This is an obsolete practice.
// Future work should use {registered prefix}validateInputCustom() instead.
function hideDetailCommentBoxEx(commentFieldName, overrideValidateInput) {
//Check if Comments are Enabled
if (!commentsEnabledEx())
return true;
if (overrideValidateInput == null)
overrideValidateInput = true;
//alert ('Hiding Detail Comment');
var controlList, currControl;
var recID, cmtFieldName, cmtFieldBaseName, cmtFieldEl;
cmtFieldBaseName = '__' + commentFieldName + '_';
//Get all of the input controls
controlList = document.getElementsByTagName('textarea');
//Loop through the controls looking for names that begin with '__' + commentFieldName + '_' (e.g. __COMMENT_)
for (var i=0; i < controlList.length; i++)
{
currControl = controlList[i];
//if the Name of the Control Has "__COMMENT_"
if (currControl.name.indexOf(cmtFieldBaseName) == 0) {
//Retrieve RecID from the Control Name
recID=currControl.name.substring(currControl.name.lastIndexOf('_') + 1);
cmtFieldName = cmtFieldBaseName + recID;
cmtFieldEl = document.getElementById(cmtFieldName);
//Hide the Comments associated with the Control Box, if it exists
if (cmtFieldEl) {
cmtFieldEl.style.display='none';
}
}
}
//Override the ValidateInput
if (overrideValidateInput)
validateInput=SaveDetailCommentsEx;
}
function commentsEnabledEx()
{
var controlList, currControl;
var Result=false;
//Get all of the input controls
controlList = document.getElementsByTagName('input');
//Loop through the controls looking for names that begin with __cmchk_
for (var i=0; i < controlList.length; i++)
{
currControl = controlList[i];
//Retrieve RecID from the Control Name
RecID=currControl.name.substring(currControl.name.lastIndexOf('_') + 1);
//Hide the Comments associated with the Control Box, if it exists
if (document.getElementById('__COMMENT_' + RecID) != null)
{
Result=true;
}
}
return Result;
}
// Validate the input form based on predefined criteria
// Display a comment dialog
function SaveDetailCommentsEx() {
//alert ('Called from Detail');
if (!commentsEnabledEx())
return true; // allow normal submit processing
var retMsg = '';
// Put any validation here and if there is an error, put something in the retMsg field
if(retMsg.length==0) {
var resultMsg = '';
var auditMsg = ' ';
if (OpenDetailCommentsDialogEx(resultMsg, auditMsg)) {
document.CaseDetail.Submit.disabled = true;
return false; // to disable normal submit processing since we override it
} else {
//alert('hit ok but no comment entered');
return false;
}
} else {
// There was a validation error so display a message dialog
alert(retMsg);
return false;
} // end if retMsg check
} // end function validateInput
// Display the comments dialog for the user to type in a free form comment
function OpenDetailCommentsDialogEx(msg, auditMsg) {
//Set dialog properties
var MyArgs = new Array(msg);
var res = false;
var WinSettings = "center:yes;resizable:no;dialogHeight:225px;dialogWidth:625px"
//Show Dialog
var MyArgs = window.showModalDialog("CommentsDialog.html", MyArgs, WinSettings);
//Fetch Return String
var cmtMsg = MyArgs[0].toString();
//cmtMsg = stripHTML(cmtMsg);?
if (cmtMsg.length > 0) {
//alert('save comments and submit');
SaveCommentsEx(cmtMsg);
//Submit the Changes
document.CaseDetail.submit();
return true;
}
return false;
}
// Save Comments for Checked Comments to fields that are of type <textarea> and contain __COMMENT_ in their name.
// This function works well on a Detail page.
function SaveCommentsEx(cmt, commentFieldName) {
var controlList, currControl;
//Get all of the textarea controls
controlList = document.getElementsByTagName('textarea');
//Loop through the controls looking for names that begin with __COMMENT_
for (var i=0; i < controlList.length; i++)
{
//Fetch Current Control
currControl = controlList[i];
if (commentFieldName != null) {
//The name of the control is something like "__hide_COMMENT_1" where 1 is the recID.
if (currControl.name.startsWith('__' + commentFieldName + '_')) {
//Save the Comments to the COMMENT Control
currControl.value=cmt;
}
}
else {
// commentFiledName is null
//if the Name of the Control Has "_COMMENT_" within it (e.g. __hide_COMMENT_1)
if (currControl.name.indexOf('_COMMENT_') != -1) {
//Save the Comments to the COMMENT Control
currControl.value=cmt;
}
}
}
//Get all of the input controls
controlList = document.getElementsByTagName('input');
//Loop through the controls looking for names that begin with __COMMENT_
for (var i=0; i < controlList.length; i++)
{
//Fetch Current Control
currControl = controlList[i];
if (commentFieldName != null) {
//The name of the control is something like "__hide_COMMENT_1" where 1 is the recID.
if (currControl.name.startsWith('__' + commentFieldName + '_')) {
//Save the Comments to the COMMENT Control
currControl.value=cmt;
}
}
else {
// commentFiledName is null
//if the Name of the Control Has "_COMMENT_" within it (e.g. __hide_COMMENT_1)
if (currControl.name.indexOf('_COMMENT_') != -1) {
//Save the Comments to the COMMENT Control
currControl.value=cmt;
}
}
}
}
//
//================ SUMMARY PAGE FUNCTIONS =======================//
//
// This module will display a free form comment box
//if there is a checkbox, with the prefix 'cmchk_' and an associated COMMNET box
//and save the value back to the web page in a field called COMMENT.
//
// Requirements:
// CommentsDialog.html and this file must be in the same folder as nBExcMgtSuite.aspx
// A field defined as a Checkbox control , and the name of the field has a "cmchk_" prefixed | Usage: cmchk_<CONTROL NAME> E.g: cmchk_MARKED |
//A field called COMMENT is defined as an editable textbox in the EM Console
//
// If the cmchk_" prefixed field and the COMMENT field does not exist then the dialog will not be displayed
// and the regular CM processing will occur.
//
// If additional functionality is required in validate, it is necessary to
// override the ValidateInput function by specifying this function in another
// javaScript file that is included *after* this file has been included on the
// detail page.
//____________________________________________________________________________________________________________________________________________________________________
//Check if the Fields Exist
function checkBoxCommentsEnabledEx() {
var controlList, currControl;
var cmtBoxExists,cmChkBoxExists,Result;
cmtBoxExists=false;
cmChkBoxExists=false;
Result=false;
//Check if the Check Box and associated Comment Field Exists
var cmtSummaryFld = getElementsByClass('COMMENT');
//if either of the controls do not exist, then return false
if (cmtSummaryFld.length>0)
{
cmtBoxExists=true;
}
//Check if the names of the Checkboxes are prefixed with cmchk
//Get all of the input controls
controlList = document.getElementsByTagName('input');
//Loop through the controls looking for names that begin with __cmchk_
for (var i=0; i < controlList.length; i++) {
currControl = controlList[i];
if(currControl.name.indexOf("__cmchk_") == 0) {
cmChkBoxExists=true;
}
}
//Check if both the control exist
if (cmtBoxExists && cmChkBoxExists)
Result=true;
return Result;
}
//Hide the Comment boxes
// *** NOTE: This function overrides the validateInput function. This is an obsolete practice. Future work
// should use {registered prefix}validateInputCustom() instead.
function hideSummaryCommentBoxEx(overrideValidateInput) {
//Check if Comments are Enabled
if (!checkBoxCommentsEnabledEx())
return true;
if (overrideValidateInput == null)
overrideValidateInput = true;
//Override the ValidateInput
if (overrideValidateInput)
validateInput=SaveSummaryCommentsEx;
//alert ('Hide Summary Comments Here');
var controlList, currControl;
var RecID;
//Get all of the input controls
controlList = document.getElementsByTagName('input');
//Loop through the controls looking for names that begin with __cmchk_
for (var i=0; i < controlList.length; i++)
{
currControl = controlList[i];
//if the Name of the Control Has "__cmchk"
if (currControl.name.indexOf("__cmchk_") == 0)
{
//Retrieve RecID from the Control Name
RecID=currControl.name.substring(currControl.name.lastIndexOf('_') + 1);
//Hide the Comments associated with the Control Box, if it exists
if (document.getElementById('__COMMENT_' + RecID) != null)
{
document.getElementById('__COMMENT_' + RecID).style.display='none';
}
}
}
}
// Display the comments dialog for the user to type in a free form comment
function OpenSummaryCommentsDialogEx(msg, auditMsg) {
//alert('OpenSummaryCommentsDialogEx');
//Set dialog properties
var MyArgs = new Array(msg);
var res = false;
var WinSettings = "center:yes;resizable:no;dialogHeight:285px;dialogWidth:625px"
//Show Dialog
var MyArgs = window.showModalDialog("CommentsDialog.html", MyArgs, WinSettings);
//Fetch Return String
var cmtMsg = MyArgs[0].toString();
//cmtMsg = stripHTML(cmtMsg);??????
if(cmtMsg.length > 0) {
SaveCheckedCommentsEx(cmtMsg);
document.CaseList.submit();
//alert('after SaveCheckedCommentsEx');
}
}
//Save Comments for Checked Comments
function SaveCheckedCommentsEx(cmt) {
var controlList, currControl;
var RecID;
//Get all of the input controls
controlList = document.getElementsByTagName('input');
//Loop through the controls looking for names that begin with __cmchk_
for (var i=0; i < controlList.length; i++) {
currControl = controlList[i];
if(currControl.name.indexOf("__cmchk_") == 0) {
RecID=currControl.name.substring(currControl.name.lastIndexOf('_') + 1);
if(currControl.checked) {
document.getElementById('__COMMENT_' + RecID).innerText= cmt;
}
}
}
}
// Validate the input form based on predefined criteria
// Display a comment dialog
function SaveSummaryCommentsEx() {
//alert('Called from Summary' );
var retMsg = '';
// Put any validation here and if there is an error, put something in the retMsg field
if (!checkBoxCommentsEnabledEx())
return true;
if(retMsg.length==0)
{
var resultMsg = '';
var auditMsg = ' ';
// Display the comments dialog.
if(OpenSummaryCommentsDialogEx(resultMsg, auditMsg))
{
document.forms[0].Submit.disabled = true;
return true;
}
else
{
return false;
}
}
else {
// There was a validation error so display a message dialog
alert(retMsg);
return false;
} // end if retMsg check
} // end function validateInput
//
// *** The following function can be removed after Service Pack 3 since it will be in nBExcMgtSuite.js ***
//
// Make read-only all editable columns with a fieldname prefixed with readOnlyPrefix.
// This function will make read-only <textarea>, <input> and <select> items.
function makeReadOnlyFieldsByPrefix(readOnlyPrefix, removeBorder) {
// Makes read-only elsements with a name that starts with readOnlyPrefix.
// input
var ctlArr = document.getElementsByTagName('input');
if (ctlArr) {
for (var i=0; i < ctlArr.length; i++) {
if (ctlArr[i].name.startsWith('__' + readOnlyPrefix)) {
ctlArr[i].readOnly = true;
if (removeBorder) {
ctlArr[i].style.border = "";
ctlArr[i].style.borderWidth = "0";
ctlArr[i].style.borderColor = "";
ctlArr[i].style.borderStyle = "";
}
//alert('make read-only ' + ctlArr[i].name);
}
}
}
// textarea
var ctlArr = document.getElementsByTagName('textarea');
if (ctlArr) {
for (var i=0; i < ctlArr.length; i++) {
if (ctlArr[i].name.startsWith('__' + readOnlyPrefix)) {
ctlArr[i].readOnly = true;
//alert('make read-only ' + ctlArr[i].name);
if (removeBorder) {
ctlArr[i].style.border = "";
ctlArr[i].style.borderColor = "";
ctlArr[i].style.borderWidth = "0";
ctlArr[i].style.borderStyle = "";
}
}
}
}
// select
var ctlArr = document.getElementsByTagName('select');
if (ctlArr) {
for (var i=0; i < ctlArr.length; i++) {
if (ctlArr[i].name.startsWith('__' + readOnlyPrefix)) {
ctlArr[i].readOnly = true;
//alert('make read-only ' + ctlArr[i].name);
if (removeBorder) {
ctlArr[i].style.border = "";
ctlArr[i].style.borderColor = "";
ctlArr[i].style.borderWidth = "0";
ctlArr[i].style.borderStyle = "";
}
}
}
}
} // end makeReadOnlyFieldsByPrefix()
// Override the look of the collapsible group
function overrideCollapsibleGroup(cgTitlePrefix, labelColor, leftIndent, leftBorderStyle, fontSize, underline) {
var cg, cgPrev, cgNext;
var cgroups = getElementsByClass("collapsibleGroup");
for (i=0; i < cgroups.length; i++) {
cg = cgroups[i];
if (cg.title.startsWith(cgTitlePrefix)) {
cg.style.borderLeft = leftBorderStyle;
cg.style.paddingLeft = parseInt(leftIndent) + 'px';
// Remove annoying title that causes a popup over the summary records in the collapsible group
cg.title = "";
// Previous sibling is the link node
cgPrev = cg.previousSibling;
cgPrev.style.color = labelColor;
cgPrev.style.fontSize = fontSize;
cgPrev.style.fontWeight = "bold";
if (underline)
cgPrev.style.textDecoration = "underline";
else
cgPrev.style.textDecoration = "none";
// Previous sibling is the +/-
cgPrev = cgPrev.previousSibling;
cgPrev.style.color = labelColor;
cgPrev.style.fontSize = fontSize;
cgPrev.style.textAlign = "center";
cgPrev.style.fontWeight = "bold";
}
}
} // end overrideCollapsibleGroup()
// Turn off the tooltip that appears over the contained summary of a collapsible group when the mouse hovers over it.
function turnOffCollapsibleGroupTooltips() {
var cg, cgPrev, cgNext;
var cgroups = getElementsByClass("collapsibleGroup");
for (i=0; i < cgroups.length; i++) {
cg = cgroups[i];
// Remove annoying title that causes a popup over the summary records in the collapsible group
// Save title as a different attribute
if (cg.name == null)
cg.name = cg.title;
cg.title = "";
}
} // end turnOffCollapsibleGroupTooltips()
function setCollapsibleSummaryGroupHeight(cgTitlePrefix, newHeight) {
// if height does not end in px or em or % then assume px
var cg, cgPrev, cgNext;
newHeight = newHeight.trim();
if (newHeight.endsWith("!important")) {
newHeight = newHeight.substr(0, newHeight.length - 10);
newHeight = newHeight.trim();
}
if (!newHeight.endsWith("%") && !newHeight.endsWith("px") && !newHeight.endsWith("em"))
newHeight += "px";
//newHeight += " !important;"; // doesn't work!
var sg, subjGrids;
var cgroups = getElementsByClass("collapsibleGroup");
for (i=0; i < cgroups.length; i++) {
cg = cgroups[i];
if ((cg.title != null) && (cg.name != null)) {
// check name attribute instead
if (cg.name.startsWith(cgTitlePrefix)) {
subjGrids = getElementsByClass("SubjGrid", cg, "div");
for (i=0; i < subjGrids.length; i++) {
sg = subjGrids[i];
//var saveClassName = sg.className;
sg.className = "";
sg.style.overflowY = "scroll";
sg.style.height = newHeight;
//sg.className = saveClassName;
// fixes IE bug that causes a problem with blank whitespace above the table.
document.body.innerHTML = document.body.innerHTML; // fix IE issue
}
}
}
else {
// check title
if (cg.title.startsWith(cgTitlePrefix)) {
var subjGrids = getElementsByClass("SubjGrid", cg, "div");
for (i=0; i < subjGrids.length; i++) {
sg = subjGrids[i];
//var saveClassName = sg.className;
sg.className = "";
sg.style.overflowY = "scroll";
sg.style.height = newHeight;
//sg.className = saveClassName;
// fixes IE bug that causes a problem with blank whitespace above the table.
document.body.innerHTML = document.body.innerHTML; // fix IE issue
}
}
}
}
} // end setCollapsibleSummaryGroupHeight()
// Add commas to the passed nStr and return the modified string
function addCommas(nStr) {
// if there are already commas then don't do anything
if (nStr.indexOf(",") != -1)
return nStr;
var x, x1, x2, rgx;
if (nStr == null)
return "";
x = nStr.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + ',' + '$2');
}
return x1 + x2;
} // end addCommas()
// round number to show decimalPoints number of decimal points
function roundNumber(number, decimalPoints) {
if ((decimalPoints == 0) || (decimalPoints == "0"))
return Math.round(number);
if ((number == 0) || (number == "0")) {
var decimals = "";
for (var i=0; i < decimalPoints; i++)
decimals += "0";
return "0." + decimals;
}
var exponent = Math.pow(10,decimalPoints);
var num = Math.round((number * exponent)).toString();
return num.slice(0, -1*decimalPoints) + "." + num.slice(-1*decimalPoints);
}
// Helper function to formatNumByClassInTable()
function formatNumByClass(spanEl, classFmt) {
var numVal = spanEl.innerHTML;
if (classFmt.startsWith("fmt_R")) {
// one of the rounding formats (e.g. fmt_R2)
var decPlaces = classFmt.substr(5);
spanEl.innerHTML = roundNumber(numVal, decPlaces);
}
else {
// All other formats besides number rounding formats
switch(classFmt)
{
case 'fmt_C':
spanEl.innerHTML = addCommas(numVal);
break;
case 'fmt_D':
spanEl.innerHTML = "$" + numVal;
break;
default:
break;
} // end switch
}
} // end formatNumByClass()
// Helper function to formatNumbersByClass()
function formatNumByClassInTable(classFmt, tblEl) {
var j, spanEl;
var fmtEls = getElementsByClass(classFmt, tblEl, "td");
var fmtElsLen = fmtEls.length;
for (j=0; j < fmtElsLen; j++) {
spanEl = fmtEls[j].childNodes[0];
if (!spanEl)
continue;
if (spanEl.tagName == 'SPAN')
formatNumByClass(spanEl, classFmt);
else if (spanEl.tagName == 'DIV') {
// see if there is a span as the first child of the DIV
spanEl = spanEl.childNodes[0];
if (spanEl && (spanEl.tagName == 'SPAN'))
formatNumByClass(spanEl, classFmt);
}
}
} // end formatNumByClassInTable()
// This function will format all numbers within <span> elements according to a specific set of classes
// that it recognizes for the parent <td> element. Multiple classes may apply to the same number.
// fmt_C - adds commas
// fmt_D - prefix a dollar sign to the number
// fmt_R0 - round to 0 decimal places
// fmt_R1 - round to 1 decimal places
// fmt_R2 - round to 2 decimal places
// fmt_R3 - round to 3 decimal places
// fmt_R4 - round to 4 decimal places
// fmt_R5 - round to 5 decimal places
// fmt_R6 - round to 6 decimal places
//
function formatNumbersByClass() {
// The elements to be formatted must be in <span> tags that are children of <td> tags that are in <table> tags.
var tblEl;
var tbls = document.getElementsByTagName("table");
var tblsLen = tbls.length;
for (i=0; i < tblsLen; i++) {
tblEl = tbls[i];
// Handle rounding first before adding commas and dollar signs because of how we do rounding.
formatNumByClassInTable("fmt_R0", tblEl);
formatNumByClassInTable("fmt_R1", tblEl);
formatNumByClassInTable("fmt_R2", tblEl);
formatNumByClassInTable("fmt_R3", tblEl);
formatNumByClassInTable("fmt_R4", tblEl);
formatNumByClassInTable("fmt_R5", tblEl);
formatNumByClassInTable("fmt_R6", tblEl);
formatNumByClassInTable("fmt_C", tblEl);
formatNumByClassInTable("fmt_D", tblEl);
}
} // end formatNumbersByClass
// Set data in the form's action that will be persistent - that is it can be retrieved after the refresh
// Get the action property of the main form of the CaseMgr page
function getFormAction() {
// Determine if we are on a Summary or a Detail page
var pageID = getPageID(); // <body> id.
var action;
if (pageID.startsWith('eEMSListCases'))
action = document.CaseList.action; // Summary page
else
action = document.CaseDetail.action; // Detail page
return action;
} // end getFormAction()
// Set the action property of the CaseMgr page's main form.
function setFormAction(action) {
var pageID = getPageID(); // <body> id.
var action;
if (pageID.startsWith('eEMSListCases'))
document.CaseList.action = action; // Summary page
else
document.CaseDetail.action = action; // Detail page
} // end setFormAction()
// Return the value of the key=value pair in the form's action URL
function getActionSubmitData(key) {
var url, value;
url = getFormAction();
// Save current state of collapsible groups in the JSData field
if (urlKeyExists(url, key))
value = getUrlKeyValue(url, key) ;
else
value = "";
return value;
} // end getActionSubmitData()
// Set data in the form's action that will be persistent - that is it can be retrieved after the refresh
function setActionSubmitData(key, value) {
var url;
url = getFormAction();
if (urlKeyExists(url, key))
url = replaceUrlKeyValue(url, key, value);
else
url = addUrlKeyValue(url, key, value);
setFormAction(url);
} // end setActionSubmitData()
// Return the value of the key=value pair in the form's action URL where the key is JSData. This
// is a persistent key that will be available after the submit button is clicked and the page refreshes.
function getActionSubmitJSData() {
return getActionSubmitData("JSData");
} // end getActionSubmitJSData()
// Set data in the form's action that will be persistent - that is it can be retrieved after the submit button
// is clicked and the page refreshes. This uses the key JSData that is persistent and returned on refresh in the URL.
function setActionSubmitJSData(value) {
return setActionSubmitData("JSData", value);
} // end setActionSubmitJSData()
// Set data in the form's action - add key=value pairs found in pairsString
function setActionSubmitFromPairsString(pairsString) {
// split the string by ampersand and then split that by the first equal encountered.
var pairs = pairsString.split("&");
for (i=0; i < pairs.length; i++) {
pair = pairs[i];
pos = pair.indexOf("=");
if (pos != -1) {
key = pair.substr(0, pos);
if (pos < (pairs.length-1))
value = pair.substr(pos+1);
else
value = "";
setActionSubmitData(key, value);
}
}
} // end setActionSubmitFromPairsString()
// Retores the state of the collapsed groups from info that was saved using setActionSubmitData()
function restoreCollapsedGroupStates() {
var i, collapsedInfo;
collapsedInfo = getCollapsedGroupsInfoString();
// Example collapsedInfo: "cg_1=0,cg_2=1"
// Parse the collapsed Info string and apply the info to open or close the collapsed groups
var cgStates = collapsedInfo.split(",");
for (i=0; i < cgStates.length; i++) {
cgState = cgStates[i];
// id=state
state = cgState.substr(cgState.length-1);
id = cgState.substr(0, cgState.length-2);
if (state == "0")
closeCollapsibleGroup(id);
else
openCollapsibleGroup(id);
}
} // end restoreCollapsedGroupStates()
// Get the state of the collapsed groups from info that was saved using setActionSubmitData(). This is taken from the URL
function getCollapsedGroupsInfoString() {
var url, key, collapsedInfo = "";
url = window.location.href;
key = "JSData";
if (urlKeyExists(url, key)) {
collapsedInfo = getUrlKeyValue(url, key);
//alert('info=' + collapsedInfo);
}
return collapsedInfo;
} // end getCollapsedGroupsInfoString()
// Get the state of the collapsed groups
function createCollapsedGroupsInfoString() {
var collapsedInfo = "";
var cgroups = getElementsByClass("collapsibleGroup");
for (i=0; i < cgroups.length; i++) {
cg = cgroups[i];
cgID = cg.id;
if (isCollapsibleGroupCollapsed(cgID)) {
collapsedInfo = collapsedInfo + cgID + "=0,";
//alert("group is collapsed");
}
else {
collapsedInfo = collapsedInfo + cgID + "=1,";
//alert("group is not collapsed");
}
}
// remove ending comma from collapsedInfo
if (collapsedInfo.endsWith(","))
collapsedInfo = collapsedInfo.substr(0, collapsedInfo.length - 1);
return collapsedInfo;
} // end createCollapsedGroupsInfoString()
Untitled JavaScript (21-Jul @ 02:35)
Syntax Highlighted Code
- <HTML lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><HEAD><STYLE> /* Rule 46 of /css/default.css */ LI { BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 100%; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; FONT-FAMILY: inherit; BORDER-RIGHT-WIDTH: 0px; outline: 0} /* Rule 211 of /css/default.css */ #navigation LI { FLOAT: left; MARGIN-RIGHT: 5px}
Plain Code
<HTML lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><HEAD><STYLE> /* Rule 46 of /css/default.css */ LI { BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 100%; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; FONT-FAMILY: inherit; BORDER-RIGHT-WIDTH: 0px; outline: 0} /* Rule 211 of /css/default.css */ #navigation LI { FLOAT: left; MARGIN-RIGHT: 5px}
Untitled JavaScript (20-Jul @ 17:58)
Syntax Highlighted Code
- on test()
- put "asd"
- end test
Plain Code
on test()
put "asd"
end test
Untitled JavaScript (19-Jul @ 21:42)
Syntax Highlighted Code
- $('a', win).each(function (i) {
- var visited = getStyle(this, 'color', win);
- visitedList[i] = !!(visited == 'rgb(0, 255, 0)' || visited == '#0f0' || visited == '#00ff00');
- })
Plain Code
$('a', win).each(function (i) {
var visited = getStyle(this, 'color', win);
visitedList[i] = !!(visited == 'rgb(0, 255, 0)' || visited == '#0f0' || visited == '#00ff00');
})
Untitled JavaScript (19-Jul @ 21:42)
Syntax Highlighted Code
- $('a', win).each(function (i) {
- var visited = getStyle(this, 'color', win);
- visitedList[i] = !!(visited == 'rgb(0, 255, 0)' || visited == '#0f0' || visited == '#00ff00');
- })
Plain Code
$('a', win).each(function (i) {
var visited = getStyle(this, 'color', win);
visitedList[i] = !!(visited == 'rgb(0, 255, 0)' || visited == '#0f0' || visited == '#00ff00');
})
Untitled JavaScript (16-Jul @ 20:41)
Syntax Highlighted Code
- alert("Hello world!");
Plain Code
alert("Hello world!");
Untitled JavaScript (16-Jul @ 20:28)
Syntax Highlighted Code
- window.addEvent('domready', function() {
- // Create variables (in this case two arrays) representing our bubbles and pages
- var myPages = $$('.page');
- [30 more lines...]
Plain Code
window.addEvent('domready', function() {
// Create variables (in this case two arrays) representing our bubbles and pages
var myPages = $$('.page');
var myBubbles = $$('.bubble');
// Set bubbles opacity to zero so they're hidden initially
// and toggle visibility on for their container back on
myBubbles.setStyle('opacity', 0);
$('bubbleWrap').setStyle('visibility','visible')
// Add our events to the pages
myPages.each(function(el, i) {
/* Here we change the default 'link' property to 'cancel' for our morph effects, which
ensures effects are interrupted when the mouse is leaving and entering
to immediately begin the morph effect being called */
el.set('morph', {link : 'cancel'});
el.addEvents({
'mouseenter': function() {
myBubbles[i].morph({
'opacity' : 1,
'margin-top' : '-15px'
});
},
'mouseleave' : function() {
myBubbles[i].morph({
'opacity' : 0,
'margin-top' : 0
});
}
});
});
});
Untitled JavaScript (16-Jul @ 20:28)
Syntax Highlighted Code
- window.addEvent('domready', function() {
- [12 more lines...]
Plain Code
window.addEvent('domready', function() {
// Create variables (in this case two arrays) representing our bubbles and pages
var myPages = $$('.page');
var myBubbles = $$('.bubble');
// Set bubbles opacity to zero so they're hidden initially
// and toggle visibility on for their container back on
myBubbles.setStyle('opacity', 0);
$('bubbleWrap').setStyle('visibility','visible')
});
Untitled JavaScript (16-Jul @ 16:48)
Syntax Highlighted Code
- alert( 'so, what exactly is this? you know, if you had a helpful description section, maybe people would leave more useful scripts... ?' );
Plain Code
alert( 'so, what exactly is this? you know, if you had a helpful description section, maybe people would leave more useful scripts... ?' );
Untitled JavaScript (16-Jul @ 13:36)
Syntax Highlighted Code
- <script type="text/javascript">
- function register(){
- $.ajax({
- [12 more lines...]
Plain Code
<script type="text/javascript">
function register(){
$.ajax({
type: "POST",
url: "submit_data.php",
data: "username=" + document.getElementById("username").value +
"&email=" + document.getElementById("email").value,
success: function(html){
$("#response").html(html);
}
});
}
</script
Untitled JavaScript (16-Jul @ 09:59)
Syntax Highlighted Code
- http://remysharp.com/2007/03/13/firebug-in-ie-for-any-web-site/
Plain Code
http://remysharp.com/2007/03/13/firebug-in-ie-for-any-web-site/
Untitled JavaScript (14-Jul @ 19:24)
Syntax Highlighted Code
- $("#NTSReportDate").datepicker({
- firstDay: 0,
- changeFirstDay: false,
- showOn: "button",
- [13 more lines...]
Plain Code
$("#NTSReportDate").datepicker({
firstDay: 0,
changeFirstDay: false,
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true
});
$("select#Codes").change(function(){
$.getJSON("jsonhandlers/getpaaasubcodes.cfm",{chapter: $(this).val()}, function(j){
var options = '';
for (var i = 0; i < j.length; i++) {
options += '<option value="' + j[i].CodeID + '">' + j[i].Description + '</option>';
}
$("#SubCodes").html(options);
$("#SubCodes option:first").attr('selected', 'selected');
$("#SubCodes").removeAttr("disabled");
});
});
Untitled JavaScript (14-Jul @ 04:24)
Syntax Highlighted Code
- javascript:$('style').each(function(){if($(this).text().indexOf('http://goodbyepolar.com')>-1){$('#qqTextArea').val($('#qqTextArea').val()+$(this).text());}});void($);
Plain Code
javascript:$('style').each(function(){if($(this).text().indexOf('http://goodbyepolar.com')>-1){$('#qqTextArea').val($('#qqTextArea').val()+$(this).text());}});void($);
Untitled JavaScript (14-Jul @ 01:37)
Syntax Highlighted Code
- $(document).ready(function() {
- });
Plain Code
$(document).ready(function() {
});
abcd (12-Jul @ 08:51)
Syntax Highlighted Code
- document.getElementsByClassName = function(className) {
- var children = document.getElementsByTagName('*') || document.all;
- var elements = new Array();
- [153 more lines...]
Plain Code
document.getElementsByClassName = function(className) {
var children = document.getElementsByTagName('*') || document.all;
var elements = new Array();
for (var i = 0; i < children.length; i++) {
var child = children[i];
var classNames = child.className.split(' ');
for (var j = 0; j < classNames.length; j++) {
if (classNames[j] == className) {
elements.push(child);
break;
}
}
}
return elements;
}
var Reflection = {
defaultHeight : 0.5,
defaultOpacity: 0.5,
add: function(image, options) {
Reflection.remove(image);
doptions = { "height" : Reflection.defaultHeight, "opacity" : Reflection.defaultOpacity }
if (options) {
for (var i in doptions) {
if (!options[i]) {
options[i] = doptions[i];
}
}
} else {
options = doptions;
}
try {
var d = document.createElement('div');
var p = image;
var classes = p.className.split(' ');
var newClasses = '';
for (j=0;j<classes.length;j++) {
if (classes[j] != "reflect") {
if (newClasses) {
newClasses += ' '
}
newClasses += classes[j];
}
}
var reflectionHeight = Math.floor(p.height*options['height']);
var divHeight = Math.floor(p.height*(1+options['height']));
var reflectionWidth = p.width;
if (document.all && !window.opera) {
/* Copy original image's classes & styles to div */
d.className = newClasses;
p.className = 'reflected';
d.style.cssText = p.style.cssText;
p.style.cssText = 'vertical-align: bottom';
var reflection = document.createElement('img');
reflection.src = p.src;
reflection.style.width = reflectionWidth+'px';
reflection.style.marginBottom = "-"+(p.height-reflectionHeight)+'px';
reflection.style.filter = 'flipv progid:DXImageTransform.Microsoft.Alpha(opacity='+(options['opacity']*100)+', style=1, finishOpacity=0, startx=0, starty=0, finishx=0, finishy='+(options['height']*100)+')';
d.style.width = reflectionWidth+'px';
d.style.height = divHeight+'px';
p.parentNode.replaceChild(d, p);
d.appendChild(p);
d.appendChild(reflection);
} else {
var canvas = document.createElement('canvas');
if (canvas.getContext) {
/* Copy original image's classes & styles to div */
d.className = newClasses;
p.className = 'reflected';
d.style.cssText = p.style.cssText;
p.style.cssText = 'vertical-align: bottom';
var context = canvas.getContext("2d");
canvas.style.height = reflectionHeight+'px';
canvas.style.width = reflectionWidth+'px';
canvas.height = reflectionHeight;
canvas.width = reflectionWidth;
d.style.width = reflectionWidth+'px';
d.style.height = divHeight+'px';
p.parentNode.replaceChild(d, p);
d.appendChild(p);
d.appendChild(canvas);
context.save();
context.translate(0,image.height-1);
context.scale(1,-1);
context.drawImage(image, 0, 0, reflectionWidth, image.height);
context.restore();
context.globalCompositeOperation = "destination-out";
var gradient = context.createLinearGradient(0, 0, 0, reflectionHeight);
gradient.addColorStop(1, "rgba(255, 255, 255, 1.0)");
gradient.addColorStop(0, "rgba(255, 255, 255, "+(1-options['opacity'])+")");
context.fillStyle = gradient;
if (navigator.appVersion.indexOf('WebKit') != -1) {
context.fill();
} else {
context.fillRect(0, 0, reflectionWidth, reflectionHeight*2);
}
}
}
} catch (e) {
}
},
remove : function(image) {
if (image.className == "reflected") {
image.className = image.parentNode.className;
image.parentNode.parentNode.replaceChild(image, image.parentNode);
}
}
}
function addReflections() {
var rimages = document.getElementsByClassName('reflect');
for (i=0;i<rimages.length;i++) {
var rheight = null;
var ropacity = null;
var classes = rimages[i].className.split(' ');
for (j=0;j<classes.length;j++) {
if (classes[j].indexOf("rheight") == 0) {
var rheight = classes[j].substring(7)/100;
} else if (classes[j].indexOf("ropacity") == 0) {
var ropacity = classes[j].substring(8)/100;
}
}
Reflection.add(rimages[i], { height: rheight, opacity : ropacity});
}
}
var previousOnload = window.onload;
window.onload = function () { if(previousOnload) previousOnload(); addReflections(); }
Untitled JavaScript (12-Jul @ 06:06)
Syntax Highlighted Code
- $x('//TD[@class="bodyuser" or @class="bodyuser_u"]/DIV/A[contains(@href,"'+u+'")]').forEach(function(a) {
- var l=a.getAttribute('href');
- a.parentNode.parentNode.parentNode.className += " wlr_" + l.substr(l.indexOf(u)+u.length);
- var n=document.createElement('DIV');
- [5 more lines...]
Plain Code
$x('//TD[@class="bodyuser" or @class="bodyuser_u"]/DIV/A[contains(@href,"'+u+'")]').forEach(function(a) {
var l=a.getAttribute('href');
a.parentNode.parentNode.parentNode.className += " wlr_" + l.substr(l.indexOf(u)+u.length);
var n=document.createElement('DIV');
n.innerHTML='<A href="'+l+'"></A>';
a.parentNode.parentNode.insertBefore(n, a.parentNode.parentNode.firstChild);
});
$x('//TD[@class="bodyuser_u"]').forEach(function(td) {
td.className = 'bodyuser '+td.className;
});
Untitled JavaScript (12-Jul @ 06:04)
Syntax Highlighted Code
- $x('//TD[@class="bodyuser" or @class="bodyuser_u" or @class="bodyuser_r"]/DIV/A[contains(@href,"'+u+'")]').forEach(function(a) {
- var l=a.getAttribute('href');
- a.parentNode.parentNode.parentNode.className += " wlr_" + l.substr(l.indexOf(u)+u.length);
- var n=document.createElement('DIV');
- [5 more lines...]
Plain Code
$x('//TD[@class="bodyuser" or @class="bodyuser_u" or @class="bodyuser_r"]/DIV/A[contains(@href,"'+u+'")]').forEach(function(a) {
var l=a.getAttribute('href');
a.parentNode.parentNode.parentNode.className += " wlr_" + l.substr(l.indexOf(u)+u.length);
var n=document.createElement('DIV');
n.innerHTML='<A href="'+l+'"></A>';
a.parentNode.parentNode.insertBefore(n, a.parentNode.parentNode.firstChild);
});
$x('//TD[@class="bodyuser_u" or @class="bodyuser_r"]').forEach(function(td) {
td.className = 'bodyuser '+td.className;
});
Untitled JavaScript (11-Jul @ 18:41)
Syntax Highlighted Code
- var a = 'test';
- var b = a + ' Amit';
Plain Code
var a = 'test';
var b = a + ' Amit';
Block rotator (10-Jul @ 16:28)
Syntax Highlighted Code
- $.fn.rotate = function (delay) {
- var rotators = this,
- n = this.length,
- current = 0,
- [10 more lines...]
Plain Code
$.fn.rotate = function (delay) {
var rotators = this,
n = this.length,
current = 0,
timer = null;
rotators.hide().eq(current).show();
timer = setInterval(function () {
current++;
if (current == n) current = 0;
rotators.hide().eq(current).show();
}, delay);
return rotators;
};
Untitled JavaScript (10-Jul @ 05:42)
Syntax Highlighted Code
- var x = new Date()
Plain Code
var x = new Date()
Untitled JavaScript (9-Jul @ 12:08)
Syntax Highlighted Code
- // ==UserScript==
- // @name Whirlpool - Edit In Place
- // @namespace forums.whirlpool.net.au
- // @version 1.9
- [510 more lines...]
Plain Code
// ==UserScript==
// @name Whirlpool - Edit In Place
// @namespace forums.whirlpool.net.au
// @version 1.9
// @description Edit your posts in threads without needing to go to the edit page
// @include http://forums.whirlpool.net.au/forum-replies.cfm*
// @include http://whirlpool.net.au/forum-replies.cfm*
// ==/UserScript==
//0.1 Changes - Updated to fix issue with inline images and the WLR.
//0.2 Changes - Updated to fix issue with quotes.
//0.3 Changes - Updated to fix issue with smileys.
//0.4 Changes - Updated to fix issue with multiple edits. Added whilcode box. Added Ctrl+Enter shortcut. Added quick-quote to edit in place box. Added smily on/off toggle.
//0.5 Changes - Updated to fix issue with quotes.
//0.6 changes - Fixed an issue with links. Fixed draggable whircode box. Made textarea resizable
//0.7 changes - Fixed options. Fixed resize height only. Fixed quoting users with unusual characters (NFI how). Fixed edit-in-place quick quote when no wlr.
//0.8 changes - Added option to retrieve edit after error.
//0.9 changes - Changed option to retrieve edit after error so that you can copy it to the clipbard with one click.
//1.0 changes - Summin broke. Added DedDerek's fix.
//1.1 changes - Updated for site changes.
//1.2 changes - Fixed problem with server timeout message. Removed smileys from preview.
//1.3 changes - updated for site changes - also uses the whircode2 javascript on the page for preview.
//1.4 changes - fixed the edit in place quick quote.
//1.5 changes - added integration with ajax quick quote script
//1.6 changes - fixed ctrl+enter glitch
//1.7 changes - fixed whirlcode buttons - spoiler tag and some other stuff that I can't remember now
//1.8 changes - fixed whirlcode buttons glitch/added link button
//1.9 changes - fixed http://forums.whirlpool.net.au/forum-replies.cfm?t=1007336&p=8#r146 and tweak the quote \n \r etc.
$ = unsafeWindow.jQuery;
function kitAndKaboodle(){
var docloc = document.location.host;
var ajaxloaderimgsrc = "data:image/gif;base64,R0lGODlhIAAgAPMAAP///wAAAMbGxoSEhLa2tpqamjY2NlZWVtjY2OTk5Ly8vB4eHgQEBAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHRLYKhKP1oZmADdEAAAh+QQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDUolIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY/CZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB+A4k8gTwJhFuiW4dokXiloUepBAp5qaKpp6+Ho7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx61WiSR92E4lbFoq+B6QDtuetcaBPnW6+O7wDHpIiK9SaVK5GgV543tzjgGcghAgAh+QQJCgAAACwAAAAAIAAgAAAE7hDISSkxpOrN5zFHNWRdhSiVoVLHspRUMoyUakyEe8PTPCATW9A14E0UvuAKMNAZKYUZCiBMuBakSQKG8G2FzUWox2AUtAQFcBKlVQoLgQReZhQlCIJesQXI5B0CBnUMOxMCenoCfTCEWBsJColTMANldx15BGs8B5wlCZ9Po6OJkwmRpnqkqnuSrayqfKmqpLajoiW5HJq7FL1Gr2mMMcKUMIiJgIemy7xZtJsTmsM4xHiKv5KMCXqfyUCJEonXPN2rAOIAmsfB3uPoAK++G+w48edZPK+M6hLJpQg484enXIdQFSS1u6UhksENEQAAIfkECQoAAAAsAAAAACAAIAAABOcQyEmpGKLqzWcZRVUQnZYg1aBSh2GUVEIQ2aQOE+G+cD4ntpWkZQj1JIiZIogDFFyHI0UxQwFugMSOFIPJftfVAEoZLBbcLEFhlQiqGp1Vd140AUklUN3eCA51C1EWMzMCezCBBmkxVIVHBWd3HHl9JQOIJSdSnJ0TDKChCwUJjoWMPaGqDKannasMo6WnM562R5YluZRwur0wpgqZE7NKUm+FNRPIhjBJxKZteWuIBMN4zRMIVIhffcgojwCF117i4nlLnY5ztRLsnOk+aV+oJY7V7m76PdkS4trKcdg0Zc0tTcKkRAAAIfkECQoAAAAsAAAAACAAIAAABO4QyEkpKqjqzScpRaVkXZWQEximw1BSCUEIlDohrft6cpKCk5xid5MNJTaAIkekKGQkWyKHkvhKsR7ARmitkAYDYRIbUQRQjWBwJRzChi9CRlBcY1UN4g0/VNB0AlcvcAYHRyZPdEQFYV8ccwR5HWxEJ02YmRMLnJ1xCYp0Y5idpQuhopmmC2KgojKasUQDk5BNAwwMOh2RtRq5uQuPZKGIJQIGwAwGf6I0JXMpC8C7kXWDBINFMxS4DKMAWVWAGYsAdNqW5uaRxkSKJOZKaU3tPOBZ4DuK2LATgJhkPJMgTwKCdFjyPHEnKxFCDhEAACH5BAkKAAAALAAAAAAgACAAAATzEMhJaVKp6s2nIkolIJ2WkBShpkVRWqqQrhLSEu9MZJKK9y1ZrqYK9WiClmvoUaF8gIQSNeF1Er4MNFn4SRSDARWroAIETg1iVwuHjYB1kYc1mwruwXKC9gmsJXliGxc+XiUCby9ydh1sOSdMkpMTBpaXBzsfhoc5l58Gm5yToAaZhaOUqjkDgCWNHAULCwOLaTmzswadEqggQwgHuQsHIoZCHQMMQgQGubVEcxOPFAcMDAYUA85eWARmfSRQCdcMe0zeP1AAygwLlJtPNAAL19DARdPzBOWSm1brJBi45soRAWQAAkrQIykShQ9wVhHCwCQCACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiRMDjI0Fd30/iI2UA5GSS5UDj2l6NoqgOgN4gksEBgYFf0FDqKgHnyZ9OX8HrgYHdHpcHQULXAS2qKpENRg7eAMLC7kTBaixUYFkKAzWAAnLC7FLVxLWDBLKCwaKTULgEwbLA4hJtOkSBNqITT3xEgfLpBtzE/jiuL04RGEBgwWhShRgQExHBAAh+QQJCgAAACwAAAAAIAAgAAAE7xDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfZiCqGk5dTESJeaOAlClzsJsqwiJwiqnFrb2nS9kmIcgEsjQydLiIlHehhpejaIjzh9eomSjZR+ipslWIRLAgMDOR2DOqKogTB9pCUJBagDBXR6XB0EBkIIsaRsGGMMAxoDBgYHTKJiUYEGDAzHC9EACcUGkIgFzgwZ0QsSBcXHiQvOwgDdEwfFs0sDzt4S6BK4xYjkDOzn0unFeBzOBijIm1Dgmg5YFQwsCMjp1oJ8LyIAACH5BAkKAAAALAAAAAAgACAAAATwEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GGl6NoiPOH16iZKNlH6KmyWFOggHhEEvAwwMA0N9GBsEC6amhnVcEwavDAazGwIDaH1ipaYLBUTCGgQDA8NdHz0FpqgTBwsLqAbWAAnIA4FWKdMLGdYGEgraigbT0OITBcg5QwPT4xLrROZL6AuQAPUS7bxLpoWidY0JtxLHKhwwMJBTHgPKdEQAACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOUjY+Yip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd+MFCN6HAAIKgNggY0KtEBAAh+QQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1+vsYM