if (document.images) {
img1= new Image();
img2= new Image();
img3= new Image();
img4= new Image();
img5= new Image();
img6= new Image();
img7= new Image();
img8= new Image();
img9= new Image();
img10= new Image();
img11= new Image();
img12= new Image();
img13= new Image();
img14= new Image();
img15= new Image();
img16= new Image();
img17= new Image();
img18= new Image();
img1.src = "images/subsignup_hot.gif";
img2.src = "images/subsignup.gif";
img3.src = "images/sublearnmore.gif";
img4.src = "images/sublearnmore_hot.gif";
img5.src = "images/innersignupon.gif";
img6.src = "images/innersignupoff.gif";
img7.src = "images/inner-signup-off.gif";
img8.src = "images/inner-signup-hot.gif";
img9.src = "images/mainsignup_off.gif";
img10.src = "images/mainsignup_hot.gif";
img11.src = "images/mainleanmore_off.gif";
img12.src = "images/mainleanmore_hot.gif";
img13.src = "images/index-learnmore-off.gif";
img14.src = "images/index-learnmore-hot.gif";
img15.src = "images/submitandcontinue_hot.gif";
img16.src = "images/submitandcontinue.gif";
img17.src = "images/confirmtopayment.gif";
img18.src = "images/confirmtopayment_hot.gif";
}

function popFlash(){
var w = document.body.clientWidth;
var h = document.body.clientHeight;
var popW = 660, popH = 500;
var leftPos = (w-popW)/2, topPos = (h-popH)/2;
window.open('flash/movie.html','name','height=500,width=660,scrollbars=no,top=200,left='+leftPos+'');
}

function htmlcode(id){
var covID=document.getElementById('covid').value;
var position=document.getElementById('position').value;
var layer=document.getElementById('code').innerHTML="<h2><u>STEP 2</u>: Installation Code</h2><p>Copy and Paste the following code into your webpage anywhere in the BODY section</p>\
<textarea cols=\"\" rows=\"\" readonly=\"readonly\"  style=\"height:180px;\" class=\"logoinstall\">\
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;\
\n//&lt;![CDATA[\
\nvar cot_loc0=(window.location.protocol == &quot;https:&quot;)?  &quot;https://trustlogo.comodo.com/"+covID+"/hp_.js&quot; :\
\n&quot;http://trustlogo.comodo.com/"+covID+"/hp_logo.js&quot;;\
\ndocument.writeln('&lt;scr' + 'ipt language=&quot;JavaScript&quot;  src=&quot;'+cot_loc0+'&quot; type=&quot;text\/javascript&quot;&gt;' +  '&lt;\/scr' + 'ipt&gt;');\
\n//]]&gt;\
\n&lt;/script&gt; \
\n&lt;script language=&quot;JavaScript&quot;  type=&quot;text/javascript&quot;&gt;\
\nTrustLogo('"+covID+"','"+position+"');&lt;/script&gt;\
</textarea>\
<p><span style='color:red;'>Note:</span> If you selected INLINE as a position, then make sure to insert the JavaScipt code in <u>EXACTLY</u> the position you want the TrustMark displayed</p>\
<h1>Track Conversions with Your HackerProof TrustMark</h1>\
<p>Follow these two (2) steps once you have deployed the HackerProof trustmark on your page(s).</p>\
<h2><u>STEP 1:</u></h2>\
<p>\
The first step is to determine which page(s) on your site represent a successful conversion. In most cases, this will be an 'order confirmation' or a 'thank you' page.\
</p>\
<h2><u>STEP 2:</u></h2>\
<p>Copy and Paste the following piece of code and insert anywhere within your conversion page:\
<br>\
<textarea cols=\"\" rows=\"\" readonly=\"readonly\"  class=\"logoinstall2\" style=\"height:50px;\">\
&lt;img src=&quot;https://trustlogo.comodo.com/"+covID+"/refA.gif?amount=&lt;&lt;amount&gt;&gt;&quot; /&gt;\
</textarea>\
</p>\
<p><span style='color:red;'>Note:</span> Replace <u>&lt;&lt;AMOUNT&gt;&gt;</u> with the actual Sale Amount</p>";


}