  function showBoxResize ()
  {
      document.body.removeChild(document.getElementById('layer'));
      document.body.removeChild(document.getElementById('box'));
       
    var width = document.documentElement.clientWidth + document.documentElement.scrollLeft;

    var layer = document.createElement('div');
    layer.style.zIndex = 8;
    layer.id = 'layer';
    layer.style.position = 'absolute';
    layer.style.top = '0px';
    layer.style.left = '0px';
    layer.style.height = document.documentElement.scrollHeight + 'px';
    layer.style.width = width + 'px';
    layer.style.backgroundColor = 'black';
    layer.style.opacity = '.6';
    layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=60)");
    document.body.appendChild(layer); 
   
    var div = document.createElement('div');
    div.style.zIndex = 10;
    div.id = 'box';
    div.style.position = (navigator.userAgent.indexOf('MSIE 6') > -1) ? 'absolute' : 'fixed';
    div.style.top = '10%';
    div.style.left = (width / 2) - (500 / 2) + 'px'; 
    div.style.height = '350px';
    div.style.width = '500px';
    div.style.backgroundColor = '#9f514d';
    div.style.border = '2px solid silver';
    div.style.padding = '20px';
    div.style.overflow = 'scroll';
    document.body.appendChild(div);
    
    var agree = document.createElement('a');
    agree.id = 'agree';
    agree.innerHTML = 'I Agree';
    //a.href = 'javascript:void(0)';
    agree.href ='/img_uploader/';
    agree.onclick = function()
    {
      document.body.removeChild(document.getElementById('layer'));
      document.body.removeChild(document.getElementById('box'));
    };
     
    div.appendChild(agree);
    
    var decline = document.createElement('a');
    decline.id = 'decline';
    decline.innerHTML = 'Decline<br/><br/>';
    decline.href = 'javascript:void(0)';

    decline.onclick = function()
    {
      document.body.removeChild(document.getElementById('layer'));
      document.body.removeChild(document.getElementById('box'));
    };
     
    div.appendChild(decline);
   
    var p = document.createElement('p');
    p.id = 'disclaimer';
    p.innerHTML = '<strong>PERSONAL INFORMATION</strong><br/><br/>' +
    'In the body of your email please give a brief description surrounding the story of the picture i.e. the individual\'s name, year, location, circumstances' +
    ' and photographer.  Also include your name, address, and phone number.<br/><br/>'+
    '<strong>CONSENT TO USE OF PHOTOGRAPH</strong><br/><br/>' +
    'By sending the attached photograph to Fantography.net&trade;, I am/we are granting to Fantography.net&trade; (and its successors and assigns) the irrevocable,' +
    'unrestricted and exclusive right to use and publish the photograph worldwide for any purpose and in any manner and media (whether now known or later developed),' +
    ' royalty-free.  I/we understand this includes the right to sublicense and the right to create derivative works using such photograph and I/we retain only ' +
    'the limited right to use the photograph for personal and non-commercial use.  I/we also consent to the use of my/our name in connection with any use of the' +
    'photograph.<br/><br/>' +
    'I/we also understand that Fantography.net&trade; (and its successors and assigns) is not obligated to use the photograph and that Fantography.net&trade; (and/or its successors and assigns)' +
    ' will not be responsible for any loss or damage to the photograph.<br/><br/>' +
    'I am/we are the legal owner of the attached photograph and I/we have the right to grant the rights given in this consent.  I represent and warrant that the attached photograph ' +
    'has not been altered in any way.  I/we release, and agree to indemnify and defend, Fantography.net&trade; (and its successors and assigns) from and against any and all claims and liabilities ' +
    'related to or arising out of the use of the photograph.';
    div.appendChild(p);
   
  }
  
  function showBox()
  {
    var width = document.documentElement.clientWidth + document.documentElement.scrollLeft;

    var layer = document.createElement('div');
    layer.style.zIndex = 8;
    layer.id = 'layer';
    layer.style.position = 'absolute';
    layer.style.top = '0px';
    layer.style.left = '0px';
    layer.style.height = document.documentElement.scrollHeight + 'px';
    layer.style.width = width + 'px';
    layer.style.backgroundColor = 'black';
    layer.style.opacity = '.6';
    layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=60)");
    document.body.appendChild(layer); 
   
    var div = document.createElement('div');
    div.style.zIndex = 10;
    div.id = 'box';
    div.style.position = (navigator.userAgent.indexOf('MSIE 6') > -1) ? 'absolute' : 'fixed';
    div.style.top = '100px';
    div.style.left = (width / 2) - (500 / 2) + 'px'; 
    div.style.height = '350px';
    div.style.width = '500px';
    div.style.backgroundColor = '#9f514d';
    div.style.border = '2px solid silver';
    div.style.padding = '20px';
    div.style.overflow = 'scroll';
    document.body.appendChild(div);
    
     var agree = document.createElement('a');
    agree.id = 'agree';
    agree.innerHTML = 'I Agree';
    //a.href = 'javascript:void(0)';
    agree.href ='/img_uploader/';
    agree.onclick = function()
    {
      document.body.removeChild(document.getElementById('layer'));
      document.body.removeChild(document.getElementById('box'));
    };
     
    div.appendChild(agree);
    
    var decline = document.createElement('a');
    decline.id = 'decline';
    decline.innerHTML = 'Decline<br/><br/>';
    decline.href = 'javascript:void(0)';

    decline.onclick = function()
    {
      document.body.removeChild(document.getElementById('layer'));
      document.body.removeChild(document.getElementById('box'));
    };
     
    div.appendChild(decline);
   
    var p = document.createElement('p');
    p.id = 'disclaimer';
    p.innerHTML = '<strong>PERSONAL INFORMATION</strong><br/><br/>' +
    'In the body of your email please give a brief description surrounding the story of the picture i.e. the individual\'s name, year, location, circumstances' +
    ' and photographer.  Also include your name, address, and phone number.<br/><br/>'+
    '<strong>CONSENT TO USE OF PHOTOGRAPH</strong><br/><br/>' +
    'By sending the attached photograph to Fantography.net&trade;, I am/we are granting to Fantography.net&trade; (and its successors and assigns) the irrevocable,' +
    'unrestricted and exclusive right to use and publish the photograph worldwide for any purpose and in any manner and media (whether now known or later developed),' +
    ' royalty-free.  I/we understand this includes the right to sublicense and the right to create derivative works using such photograph and I/we retain only ' +
    'the limited right to use the photograph for personal and non-commercial use.  I/we also consent to the use of my/our name in connection with any use of the' +
    'photograph.<br/><br/>' +
    'I/we also understand that Fantography.net&trade; (and its successors and assigns) is not obligated to use the photograph and that Fantography.net&trade; (and/or its successors and assigns)' +
    ' will not be responsible for any loss or damage to the photograph.<br/><br/>' +
    'I am/we are the legal owner of the attached photograph and I/we have the right to grant the rights given in this consent.  I represent and warrant that the attached photograph ' +
    'has not been altered in any way.  I/we release, and agree to indemnify and defend, Fantography.net&trade; (and its successors and assigns) from and against any and all claims and liabilities ' +
    'related to or arising out of the use of the photograph.';
    div.appendChild(p);
   
  }
