Mes_Gateway - Version 1.2.3

Version Notes

Fixed loading of tokenization library.
Added tokenization to admin order creation.

Download this release

Release Info

Developer mesolutions
Extension Mes_Gateway
Version 1.2.3
Comparing to
See all releases


Code changes from version 1.2.2 to 1.2.3

app/code/community/Mes/Gateway/etc/config.xml CHANGED
@@ -37,6 +37,16 @@
37
  </mes_gateway>
38
  </modules>
39
 
 
 
 
 
 
 
 
 
 
 
40
  <frontend>
41
  <routers>
42
  <gateway>
@@ -47,6 +57,13 @@
47
  </args>
48
  </gateway>
49
  </routers>
 
 
 
 
 
 
 
50
  </frontend>
51
 
52
  <global>
37
  </mes_gateway>
38
  </modules>
39
 
40
+ <adminhtml>
41
+ <layout>
42
+ <updates>
43
+ <gateway>
44
+ <file>mes.xml</file>
45
+ </gateway>
46
+ </updates>
47
+ </layout>
48
+ </adminhtml>
49
+
50
  <frontend>
51
  <routers>
52
  <gateway>
57
  </args>
58
  </gateway>
59
  </routers>
60
+ <layout>
61
+ <updates>
62
+ <gateway>
63
+ <file>mes.xml</file>
64
+ </gateway>
65
+ </updates>
66
+ </layout>
67
  </frontend>
68
 
69
  <global>
app/design/adminhtml/default/default/layout/mes.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Merchant e-Solutions Magento Plugin.
5
+ * v1.0.0 - February 25th, 2014
6
+ *
7
+ * Copyright (c) 2010 Merchant e-Solutions
8
+ * All rights reserved.
9
+ *
10
+ * Redistribution and use in source and binary forms, with or without
11
+ * modification, are permitted provided that the following conditions are met:
12
+ * * Redistributions of source code must retain the above copyright
13
+ * notice, this list of conditions and the following disclaimer.
14
+ * * Redistributions in binary form must reproduce the above copyright
15
+ * notice, this list of conditions and the following disclaimer in the
16
+ * documentation and/or other materials provided with the distribution.
17
+ * * Neither the name of Merchant e-Solutions nor the
18
+ * names of its contributors may be used to endorse or promote products
19
+ * derived from this software without specific prior written permission.
20
+ *
21
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
25
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ */
32
+ -->
33
+ <layout version="0.1.0">
34
+ <adminhtml_sales_order_create_index>
35
+ <reference name="head">
36
+ <action method="addJs"><file>mes/mes-1.0-min.js</file></action>
37
+ <action method="addJs"><file>mes/admin-checkout.js</file></action>
38
+ </reference>
39
+ </adminhtml_sales_order_create_index>
40
+ </layout>
app/design/adminhtml/default/default/template/mes/cc.phtml CHANGED
@@ -23,27 +23,40 @@
23
  * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
 
 
 
 
 
 
 
 
26
  ?>
27
  <?php $_code=$this->getMethodCode() ?>
 
28
  <ul id="payment_form_<?php echo $_code ?>" style="display:none">
29
  <li>
30
- <div class="input-box">
31
- <label for="<?php echo $_code ?>_cc_type"><?php echo Mage::helper('payment')->__('Credit Card Type') ?> <span class="required">*</span></label><br/>
32
- <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
33
- <?php $_ccType = $this->getInfoData('cc_type') ?>
34
- <option value=""></option>
35
- <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
36
- <option value="<?php echo $_typeCode ?>" <?php if($_typeCode==$_ccType): ?>selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
37
- <?php endforeach ?>
38
- </select>
39
- </div>
40
  </li>
 
 
 
 
 
 
 
 
 
 
 
 
41
  <li>
42
  <div class="input-box">
43
  <label for="<?php echo $_code ?>_cc_number"><?php echo Mage::helper('payment')->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
44
- <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('payment')->__('Credit Card Number') ?>" class="input-text validate-cc-number" value="<?php echo $this->getInfoData('cc_number')?>"/>
45
  </div>
46
  </li>
 
47
  <li>
48
  <div class="input-box">
49
  <label for="<?php echo $_code ?>_expiration"><?php echo Mage::helper('payment')->__('Expiration Date') ?> <span class="required">*</span></label><br/>
@@ -61,7 +74,33 @@
61
  </select>
62
  </div>
63
  </li>
64
- <?php if($this->hasVerification()): ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  <li>
66
  <div class="input-box">
67
  <label for="<?php echo $_code ?>_cc_cid"><?php echo Mage::helper('payment')->__('Card Verification Number') ?> <span class="required">*</span></label><br/>
@@ -69,49 +108,11 @@
69
  </div>
70
  </li>
71
  <?php endif; ?>
72
-
73
- <?php if ($this->hasSsCardType()): ?>
74
- <li id="<?php echo $_code ?>_cc_type_ss_div">
75
- <ul class="inner-form">
76
- <li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
77
- <li>
78
- <label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
79
- <span class="input-box">
80
- <input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
81
- </span>
82
- </li>
83
-
84
- <li>
85
- <label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
86
- <div class="input-box">
87
- <select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
88
- <?php foreach ($this->getCcMonths() as $k=>$v): ?>
89
- <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
90
- <?php endforeach ?>
91
- </select>
92
- <select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
93
- <?php foreach ($this->getSsStartYears() as $k=>$v): ?>
94
- <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
95
- <?php endforeach ?>
96
- </select>
97
- </div>
98
- </li>
99
- <li class="adv-container">&nbsp;</li>
100
- </ul>
101
- <script type="text/javascript">
102
- //<![CDATA[
103
- var SSChecked<?php echo $_code ?> = function() {
104
- var elm = $('<?php echo $_code ?>_cc_type');
105
- if (['SS','SM','SO'].indexOf(elm.value) != -1) {
106
- $('<?php echo $_code ?>_cc_type_ss_div').show();
107
- } else {
108
- $('<?php echo $_code ?>_cc_type_ss_div').hide();
109
- }
110
- };
111
- Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
112
- SSChecked<?php echo $_code ?>();
113
- //]]>
114
- </script>
115
  </li>
116
- <?php endif; ?>
117
- </ul>
23
  * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
  */
26
+
27
+ $_config = Mage::getStoreConfig('payment/gateway');
28
+ $ccToken = $this->getInfoData('cc_token');
29
+ $ccTruncated = $this->getInfoData('cc_truncated');
30
+
31
+ $useTokenization = $_config['use_tokenization'];
32
+ $disableCC = isset($ccToken) && !empty($ccToken);
33
+
34
  ?>
35
  <?php $_code=$this->getMethodCode() ?>
36
+
37
  <ul id="payment_form_<?php echo $_code ?>" style="display:none">
38
  <li>
39
+ <div class="validation-failed" id="mes_err"></div>
 
 
 
 
 
 
 
 
 
40
  </li>
41
+
42
+ <?php
43
+ if($useTokenization) {
44
+ ?>
45
+ <li>
46
+ <i>Card number must be tokenized before authorization.</i>
47
+ </li>
48
+ <?php
49
+ }
50
+
51
+ if(!$disableCC || !$useTokenization) {
52
+ ?>
53
  <li>
54
  <div class="input-box">
55
  <label for="<?php echo $_code ?>_cc_number"><?php echo Mage::helper('payment')->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
56
+ <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo Mage::helper('payment')->__('Credit Card Number') ?>" class="input-text validate-cc-number" value="<?php echo $this->getInfoData('cc_number') ?>" disabled />
57
  </div>
58
  </li>
59
+
60
  <li>
61
  <div class="input-box">
62
  <label for="<?php echo $_code ?>_expiration"><?php echo Mage::helper('payment')->__('Expiration Date') ?> <span class="required">*</span></label><br/>
74
  </select>
75
  </div>
76
  </li>
77
+
78
+ <?php
79
+ }
80
+ else { ?>
81
+
82
+ <li>
83
+ <?php
84
+ echo('Card Token: '.$ccToken.'<br />');
85
+ echo('Card Truncated: '.$ccTruncated.'<br />');
86
+ //if($disableCC) echo('cc disabled');
87
+ //else echo('cc enabled');
88
+ ?>
89
+ </li>
90
+
91
+ <?php
92
+ }
93
+
94
+ if(!$disableCC && $useTokenization) {
95
+ ?>
96
+ <li>
97
+ <button title="Tokenize Card" id="tokenize_button" type="button" class="scalable " onclick="mesTokenRequest()" style=""><span><span><span>Tokenize Card <span class="required">*</span></span></span></span></button>
98
+ </li>
99
+ <?php
100
+ }
101
+ ?>
102
+
103
+ <?php if($this->hasVerification()): ?>
104
  <li>
105
  <div class="input-box">
106
  <label for="<?php echo $_code ?>_cc_cid"><?php echo Mage::helper('payment')->__('Card Verification Number') ?> <span class="required">*</span></label><br/>
108
  </div>
109
  </li>
110
  <?php endif; ?>
111
+
112
+ <?php if($_config['use_tokenization']) { ?>
113
+ <li>
114
+ <input type="hidden" id="<?php echo $_code ?>_cc_token" name="payment[cc_token]" value="<?php echo($ccToken); ?>" />
115
+ <input type="hidden" id="<?php echo $_code ?>_cc_truncated" name="payment[cc_truncated]" value="<?php echo($ccTruncated); ?>" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  </li>
117
+ <?php } ?>
118
+ </ul>
app/design/frontend/base/default/layout/mes.xml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Merchant e-Solutions Magento Plugin.
5
+ * v1.0.0 - February 25th, 2014
6
+ *
7
+ * Copyright (c) 2010 Merchant e-Solutions
8
+ * All rights reserved.
9
+ *
10
+ * Redistribution and use in source and binary forms, with or without
11
+ * modification, are permitted provided that the following conditions are met:
12
+ * * Redistributions of source code must retain the above copyright
13
+ * notice, this list of conditions and the following disclaimer.
14
+ * * Redistributions in binary form must reproduce the above copyright
15
+ * notice, this list of conditions and the following disclaimer in the
16
+ * documentation and/or other materials provided with the distribution.
17
+ * * Neither the name of Merchant e-Solutions nor the
18
+ * names of its contributors may be used to endorse or promote products
19
+ * derived from this software without specific prior written permission.
20
+ *
21
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
25
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ */
32
+ -->
33
+ <layout version="0.1.0">
34
+ <checkout_cart_index>
35
+ <reference name="head">
36
+ <action method="addJs"><file>mes/mes-1.0-min.js</file></action>
37
+ <action method="addJs"><file>mes/BCLD5.js</file></action>
38
+ </reference>
39
+ </checkout_cart_index>
40
+ <checkout_onepage_index>
41
+ <reference name="head">
42
+ <action method="addJs"><file>mes/mes-1.0-min.js</file></action>
43
+ <action method="addJs"><file>mes/BCLD5.js</file></action>
44
+ </reference>
45
+ </checkout_onepage_index>
46
+ </layout>
app/design/frontend/base/default/template/mes/cc.phtml CHANGED
@@ -37,7 +37,7 @@ $_config = Mage::getStoreConfig('payment/gateway');
37
  <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
38
  <li>
39
  <div id="mes_err" class="validation-failed" style="display: none; padding: 10px;">
40
- test div
41
  </div>
42
  </li>
43
  <li>
@@ -156,8 +156,6 @@ $_config = Mage::getStoreConfig('payment/gateway');
156
 
157
  </ul>
158
 
159
- <script type="text/javascript" src="https://ds.bluecava.com/V50/LD/BCLD5.js"></script>
160
- <script type="text/javascript" src="<?php echo(Mage::getBaseUrl('js')); ?>mes/mes-1.0-min.js"></script>
161
  <script type="text/javascript">
162
  //<![CDATA[
163
 
37
  <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
38
  <li>
39
  <div id="mes_err" class="validation-failed" style="display: none; padding: 10px;">
40
+ err div
41
  </div>
42
  </li>
43
  <li>
156
 
157
  </ul>
158
 
 
 
159
  <script type="text/javascript">
160
  //<![CDATA[
161
 
js/mes/BCLD5.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //Version: 5.0.0.17
2
+ /*
3
+ * Copyright (c) 2010-2012 by BlueCava, Inc. ALL RIGHTS RESERVED.
4
+ * This document contains CONFIDENTIAL, PROPRIETARY, PATENTABLE
5
+ * and/or TRADE SECRET information belonging to BlueCava, Inc. and may
6
+ * not be reproduced or adapted, in whole or in part, without prior
7
+ * written permission from BlueCava, Inc.
8
+ *
9
+ * Additional copyright notices can be found here: http://lookup.bluecava.com/copyright/copyrights.htm
10
+ */
11
+ var hm="//ds.bluecava.com";var lI="BCLDIFT5.aspx";var iQ="//lookup.bluecava.com/flash/guids3.swf";var eZ={eh:function(){this.gd=this.gk(this.hE)||"An unknown browser";this.version=this.gq(navigator.userAgent)||this.gq(navigator.appVersion)||"an unknown version";this.lU=this.gk(this.iF)||"an unknown OS"},gk:function(d){for(var a=0;a<d.length;a++){var b=d[a].string;var c=d[a].ic;this.hp=d[a].eR||d[a].dk;if(b){if(b.indexOf(d[a].dz)!=-1){return d[a].dk}}else{if(c){return d[a].dk}}}},gq:function(b){var a=b.indexOf(this.hp);if(a==-1){return}return parseFloat(b.substring(a+this.hp.length+1))},hE:[{string:navigator.userAgent,dz:"Chrome",dk:"Chrome"},{string:navigator.userAgent,dz:"OmniWeb",eR:"OmniWeb/",dk:"OmniWeb"},{string:navigator.vendor,dz:"Apple",dk:"Safari",eR:"Version"},{ic:window.opera,dk:"Opera"},{string:navigator.vendor,dz:"iCab",dk:"iCab"},{string:navigator.vendor,dz:"KDE",dk:"Konqueror"},{string:navigator.userAgent,dz:"Firefox",dk:"Firefox"},{string:navigator.vendor,dz:"Camino",dk:"Camino"},{string:navigator.userAgent,dz:"Netscape",dk:"Netscape"},{string:navigator.userAgent,dz:"MSIE",dk:"Explorer",eR:"MSIE"},{string:navigator.userAgent,dz:"Gecko",dk:"Mozilla",eR:"rv"},{string:navigator.userAgent,dz:"Mozilla",dk:"Netscape",eR:"Mozilla"}],iF:[{string:navigator.platform,dz:"Win",dk:"Windows"},{string:navigator.platform,dz:"Mac",dk:"Mac"},{string:navigator.userAgent,dz:"iPhone",dk:"iPhone/iPod"},{string:navigator.platform,dz:"Linux",dk:"Linux"}]};eZ.eh();var mZ={mX:{None:0,All:1,nm:2,ny:4,na:8,nr:16,nz:32,nd:64,nl:128,nn:256,nf:512,nk:1024,np:2048,nq:4096,nb:8192,Display:16384,nj:32768,nc:65536,ng:131072,ni:262144,nh:524288},mY:0,bs:function(a){mY=a},bm:function(a){return mZ.mX.All==(mY&mZ.mX.All)||a==(mY&a)}};var hz="FPv5.fr";var BCLDSnapshotVersion="ssv1";var mS="-----BEGIN PUBLIC KEY-----\nMGwwDQYJKoZIhvcNAQEBBQADWwAwWAJRAMGaVeGS1emkKR+gzpoUcyWR8p9raKdO\n71WcYA2wlEceicQHHmADKRMGcOTIvoAd91r7dvOiBTY0IKa9qLq/GgwIyFC8Exmu\nI5EakLiBHbHnAgMBAAE=\n-----END PUBLIC KEY-----";var iP="/v50/LD";mZ.bs(mZ.mX.All);var iH=mZ.bm(mZ.mX.ng);var kp=mZ.bm(mZ.mX.ni);var ko=mZ.bm(mZ.mX.nh);function at(a){this.hZ=a;this.eg=[];this.dX=[];this.ly=function(b,c){this.eg.push(new lw(b,c))};this.ak=function(c,b,d){var e={};e[c]=b;this.eg.push(new lw(e,d))}}function lw(a,b){this.data=a;this.id=b}var fW="BCLDGuidDiv";var hi="BCLDGuidIFrameId";var ib="BCLD.html";var mg="";var mo="";var kB="";var kt=0;var ba=false;var gf="";var gh="";var bcldXFF="";var bcldXFFHash="";var kK="";var eA="";var BCLDserverNonceHash="";var gi=false;var it={};var ec="";var hn="";var fg=0;var ij=265;var gY=50;var ga=24;var gg=null;var hY=61757;var mK=false;var MIN_DATE="0001-01-01T00:00:00.000";var aq={gH:function(){return"<iframe frameborder=0 id='"+hi+"' width=0 height=0 src='"+hm+iP+"/"+lI+"?PMC="+this.ju().toString()+"&LSWA="+kp.toString()+"&HCWA="+ko.toString()+"&location="+hn+" '/>"},dy:[],eh:function(){if(this.dy.length==0){if(mZ.bm(mZ.mX.nm)){this.du(this.iu())}if(mZ.bm(mZ.mX.ny)){this.du(this.jf())}if(mZ.bm(mZ.mX.na)){this.du(this.jk())}if(mZ.bm(mZ.mX.nr)){this.du(this.jW())}if(mZ.bm(mZ.mX.nz)||mZ.bm(mZ.mX.nc)){this.du(this.jo())}if(mZ.bm(mZ.mX.nd)){this.du(this.iM())}if(mZ.bm(mZ.mX.nl)){this.du(this.iJ())}if(mZ.bm(mZ.mX.nm)){this.du(this.iV())}if(mZ.bm(mZ.mX.nf)){this.du(this.iL())}if(mZ.bm(mZ.mX.nk)){this.du(this.iG())}if(mZ.bm(mZ.mX.np)){this.du(this.iT())}if(mZ.bm(mZ.mX.nq)){this.du(this.jU())}if(mZ.bm(mZ.mX.nb)){this.du(this.jq())}if(mZ.bm(mZ.mX.Display)){this.du(this.jr())}if(mZ.bm(mZ.mX.ng)||mZ.bm(mZ.mX.nh)||mZ.bm(mZ.mX.ni)){this.du(this.md())}if(mZ.bm(mZ.mX.nj)){this.du(this.jb())}}},du:function(a){if(a){if(!aq.lg(a.hZ)){this.dy.push(a)}}},lg:function(a){for(var b=0;b<this.dy.length;b++){if(a==this.dy[b].hZ){return true}}return false},cV:function(){var p='<?xml version="1.0" encoding="utf-8"?>';p+='<fp xmlns="http://www.bluecava.com/2010/12/fingerprint" xml:space="preserve">';p+="<cs>";var l=this.dy.length;var c="",o="",f="",k="",b="",n="";for(var g=0;g<l;++g){if(this.dy[g] instanceof Object){var m=this.dy[g];var j=m.hZ;for(var e in m.eg){var d=m.eg[e];if(d instanceof lw){for(var h in d.data){if(d.data.hasOwnProperty(h)){var a=d.data[h];if(m.dX.length){if(m.dX[e].BCLDSignature.value==h&&m.dX[e].BCLDSignature.digestMeta.a!="None"){c+=dS.dY("d",m.dX[e].BCLDSignature.signature,m.dX[e].BCLDSignature.digestMeta)}}if(typeof a!="undefined"&&a!=null){a=a.toString();if(a.length!=0){a=dS.jm(a);if(j=="IP"&&h=="Address"&&d.id=="UserHost"){c+=dS.dY("v",eU.fJ(a),{t:"IPAddress"})}else{c+=dS.dY("v",eU.fJ(a))}}}if(c.length>0){o+=dS.dY("p",c,{id:h})}c=""}}if(o.length>0){if(typeof d.id!=="undefined"){f+=dS.dY("i",o,{id:d.id})}else{f+=dS.dY("i",o)}o=""}}}}if(f.length>0){k+=dS.dY("c",f,{id:j})}f=o=c=""}p+=k;p+="</cs>";p+="</fp>";return p},ja:function(b){var a=(new Date()).getTime()-gS;return pidCryptUtil.mt("Browser:"+navigator.platform+"::"+eZ.gd+":"+eZ.version+":"+a+":"+b+":")},ge:{mf:-101,hA:-102,mc:-103,gR:-104,localStorageFailedWrite:-105,unableToCallFlashMethods:-106,invalidJsonMessage:-107},kd:false};function gV(){if(document.addEventListener){document.removeEventListener("message",arguments.callee,false)}else{if(document.attachEvent){document.detachEvent("onmessage",arguments.callee)}}}function GetEventOrigin(a){if(typeof a.origin!=="undefined"){return a.origin}if(typeof a.uri!=="undefined"){return a.uri}return null}function aK(a){if((a.type==="message"||a.type=="onmessage")&&StripProtocol(GetEventOrigin(a))===StripProtocol(hm)){try{var c=en.parse(a.data);if(c.type){if(c.type=="BCLDFrameComplete"){gV();gf=decodeURIComponent(c.clIP);gh=decodeURIComponent(c.clIPHash);bcldXFF=decodeURIComponent(c.clXFF);bcldXFFHash=decodeURIComponent(c.clXFFHash);kK=decodeURIComponent(c.dnt);eA=decodeURIComponent(c.nonceStr);BCLDserverNonceHash=decodeURIComponent(c.nonceHash);mo=decodeURIComponent(c.guidLS);kt=decodeURIComponent(c.isec);kB=decodeURIComponent(c.guidB);mW.mU=decodeURIComponent(c.wm);mW.mV=decodeURIComponent(c.em);BCLD.fQ(null)}}}catch(b){BCLD.lJ({u:window.location.href,c:aq.ge.invalidJsonMessage,m:a.data});return}}return}function StripProtocol(c){var b=c.indexOf("://");if(b>=0){var a=c.indexOf("/",b+3);if(a>=0){return c.substring(b+1,a)}else{return c.substring(b+1)}}return c}function me(){if(window.addEventListener){window.addEventListener("message",aK,false)}else{if(window.attachEvent){window.attachEvent("onmessage",aK)}}document.getElementById(fW).innerHTML=aq.gH();return}aq.fM=function(){if(fg>ij){aq.kd=true;BCLD.fQ({u:window.location.href,c:aq.ge.hA,m:"Unable to embed flash component."});return}try{var a=document.getElementById(hi).contentWindow.location.href;if(a.indexOf(ib)!=-1){gf=decodeURIComponent(aq.eN(a,"addr"));gh=decodeURIComponent(aq.eN(a,"addr2"));bcldXFF=decodeURIComponent(aq.eN(a,"addr3"));bcldXFFHash=decodeURIComponent(aq.eN(a,"addr4"));kK=decodeURIComponent(aq.eN(a,"dnt"));eA=decodeURIComponent(aq.eN(a,"nstring"));BCLDserverNonceHash=decodeURIComponent(aq.eN(a,"nHash"));mo=decodeURIComponent(aq.eN(a,"lsguid"));kt=decodeURIComponent(aq.eN(a,"isec"));kB=decodeURIComponent(aq.eN(a,"bguid"));mW.mU=decodeURIComponent(aq.eN(a,"wm"));mW.mV=decodeURIComponent(aq.eN(a,"em"));fg=0}else{++fg;setTimeout(aq.fM,gY);return}}catch(b){++fg;setTimeout(aq.fM,gY);return}BCLD.fQ(null);return};aq.fC=function(){document.getElementById(fW).innerHTML=aq.gH();aq.fM();return};function BCLDflashReady(a){if(null!=gg){clearTimeout(gg)}try{var d="BCLDMyAppName";var c=aq.dI(d);if(!c.getGuid||!c.getFonts||!c.getGuidReadOnly){c=document.getElementById(d)}if(iH){mg=c.getGuid()}else{mg=""}ec=c.getFonts();ba=true;if((mg==""||typeof mg=="undefined")&&(ec==""||typeof ec=="undefined")){throw -1}}catch(b){BCLD.mT({u:window.location.href,c:aq.ge.unableToCallFlashMethods,m:"Data could not be retrieved from SWF file."})}if(mK){BCLD.fQ(null)}else{if(aq.ju()){me()}else{aq.fC()}}return}aq.jn=function(){var b=navigator.userAgent.toLowerCase();var a="";if(b.indexOf("win")>=0){a="win"}else{if(b.indexOf("mac")>=0){a="mac"}else{a=""}}if(ec.length==0){ec=gP.gj(a)}return};aq.iu=function(){var b=new at("PDF");if(typeof navigator.plugins!=="undefined"){for(var a=0;a<navigator.plugins.length;a++){if(navigator.plugins[a].name.toLowerCase().indexOf("adobe acrobat")>=0||(navigator.plugins[a].name.toLowerCase().indexOf("adobe reader")>=0)){var c=navigator.plugins[a].description.substring(navigator.plugins[a].description);b.ly({SupportsAcrobat:c})}}}return b};aq.jb=function(){var a=new at("IP");if(gf!==null&&gf!==""){a.ly({Address:gf},"UserHost");a.dX.push({BCLDSignature:{value:"Address",signature:gh,digestMeta:{a:"HMAC-SHA1",e:"Base64"}}})}if(bcldXFF!==null&&bcldXFF!==""){a.ly({Address:bcldXFF},"XFF");a.dX.push({BCLDSignature:{value:"Address",signature:bcldXFFHash,digestMeta:{a:"HMAC-SHA1",e:"Base64"}}})}return a};aq.jf=function(){var d="";try{var a=new XMLHttpRequest();d="XMLHttpRequest object"}catch(b){try{var a=new ActiveXObject("Msxml2.XMLHTTP");d="ActiveX object (Msxml2)"}catch(b){try{var a=new ActiveXObject("Microsoft.XMLHTTP");d="ActiveX object (Microsoft)"}catch(b){}}}var c=new at("Ajax");c.ak("Ajax",d);return c};aq.jk=function(){var a="unknown";if(typeof(navigator.cpuClass)!="undefined"&&navigator.cpuClass!=""){a=navigator.cpuClass;if(navigator.userAgent.indexOf("WOW")>0){a="wow64-"+a}}var b=new at("CPU");b.ly({Type:a});return b};aq.jW=function(){var a=new at("TimeZone");a.ly({Offset:(new Date()).getTimezoneOffset()});return a};aq.jo=function(){if(ec.length==0){aq.jn()}var a=new at("Fonts");a.ak("Fonts",ec);return a};aq.iM=function(){var a="";try{if(window.google||google.fe){try{a=google.fe.iI.jd()}catch(b){}}}catch(b){}var c=new at("Gears");c.ly({Name:a});return c};aq.iJ=function(){var a=new at("Languages");a.ly({Language:navigator.language,"System Language":navigator.systemLanguage,"User Language":navigator.userLanguage,"Browser Language":navigator.browserLanguage});return a};aq.iV=function(){var h=new at("Plugins");var j=[];if(eZ.gd=="Explorer"){var c=document.getElementById(fW);c.addBehavior("#default#clientCaps");var g=aq.cP.length;for(var a=0;a<g;++a){var d=aq.cP[a];if(c.isComponentInstalled(d,"ComponentId")){h.ly({CLSID:d,version:c.getComponentVersion(d,"ComponentId")})}}}else{if(navigator.plugins){for(var e=0;e<navigator.plugins.length;e++){var f=navigator.plugins[e];if(f.version){h.ly({Name:f.name,Version:f.version,FileName:f.filename})}else{if(f.description){var b="";if(f.description.length>dF.iq){h.dX.push({BCLDSignature:{value:"Description",signature:dF.gW(eU.fJ(f.description),hY),digestMeta:{a:"Murmur2",e:"Number"}}})}else{h.dX.push({BCLDSignature:{value:"Description",signature:null,digestMeta:{a:"None",e:"Number"}}});b=f.description}h.ly({Name:f.name,Description:b,FileName:f.filename})}}}}}return this.dA(j,h)};aq.iL=function(){var a=swfobject.ma();var b="";if(a.lE!=0||a.lA!=0||a.lN!=0){b=a.lE+"."+a.lA+"."+a.lN}var d=new at("General");var c=(typeof navigator.appMinorVersion!=="undefined")?navigator.appMinorVersion:"";d.ly({UserAgent:navigator.userAgent,AppName:navigator.appName,AppCodeName:navigator.appCodeName,AppVersion:navigator.appVersion,AppMinorVersion:c,Vendor:navigator.vendor,OSCPU:navigator.oscpu,Platform:navigator.platform,dnt:kK,SecurityPolicy:navigator.securityPolicy,Online:navigator.lC,ReferringPath:ey.ej(),FlashVersion:b,SwfFileLoaded:ba?1:0});return d};aq.iG=function(){var a=new at("JSEngine");a.ly({Name:"Math.LOG2E",Value:Math.LOG2E});a.ly({Name:"Math.LOG10E",Value:Math.LOG10E});return a};aq.iT=function(){var h=new at("PDFReaderComponents");if(typeof(ActiveXObject)=="function"){for(var f=8;f>0;f--){try{var d="PDF.PdfCtrl."+f.toFixed(0);var b=new ActiveXObject(d);h.ly({Name:d})}catch(g){}}try{var b=new ActiveXObject("AcroPDF.PDF");var a=b.GetVersions().split(",");for(var f=0;f<a.length;f++){var c=a[f].split("=");if(c.length<2){continue}h.ly({Name:c[0],Version:c[1]})}}catch(g){}}return h};aq.jU=function(){var g=new at("SilverlightComponents");if(eZ.gd=="Explorer"){try{var f=new ActiveXObject("AgControl.AgControl");for(var c in aq.gM){var b=aq.gM[c];if(f.IsVersionSupported(b)){g.ly({Version:b})}}}catch(d){}}else{try{var a=0;for(var c in aq.gM){var b=aq.gM[c];if(aq.ao(b)){g.ly({Version:b})}}}catch(d){}}return g};aq.jq=function(){var c=new at("DotNet");var b=/ \.Net.*?(\d+\.\d+\.\d+|\d.*?)[;\s]/gi;var a="";while(a=b.exec(navigator.userAgent)){c.ly({Version:a[1]})}return c};aq.jr=function(){var b=0;var a=0;if(eZ.gd=="Explorer"){b=Math.round((screen.deviceXDPI/screen.logicalXDPI)*screen.width);a=Math.round((screen.deviceYDPI/screen.logicalYDPI)*screen.height)}else{b=screen.width;a=screen.height}var c=new at("Display");c.ly({Width:b,Height:a});return c};aq.md=function(){var a=new at("Guid");a.ly(aq.fv(mg),"Flash");a.ly(aq.fv(mo),kt=="0"?"LocalStorage":"SecureLocalStorage");a.ly(aq.fv(kB),"Http");return a};aq.fv=function(b){if(b==null||b.length==0){return{}}else{var a=b.split("|",2);if(a.length==1){return{Guid:a[0],LastVisit:MIN_DATE}}else{return{Guid:a[0],LastVisit:a[1]}}}};aq.lh=function(){return pidCryptUtil.hg(BCLDserverNonceHash)};aq.iW=function(){return eA};aq.jc=function(){var a=Math.floor(Math.random()*65536).toString(16);a="0000".substr(0,4-a.length)+a;return lm.kl(new Date())+"!"+a};aq.mI=function(c){var a=false;if(ey.ht(c)){if(ey.ht(c.a)&&ey.ht(c.b)&&ey.ht(c.c)&&ey.ht(c.d)&&ey.ht(c.e)&&ey.ht(c.f)&&ey.ht(c.g)&&ey.ht(c.i)&&ey.ht(c.j)){gf=c.a;gh=c.b;bcldXFF=c.c;bcldXFFHash=c.d;kK=c.e;eA=c.f;BCLDserverNonceHash=c.g;if(ko){kB=c.i}var b=c.j;kt=hl.mF();if(kp){mo=hl.GetBCLDLocalStorageGuid(kp,b)}a=true}}mK=a;return a};aq.ju=function(){return(typeof(window.postMessage)!="undefined")};aq.dI=function(a){if(navigator.appName.indexOf("Microsoft")!=-1){return window[a]}else{return document[a]}};aq.getElementById=function(a){return document.getElementById(a)};aq.eN=function(b,d){d=d.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a="[\\?&]"+d+"=([^&#]*)";var c=new RegExp(a).exec(b);if(c==null){return""}else{if(typeof(c[1])=="undefined"||c[1]=="undefined"){return""}return c[1]}};aq.ao=function(l){if(l==undefined){l=null}var o=false;var a=null;try{var g=null;var n=false;if(window.ActiveXObject){try{g=new ActiveXObject("AgControl.AgControl");if(l===null){o=true}else{if(g.IsVersionSupported(l)){o=true}}g=null}catch(k){n=true}}else{n=true}if(n){var h=navigator.plugins["Silverlight Plug-In"];if(h){if(l===null){o=true}else{var b=h.description;if(b==="1.0.30226.2"){b="2.0.30226.2"}var c=b.split(".");while(c.length>3){c.pop()}while(c.length<4){c.push(0)}var d=l.split(".");while(d.length>4){d.pop()}var m;var f;var j=0;do{m=parseInt(d[j]);f=parseInt(c[j]);j++}while(j<d.length&&m===f);if(m<=f&&!isNaN(m)){o=true}}}}}catch(k){o=false}return o};aq.dA=function(a,b){if(typeof(a)=="undefined"){return null}b.eg[0]=a;return b};aq.gM=["1.0","2.0.30226","2.0.30523","2.0.30923","2.0.31005","3.0.40624","4.0.50917","4.0.60310"];aq.cP=["{47F67D00-9E55-11D1-BAEF-00C04FC2D130}","{7790769C-0471-11D2-AF11-00C04FA35D02}","{76C19B38-F0C8-11CF-87CC-0020AFEECF20}","{76C19B34-F0C8-11CF-87CC-0020AFEECF20}","{76C19B33-F0C8-11CF-87CC-0020AFEECF20}","{4F216970-C90C-11D1-B5C7-0000F8051515}","{283807B5-2C60-11D0-A31D-00AA00B92C03}","{44BBA848-CC51-11CF-AAFA-00AA00B6015C}","{9381D8F2-0288-11D0-9501-00AA00B911A5}","{76C19B36-F0C8-11CF-87CC-0020AFEECF20}","{5A8D6EE0-3E18-11D0-821E-444553540000}","{89820200-ECBD-11CF-8B85-00AA005B4383}","{630B1DA0-B465-11D1-9948-00C04F98BBC9}","{08B0E5C0-4FCB-11CF-AAA5-00401C608555}","{DE5AED00-A4BF-11D1-9948-00C04F98BBC9}","{45EA75A0-A269-11D1-B5BF-0000F8051515}","{76C19B30-F0C8-11CF-87CC-0020AFEECF20}","{76C19B31-F0C8-11CF-87CC-0020AFEECF20}","{76C19B50-F0C8-11CF-87CC-0020AFEECF20}","{D27CDB6E-AE6D-11CF-96B8-444553540000}","{2A202491-F00D-11CF-87CC-0020AFEECF20}","{08B0E5C0-4FCB-11CF-AAA5-00401C608500}","{44BBA842-CC51-11CF-AAFA-00AA00B6015B}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{44BBA840-CC51-11CF-AAFA-00AA00B6015C}","{76C19B32-F0C8-11CF-87CC-0020AFEECF20}","{CC2A9BA0-3BDD-11D0-821E-444553540000}","{76C19B35-F0C8-11CF-87CC-0020AFEECF20}","{3BF42070-B3B1-11D1-B5C5-0000F8051515}","{90A7533D-88FE-11D0-9DBE-0000C0411FC3}","{10072CEC-8CC1-11D1-986E-00A0C955B42F}","{76C19B37-F0C8-11CF-87CC-0020AFEECF20}","{4F645220-306D-11D2-995D-00C04F98BBC9}","{1CDEE860-E95B-11CF-B1B0-00AA00BBAD66}","{73FA19D0-2D75-11D2-995D-00C04F98BBC9}","{89820200-ECBD-11CF-8B85-00AA005B4340}","{23064720-C4F8-11D1-994D-00C04F98BBC9}","{22D6F312-B0F6-11D0-94AB-0080C74C7E95}","{B164E929-A1B6-4A06-B104-2CD0E90A88FF}","{E0FEFE40-FBF9-42AE-BA58-794CA7E3FB53}","{39F7E362-828A-4B5A-BCAF-5B79BFDFEA60}","{82D8C144-29B3-43D8-9D05-C74C45DF27E8}","{5BAB4B5B-68BC-4B02-94D6-2FC0DE4A7897}","{02BF25D5-8C17-4B23-BC80-D3488ABDDC6B}","{07B18EA1-A523-4961-B6BB-170DE4475CCA}","{06849E9F-C8D7-4D59-B87D-784B7D6BE0B3}","{593DDEC6-7468-4cdd-90E1-42DADAA222E9}","{305C398B-4278-4AD6-86D9-6A2774596BE3}","{761497BB-D6F0-462C-B6EB-D4DAF1D92D43}","{22BF413B-C6D2-4d91-82A9-A0F997BA588C}","{3049C3E9-B461-4BC5-8870-4C09146192CA}","{6BF52A52-394A-11D3-B153-00C04F79FAA6}","{D2CE3E00-F94A-4740-988E-03DC2F38C34F}"];var ef={ii:function(h,f){var c="";var g={};g=aN(h);if(g.fR){var b=pidCryptUtil.hg(g.fR);var e=new pidCrypt.dr();var d=pidCrypt.dg.fB(pidCryptUtil.fj(b));var a=d.gT();e.jC(a);hB=e.ke(f);c=pidCryptUtil.fw(pidCryptUtil.mt(pidCryptUtil.convertFromHex(hB)),64)}else{}return c},gz:function(d){var a="";for(var c=0;c<d;++c){var b=Math.floor(Math.random()*10);a+=b}return a},kJ:function(b){var d="";var a=b.length;for(var c=0;c<a;++c){d+=b[c]}return d},jK:8,jD:24,jw:{kR:0,kI:1},jx:{kg:0,ig:1,kn:2,None:3},an:24};var eU={};eU.fJ=function(a){var b=a.replace(/[\u0080-\u07ff]/g,function(e){var d=e.charCodeAt(0);return String.fromCharCode(192|d>>6,128|d&63)});b=b.replace(/[\u0800-\uffff]/g,function(e){var d=e.charCodeAt(0);return String.fromCharCode(224|d>>12,128|d>>6&63,128|d&63)});return b};eU.fB=function(b){var a=b.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(e){var d=(e.charCodeAt(0)&31)<<6|e.charCodeAt(1)&63;return String.fromCharCode(d)});a=a.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(e){var d=((e.charCodeAt(0)&15)<<12)|((e.charCodeAt(1)&63)<<6)|(e.charCodeAt(2)&63);return String.fromCharCode(d)});return a};function bu(K,t,y,u,g,x){var q=new Array(16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756);var p=new Array(-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344);var o=new Array(520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584);var n=new Array(8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928);var l=new Array(256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080);var h=new Array(536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312);var f=new Array(2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154);var d=new Array(268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696);var w=bv(K);var A=0,F,D,H,J,c,b,e,I,z;var r,C,a,k;var v,B;var G=t.length;var s=0;var E=w.length==32?3:9;if(E==3){z=y?new Array(0,32,2):new Array(30,-2,-2)}else{z=y?new Array(0,32,2,62,30,-2,64,96,2):new Array(94,62,-2,32,64,2,30,-2,-2)}if(x==2){t+=" "}else{if(x==1){H=8-(G%8);t+=String.fromCharCode(H,H,H,H,H,H,H,H);if(H==8){G+=8}}else{if(!x){t+="\0\0\0\0\0\0\0\0"}}}result="";kT="";if(u==1){r=(g.charCodeAt(A++)<<24)|(g.charCodeAt(A++)<<16)|(g.charCodeAt(A++)<<8)|g.charCodeAt(A++);a=(g.charCodeAt(A++)<<24)|(g.charCodeAt(A++)<<16)|(g.charCodeAt(A++)<<8)|g.charCodeAt(A++);A=0}while(A<G){e=(t.charCodeAt(A++)<<24)|(t.charCodeAt(A++)<<16)|(t.charCodeAt(A++)<<8)|t.charCodeAt(A++);I=(t.charCodeAt(A++)<<24)|(t.charCodeAt(A++)<<16)|(t.charCodeAt(A++)<<8)|t.charCodeAt(A++);if(u==1){if(y){e^=r;I^=a}else{C=r;k=a;r=e;a=I}}H=((e>>>4)^I)&252645135;I^=H;e^=(H<<4);H=((e>>>16)^I)&65535;I^=H;e^=(H<<16);H=((I>>>2)^e)&858993459;e^=H;I^=(H<<2);H=((I>>>8)^e)&16711935;e^=H;I^=(H<<8);H=((e>>>1)^I)&1431655765;I^=H;e^=(H<<1);e=((e<<1)|(e>>>31));I=((I<<1)|(I>>>31));for(D=0;D<E;D+=3){v=z[D+1];B=z[D+2];for(F=z[D];F!=v;F+=B){c=I^w[F];b=((I>>>4)|(I<<28))^w[F+1];H=e;e=I;I=H^(p[(c>>>24)&63]|n[(c>>>16)&63]|h[(c>>>8)&63]|d[c&63]|q[(b>>>24)&63]|o[(b>>>16)&63]|l[(b>>>8)&63]|f[b&63])}H=e;e=I;I=H}e=((e>>>1)|(e<<31));I=((I>>>1)|(I<<31));H=((e>>>1)^I)&1431655765;I^=H;e^=(H<<1);H=((I>>>8)^e)&16711935;e^=H;I^=(H<<8);H=((I>>>2)^e)&858993459;e^=H;I^=(H<<2);H=((e>>>16)^I)&65535;I^=H;e^=(H<<16);H=((e>>>4)^I)&252645135;I^=H;e^=(H<<4);if(u==1){if(y){r=e;a=I}else{e^=C;I^=k}}kT+=String.fromCharCode((e>>>24),((e>>>16)&255),((e>>>8)&255),(e&255),(I>>>24),((I>>>16)&255),((I>>>8)&255),(I&255));s+=8;if(s==512){result+=kT;kT="";s=0}}return result+kT}function bv(k){iw=new Array(0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964);iz=new Array(0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697);hX=new Array(0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272);hW=new Array(0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144);hT=new Array(0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256);hQ=new Array(0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488);hP=new Array(0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746);hS=new Array(0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568);hR=new Array(0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578);ih=new Array(0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488);iy=new Array(0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800);ik=new Array(0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744);hV=new Array(0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128);hU=new Array(0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261);var c=k.length>8?3:1;var o=new Array(32*c);var h=new Array(0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0);var g,a,d=0,b=0,l;for(var e=0;e<c;e++){left=(k.charCodeAt(d++)<<24)|(k.charCodeAt(d++)<<16)|(k.charCodeAt(d++)<<8)|k.charCodeAt(d++);right=(k.charCodeAt(d++)<<24)|(k.charCodeAt(d++)<<16)|(k.charCodeAt(d++)<<8)|k.charCodeAt(d++);l=((left>>>4)^right)&252645135;right^=l;left^=(l<<4);l=((right>>>-16)^left)&65535;left^=l;right^=(l<<-16);l=((left>>>2)^right)&858993459;right^=l;left^=(l<<2);l=((right>>>-16)^left)&65535;left^=l;right^=(l<<-16);l=((left>>>1)^right)&1431655765;right^=l;left^=(l<<1);l=((right>>>8)^left)&16711935;left^=l;right^=(l<<8);l=((left>>>1)^right)&1431655765;right^=l;left^=(l<<1);l=(left<<8)|((right>>>20)&240);left=(right<<24)|((right<<8)&16711680)|((right>>>8)&65280)|((right>>>24)&240);right=l;for(var f=0;f<h.length;f++){if(h[f]){left=(left<<2)|(left>>>26);right=(right<<2)|(right>>>26)}else{left=(left<<1)|(left>>>27);right=(right<<1)|(right>>>27)}left&=-15;right&=-15;g=iw[left>>>28]|iz[(left>>>24)&15]|hX[(left>>>20)&15]|hW[(left>>>16)&15]|hT[(left>>>12)&15]|hQ[(left>>>8)&15]|hP[(left>>>4)&15];a=hS[right>>>28]|hR[(right>>>24)&15]|ih[(right>>>20)&15]|iy[(right>>>16)&15]|ik[(right>>>12)&15]|hV[(right>>>8)&15]|hU[(right>>>4)&15];l=((a>>>16)^g)&65535;o[b++]=g^l;o[b++]=a^(l<<16)}}return o}
12
+ /*Copyright (c) 2009 pidder <www.pidder.com>*/
13
+ function pidCrypt(){function a(b){if(!b){b=8}var c=new Array(b);var e=[];for(var d=0;d<256;d++){e[d]=d}for(d=0;d<c.length;d++){c[d]=e[Math.floor(Math.random()*e.length)]}return c}this.hy=function(){this.cY.hx=256;this.cY.eD=a(8);this.cY.eD=pidCryptUtil.im(this.cY.eD);this.cY.eD=pidCryptUtil.hD(this.cY.eD);this.cY.ln=16;this.cY.kr=true;this.cY.le=true};this.eo=true;this.cY={};this.cY.kC="";this.cY.jG="";this.cY.kD="";this.cY.dm="";this.cY.kN="";this.cY.kM="";this.cY.dP="";this.cY.gA="";this.cY.clear=true;this.hy();this.ep="";this.fG="";this.eK="";this.hh="";this.kx=function(c){if(!c){c={}}for(var b in c){this.cY[b]=c[b]}};this.ml=function(){return this.cY};this.mk=function(b){return this.cY[b]||""};this.kH=function(){this.cY={}};this.mw=function(){return this.cY.hx};this.mq=function(){return this.cY.jG};this.kz=function(b){this.error=b};this.lk=function(b){this.ep+=b;return""};this.mb=function(){return this.ep};this.lH=function(){if(this.ep.length>0){return true}return false};this.lu=function(b){this.eK+=b;return""};this.mr=function(){return this.eK};this.ky=function(b){this.eo=b};this.la=function(b){this.hh+=b;return""};this.lF=function(){return this.eo};this.lX=function(c){var g={dL:"\n",hw:false,fk:15};if(!c){c=g}for(var h in g){if(typeof(c[h])=="undefined"){c[h]=g[h]}}var b="";var e="";for(var f in this.cY){switch(f){case"encryptOut":e=pidCryptUtil.fj(this.cY[f].toString());e=pidCryptUtil.fw(e.join(),64,c.dL);break;case"key":case"iv":e=pidCryptUtil.jp(this.cY[f],48);break;default:e=pidCryptUtil.fw(this.cY[f].toString(),64,c.dL)}b+="<p><b>"+f+"</b>:<pre>"+e+"</pre></p>"}if(this.eo){b+="debug: "+this.eo+c.dL}if(this.ep.length>0&&((c.fk&1)==1)){b+="Errors:"+c.dL+this.ep+c.dL}if(this.fG.length>0&&((c.fk&2)==2)){b+="Warnings:"+c.dL+this.fG+c.dL}if(this.eK.length>0&&((c.fk&4)==4)){b+="Infos:"+c.dL+this.eK+c.dL}if(this.eo&&((c.fk&8)==8)){b+="Debug messages:"+c.dL+this.hh+c.dL}if(c.hw){this.ep=this.eK=this.fG=this.eo=""}return b};this.mn=function(b){return a(b)}}pidCryptUtil={};pidCryptUtil.mt=function(o,q){if(!o){o=""}var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";q=(typeof q=="undefined")?false:q;var f,b,a,s,p,l,k,h,j=[],d="",n,r,m;r=q?pidCryptUtil.jY(o):o;n=r.length%3;if(n>0){while(n++<3){d+="=";r+="\0"}}for(n=0;n<r.length;n+=3){f=r.charCodeAt(n);b=r.charCodeAt(n+1);a=r.charCodeAt(n+2);s=f<<16|b<<8|a;p=s>>18&63;l=s>>12&63;k=s>>6&63;h=s&63;j[n/3]=g.charAt(p)+g.charAt(l)+g.charAt(k)+g.charAt(h)}m=j.join("");m=m.slice(0,m.length-d.length)+d;return m};pidCryptUtil.hg=function(o,e){if(!o){o=""}var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e=(typeof e=="undefined")?false:e;var f,b,a,p,l,j,h,r,k=[],q,n;n=e?pidCryptUtil.hf(o):o;for(var m=0;m<n.length;m+=4){p=g.indexOf(n.charAt(m));l=g.indexOf(n.charAt(m+1));j=g.indexOf(n.charAt(m+2));h=g.indexOf(n.charAt(m+3));r=p<<18|l<<12|j<<6|h;f=r>>>16&255;b=r>>>8&255;a=r&255;k[m/4]=String.fromCharCode(f,b,a);if(h==64){k[m/4]=String.fromCharCode(f,b)}if(j==64){k[m/4]=String.fromCharCode(f)}}q=k.join("");q=e?pidCryptUtil.hf(q):q;return q};pidCryptUtil.jY=function(a){if(!a){a=""}a=a.replace(/[\u0080-\u07ff]/g,function(d){var b=d.charCodeAt(0);return String.fromCharCode(192|b>>6,128|b&63)});a=a.replace(/[\u0800-\uffff]/g,function(d){var b=d.charCodeAt(0);return String.fromCharCode(224|b>>12,128|b>>6&63,128|b&63)});return a};pidCryptUtil.hf=function(a){if(!a){a=""}a=a.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(d){var b=(d.charCodeAt(0)&31)<<6|d.charCodeAt(1)&63;return String.fromCharCode(b)});a=a.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(d){var b=((d.charCodeAt(0)&15)<<12)|((d.charCodeAt(1)&63)<<6)|(d.charCodeAt(2)&63);return String.fromCharCode(b)});return a};pidCryptUtil.hD=function(d){if(!d){d=""}var c="";var a="";for(var b=0;b<d.length;b++){a=d.charCodeAt(b).toString(16);c+=(a.length==1)?"0"+a:a}return c};pidCryptUtil.convertFromHex=function(c){if(!c){c=""}var b="";for(var a=0;a<c.length;a+=2){b+=String.fromCharCode(parseInt(c.substring(a,a+2),16))}return b};pidCryptUtil.jt=function(b){if(!b){b=""}var a="";a=b.replace(/\n/g,"");a=a.replace(/\r/g,"");return a};pidCryptUtil.fj=function(b){if(!b){b=""}var c=[];for(var a=0;a<b.length;a++){c[a]=b.charCodeAt(a)}return c};pidCryptUtil.fw=function(e,d,a){if(!e){e=""}if(!d||d>=e.length){return e}if(!a){a="\n"}var c="";for(var b=0;b<e.length;b+=d){c+=e.substr(b,d)+a}return c};pidCryptUtil.jp=function(f,e){if(!f){f=""}if(!e){e=45}var a="";var b=0;var d=f.toLowerCase();for(var c=0;c<d.length;c+=2){a+=d.substr(c,2)+":"}d=this.fw(a,e);return d};pidCryptUtil.im=function(a){var d="";for(var c=0;c<a.length;c++){d+=String.fromCharCode(a[c])}return d};function aN(f){var l=f.split("\n");var a=false;var b=false;var c=false;var h="";var d={};d.kc="";d.eD="";d.gA;d.fR="";d.hG=false;d.mode="";d.ip=0;for(var g=0;g<l.length;g++){h=l[g].substr(0,9);if(g==1&&h!="Proc-Type"&&h.indexOf("M")==0){b=true}switch(h){case"-----BEGI":a=true;break;case"Proc-Type":if(a){d.kc=l[g]}break;case"DEK-Info:":if(a){var e=l[g].split(",");var k=e[0].split(": ");var j=k[1].split("-");d.hG=(j[0]=="AES")?true:false;d.mode=j[2];d.ip=parseInt(j[1]);d.eD=e[1].substr(0,16);d.gA=e[1]}break;case"":if(a){b=true}break;case"-----END ":if(a){b=false;a=false}break;default:if(a&&b){d.fR+=pidCryptUtil.jt(l[g])}}}return d}function gX(a,b){if(a instanceof gX){this.eu=a.eu;this.pos=a.pos}else{this.eu=a;this.pos=b}}gX.prototype.iE=function(e,a){if(typeof(a)=="undefined"){a=this.eu.length}var d="";for(var b=e;b<a;++b){var c=this.dU(b);d+=this.fo.charAt(c>>4)+this.fo.charAt(c&15)}return d};gX.prototype.dU=function(a){if(a==undefined){a=this.pos++}if(a>=this.eu.length){throw"Requesting byte offset "+a+" on a stream of length "+this.eu.length}return this.eu[a]};gX.prototype.fo="0123456789ABCDEF";gX.prototype.gB=function(e,a){var d="";for(var b=e;b<a;++b){var c=this.dU(b);d+=this.fo.charAt(c>>4)+this.fo.charAt(c&15);if((b&15)==7){d+=" "}d+=((b&15)==15)?"\n":" "}return d};gX.prototype.gw=function(d,a){var c="";for(var b=d;b<a;++b){c+=String.fromCharCode(this.dU(b))}return c};gX.prototype.iA=function(f,a){var d="",e=0;for(var b=f;b<a;){var e=this.dU(b++);if(e<128){d+=String.fromCharCode(e)}else{if((e>191)&&(e<224)){d+=String.fromCharCode(((e&31)<<6)|(this.dU(b++)&63))}else{d+=String.fromCharCode(((e&15)<<12)|((this.dU(b++)&63)<<6)|(this.dU(b++)&63))}}}return d};gX.prototype.jI=/^((?:1[89]|2\d)?\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;gX.prototype.ix=function(d,b){var c=this.gw(d,b);var a=this.jI.exec(c);if(!a){return"Unrecognized time: "+c}c=a[1]+"-"+a[2]+"-"+a[3]+" "+a[4];if(a[5]){c+=":"+a[5];if(a[6]){c+=":"+a[6];if(a[7]){c+="."+a[7]}}}if(a[8]){c+=" UTC";if(a[8]!="Z"){c+=a[8];if(a[9]){c+=":"+a[9]}}}return c};gX.prototype.iC=function(d,a){if((a-d)>4){return undefined}var c=0;for(var b=d;b<a;++b){c=(c<<8)|this.dU(b)}return c};gX.prototype.iB=function(g,a){var d,f=0,e=0;for(var c=g;c<a;++c){var b=this.dU(c);f=(f<<7)|(b&127);e+=7;if(!(b&128)){if(d==undefined){d=parseInt(f/40)+"."+(f%40)}else{d+="."+((e>=31)?"big":f)}f=e=0}d+=String.fromCharCode()}return d};if(typeof(pidCrypt)!="undefined"){pidCrypt.dg=function(d,e,c,a,b){this.dj=d;this.header=e;this.length=c;this.dv=a;this.sub=b};pidCrypt.dg.prototype.gT=function(){var c={};c.type=this.fx();if(c.type!="SEQUENCE"){c.value=this.dj.iE(this.eP(),this.fA())}if(this.sub!=null){c.sub=[];for(var b=0,a=this.sub.length;b<a;++b){c.sub[b]=this.sub[b].gT()}}return c};pidCrypt.dg.prototype.fx=function(){if(this.dv==undefined){return"unknown"}var c=this.dv>>6;var a=(this.dv>>5)&1;var b=this.dv&31;switch(c){case 0:switch(b){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString";default:return"Universal_"+b.toString(16)}case 1:return"Application_"+b.toString(16);case 2:return"["+b+"]";case 3:return"Private_"+b.toString(16)}};pidCrypt.dg.prototype.content=function(){if(this.dv==undefined){return null}var d=this.dv>>6;if(d!=0){return null}var b=this.dv&31;var c=this.eP();var a=Math.abs(this.length);switch(b){case 1:return(this.dj.dU(c)==0)?"false":"true";case 2:return this.dj.iC(c,c+a);case 6:return this.dj.iB(c,c+a);case 12:return this.dj.iA(c,c+a);case 18:case 19:case 20:case 21:case 22:case 26:return this.dj.gw(c,c+a);case 23:case 24:return this.dj.ix(c,c+a)}return null};pidCrypt.dg.prototype.toString=function(){return this.fx()+"@"+this.dj.pos+"[header:"+this.header+",length:"+this.length+",sub:"+((this.sub==null)?"null":this.sub.length)+"]"};pidCrypt.dg.prototype.print=function(b){if(b==undefined){b=""}document.writeln(b+this);if(this.sub!=null){b+=" ";for(var c=0,a=this.sub.length;c<a;++c){this.sub[c].print(b)}}};pidCrypt.dg.prototype.jF=function(b){if(b==undefined){b=""}var d=b+this.fx()+" @"+this.dj.pos;if(this.length>=0){d+="+"}d+=this.length;if(this.dv&32){d+=" (constructed)"}else{if(((this.dv==3)||(this.dv==4))&&(this.sub!=null)){d+=" (encapsulates)"}}d+="\n";if(this.sub!=null){b+=" ";for(var c=0,a=this.sub.length;c<a;++c){d+=this.sub[c].jF(b)}}return d};pidCrypt.dg.prototype.jX=function(){var b=document.createElement("div");b.className="node";b.lx=this;var g=document.createElement("div");g.className="head";var j=this.fx();g.innerHTML=j;b.appendChild(g);this.head=g;var h=document.createElement("div");h.className="value";j="Offset: "+this.dj.pos+"<br/>";j+="Length: "+this.header+"+";if(this.length>=0){j+=this.length}else{j+=(-this.length)+" (undefined)"}if(this.dv&32){j+="<br/>(constructed)"}else{if(((this.dv==3)||(this.dv==4))&&(this.sub!=null)){j+="<br/>(encapsulates)"}}var e=this.content();if(e!=null){j+="<br/>Value:<br/><b>"+e+"</b>";if((typeof(kh)=="object")&&(this.dv==6)){var c=kh[e];if(c){if(c.d){j+="<br/>"+c.d}if(c.c){j+="<br/>"+c.c}if(c.w){j+="<br/>(warning!)"}}}}h.innerHTML=j;b.appendChild(h);var a=document.createElement("div");a.className="sub";if(this.sub!=null){for(var d=0,f=this.sub.length;d<f;++d){a.appendChild(this.sub[d].jX())}}b.appendChild(a);g.iK=b;g.onclick=function(){var k=this.iK;k.className=(k.className=="node collapsed")?"node":"node collapsed"};return b};pidCrypt.dg.prototype.fE=function(){return this.dj.pos};pidCrypt.dg.prototype.eP=function(){return this.dj.pos+this.header};pidCrypt.dg.prototype.fA=function(){return this.dj.pos+this.header+Math.abs(this.length)};pidCrypt.dg.prototype.fa=function(d,c,e,f,a){if(f>=a){return}var b=document.createElement("span");b.className=c;b.appendChild(document.createTextNode(e.gB(f,a)));d.appendChild(b)};pidCrypt.dg.prototype.jy=function(){var d=document.createElement("span");d.className="hex";this.head.gE=d;this.head.onmouseover=function(){this.gE.className="hexCurrent"};this.head.onmouseout=function(){this.gE.className="hex"};this.fa(d,"tag",this.dj,this.fE(),this.fE()+1);this.fa(d,(this.length>=0)?"dlen":"ulen",this.dj,this.fE()+1,this.eP());if(this.sub==null){d.appendChild(document.createTextNode(this.dj.gB(this.eP(),this.fA())))}else{if(this.sub.length>0){var e=this.sub[0];var c=this.sub[this.sub.length-1];this.fa(d,"intro",this.dj,this.eP(),e.fE());for(var b=0,a=this.sub.length;b<a;++b){d.appendChild(this.sub[b].jy())}this.fa(d,"outro",this.dj,c.fA(),this.fA())}}return d};pidCrypt.dg.fX=function(d){var b=d.dU();var a=b&127;if(a==b){return a}if(a>3){throw"Length over 24 bits not supported at position "+(d.pos-1)}if(a==0){return -1}b=0;for(var c=0;c<a;++c){b=(b<<8)|d.dU()}return b};pidCrypt.dg.jR=function(b,a,g){if(b&32){return true}if((b<3)||(b>4)){return false}var f=new gX(g);if(b==3){f.dU()}var e=f.dU();if((e>>6)&1){return false}try{var d=pidCrypt.dg.fX(f);return((f.pos-g.pos)+d==a)}catch(c){return false}};pidCrypt.dg.fB=function(j){if(!(j instanceof gX)){j=new gX(j,0)}var h=new gX(j);var l=j.dU();var f=pidCrypt.dg.fX(j);var d=j.pos-h.pos;var a=null;if(pidCrypt.dg.jR(l,f,j)){var b=j.pos;if(l==3){j.dU()}a=[];if(f>=0){var c=b+f;while(j.pos<c){a[a.length]=pidCrypt.dg.fB(j)}if(j.pos!=c){throw"Content size is not correct for container starting at offset "+b}}else{try{for(;;){var k=pidCrypt.dg.fB(j);if(k.dv==0){break}a[a.length]=k}f=b-j.pos}catch(g){throw"Exception while decoding undefined length content: "+g}}}else{j.pos+=f}return new pidCrypt.dg(h,d,f,l,a)};pidCrypt.dg.test=function(){var f=[{value:[39],fb:39},{value:[129,201],fb:201},{value:[131,254,220,186],fb:16702650},];for(var c=0,a=f.length;c<a;++c){var e=0;var d=new gX(f[c].value,0);var b=pidCrypt.dg.fX(d);if(b!=f[c].fb){document.write("In test["+c+"] expected "+f[c].fb+" got "+b+"\n")}}}}var dT;var is=244837814094590;var gF=((is&16777215)==15715070);function ap(e,d,f){if(e!=null){if("number"==typeof e){this.hk(e,d,f)}else{if(d==null&&"string"!=typeof e){this.fP(e,256)}else{this.fP(e,d)}}}}function ar(){return new ap(null)}function bT(f,a,b,e,h,g){while(--g>=0){var d=a*this[f++]+b[e]+h;h=Math.floor(d/67108864);b[e++]=d&67108863}return h}function bS(f,q,r,e,o,a){var k=q&32767,p=q>>15;while(--a>=0){var d=this[f]&32767;var g=this[f++]>>15;var b=p*d+g*k;d=k*d+((b&32767)<<15)+r[e]+(o&1073741823);o=(d>>>30)+(b>>>15)+p*g+(o>>>30);r[e++]=d&1073741823}return o}function bV(f,q,r,e,o,a){var k=q&16383,p=q>>14;while(--a>=0){var d=this[f]&16383;var g=this[f++]>>14;var b=p*d+g*k;d=k*d+((b&16383)<<14)+r[e]+o;o=(d>>28)+(b>>14)+p*g;r[e++]=d&268435455}return o}if(gF&&(navigator.appName=="Microsoft Internet Explorer")){ap.prototype.dx=bS;dT=30}else{if(gF&&(navigator.appName!="Netscape")){ap.prototype.dx=bT;dT=26}else{ap.prototype.dx=bV;dT=28}}ap.prototype.cW=dT;ap.prototype.dq=((1<<dT)-1);ap.prototype.dB=(1<<dT);var fZ=52;ap.prototype.jh=Math.pow(2,fZ);ap.prototype.gU=fZ-dT;ap.prototype.hb=2*dT-fZ;var iD="0123456789abcdefghijklmnopqrstuvwxyz";var fD=new Array();var eC,dK;eC="0".charCodeAt(0);for(dK=0;dK<=9;++dK){fD[eC++]=dK}eC="a".charCodeAt(0);for(dK=10;dK<36;++dK){fD[eC++]=dK}eC="A".charCodeAt(0);for(dK=10;dK<36;++dK){fD[eC++]=dK}function aH(a){return iD.charAt(a)}function aG(b,a){var d=fD[b.charCodeAt(a)];return(d==null)?-1:d}function cN(b){for(var a=this.t-1;a>=0;--a){b[a]=this[a]}b.t=this.t;b.s=this.s}function fN(a){this.t=1;this.s=(a<0)?-1:0;if(a>0){this[0]=a}else{if(a<-1){this[0]=a+dB}else{this.t=0}}}function av(a){var b=ar();b.eT(a);return b}function cn(h,c){var e;if(c==16){e=4}else{if(c==8){e=3}else{if(c==256){e=8}else{if(c==2){e=1}else{if(c==32){e=5}else{if(c==4){e=2}else{this.jg(h,c);return}}}}}}this.t=0;this.s=0;var g=h.length,d=false,f=0;while(--g>=0){var a=(e==8)?h[g]&255:aG(h,g);if(a<0){if(h.charAt(g)=="-"){d=true}continue}d=false;if(f==0){this[this.t++]=a}else{if(f+e>this.cW){this[this.t-1]|=(a&((1<<(this.cW-f))-1))<<f;this[this.t++]=(a>>(this.cW-f))}else{this[this.t-1]|=a<<f}}f+=e;if(f>=this.cW){f-=this.cW}}if(e==8&&(h[0]&128)!=0){this.s=-1;if(f>0){this[this.t-1]|=((1<<(this.cW-f))-1)<<f}}this.dD();if(d){ap.dO.db(this,this)}}function cH(){var a=this.s&this.dq;while(this.t>0&&this[this.t-1]==a){--this.t}}function aZ(c){if(this.s<0){return"-"+this.fr().toString(c)}var e;if(c==16){e=4}else{if(c==8){e=3}else{if(c==2){e=1}else{if(c==32){e=5}else{if(c==4){e=2}else{return this.hF(c)}}}}}var g=(1<<e)-1,l,a=false,h="",f=this.t;var j=this.cW-(f*this.cW)%e;if(f-->0){if(j<this.cW&&(l=this[f]>>j)>0){a=true;h=aH(l)}while(f>=0){if(j<e){l=(this[f]&((1<<j)-1))<<(e-j);l|=this[--f]>>(j+=this.cW-e)}else{l=(this[f]>>(j-=e))&g;if(j<=0){j+=this.cW;--f}}if(l>0){a=true}if(a){h+=aH(l)}}}return a?h:"0"}function cD(){var a=ar();ap.dO.db(this,a);return a}function cd(){return(this.s<0)?this.fr():this}function bE(b){var d=this.s-b.s;if(d!=0){return d}var c=this.t;d=c-b.t;if(d!=0){return d}while(--c>=0){if((d=this[c]-b[c])!=0){return d}}return 0}function aA(a){var c=1,b;if((b=a>>>16)!=0){a=b;c+=16}if((b=a>>8)!=0){a=b;c+=8}if((b=a>>4)!=0){a=b;c+=4}if((b=a>>2)!=0){a=b;c+=2}if((b=a>>1)!=0){a=b;c+=1}return c}function bY(){if(this.t<=0){return 0}return this.cW*(this.t-1)+aA(this[this.t-1]^(this.s&this.dq))}function cI(c,b){var a;for(a=this.t-1;a>=0;--a){b[a+c]=this[a]}for(a=c-1;a>=0;--a){b[a]=0}b.t=this.t+c;b.s=this.s}function cK(c,b){for(var a=c;a<this.t;++a){b[a-c]=this[a]}b.t=Math.max(this.t-c,0);b.s=this.s}function cj(j,e){var b=j%this.cW;var a=this.cW-b;var g=(1<<a)-1;var f=Math.floor(j/this.cW),h=(this.s<<b)&this.dq,d;for(d=this.t-1;d>=0;--d){e[d+f+1]=(this[d]>>a)|h;h=(this[d]&g)<<b}for(d=f-1;d>=0;--d){e[d]=0}e[f]=h;e.t=this.t+f+1;e.s=this.s;e.dD()}function cp(g,d){d.s=this.s;var e=Math.floor(g/this.cW);if(e>=this.t){d.t=0;return}var b=g%this.cW;var a=this.cW-b;var f=(1<<b)-1;d[0]=this[e]>>b;for(var c=e+1;c<this.t;++c){d[c-e-1]|=(this[c]&f)<<a;d[c-e]=this[c]>>b}if(b>0){d[this.t-e-1]|=(this.s&f)<<a}d.t=this.t-e;d.dD()}function cr(d,f){var e=0,g=0,b=Math.min(d.t,this.t);while(e<b){g+=this[e]-d[e];f[e++]=g&this.dq;g>>=this.cW}if(d.t<this.t){g-=d.s;while(e<this.t){g+=this[e];f[e++]=g&this.dq;g>>=this.cW}g+=this.s}else{g+=this.s;while(e<d.t){g-=d[e];f[e++]=g&this.dq;g>>=this.cW}g-=d.s}f.s=(g<0)?-1:0;if(g<-1){f[e++]=this.dB+g}else{if(g>0){f[e++]=g}}f.t=e;f.dD()}function cw(c,e){var b=this.abs(),f=c.abs();var d=b.t;e.t=d+f.t;while(--d>=0){e[d]=0}for(d=0;d<f.t;++d){e[d+b.t]=b.dx(0,f[d],e,d,0,b.t)}e.s=0;e.dD();if(this.s!=c.s){ap.dO.db(e,e)}}function ia(d){var a=this.abs();var b=d.t=2*a.t;while(--b>=0){d[b]=0}for(b=0;b<a.t-1;++b){var e=a.dx(b,a[b],d,2*b,0,1);if((d[b+a.t]+=a.dx(b+1,2*a[b],d,2*b+1,e,a.t-b-1))>=a.dB){d[b+a.t]-=a.dB;d[b+a.t+1]=1}}if(d.t>0){d[d.t-1]+=a.dx(b,a[b],d,2*b,0,1)}d.s=0;d.dD()}function cJ(n,h,g){var w=n.abs();if(w.t<=0){return}var k=this.abs();if(k.t<w.t){if(h!=null){h.eT(0)}if(g!=null){this.eb(g)}return}if(g==null){g=ar()}var d=ar(),a=this.s,l=n.s;var v=this.cW-aA(w[w.t-1]);if(v>0){w.eQ(v,d);k.eQ(v,g)}else{w.eb(d);k.eb(g)}var p=d.t;var b=d[p-1];if(b==0){return}var o=b*(1<<this.gU)+((p>1)?d[p-2]>>this.hb:0);var A=this.jh/o,z=(1<<this.gU)/o,x=1<<this.hb;var u=g.t,s=u-p,f=(h==null)?ar():h;d.eO(s,f);if(g.de(f)>=0){g[g.t++]=1;g.db(f,g)}ap.dp.eO(p,f);f.db(d,d);while(d.t<p){d[d.t++]=0}while(--s>=0){var c=(g[--u]==b)?this.dq:Math.floor(g[u]*A+(g[u-1]+x)*z);if((g[u]+=d.dx(0,c,g,s,0,p))<c){d.eO(s,f);g.db(f,g);while(g[u]<--c){g.db(f,g)}}}if(h!=null){g.fl(p,h);if(a!=l){ap.dO.db(h,h)}}g.t=p;g.dD();if(v>0){g.dw(v,g)}if(a<0){ap.dO.db(g,g)}}function bF(b){var c=ar();this.abs().dZ(b,null,c);if(this.s<0&&c.de(ap.dO)>0){b.db(c,c)}return c}function ax(a){this.m=a}function aS(a){if(a.s<0||a.de(this.m)>=0){return a.ed(this.m)}else{return a}}function bp(a){return a}function bd(a){a.dZ(this.m,null,a)}function aP(a,c,b){a.eY(c,b);this.dN(b)}function bq(a,b){a.ft(b);this.dN(b)}ax.prototype.eF=aS;ax.prototype.eW=bp;ax.prototype.dN=bd;ax.prototype.et=aP;ax.prototype.dQ=bq;function cg(){if(this.t<1){return 0}var a=this[0];if((a&1)==0){return 0}var b=a&3;b=(b*(2-(a&15)*b))&15;b=(b*(2-(a&255)*b))&255;b=(b*(2-(((a&65535)*b)&65535)))&65535;b=(b*(2-a*b%this.dB))%this.dB;return(b>0)?this.dB-b:-b}function aw(a){this.m=a;this.gn=a.jz();this.gv=this.gn&32767;this.hN=this.gn>>15;this.hq=(1<<(a.cW-15))-1;this.hL=2*a.t}function bi(a){var b=ar();a.abs().eO(this.m.t,b);b.dZ(this.m,null,b);if(a.s<0&&b.de(ap.dO)>0){this.m.db(b,b)}return b}function bf(a){var b=ar();a.eb(b);this.dN(b);return b}function bl(a){while(a.t<=this.hL){a[a.t++]=0}for(var c=0;c<this.m.t;++c){var b=a[c]&32767;var d=(b*this.gv+(((b*this.hN+(a[c]>>15)*this.gv)&this.hq)<<15))&a.dq;b=c+this.m.t;a[b]+=this.m.dx(0,d,a,c,0,this.m.t);while(a[b]>=a.dB){a[b]-=a.dB;a[++b]++}}a.dD();a.fl(this.m.t,a);if(a.de(this.m)>=0){a.db(this.m,a)}}function be(a,b){a.ft(b);this.dN(b)}function bj(a,c,b){a.eY(c,b);this.dN(b)}aw.prototype.eF=bi;aw.prototype.eW=bf;aw.prototype.dN=bl;aw.prototype.et=bj;aw.prototype.dQ=be;function cf(){return((this.t>0)?(this[0]&1):this.s)==0}function cy(h,j){if(h>4294967295||h<1){return ap.dp}var f=ar(),a=ar(),d=j.eF(this),c=aA(h)-1;d.eb(f);while(--c>=0){j.dQ(f,a);if((h&(1<<c))>0){j.et(a,d,f)}else{var b=f;f=a;a=b}}return j.eW(f)}function ce(b,a){var c;if(b<256||a.dC()){c=new ax(a)}else{c=new aw(a)}return this.exp(b,c)}ap.prototype.eb=cN;ap.prototype.eT=fN;ap.prototype.fP=cn;ap.prototype.dD=cH;ap.prototype.eO=cI;ap.prototype.fl=cK;ap.prototype.eQ=cj;ap.prototype.dw=cp;ap.prototype.db=cr;ap.prototype.eY=cw;ap.prototype.ft=ia;ap.prototype.dZ=cJ;ap.prototype.jz=cg;ap.prototype.dC=cf;ap.prototype.exp=cy;ap.prototype.toString=aZ;ap.prototype.fr=cD;ap.prototype.abs=cd;ap.prototype.de=bE;ap.prototype.fy=bY;ap.prototype.ed=bF;ap.prototype.gx=ce;ap.dO=av(0);ap.dp=av(1);function bB(){var a=ar();this.eb(a);return a}function bJ(){if(this.s<0){if(this.t==1){return this[0]-this.dB}else{if(this.t==0){return -1}}}else{if(this.t==1){return this[0]}else{if(this.t==0){return 0}}}return((this[1]&((1<<(32-this.cW))-1))<<this.cW)|this[0]}function bN(){return(this.t==0)?this.s:(this[0]<<24)>>24}function aU(){return(this.t==0)?this.s:(this[0]<<16)>>16}function cB(a){return Math.floor(Math.LN2*this.cW/Math.log(a))}function bb(){if(this.s<0){return -1}else{if(this.t<=0||(this.t==1&&this[0]<=0)){return 0}else{return 1}}}function bw(c){if(c==null){c=10}if(this.dW()==0||c<2||c>36){return"0"}var f=this.gN(c);var e=Math.pow(c,f);var j=av(e),k=ar(),h=ar(),g="";this.dZ(j,k,h);while(k.dW()>0){g=(e+h.gD()).toString(c).substr(1)+g;k.dZ(j,k,h)}return h.gD().toString(c)+g}function co(m,h){this.eT(0);if(h==null){h=10}var f=this.gN(h);var g=Math.pow(h,f),e=false,a=0,l=0;for(var c=0;c<m.length;++c){var k=aG(m,c);if(k<0){if(m.charAt(c)=="-"&&this.dW()==0){e=true}continue}l=h*l+k;if(++a>=f){this.gZ(g);this.eG(l,0);a=0;l=0}}if(a>0){this.gZ(Math.pow(h,a));this.eG(l,0)}if(e){ap.dO.db(this,this)}}function ck(f,e,h){if("number"==typeof e){if(f<2){this.eT(1)}else{this.hk(f,h);if(!this.jZ(f-1)){this.ez(ap.dp.shiftLeft(f-1),aE,this)}if(this.dC()){this.eG(1,0)}while(!this.fS(e)){this.eG(2,0);if(this.fy()>f){this.db(ap.dp.shiftLeft(f-1),this)}}}}else{var d=new Array(),g=f&7;d.length=(f>>3)+1;e.gr(d);if(g>0){d[0]&=((1<<g)-1)}else{d[0]=0}this.fP(d,256)}}function aY(){var b=this.t,c=new Array();c[0]=this.s;var e=this.cW-(b*this.cW)%8,f,a=0;if(b-->0){if(e<this.cW&&(f=this[b]>>e)!=(this.s&this.dq)>>e){c[a++]=f|(this.s<<(this.cW-e))}while(b>=0){if(e<8){f=(this[b]&((1<<e)-1))<<(8-e);f|=this[--b]>>(e+=this.cW-8)}else{f=(this[b]>>(e-=8))&255;if(e<=0){e+=this.cW;--b}}if((f&128)!=0){f|=-256}if(a==0&&(this.s&128)!=(f&128)){++a}if(a>0||f!=this.s){c[a++]=f}}}return c}function bx(b){return(this.de(b)==0)}function bG(b){return(this.de(b)<0)?this:b}function bL(b){return(this.de(b)>0)?this:b}function cz(c,h,e){var d,g,b=Math.min(c.t,this.t);for(d=0;d<b;++d){e[d]=h(this[d],c[d])}if(c.t<this.t){g=c.s&this.dq;for(d=b;d<this.t;++d){e[d]=h(this[d],g)}e.t=this.t}else{g=this.s&this.dq;for(d=b;d<c.t;++d){e[d]=h(g,c[d])}e.t=c.t}e.s=h(this.s,c.s);e.dD()}function bt(a,b){return a&b}function bX(b){var c=ar();this.ez(b,bt,c);return c}function aE(a,b){return a|b}function cF(b){var c=ar();this.ez(b,aE,c);return c}function aM(a,b){return a^b}function aR(b){var c=ar();this.ez(b,aM,c);return c}function aL(a,b){return a&~b}function bW(b){var c=ar();this.ez(b,aL,c);return c}function cG(){var b=ar();for(var a=0;a<this.t;++a){b[a]=this.dq&~this[a]}b.t=this.t;b.s=~this.s;return b}function aV(b){var a=ar();if(b<0){this.dw(-b,a)}else{this.eQ(b,a)}return a}function aT(b){var a=ar();if(b<0){this.eQ(-b,a)}else{this.dw(b,a)}return a}function bk(a){if(a==0){return -1}var b=0;if((a&65535)==0){a>>=16;b+=16}if((a&255)==0){a>>=8;b+=8}if((a&15)==0){a>>=4;b+=4}if((a&3)==0){a>>=2;b+=2}if((a&1)==0){++b}return b}function bK(){for(var a=0;a<this.t;++a){if(this[a]!=0){return a*this.cW+bk(this[a])}}if(this.s<0){return this.t*this.cW}return -1}function aQ(a){var b=0;while(a!=0){a&=a-1;++b}return b}function bZ(){var c=0,a=this.s&this.dq;for(var b=0;b<this.t;++b){c+=aQ(this[b]^a)}return c}function hM(b){var a=Math.floor(b/this.cW);if(a>=this.t){return(this.s!=0)}return((this[a]&(1<<(b%this.cW)))!=0)}function cC(c,b){var a=ap.dp.shiftLeft(c);this.ez(a,b,a);return a}function aX(a){return this.gc(a,aE)}function bC(a){return this.gc(a,aL)}function bA(a){return this.gc(a,aM)}function cA(d,f){var e=0,g=0,b=Math.min(d.t,this.t);while(e<b){g+=this[e]+d[e];f[e++]=g&this.dq;g>>=this.cW}if(d.t<this.t){g+=d.s;while(e<this.t){g+=this[e];f[e++]=g&this.dq;g>>=this.cW}g+=this.s}else{g+=this.s;while(e<d.t){g+=d[e];f[e++]=g&this.dq;g>>=this.cW}g+=d.s}f.s=(g<0)?-1:0;if(g>0){f[e++]=g}else{if(g<-1){f[e++]=this.dB+g}}f.t=e;f.dD()}function fO(b){var c=ar();this.fF(b,c);return c}function bc(b){var c=ar();this.db(b,c);return c}function cE(b){var c=ar();this.eY(b,c);return c}function bD(b){var c=ar();this.dZ(b,c,null);return c}function aW(b){var c=ar();this.dZ(b,null,c);return c}function by(b){var d=ar(),c=ar();this.dZ(b,d,c);return new Array(d,c)}function cL(a){this[this.t]=this.dx(0,a-1,this,0,0,this.t);++this.t;this.dD()}function cO(b,a){while(this.t<=a){this[this.t++]=0}this[a]+=b;while(this[a]>=this.dB){this[a]-=this.dB;if(++a>=this.t){this[this.t++]=0}++this[a]}}function az(){}function aI(a){return a}function bh(a,c,b){a.eY(c,b)}function bg(a,b){a.ft(b)}az.prototype.eF=aI;az.prototype.eW=aI;az.prototype.et=bh;az.prototype.dQ=bg;function cq(a){return this.exp(a,new az())}function ct(b,f,e){var d=Math.min(this.t+b.t,f);e.s=0;e.t=d;while(d>0){e[--d]=0}var c;for(c=e.t-this.t;d<c;++d){e[d+this.t]=this.dx(0,b[d],e,d,0,this.t)}for(c=Math.min(b.t,f);d<c;++d){this.dx(0,b[d],e,d,0,f-d)}e.dD()}function cv(b,e,d){--e;var c=d.t=this.t+b.t-e;d.s=0;while(--c>=0){d[c]=0}for(c=Math.max(e-this.t,0);c<b.t;++c){d[this.t+c-e]=this.dx(e-c,b[c],d,0,0,this.t+c-e)}d.dD();d.fl(1,d)}function ay(a){this.da=ar();this.gL=ar();ap.dp.eO(2*a.t,this.da);this.hI=this.da.divide(a);this.m=a}function bO(a){if(a.s<0||a.t>2*this.m.t){return a.ed(this.m)}else{if(a.de(this.m)<0){return a}else{var b=ar();a.eb(b);this.dN(b);return b}}}function gm(a){return a}function bQ(a){a.fl(this.m.t-1,this.da);if(a.t>this.m.t+1){a.t=this.m.t+1;a.dD()}this.hI.hu(this.da,this.m.t+1,this.gL);this.m.hJ(this.gL,this.m.t+1,this.da);while(a.de(this.da)<0){a.eG(1,this.m.t+1)}a.db(this.da,a);while(a.de(this.m)>=0){a.db(this.m,a)}}function ca(a,b){a.ft(b);this.dN(b)}function bR(a,c,b){a.eY(c,b);this.dN(b)}ay.prototype.eF=bO;ay.prototype.eW=gm;ay.prototype.dN=bQ;ay.prototype.et=bR;ay.prototype.dQ=ca;function bH(q,f){var o=q.fy(),h,b=av(1),v;if(o<=0){return b}else{if(o<18){h=1}else{if(o<48){h=3}else{if(o<144){h=4}else{if(o<768){h=5}else{h=6}}}}}if(o<8){v=new ax(f)}else{if(f.dC()){v=new ay(f)}else{v=new aw(f)}}var p=new Array(),d=3,s=h-1,a=(1<<h)-1;p[1]=v.eF(this);if(h>1){var A=ar();v.dQ(p[1],A);while(d<=a){p[d]=ar();v.et(A,p[d-2],p[d]);d+=2}}var l=q.t-1,x,u=true,c=ar(),y;o=aA(q[l])-1;while(l>=0){if(o>=s){x=(q[l]>>(o-s))&a}else{x=(q[l]&((1<<(o+1))-1))<<(s-o);if(l>0){x|=q[l-1]>>(this.cW+o-s)}}d=h;while((x&1)==0){x>>=1;--d}if((o-=d)<0){o+=this.cW;--l}if(u){p[x].eb(b);u=false}else{while(d>1){v.dQ(b,c);v.dQ(c,b);d-=2}if(d>0){v.dQ(b,c)}else{y=b;b=c;c=y}v.et(c,p[x],b)}while(l>=0&&(q[l]&(1<<o))==0){v.dQ(b,c);y=b;b=c;c=y;if(--o<0){o=this.cW-1;--l}}}return v.eW(b)}function bz(c){var b=(this.s<0)?this.fr():this.fs();var h=(c.s<0)?c.fr():c.fs();if(b.de(h)<0){var e=b;b=h;h=e}var d=b.eJ(),f=h.eJ();if(f<0){return b}if(d<f){f=d}if(f>0){b.dw(f,b);h.dw(f,h)}while(b.dW()>0){if((d=b.eJ())>0){b.dw(d,b)}if((d=h.eJ())>0){h.dw(d,h)}if(b.de(h)>=0){b.db(h,b);b.dw(1,b)}else{h.db(b,h);h.dw(1,h)}}if(f>0){h.eQ(f,h)}return h}function cu(e){if(e<=0){return 0}var c=this.dB%e,b=(this.s<0)?e-1:0;if(this.t>0){if(c==0){b=this[0]%e}else{for(var a=this.t-1;a>=0;--a){b=(c*b+this[a])%e}}}return b}function bI(f){var k=f.dC();if((this.dC()&&k)||f.dW()==0){return ap.dO}var j=f.fs(),h=this.fs();var g=av(1),e=av(0),n=av(0),l=av(1);while(j.dW()!=0){while(j.dC()){j.dw(1,j);if(k){if(!g.dC()||!e.dC()){g.fF(this,g);e.db(f,e)}g.dw(1,g)}else{if(!e.dC()){e.db(f,e)}}e.dw(1,e)}while(h.dC()){h.dw(1,h);if(k){if(!n.dC()||!l.dC()){n.fF(this,n);l.db(f,l)}n.dw(1,n)}else{if(!l.dC()){l.db(f,l)}}l.dw(1,l)}if(j.de(h)>=0){j.db(h,j);if(k){g.db(n,g)}e.db(l,e)}else{h.db(j,h);if(k){n.db(g,n)}l.db(e,l)}}if(h.de(ap.dp)!=0){return ap.dO}if(l.de(f)>=0){return l.ei(f)}if(l.dW()<0){l.fF(f,l)}else{return l}if(l.dW()<0){return l.add(f)}else{return l}}var dE=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509];var jH=(1<<26)/dE[dE.length-1];function bM(e){var d,b=this.abs();if(b.t==1&&b[0]<=dE[dE.length-1]){for(d=0;d<dE.length;++d){if(b[0]==dE[d]){return true}}return false}if(b.dC()){return false}d=1;while(d<dE.length){var a=dE[d],c=d+1;while(c<dE.length&&a<jH){a*=dE[c++]}a=b.hC(a);while(d<c){if(a%dE[d++]==0){return false}}}return b.hH(e)}function ci(f){var g=this.ei(ap.dp);var c=g.eJ();if(c<=0){return false}var h=g.iR(c);f=(f+1)>>1;if(f>dE.length){f=dE.length}var b=ar();for(var e=0;e<f;++e){b.eT(dE[e]);var l=b.fu(h,this);if(l.de(ap.dp)!=0&&l.de(g)!=0){var d=1;while(d++<c&&l.de(g)!=0){l=l.gx(2,this);if(l.de(ap.dp)==0){return false}}if(l.de(g)!=0){return false}}}return true}ap.prototype.gN=cB;ap.prototype.hF=bw;ap.prototype.jg=co;ap.prototype.hk=ck;ap.prototype.ez=cz;ap.prototype.gc=cC;ap.prototype.fF=cA;ap.prototype.gZ=cL;ap.prototype.eG=cO;ap.prototype.hJ=ct;ap.prototype.hu=cv;ap.prototype.hC=cu;ap.prototype.hH=ci;ap.prototype.fs=bB;ap.prototype.gD=bJ;ap.prototype.lp=bN;ap.prototype.jS=aU;ap.prototype.dW=bb;ap.prototype.fj=aY;ap.prototype.kO=bx;ap.prototype.min=bG;ap.prototype.max=bL;ap.prototype.kZ=bX;ap.prototype.lT=cF;ap.prototype.kf=aR;ap.prototype.lb=bW;ap.prototype.not=cG;ap.prototype.shiftLeft=aV;ap.prototype.iR=aT;ap.prototype.eJ=bK;ap.prototype.ks=bZ;ap.prototype.jZ=hM;ap.prototype.kv=aX;ap.prototype.ha=bC;ap.prototype.mh=bA;ap.prototype.add=fO;ap.prototype.ei=bc;ap.prototype.fz=cE;ap.prototype.divide=bD;ap.prototype.lP=aW;ap.prototype.kU=by;ap.prototype.fu=bH;ap.prototype.gI=bI;ap.prototype.pow=cq;ap.prototype.fI=bz;ap.prototype.fS=bM;function aF(){this.fc;this.dH;this.dn;this.je=function(c){this.dH[this.dn++]^=c&255;this.dH[this.dn++]^=(c>>8)&255;this.dH[this.dn++]^=(c>>16)&255;this.dH[this.dn++]^=(c>>24)&255;if(this.dn>=fH){this.dn-=fH}};this.gK=function(){this.je(new Date().getTime())};if(this.dH==null){this.dH=new Array();this.dn=0;var a;if(navigator.appName=="Netscape"&&navigator.appVersion<"5"&&window.crypto){var b=window.crypto.random(32);for(a=0;a<b.length;++a){this.dH[this.dn++]=b.charCodeAt(a)&255}}while(this.dn<fH){a=Math.floor(65536*Math.random());this.dH[this.dn++]=a>>>8;this.dH[this.dn++]=a&255}this.dn=0;this.gK()}this.iS=function(){if(this.fc==null){this.gK();this.fc=aO();this.fc.eh(this.dH);for(this.dn=0;this.dn<this.dH.length;++this.dn){this.dH[this.dn]=0}this.dn=0}return this.fc.next()};this.gr=function(d){var c;for(c=0;c<d.length;++c){d[c]=this.iS()}}}function aC(){this.i=0;this.j=0;this.S=new Array()}function bU(d){var c,a,b;for(c=0;c<256;++c){this.S[c]=c}a=0;for(c=0;c<256;++c){a=(a+this.S[c]+d[c%d.length])&255;b=this.S[c];this.S[c]=this.S[a];this.S[a]=b}this.i=0;this.j=0}function bP(){var a;this.i=(this.i+1)&255;this.j=(this.j+this.S[this.i])&255;a=this.S[this.i];this.S[this.i]=this.S[this.j];this.S[this.j]=a;return this.S[(a+this.S[this.i])&255]}aC.prototype.eh=bU;aC.prototype.next=bP;function aO(){return new aC()}var fH=256;if(typeof(pidCrypt)!="undefined"&&typeof(ap)!="undefined"&&typeof(aF)!="undefined"&&typeof(aC)!="undefined"){function au(b,a){return new ap(b,a)}function cQ(c,d){var a="";var b=0;while(b+d<c.length){a+=c.substring(b,b+d)+"\n";b+=d}return a+c.substring(b,c.length)}function cR(a){if(a<16){return"0"+a.toString(16)}else{return a.toString(16)}}function bn(f,g){var a=f.fj();var e=0;while(e<a.length&&a[e]==0){++e}if(a.length-e!=g-1||a[e]!=2){return null}++e;while(a[e]!=0){if(++e>=a.length){return null}}var c="";while(++e<a.length){c+=String.fromCharCode(a[e])}return c}function bo(d,f){if(f<d.length+11){alert("Message too long for RSA");return null}var e=new Array();var c=d.length-1;while(c>=0&&f>0){e[--f]=d.charCodeAt(c--)}e[--f]=0;var b=new aF();var a=new Array();while(f>2){a[0]=0;while(a[0]==0){b.gr(a)}e[--f]=a[0]}e[--f]=2;e[--f]=0;return new ap(e)}pidCrypt.dr=function(){this.n=null;this.e=0;this.d=null;this.p=null;this.q=null;this.er=null;this.es=null;this.eV=null};pidCrypt.dr.prototype.jA=function(a){if(this.p==null||this.q==null){return a.fu(this.d,this.n)}var c=a.ed(this.p).fu(this.er,this.p);var b=a.ed(this.q).fu(this.es,this.q);while(c.de(b)<0){c=c.add(this.p)}return c.ei(b).fz(this.eV).ed(this.p).fz(this.q).add(b)};pidCrypt.dr.prototype.jB=function(c,b,a){if(typeof(a)=="undefined"){a=16}if(c!=null&&b!=null&&c.length>0&&b.length>0){this.n=au(c,a);this.e=parseInt(b,a)}else{alert("Invalid RSA public key")}};pidCrypt.dr.prototype.jN=function(a){return a.gx(this.e,this.n)};pidCrypt.dr.prototype.jO=function(d){var a=bo(d,(this.n.fy()+7)>>3);if(a==null){return null}var e=this.jN(a);if(e==null){return null}var b=e.toString(16);if((b.length&1)==0){return b}else{return"0"+b}};pidCrypt.dr.prototype.ke=function(a){return this.jO(a)};pidCrypt.dr.prototype.jL=function(b){var d=au(b,16);var a=this.jA(d);if(a==null){return null}return bn(a,(this.n.fy()+7)>>3)};pidCrypt.dr.prototype.kE=function(b){var a=this.jL(b);return a};pidCrypt.dr.prototype.kk=function(d,b,c,a){if(typeof(a)=="undefined"){a=16}if(d!=null&&b!=null&&d.length>0&&b.length>0){this.n=au(d,a);this.e=parseInt(b,a);this.d=au(c,a)}else{alert("Invalid RSA private key")}};pidCrypt.dr.prototype.jE=function(e,j,a,d,c,h,g,b,f){if(typeof(f)=="undefined"){f=16}if(e!=null&&j!=null&&e.length>0&&j.length>0){this.n=au(e,f);this.e=parseInt(j,f);this.d=au(a,f);this.p=au(d,f);this.q=au(c,f);this.er=au(h,f);this.es=au(g,f);this.eV=au(b,f)}else{alert("Invalid RSA private key")}};pidCrypt.dr.prototype.lY=function(b,j){var a=new aF();var f=b>>1;this.e=parseInt(j,16);var c=new ap(j,16);for(;;){for(;;){this.p=new ap(b-f,1,a);if(this.p.ei(ap.dp).fI(c).de(ap.dp)==0&&this.p.fS(10)){break}}for(;;){this.q=new ap(f,1,a);if(this.q.ei(ap.dp).fI(c).de(ap.dp)==0&&this.q.fS(10)){break}}if(this.p.de(this.q)<=0){var h=this.p;this.p=this.q;this.q=h}var g=this.p.ei(ap.dp);var d=this.q.ei(ap.dp);var e=g.fz(d);if(e.fI(c).de(ap.dp)==0){this.n=this.p.fz(this.q);this.d=c.gI(e);this.er=this.d.ed(g);this.es=this.d.ed(d);this.eV=this.q.gI(this.p);break}}};pidCrypt.dr.prototype.gu=function(a){var e={};var c=[];var d=0;if(a.value&&a.type=="INTEGER"){c[d++]=a.value}if(a.sub){for(var b=0;b<a.sub.length;b++){c=c.concat(this.gu(a.sub[b]))}}return c};pidCrypt.dr.prototype.gl=function(c,e){var d=["N","E","D","P","Q","DP","DQ","C"];var f={};var a=this.gu(e);switch(c){case"Public":case"public":for(var b=0;b<a.length;b++){f[d[b]]=a[b].toLowerCase()}this.jB(f.N,f.E,16);break;case"Private":case"private":for(var b=1;b<a.length;b++){f[d[b-1]]=a[b].toLowerCase()}this.jE(f.N,f.E,f.D,f.P,f.Q,f.kW,f.kV,f.C,16);break}};pidCrypt.dr.prototype.jC=function(a){this.gl("public",a)};pidCrypt.dr.prototype.ki=function(a){this.gl("private",a)};pidCrypt.dr.prototype.mj=function(){var a={};if(this.n!=null){a.n=this.n}a.e=this.e;if(this.d!=null){a.d=this.d}if(this.p!=null){a.p=this.p}if(this.q!=null){a.q=this.q}if(this.er!=null){a.er=this.er}if(this.es!=null){a.es=this.es}if(this.eV!=null){a.c=this.eV}return a}}var dS={ir:"'",ff:'"',fL:{ff:"&quot;",ir:"&apos;"},gO:"&amp;",gJ:"&lt;",gy:"&gt;",jl:function(c){var g="",f="",a="",d="",e="";d=this.ff;e=this.fL[d];for(var b in c){g=c[b];f=" "+b+"="+d+g.replace("&",this.gO).replace("<",this.gJ).replace(">",this.gy).replace('"',this.fL[this.ff])+d;a+=f}return a},jm:function(a){return a.replace(/&/g,this.gO).replace(/</g,this.gJ).replace(/>/g,this.gy).replace(/\"/g,this.fL[this.ff])},dY:function(b,c,a){var d="";if(a){d=this.jl(a)}if(!c){return"<"+b+d+"/>"}else{return"<"+b+d+">"+c+"</"+b+">"}}};var ho=null,hj=null;var BCLDlocalSuccessCallback=null,BCLDlocalErrorCallback=null;var mW={mU:"",mV:""};var gS=0;var BCLD={ji:{ns:"FPv5.ad",nt:"FPv5.fr",nu:"FPv6",nv:"FPv7"},he:":",sha1Len:32,kP:24,randomDataLen:4,nonceOriginCodeLen:1,nonceHashLen:20,lJ:function(a){if(a){if(typeof a!="string"){mW.mV=en.gp(a)}else{mW.mV=a}}hj(mW.mV);return},mT:function(a){if(a){if(typeof a!="string"){mW.mU=en.gp(a)}}return mW.mU},fQ:function(c){aq.eh();var a=aq.iW();var b=aq.lh();if(a.length!=this.kP+this.nonceOriginCodeLen+this.randomDataLen&&b.length!=this.nonceHashLen){BCLD.lJ({u:window.location.href,c:aq.ge.gR,m:"Nonce Len = "+a.length+" Nonce="+a+" NonceHashLen="+b.length},true);return}ho(lc.kj(a,b,hz,BCLDSnapshotVersion,true).bcldFullFP,BCLD.mT(c));return},fpInfo:function(a,b){this.bcldFullFP=a;this.bcldFPOther=b;this.putFP=function(c){this.bcldFPOther=pidCryptUtil.mt(ef.kJ(new SHA1(c.bcldFPOther).digest()));this.bcldFullFP=c.bcldFullFP}},getId:function(b,a){this.getSnapshot(b,a)},getSnapshotLocal:function(b,a,c){this.ka(b,ey.ej(),a,c)},getSnapshot:function(b,a){this.ka(b,ey.ej(),a)},ka:function(e,g,d,f){gS=(new Date()).getTime();hn=g;ho=e;hj=d;if(typeof swfobject!=="undefined"){gi=swfobject.jQ("9.0.0")}else{gi=false}var c=(gi&&(mZ.bm(mZ.mX.ng)||mZ.bm(mZ.mX.nc)));var b=aq.mI(f);var a;if(b){a=function(){BCLD.fQ(null)}}else{if(aq.ju()){a=function(){me()}}else{a=function(){aq.fC()}}}if(!c){a();return}else{gg=setTimeout(a,10000);swfobject.embedSWF(iQ,"BCLDflashplayer","0","0","9.0.0",null,null,{allowScriptAccess:"always"},{id:"BCLDMyApp",name:"BCLDMyAppName"},function h(j){if(j.success==false){BCLD.mT({u:window.location.href,c:aq.ge.hA,m:"Unable to embed flash component."});a();return}});return}}};var lc={he:":",kj:function(b,f,h,g,e){if(h==BCLD.ji.nt||h==BCLD.ji.nv){var j=ef.gz(ef.jD);var c=ef.gz(ef.jK);var a=bu(j,aq.cV(),true,ef.jw.kI,c,ef.jx.ig);var d=h+aq.ja(g)+this.he;d+=ef.ii(mS,c+j);c=j="";d+=this.he+pidCryptUtil.mt(a)+this.he;if(e){d+=this.js(b,f,ef.kJ(new SHA1(a).digest()))}}else{if(h==BCLD.ji.ns||h==BCLD.ji.nu){var k=ef.gz(ef.an);var a=hc.ke(k,aq.cV());var d=h+aq.ja(g)+this.he;d+=pidCryptUtil.mt(k);d+=this.he+pidCryptUtil.mt(a)+this.he;if(e){d+=this.al(k,b,f)}k=""}else{alert("Invalid mode")}}return{bcldFullFP:d,bcldFPOther:a}},js:function(b,c,a){return ef.ii(mS,b+a+c)},al:function(b,a,c){return pidCryptUtil.mt(hc.ke(b,a+c))}};var gP={eh:function(){this.h=document.getElementsByTagName("BODY")[0];this.d=document.createElement("DIV");this.s=document.createElement("SPAN");this.d.appendChild(this.s);this.d.style.fontFamily="sans";this.s.style.fontFamily="sans";this.s.style.fontSize="72px";this.s.style.backgroundColor="white";this.s.style.color="white";this.s.innerHTML="mmmmmmmmmmlil";this.h.appendChild(this.d);this.jJ=this.s.offsetWidth;this.jM=this.s.offsetHeight;this.h.removeChild(this.d)},test:function(a){this.h.appendChild(this.d);var b=[];b.name=this.s.style.fontFamily=a;b.width=this.s.offsetWidth;b.height=this.s.offsetHeight;this.h.removeChild(this.d);a=a.toLowerCase();if(a=="serif"){b.found=true}else{b.found=(b.width!=this.jJ||b.height!=this.jM)}return b},gj:function(a){this.eh();switch(a){case"win":fontsToFind=this.mA;break;case"mac":fontsToFind=this.cl;break;default:fontsToFind=this.ew;break}var c="";for(i=0;i<fontsToFind.length;++i){var b=this.test(fontsToFind[i]);if(b.found){c+=b.name+","}}return c.slice(0,-1)},ew:["cursive","monospace","serif","sans-serif","fantasy","default","Arial","Arial Black","Arial Narrow","Arial Rounded MT Bold","Book Antiqua","Bookman Old Style","Bradley Hand ITC","Bodoni MT","Calibri","Century","Century Gothic","Casual","Comic Sans MS","Consolas","Copperplate Gothic Bold","Courier","Courier New","English Text MT","Felix Titling","Futura","Garamond","Geneva","Georgia","Gentium","Haettenschweiler","Helvetica","Impact","Jokerman","King","Kootenay","Latha","Liberation Serif","Lucida Console","Lalit","Lucida Grande","Magneto","Mistral","Modena","Monotype Corsiva","MV Boli","OCR A Extended","Onyx","Palatino Linotype","Papyrus","Parchment","Pericles","Playbill","Segoe Print","Shruti","Tahoma","TeX","Times","Times New Roman","Trebuchet MS","Verdana","Verona"],mA:["Comic Sans MS","Arial Black","Arial CYR","Chiller","Arial Narrow","Arial Rounded MT Bold","Baskerville Old Face","Berlin Sans FB","Blackadder ITC","Lucida Console","Symbol","Times New Roman","Webdings","Agency FB","Vijaya","Algerian","Arial Unicode MS","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Calibri","Cambria","Cambria Math","Kartika","MS Mincho","MS Outlook","MT Extra","Segoe UI","Aharoni","Aparajita","Amienne","cursive","Academy Engraved LET","LCD","LuzSans-Book","sans-serif","ZWAdobeF","Eurostile","SimSun-PUA","Blackletter686 BT","Myriad Web Pro Condensed","Matisse ITC","Bell Gothic Std Black","David Transparent","Adobe Caslon Pro","AR BERKLEY","Australian Sunrise","Myriad Web Pro","Gentium Basic","Highlight LET","Adobe Myungjo Std M","GothicE","HP PSG","DejaVu Sans","Arno Pro","Futura Bk","DejaVu Sans Condensed","Euro Sign","Neurochrome","Bell Gothic Std Light","Jokerman Alts LET","Adobe Fan Heiti Std B","Baby Kruffy","Tubular","Woodcut","HGHeiseiKakugothictaiW3","YD2002","Tahoma Small Cap","Helsinki","Bickley Script","Unicorn","X-Files","GENISO","Frutiger SAIN Bd v.1","Opus","ZDingbats","ABSALOM","Vagabond","Year supply of fairy cakes","Myriad Condensed Web","Segoe Media Center","Coronet","Helsinki Metronome","Segoe Condensed","Weltron Urban","AcadEref","DecoType Naskh","Freehand521 BT","Opus Chords Sans","Enviro","SWGamekeys MT","Croobie","Arial Narrow Special G1","AVGmdBU","Candles","Futura Bk BT","Andy","QuickType","WP Arabic Sihafa","DigifaceWide","ELEGANCE","BRAZIL","Pepita MT","Nina","Geneva","OCR B MT","Futura","Blade Runner Movie Font","Allegro BT","Lucida Blackletter","AGA Arabesque","AdLib BT","Clarendon","Monotype Sorts","Alibi","Bremen Bd BT","mono","News Gothic MT","AvantGarde Bk BT","chs_boot","fantasy","Palatino","BernhardFashion BT","Courier New","CloisterBlack BT","Scriptina","Tahoma","BernhardMod BT","Virtual DJ","Nokia Smiley","Boulder","Andale Mono IPA","Belwe Lt BT","Calligrapher","Belwe Cn BT","Tanseek Pro Arabic","FuturaBlack BT","Abadi MT Condensed","Mangal","Chaucer","Belwe Bd BT","Liberation Serif","DomCasual BT","Bitstream Vera Sans","URW Gothic L","GeoSlab703 Lt BT","Bitstream Vera Sans Mono","Nimbus Mono L","Heather","Antique Olive","Clarendon Cn BT","Amazone BT","Bitstream Vera Serif","Utopia","Americana BT","Map Symbols","Bitstream Charter","Aurora Cn BT","CG Omega","Lohit Punjabi","Balloon XBd BT","Akhbar MT","Courier 10 Pitch","Benguiat Bk BT","Market","Cursor","Bodoni Bk BT","Letter Gothic","Luxi Sans","Brush455 BT","Sydnie","Lohit Hindi","Lithograph","Albertus","DejaVu LGC Serif","Lydian BT","Antique Olive Compact","KacstArt","Incised901 Bd BT","Clarendon Extended","Lohit Telugu","Incised901 Lt BT","GiovanniITCTT","KacstOneFixed","Folio XBd BT","Edda","Loma","Formal436 BT","Fine Hand","Garuda","Impress BT","RefSpecialty","Sazanami Mincho","Staccato555 BT","VL Gothic","Hkmer OS","WP BoxDrawing","Clarendon Blk BT","Droid Sans","CommonBullets","Sherwood","Helvetica","CopprplGoth Bd BT","Smudger Alts LET","BPG Rioni","CopprplGoth BT","Guitar Pro 5","Estrangelo TurAbdin","Dauphin","Arial Tur","English111 Vivace BT","Steamer","OzHandicraft BT","Arial Cyr","Futura Lt BT","Liberation Sans Narrow","Futura XBlk BT","Candy Round BTN Cond","GoudyHandtooled BT","GrilledCheese BTN Cn","GoudyOlSt BT","Galeforce BTN","Kabel Bk BT","Sneakerhead BTN Shadow","OCR-A BT","Denmark","OCR-B 10 BT","Swiss921 BT","PosterBodoni BT","Arial (Arabic)","Serifa BT","FlemishScript BT"],cl:["Arial","American Typewriter","Arial Black","Apple Symbols","Arial Narrow","AppleMyungjo","Arial Rounded MT Bold","Zapfino","Arial Unicode MS","BlairMdITC TT-Medium","Century Gothic","Cracked","Papyrus","KufiStandardGK","Plantagenet Cherokee","Courier","Helvetica","Baskerville Old Face","Apple Casual","Type Embellishments One LET","Bookshelf Symbol 7","Abadi MT Condensed Extra Bold","Calibri","Calibri Bold","Calisto MT","Chalkduster","Cambria","Franklin Gothic Book Italic","Century","Geneva CY","Franklin Gothic Book","Helvetica Light","Gill Sans MT","Academy Engraved LET","MT Extra","Bank Gothic","Eurostile","Bodoni SvtyTwo SC ITC TT-Book","Tekton Pro","Courier CE","Maestro","BO Futura BoldOblique","Lucida Bright Demibold","New","AGaramond","Charcoal","DIN-Black","Lucida Sans Demibold","Stone Sans OS ITC TT-Bold","AGaramond Italic","Bickham Script Pro Regular","Adobe Arabic Bold","AGaramond Semibold","Al Bayan Bold","Doremi","AGaramond SemiboldItalic","Arno Pro Bold","Casual","B Futura Bold","Frutiger 47LightCn","Gadget","HelveticaNeueLT Std Bold","Frutiger 57Cn","DejaVu Serif Italic Condensed","Myriad Pro Black It","Frutiger 67BoldCn","Gentium Basic Bold","Sand","GillSans","H Futura Heavy","Liberation Mono Bold","GillSans Bold","Cambria Math","Courier Final Draft","HelveticaNeue BlackCond","cursive","Techno","HelveticaNeue BlackCondObl","Gabriola","JazzText Extended","HelveticaNeue BlackExt","sans-serif","Textile","HelveticaNeue BlackExtObl fantasy","HelveticaNeue BoldCond","Palatino Linotype Bold","HelveticaNeue BoldCondObl","BIRTH OF A HERO","HelveticaNeue BoldExt","Bleeding Cowboys","HelveticaNeue BoldExtObl","ChopinScript","HelveticaNeue ExtBlackCond","LCD","HelveticaNeue ExtBlackCondObl","Myriad Web Pro Condensed","HelveticaNeue HeavyCond","Scriptina","HelveticaNeue HeavyCondObl","OpenSymbol","HelveticaNeue HeavyExt","Virtual DJ","HelveticaNeue HeavyExtObl","Guitar Pro 5","HelveticaNeue LightCondObl","Nueva Std","HelveticaNeue ThinCond","Chicago","HelveticaNeue ThinCondObl","Nueva Std Bold","Brush Script MT","Capitals","Myriad Web Pro","Avant Garde","B Avant Garde Demi","Nueva Std Bold Italic","BI Avant Garde DemiOblique","MaestroTimes","Univers BoldExtObl","APC Courier","Myriad Web Pro Bold","Liberation Serif","Myriad Pro Light","Carta","DIN-Bold","DIN-Light","Myriad Web Pro Condensed Italic","DIN-Medium","Tekton Pro Oblique","DIN-Regular","AScore","HelveticaNeue UltraLigCondObl","Opus","HelveticaNeue UltraLigExt","Myriad Pro Light It","HelveticaNeue UltraLigExtObl","Opus Chords Sans","HO Futura HeavyOblique","Opus Japanese Chords","L Frutiger Light","VT100","L Futura Light","Helsinki","LO Futura LightOblique","Helsinki Metronome","Myriad Pro Black","New York","O Futura BookOblique","R Frutiger Roman","Reprise","TradeGothic","Warnock Pro Bold Caption","Univers 45 Light","Warnock Pro","XBO Futura ExtraBoldOblique","Univers 45 LightOblique","Liberation Mono","Univers 55 Oblique","UC LCD","Univers 57 Condensed","Warnock Pro Bold","Univers ExtraBlack","Warnock Pro Light Ital Subhead","Univers LightUltraCondensed","Matrix Ticker","Univers UltraCondensed","Fang Song"]};var swfobject=function(){var A="undefined",q="object",O="Shockwave Flash",S="ShockwaveFlash.ShockwaveFlash",p="application/x-shockwave-flash",N="SWFObjectExprInst",v="onreadystatechange",L=window,j=document,s=navigator,P=false,Q=[g],o=[],K=[],F=[],l,M,B,y,G=false,a=false,n,D,m=true,J=function(){var W=typeof j.getElementById!=A&&typeof j.getElementsByTagName!=A&&typeof j.createElement!=A,ad=s.userAgent.toLowerCase(),U=s.platform.toLowerCase(),aa=U?/win/.test(U):/win/.test(ad),Y=U?/mac/.test(U):/mac/.test(ad),ab=/webkit/.test(ad)?parseFloat(ad.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,T=!+"\v1",cU=[0,0,0],X=null;if(typeof s.plugins!=A&&typeof s.plugins[O]==q){X=s.plugins[O].description;if(X&&!(typeof s.mimeTypes!=A&&s.mimeTypes[p]&&!s.mimeTypes[p].enabledPlugin)){P=true;T=false;X=X.replace(/^.*\s+(\S+\s+\S+$)/,"$1");cU[0]=parseInt(X.replace(/^(.*)\..*$/,"$1"),10);cU[1]=parseInt(X.replace(/^.*\.(.*)\s.*$/,"$1"),10);cU[2]=/[a-zA-Z]/.test(X)?parseInt(X.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof L.ActiveXObject!=A){try{var Z=new ActiveXObject(S);if(Z){X=Z.GetVariable("$version");if(X){T=true;X=X.split(" ")[1].split(",");cU=[parseInt(X[0],10),parseInt(X[1],10),parseInt(X[2],10)]}}}catch(V){}}}return{w3:W,pv:cU,wk:ab,ie:T,win:aa,mac:Y}}(),k=function(){if(!J.w3){return}if((typeof j.readyState!=A&&j.readyState=="complete")||(typeof j.readyState==A&&(j.getElementsByTagName("body")[0]||j.body))){e()}if(!G){if(typeof j.addEventListener!=A){j.addEventListener("DOMContentLoaded",e,false)}if(J.ie&&J.win){j.attachEvent(v,function(){if(j.readyState=="complete"){j.detachEvent(v,arguments.callee);e()}});if(L==top){(function(){if(G){return}try{j.documentElement.doScroll("left")}catch(T){setTimeout(arguments.callee,0);return}e()})()}}if(J.wk){(function(){if(G){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}e()})()}r(e)}}();function e(){if(G){return}try{var V=j.getElementsByTagName("body")[0].appendChild(z("span"));V.parentNode.removeChild(V)}catch(W){return}G=true;var T=Q.length;for(var U=0;U<T;U++){Q[U]()}}function H(T){if(G){T()}else{Q[Q.length]=T}}function r(U){if(typeof L.addEventListener!=A){L.addEventListener("load",U,false)}else{if(typeof j.addEventListener!=A){j.addEventListener("load",U,false)}else{if(typeof L.attachEvent!=A){h(L,"onload",U)}else{if(typeof L.onload=="function"){var T=L.onload;L.onload=function(){T();U()}}else{L.onload=U}}}}}function g(){if(P){R()}else{E()}}function R(){var T=j.getElementsByTagName("body")[0];var W=z(q);W.setAttribute("type",p);var V=T.appendChild(W);if(V){var U=0;(function(){if(typeof V.GetVariable!=A){var X=V.GetVariable("$version");if(X){X=X.split(" ")[1].split(",");J.pv=[parseInt(X[0],10),parseInt(X[1],10),parseInt(X[2],10)]}}else{if(U<10){U++;setTimeout(arguments.callee,10);return}}T.removeChild(W);V=null;E()})()}else{E()}}function E(){var Y=o.length;if(Y>0){for(var U=0;U<Y;U++){var Z=o[U].id;var T=o[U].callbackFn;var V={success:false,id:Z};if(J.pv[0]>0){var W=c(Z);if(W){if(C(o[U].swfVersion)&&!(J.wk&&J.wk<312)){u(Z,true);if(T){V.success=true;V.ref=x(Z);T(V)}}}}else{u(Z,true);if(T){var X=x(Z);if(X&&typeof X.SetVariable!=A){V.success=true;V.ref=X}T(V)}}}}}function x(W){var T=null;var U=c(W);if(U&&U.nodeName=="OBJECT"){if(typeof U.SetVariable!=A){T=U}else{var V=U.getElementsByTagName(q)[0];if(V){T=V}}}return T}function t(ae,cU,U){var T,W=c(U);if(J.wk&&J.wk<312){return T}if(W){if(typeof ae.id==A){ae.id=U}if(J.ie&&J.win){var ad="";for(var aa in ae){if(ae[aa]!=Object.prototype[aa]){if(aa.toLowerCase()=="data"){cU.movie=ae[aa]}else{if(aa.toLowerCase()=="styleclass"){ad+=' class="'+ae[aa]+'"'}else{if(aa.toLowerCase()!="classid"){ad+=" "+aa+'="'+ae[aa]+'"'}}}}}var ab="";for(var Z in cU){if(cU[Z]!=Object.prototype[Z]){ab+='<param name="'+Z+'" value="'+cU[Z]+'" />'}}W.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ad+">"+ab+"</object>";K[K.length]=ae.id;T=c(ae.id)}else{var V=z(q);V.setAttribute("type",p);for(var Y in ae){if(ae[Y]!=Object.prototype[Y]){if(Y.toLowerCase()=="styleclass"){V.setAttribute("class",ae[Y])}else{if(Y.toLowerCase()!="classid"){V.setAttribute(Y,ae[Y])}}}}for(var X in cU){if(cU[X]!=Object.prototype[X]&&X.toLowerCase()!="movie"){f(V,X,cU[X])}}W.parentNode.replaceChild(V,W);T=V}}return T}function f(V,T,U){var W=z("param");W.setAttribute("name",T);W.setAttribute("value",U);V.appendChild(W)}function w(U){var T=c(U);if(T&&T.nodeName=="OBJECT"){if(J.ie&&J.win){T.style.display="none";(function(){if(T.readyState==4){b(U)}else{setTimeout(arguments.callee,10)}})()}else{T.parentNode.removeChild(T)}}}function b(V){var U=c(V);if(U){for(var T in U){if(typeof U[T]=="function"){U[T]=null}}U.parentNode.removeChild(U)}}function c(V){var T=null;try{T=j.getElementById(V)}catch(U){}return T}function z(T){return j.createElement(T)}function h(V,T,U){V.attachEvent(T,U);F[F.length]=[V,T,U]}function C(V){var U=J.pv,T=V.split(".");T[0]=parseInt(T[0],10);T[1]=parseInt(T[1],10)||0;T[2]=parseInt(T[2],10)||0;return(U[0]>T[0]||(U[0]==T[0]&&U[1]>T[1])||(U[0]==T[0]&&U[1]==T[1]&&U[2]>=T[2]))?true:false}function u(V,T){if(!m){return}var U=T?"visible":"hidden";if(G&&c(V)){c(V).style.visibility=U}}function I(U){var V=/[\\\"<>\.;]/;var T=V.exec(U)!=null;return T&&typeof encodeURIComponent!=A?encodeURIComponent(U):U}var d=function(){if(J.ie&&J.win){window.attachEvent("onunload",function(){var Y=F.length;for(var X=0;X<Y;X++){F[X][0].detachEvent(F[X][1],F[X][2])}var V=K.length;for(var W=0;W<V;W++){w(K[W])}for(var U in J){J[U]=null}J=null;for(var T in swfobject){swfobject[T]=null}swfobject=null})}}();return{lL:function(X,T,W,V){if(J.w3&&X&&T){var U={};U.id=X;U.swfVersion=T;U.expressInstall=W;U.callbackFn=V;o[o.length]=U;u(X,false)}else{if(V){V({success:false,id:X})}}},mv:function(T){if(J.w3){return x(T)}},embedSWF:function(X,ad,aa,cU,U,W,V,Z,ab,Y){var T={success:false,id:ad};if(J.w3&&!(J.wk&&J.wk<312)&&X&&ad&&aa&&cU&&U){u(ad,false);H(function(){aa+="";cU+="";var af={};if(ab&&typeof ab===q){for(var ah in ab){af[ah]=ab[ah]}}af.data=X;af.width=aa;af.height=cU;var ai={};if(Z&&typeof Z===q){for(var ag in Z){ai[ag]=Z[ag]}}if(V&&typeof V===q){for(var ae in V){if(typeof ai.flashvars!=A){ai.flashvars+="&"+ae+"="+V[ae]}else{ai.flashvars=ae+"="+V[ae]}}}if(C(U)){var aj=t(af,ai,ad);if(af.id==ad){u(ad,true)}T.success=true;T.ref=aj}else{u(ad,true)}if(Y){Y(T)}})}else{if(Y){Y(T)}}},kq:function(){m=false},kw:J,ma:function(){return{lE:J.pv[0],lA:J.pv[1],lN:J.pv[2]}},jQ:C,kA:function(V,U,T){if(J.w3){return t(V,U,T)}else{return undefined}},lO:function(T){if(J.w3){w(T)}},addDomLoadEvent:H,addLoadEvent:r,getQueryParamValue:function(W){var V=j.location.search||j.location.hash;if(V){if(/\?/.test(V)){V=V.split("?")[1]}if(W==null){return I(V)}var U=V.split("&");for(var T=0;T<U.length;T++){if(U[T].substring(0,U[T].indexOf("="))==W){return I(U[T].substring((U[T].indexOf("=")+1)))}}}return""}}}();(function(){if(window.google&&google.fe){return}var a=null;if(typeof jj!="undefined"){a=new jj()}else{try{a=new ActiveXObject("Gears.Factory");if(a.jd().indexOf("ie_mobile")!=-1){a.lM(this)}}catch(b){if((typeof navigator.mimeTypes!="undefined")&&navigator.mimeTypes["application/x-googlegears"]){a=document.createElement("object");a.style.display="none";a.width=0;a.height=0;a.type="application/x-googlegears";document.documentElement.appendChild(a);if(a&&(typeof a.kF=="undefined")){a=null}}}}if(!a){return}if(!window.google){google={}}if(!google.fe){google.fe={iI:a}}})();if(!this.en){this.en={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.eq!=="function"){Date.prototype.eq=function(dP){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.eq=Number.prototype.eq=Boolean.prototype.eq=function(dP){return this.valueOf()}}var fY=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,fK=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,dG,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},ek;function aD(string){fK.lastIndex=0;return fK.test(string)?'"'+string.replace(fK,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function aB(dP,eL){var i,k,v,length,fq=dG,dM,value=eL[dP];if(value&&typeof value==="object"&&typeof value.eq==="function"){value=value.eq(dP)}if(typeof ek==="function"){value=ek.call(eL,dP,value)}switch(typeof value){case"string":return aD(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}dG+=indent;dM=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){dM[i]=aB(i,value)||"null"}v=dM.length===0?"[]":dG?"[\n"+dG+dM.join(",\n"+dG)+"\n"+fq+"]":"["+dM.join(",")+"]";dG=fq;return v}if(ek&&typeof ek==="object"){length=ek.length;for(i=0;i<length;i+=1){k=ek[i];if(typeof k==="string"){v=aB(k,value);if(v){dM.push(aD(k)+(dG?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=aB(k,value);if(v){dM.push(aD(k)+(dG?": ":":")+v)}}}}v=dM.length===0?"{}":dG?"{\n"+dG+dM.join(",\n"+dG)+"\n"+fq+"}":"{"+dM.join(",")+"}";dG=fq;return v}}if(typeof en.gp!=="function"){en.gp=function(value,eE,space){var i;dG="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}ek=eE;if(eE&&typeof eE!=="function"&&(typeof eE!=="object"||typeof eE.length!=="number")){throw new Error("BCLDJSON.stringify")}return aB("",{"":value})}}if(typeof en.parse!=="function"){en.parse=function(text,gs){var j;function aJ(eL,dP){var k,v,value=eL[dP];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=aJ(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return gs.call(eL,dP,value)}text=String(text);fY.lastIndex=0;if(fY.test(text)){text=text.replace(fY,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof gs==="function"?aJ({"":j},""):j}throw new SyntaxError("BCLDJSON.parse")}}}());var SHA1=(function(){var c={enabled:false,kO:function(l,k){if(l instanceof Array&&k instanceof Array){if(l.length!=k.length){return false}for(var m=0;m<l.length;m++){if(!c.kO(l[m],k[m])){return false}}return true}if((l!=null&&k!=null)&&(typeof l=="object"&&typeof k=="object")){for(var m in l){if(!c.kO(l[m],k[m])){return false}}return true}return(l==k)},should:function(m,l){c.currentIndicator++;if(!m){var k=["[Spec failed",c.currentTitle?" ("+c.currentTitle+")] ":"] ",(l||(c.currentMessage+" "+c.currentIndicator)||"")].join("");alert(k);throw k}return !!m},describe:function(l,k){},Version:"0.1"};c.should.equal=function(l,k,m){return c.should(c.kO(l,k),m)};c.should.not=function(k,l){return c.should(!k,l)};c.should.not.equal=function(l,k,m){return c.should(!c.kO(l,k),m)};if(!c.enabled){c.describe=function(){}}c.describe("Spec object",{});function h(k){k&=4294967295;if(k<0){k+=4294967296}var l=Number(k).toString(16);if(l.length<8){l="00000000".substr(0,8-l.length)+l}return l}function a(k){if(typeof arguments.callee.ZERO32=="undefined"){arguments.callee.ZERO32=new Array(33).join("0")}var l=Number(k).toString(2);if(l.length<32){l=arguments.callee.ZERO32.substr(0,32-l.length)+l}return l.replace(/(\d{8})/g,"$1 ").replace(/^\s*(.*?)\s*$/,"$1")}function d(k){var l=k+1+64;return 512*Math.ceil(l/512)/32}function e(k){var p=k.length;var o=d(p*8);var q=new Array(o);for(var n=0,l=0;n<p;){q[l++]=((k.charCodeAt(n++)&255)<<24)|((k.charCodeAt(n++)&255)<<16)|((k.charCodeAt(n++)&255)<<8)|((k.charCodeAt(n++)&255))}while(l<o){q[l++]=0}return q}function f(n,l,m){if(m>4294967295){var k=m&4294967295;if(k<0){k+=4294967296}n[l-1]=k;n[l-2]=(m-k)/4294967296}else{n[l-1]=m;n[l-2]=0}return n}function j(m,l){var k=Math.floor(l/32);m[k]|=(1<<(((k+1)*32)-l-1));f(m,d(l),l);return m}function g(r){var q=0,v=0;var u=[1732584193,4023233417,2562383102,271733878,3285377520];while(q<r.length){var o=new Array(80);for(v=0;v<16;v++){o[v]=r[q++]}for(v=16;v<80;v++){var s=o[v-3]^o[v-8]^o[v-14]^o[v-16];o[v]=(s<<1)|(s>>>31)}var n=u[0],m=u[1],l=u[2],k=u[3],x=u[4];for(v=0;v<80;v++){var p=((n<<5)|(n>>>27))+x+o[v];if(v>=0&&v<=19){p+=((m&l)|((~m)&k))+1518500249}else{if(v>=20&&v<=39){p+=(m^l^k)+1859775393}else{if(v>=40&&v<=59){p+=((m&l)|(m&k)|(l&k))+2400959708}else{if(v>=60&&v<=79){p+=(m^l^k)+3395469782}}}}x=k;k=l;l=((m<<30)|(m>>>2));m=n;n=p}u[0]=(u[0]+n)&4294967295;u[1]=(u[1]+m)&4294967295;u[2]=(u[2]+l)&4294967295;u[3]=(u[3]+k)&4294967295;u[4]=(u[4]+x)&4294967295;if(u[0]<0){u[0]+=4294967296}if(u[1]<0){u[1]+=4294967296}if(u[2]<0){u[2]+=4294967296}if(u[3]<0){u[3]+=4294967296}if(u[4]<0){u[4]+=4294967296}}return u}var b=function(k){this.message=k};b.prototype={digest:function(){var m=this.message.length*8;var n=j(e(this.message),m);var l=g(n);var o=[];for(var k=0;k<l.length;++k){o.push(String.fromCharCode((l[k]>>>24)),String.fromCharCode((l[k]>>>16)&255),String.fromCharCode((l[k]>>>8)&255),String.fromCharCode((l[k])&255))}return o},hexdigest:function(){var l=this.digest();for(var k=0;k<l.length;k++){l[k]=h(l[k])}return l.join("")}};return b})();var dF={iq:10,gW:function(j,c){var a=1540483477;var g=24;var e=c^j.length;var f=j.length;var b=0;while(f>=4){var d=dF.hK(j,b);d=dF.eB(d,a);d^=d>>>g;d=dF.eB(d,a);e=dF.eB(e,a);e^=d;b+=4;f-=4}switch(f){case 3:e^=dF.gQ(j,b);e^=j.charCodeAt(b+2)<<16;e=dF.eB(e,a);break;case 2:e^=dF.gQ(j,b);e=dF.eB(e,a);break;case 1:e^=j.charCodeAt(b);e=dF.eB(e,a);break}e^=e>>>13;e=dF.eB(e,a);e^=e>>>15;return e>>>0},hK:function(a,b){return(a.charCodeAt(b++))+(a.charCodeAt(b++)<<8)+(a.charCodeAt(b++)<<16)+(a.charCodeAt(b)<<24)},gQ:function(a,b){return(a.charCodeAt(b++))+(a.charCodeAt(b++)<<8)},eB:function(e,a){e=e|0;a=a|0;var d=e&65535;var b=e>>>16;var c=((d*a)+(((b*a)&65535)<<16))|0;return c},lZ:function(c,a){var b=dF.gW(c,c.length);var d=b%a;return d}};var lm=function(){var a={eS:function(b){return b<10?"0"+b:b},fm:function(b){if(b<100){b="0"+b}if(b<10){b="0"+b}return b}};return{kl:function(b){return b.getUTCFullYear()+"-"+a.eS(b.getUTCMonth()+1)+"-"+a.eS(b.getUTCDate())+"T"+a.eS(b.getUTCHours())+":"+a.eS(b.getUTCMinutes())+":"+a.eS(b.getUTCSeconds())+"."+a.fm(b.getUTCMilliseconds())+"Z"}}}();var hl=function(){var a={kY:function(c,d,b){try{if(b){b.setAttribute(c,d);b.save("BCLStore")}else{if(ey.ht(window.localStorage)){window.localStorage.setItem(c,d)}else{return false}}}catch(f){return false}return true},kX:function(c,b){try{if(b){b.load("BCLStore");var d=b.getAttribute(c);if(d===null){d=""}return d}else{if(ey.ht(window.localStorage)){return window.localStorage.getItem(c)}else{return""}}}catch(f){return""}}};return{storageItemName:{FP:"BCLD0101",ENCBODYHASH:"BCLD0102",LOCALSTORAGEGUID:"BCLD0103",TIMESTAMP:"BCLD0104",COMPONENT_VERSION:"BCLD0105"},ea:1,mG:1,readValue:function(b){var c=null;if(!ey.ht(window.localStorage)){c=document.getElementById(fW);if(ey.ht(c)){if(!ey.ht(c.addBehavior)){return""}c.addBehavior("#default#userData")}}return a.kX(b,c)},writeValue:function(b,d){var c=null;if(!ey.ht(window.localStorage)){c=document.getElementById(fW);if(ey.ht(c)){if(!ey.ht(c.addBehavior)){return false}c.addBehavior("#default#userData")}}return a.kY(b,d,c)},kQ:function(){try{var b="localStorage" in window&&window.localStorage!==null&&typeof window.localStorage!=="undefined";if(b){return true}else{var d=document.getElementById(fW);if(ey.ht(d)){if(ey.ht(d.addBehavior)){return true}}return false}}catch(c){return false}},GetBCLDLocalStorageGuid:function(g,c){if(hl.kQ()){var d=hl.readValue(hl.storageItemName.LOCALSTORAGEGUID);var h=hl.readValue(hl.storageItemName.TIMESTAMP);var f=hl.mO();if(g){if((d==null||d=="")||(d!=null&&f<hl.mG&&eZ.gd=="Explorer")){if(c!=null&&c.length==36){d=c;hl.writeValue(hl.storageItemName.LOCALSTORAGEGUID,d);var b=hl.readValue(hl.storageItemName.LOCALSTORAGEGUID);if(d!==b){mW.mU=en.gp({u:window.location.href,c:-105,m:"The localStorage value does not match the value that was written.|"+b+"|"+d});d=""}else{hl.writeValue(hl.storageItemName.COMPONENT_VERSION,hl.ea)}}}if(d!==null&&d!==""){var e=lm.kl(new Date());hl.writeValue(hl.storageItemName.TIMESTAMP,e);if(h!==null&&h!==""){d+="|"+h}}return(d==null)?"":d}else{return""}}return""},mF:function(){return window.location.protocol=="https:"?1:0},mO:function(){var b=parseInt(hl.readValue(hl.storageItemName.COMPONENT_VERSION));if(isNaN(b)){b=0}return b}}}();var ey={kG:function(a){return(a===null||typeof a==="undefined")},ht:function(a){return !this.kG(a)},jV:function(c){var b="";var a="";if(c){while(b.length<c){a=this.nx(Number(Math.random().toString().slice(2)).toString(16),14);if(a.length+b.length>=c){b+=a.slice(a.length-(c-b.length),a.length);break}else{b+=a}}}return b},nx:function(a,c){var b=a+"";while(b.length<c){b="0"+b}return b},ej:function(){var b=window.location.protocol+"//"+window.location.host;var d=window.location.pathname;var c=d.lastIndexOf("/");if(c==0){return b}else{return b+d.substring(0,c)}}};
js/mes/admin-checkout.js ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Merchant e-Solutions
3
+ * http://www.merchante-solutions.com
4
+ *
5
+ * Copyright 2014 Merchant e-Solutions
6
+ */
7
+
8
+ function dumpResults(resultArray) {
9
+ var out = '';
10
+ for (var i in resultArray) {
11
+ out += i + ": " + resultArray[i] + "\n";
12
+ }
13
+ alert(out);
14
+ }
15
+
16
+ function mesTokenRequest() {
17
+ // Token Library may not have loaded
18
+ if(Mes != 'undefined') {
19
+ var mes_cc = document.getElementById('gateway_cc_number').value;
20
+ var mes_month = document.getElementById('gateway_expiration').value;
21
+ if(mes_month.length == 1) mes_month = '0' + mes_month; // Pad month to 2-digit
22
+ var mes_year = document.getElementById('gateway_expiration_yr').value.substr(2,2); // Cut year to last 2 digits
23
+ Mes.tokenize(mes_cc, mes_month+mes_year, mesTokenResponse);
24
+ }
25
+ else {
26
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
27
+ $('mes_err').show().update("Tokenize Library failed to load.");
28
+ }
29
+ }
30
+
31
+ function mesTokenResponse(result) {
32
+ switch(result['code']) {
33
+ case 0: // Success
34
+ // Set hidden field to the token in the library result
35
+ document.getElementById('gateway_cc_token').value = result['token'];
36
+
37
+ // Truncate card number
38
+ var cc = document.getElementById('gateway_cc_number');
39
+ cc.value = truncate(cc.value);
40
+
41
+ // Store truncatd card number
42
+ document.getElementById('gateway_cc_truncated').value = cc.value;
43
+
44
+ // Disable/hide fields
45
+ lockEntry();
46
+ $('mes_err').show().update('Card number tokenized.');
47
+ break;
48
+ case 1: // Unsupported browser
49
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
50
+ $('mes_err').show().update("Your browser is not compatible with the payment security enforced by this website.<br />Please upgrade or use the latest version of any modern web browser.");
51
+ break;
52
+ case 2: // Invalid CC Number
53
+ $$('#gateway_cc_number').invoke('removeClassName', 'validation-passed').invoke('addClassName', 'validation-failed');
54
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
55
+ $('mes_err').show().update("Invalid Credit Card Number");
56
+ break;
57
+ case 3: // Exp date is invalid. Should not happen.
58
+ $$('#gateway_cc_number').invoke('removeClassName', 'validation-passed').invoke('addClassName', 'validation-failed');
59
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
60
+ $('mes_err').show().update("Invalid expiry date or expired card");
61
+ break;
62
+ case 4: // Payment Gateway Error
63
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
64
+ $('mes_err').show().update("There was an error processing the request with the gateway: "+result['gateway_text']);
65
+ break;
66
+ case 5: // HTTP error (IE 8,9 only)
67
+ case 6: // Transmission Error
68
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
69
+ $('mes_err').show().update("There was an error processing the request. Please try again, or contact the administrator.");
70
+ break;
71
+ case 7: // Cross Scheme (non SSL to SSL) Error (IE 8,9 only)
72
+ new Effect.Appear($('mes_err'), {duration:1, from:0.0, to:1.0});
73
+ $('mes_err').show().update("Site must be secured with SSL to proceed. Please contact the administrator.");
74
+ break;
75
+ }
76
+ }
77
+
78
+ function lockEntry() {
79
+ $('tokenize_button').disable();
80
+ $('tokenize_button').hide();
81
+ $('gateway_cc_number').disable();
82
+ $('gateway_expiration').disable();
83
+ $('gateway_expiration_yr').disable();
84
+ }
85
+
86
+ function truncate(number) {
87
+ last = number.substring(number.length-4, number.length);
88
+ number = number.replace(new RegExp(".", "ig"),"*");
89
+ return number.substring(0, number.length-4) + last;
90
+ }
js/mes/mes-1.0-min.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Merchant e-Solutions Javascript Tokenization API
3
+ * http://www.merchante-solutions.com
4
+ *
5
+ * V1.0 11/06/2012
6
+ * Copyright 2012 Merchant e-Solutions
7
+ */
8
+ var Mes={mod10:function(f){var b,h,d,a,c,g;d=!0,a=0,h=(f+"").split("").reverse();for(c=0,g=h.length;c<g;c++){b=h[c],b=parseInt(b,10);if(d=!d){b*=2}b>9&&(b-=9),a+=b}return a%10===0},tokenize:function(d,c,a){var b=Mes.getCORS(a);if(!b){Mes.complete({code:1,text:"Unsupported Browser"},a)}else{if(!Mes.valCc(d)){Mes.complete({code:2,text:"Invalid Card Number"},a)}else{if(!Mes.valExpiry(c)){Mes.complete({code:3,text:"Invalid Expiry Date"},a)}else{b.onerror=function(){Mes.complete({code:6,text:"Transmission Error"},a)};b.onload=function(){if(typeof b.status!="undefined"&&b.status!==200){Mes.complete({code:5,text:"Http code "+b.status+" recieved"},a)}else{var e=Mes.parseJSON(b.responseText);if(e.error_code!="000"){Mes.complete({code:4,text:"Gateway Error",gateway_text:e.auth_response_text,gateway_error:e.error_code},a)}else{Mes.complete({code:0,text:"Success",token:e.transaction_id},a)}}};b.send("transaction_type=T&card_number="+d+"&card_exp_date="+c+"&resp_encoding=json")}}}},valCc:function(a){return Mes.mod10(a)&&a.length!=0},valExpiry:function(a){return a.length==4},parseJSON:function(json){var result;if(typeof JSON!=="object"){result=eval("(function(){return "+json+";})()")}else{result=JSON&&JSON.parse(json)||$.parseJSON(json)}return result},getCORS:function(a){var d=null,b="https://api.merchante-solutions.com/mes-api/tridentApi";if(typeof XMLHttpRequest!="undefined"){d=new XMLHttpRequest();if("withCredentials" in d){d.open("POST",b,true);d.setRequestHeader("Content-type","application/x-www-form-urlencoded");d.setRequestHeader("x-requested-with","XMLHttpRequest")}else{if(typeof XDomainRequest!="undefined"){d=new XDomainRequest();d.onprogress=function(){};d.ontimeout=function(){};try{d.open("POST",b)}catch(c){Mes.complete({code:7,text:c.message},a);throw c}}else{d=null}}}return d},complete:function(b,a){return typeof a=="function"?a(b):void 0}};
package.xml CHANGED
@@ -1,18 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mes_Gateway</name>
4
- <version>1.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/apachepl.php">Apache Software License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>The Official Free Processing plug-in for the MeS Payment Gateway.</summary>
10
  <description>This plug-in will allow credit card acceptance through the Merchant e-Solutions Payment Gateway.</description>
11
- <notes>Fixed creation of orders in the admin backend</notes>
 
12
  <authors><author><name>mesolutions</name><user>mesolutions</user><email>mes_certification@merchante-solutions.com</email></author></authors>
13
- <date>2013-11-01</date>
14
- <time>21:10:26</time>
15
- <contents><target name="magecommunity"><dir name="Mes"><dir name="Gateway"><dir name="Block"><file name="Form.php" hash="03e1cab2da92ca33015ec1f273f0b347"/></dir><dir name="Helper"><file name="Data.php" hash="1a95e5fc5e9fdbd269d9252c1cc943f9"/></dir><dir name="Model"><file name="Paymentmodel.php" hash="1452674749cd6fda3586c09b30fce4be"/><file name="Session.php" hash="f6ce82220c951243ab7c65f6394c9027"/><dir name="Source"><file name="Cardtypes.php" hash="c86be0ea657658fc49fbda3639a663f0"/><file name="Currencies.php" hash="cde6d43fdd21b96c570fc082c2acaadb"/><file name="Transactiontype.php" hash="de93477fe1e51031399ece2a7fcf45ea"/></dir></dir><dir name="etc"><file name="config.xml" hash="a95891af9d6d7e4e5eadf62aea1e7858"/><file name="system.xml" hash="4e1a96a603b3ce3420bbf8e03b5b9283"/></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Mes_Gateway.xml" hash="3c66636dd94beda5bfb984565b52aca1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mes"><file name="cc.phtml" hash="ecf97a98e0be84210c7fb922740bd031"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mes"><file name="cc.phtml" hash="1f6cb5eb01602aad78b06f6d2e616fae"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mes_Gateway</name>
4
+ <version>1.2.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/apachepl.php">Apache Software License</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>The Official Free Processing plug-in for the MeS Payment Gateway.</summary>
10
  <description>This plug-in will allow credit card acceptance through the Merchant e-Solutions Payment Gateway.</description>
11
+ <notes>Fixed loading of tokenization library.&#xD;
12
+ Added tokenization to admin order creation.</notes>
13
  <authors><author><name>mesolutions</name><user>mesolutions</user><email>mes_certification@merchante-solutions.com</email></author></authors>
14
+ <date>2014-02-26</date>
15
+ <time>19:54:32</time>
16
+ <contents><target name="magecommunity"><dir name="Mes"><dir name="Gateway"><dir name="Block"><file name="Form.php" hash="03e1cab2da92ca33015ec1f273f0b347"/></dir><dir name="Helper"><file name="Data.php" hash="1a95e5fc5e9fdbd269d9252c1cc943f9"/></dir><dir name="Model"><file name="Paymentmodel.php" hash="1452674749cd6fda3586c09b30fce4be"/><file name="Session.php" hash="f6ce82220c951243ab7c65f6394c9027"/><dir name="Source"><file name="Cardtypes.php" hash="c86be0ea657658fc49fbda3639a663f0"/><file name="Currencies.php" hash="cde6d43fdd21b96c570fc082c2acaadb"/><file name="Transactiontype.php" hash="de93477fe1e51031399ece2a7fcf45ea"/></dir></dir><dir name="etc"><file name="config.xml" hash="7a39db938f45f75c41bf392604cd1f51"/><file name="system.xml" hash="4e1a96a603b3ce3420bbf8e03b5b9283"/></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Mes_Gateway.xml" hash="3c66636dd94beda5bfb984565b52aca1"/></dir></dir></dir><dir name="js"><dir name="mes"><file name="BCLD5.js" hash="f8652cceda779be5c9b273f42099d93d"/><file name="admin-checkout.js" hash="4063fea37053f0437a3dc870538b67be"/><file name="mes-1.0-min.js" hash="d91042c43a28462ed499dd481cf74852"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mes"><file name="cc.phtml" hash="a4f231bb694ceaadf6170eb548308100"/></dir></dir><dir name="layout"><file name="mes.xml" hash="f5ef2d1fdec027166d500359c858207c"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mes"><file name="cc.phtml" hash="7ad692377830ab69f9976145555fc8c7"/></dir></dir><dir name="layout"><file name="mes.xml" hash="3c230d27f02d256c1ddb64e15fc6c7c8"/></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>