5 var isV13V14V15
= ("##CAID##" == "098D" || "##CAID##" == "098C" || "##CAID##" == "09C4");
7 $(document
).ready(function() {
9 if ("##CAID##".substr(0, 2) != "09") {
13 document
.getElementById('rdrUniqueTitle').title
= '';
14 document
.getElementById('rdrSharedTitle').title
= '';
15 document
.getElementById('rdrGlobalTitle').title
= '';
17 var tosingleemm
= $('.tosingleemm');
18 var singleemm
= $('#singleemm');
20 if (singleemm
.length
> 0 || tosingleemm
.length
> 0) {
22 $('body').append('<div style="z-index: 1; position:absolute; top: 33px; right:0px; background: #EEEEEE; text-align: left; padding: 10px 10px; font-size: 14px; color: #000000; font-family: \'Courier new\', Courier, monospace; display: none;" id="emm_decoder_top"></div>');
24 function singlechanged() {
25 if (singleemm
.val().length
< 1) {
26 document
.getElementById('emm_decoder_top').style
.display
= 'none';
30 decodeVideoguardEMM(singleemm
.val(), "#emm_decoder_top", true);
31 document
.getElementById('emm_decoder_top').style
.display
= 'block';
34 singleemm
.on('change', singlechanged
);
35 singleemm
.on('keyup', singlechanged
);
36 singleemm
.on('paste', singlechanged
);
38 $('body').append('<div style="z-index: 2; position:fixed; top: 33px; background: #EEEEEE; text-align: left; padding: 20px 10px; font-size: 14px; color: #000000; font-family: \'Courier new\', Courier, monospace; display: none;" id="emm_decoder"></div>');
40 tosingleemm
.on('mouseover', function(e
) {
41 var text
= $(this).text().split(' ')[7];
42 decodeVideoguardEMM(text
, "#emm_decoder", false);
44 var emmdecoder
= document
.getElementById('emm_decoder');
45 emmdecoder
.style
.top
= (e
.clientY
+ 20) + "px";
46 emmdecoder
.style
.left
= (e
.clientX
+ 20) + "px";
47 emmdecoder
.style
.display
= 'block';
50 tosingleemm
.on('mouseout', function() {
51 document
.getElementById('emm_decoder').style
.display
= 'none';
61 <form action=
"emm_running.html" method=
"get"><input type=
"hidden" name=
"label" value=
"##READER##">
62 <TABLE CLASS=
"writeemm">
63 <TR><TH COLSPAN=
"2">Selected reader: ##READER##
</TH></TR>
64 <TR><TD>CAID:
</TD><TD><input name=
"emmcaid" class=
"short" type=
"text" maxlength=
"4" value=
"##CAID##" ##READONLY##
></TD></TR>
65 <TR><TD>Single EMM to write:
</TD><TD><textarea name=
"ep" id=
"singleemm" rows=
"6" maxlength=
"1024"></textarea></TD></TR>
66 <TR><TD>File path with EMM's:
</TD><TD><input name=
"emmfile" type=
"text" maxlength=
"256"></TD></TR>
67 <TR><TD COLSPAN=
"2" CLASS=
"centered"><input name=
"action" type=
"submit" value=
"Launch" onclick=
"return confirm('Write EMM really to Reader ##READER## ?')" title=
"Write EMM to Reader ##READER##" ##BTNDISABLED##
></TD></TR>
68 <TR CLASS=
"configfirstrow"><TD></TD><TD></TD></TR>
71 <P class=
"emmhead">Saved EMM's for Reader: ##READER##
</P>
72 <P>Unique EMM
<span class=
"emminfo">##RDREMMUNIQUE_TXT##
</span></P>
73 <PRE id=
"rdrUniqueTitle" ##RDREMMUNIQUE_TITLE##
>##RDREMMUNIQUE##
</PRE>
74 <P>Shared EMM
<span class=
"emminfo">##RDREMMSHARED_TXT##
</span></P>
75 <PRE id=
"rdrSharedTitle" ##RDREMMSHARED_TITLE##
>##RDREMMSHARED##
</PRE>
76 <P>Global EMM
<span class=
"emminfo">##RDREMMGLOBAL_TXT##
</span></P>
77 <PRE id=
"rdrGlobalTitle" ##RDREMMGLOBAL_TITLE##
>##RDREMMGLOBAL##
</PRE>