wb-2_10_x/trunk/modules/output_filter/js/mdcr.js @ 35
1 |
/** |
---|---|
2 |
* @version $Id: mdcr.js 65 2017-03-03 21:38:16Z manu $
|
3 |
*/
|
4 |
|
5 |
function mdcr(d,c){location.href=sdcr(d,c)}function sdcr(i,k){var h=i.charCodeAt(i.length-1)-97;var n="";var l;var j;for(var m=i.length-2;m>-1;m--){if(i.charCodeAt(m)<97){switch(i.charCodeAt(m)){case 70:j=64;break;case 90:j=46;break;case 88:j=95;break;case 75:j=45;break;default:j=i.charCodeAt(m);break}n+=String.fromCharCode(j)}else{l=(i.charCodeAt(m)-97-h)%26;l+=(l<0||l>25)?+26:0;n+=String.fromCharCode(l+97)}}return"mailto:"+n+k}; |
- « Previous
- 1
- 2
- 3
- 4
- Next »