/* DO NOT EDIT. THIS IS A CACHE FILE AND WILL GET OVERWRITTEN RANDOMLY.
INSTEAD EDIT THE TEMPLATE FROM WITHIN THE ADMIN ZONE, OR BY MANUALLY EDITING A TEMPLATES_CUSTOM OVERRIDE. */


function decrypt_data(encrypted_data)
{var container=document.createElement('div');container.className='comcode_overlay';container.id='decryption_overlay';container.style.position='absolute';container.style.width='300px';container.style.left=(getWindowWidth()/2-200).toString()+'px';container.style.top=(getWindowHeight()/2-100).toString()+'px';var title=document.createElement('h2');title.appendChild(document.createTextNode('Passphrase required'));container.appendChild(title);var description=document.createElement('p');description.appendChild(document.createTextNode('Please enter the passphrase to decrypt and view this field. Only staff have this passphrase.'));container.appendChild(description);var form=document.createElement('form');form.action=window.location.href;form.method='post';container.appendChild(form);var label=document.createElement('label');label.setAttribute('for','decrypt');label.appendChild(document.createTextNode('Passphrase: '));form.appendChild(label);var space=document.createTextNode(' ');form.appendChild(space);var input=document.createElement('input');input.type='password';input.name='decrypt';input.id='decrypt';form.appendChild(input);var proceed_div=document.createElement('div');proceed_div.className='proceed_button';var button=document.createElement('button');button.type='button';button.appendChild(document.createTextNode('Cancel'));addEventListenerAbstract(button,'click',function(){document.getElementsByTagName('body')[0].removeChild(container);return false;});proceed_div.appendChild(button);button=document.createElement('input');button.type='submit';button.value='Decrypt';addEventListenerAbstract(button,'click',function(){container.style.display='none';return true;});proceed_div.appendChild(button);form.appendChild(proceed_div);document.getElementsByTagName('body')[0].appendChild(container);}