function getelm(alpha)
{
var dup = document.getElementById(alpha).innerHTML;
return dup;
}

function popup(paper)
{
  var resp=window.open('../resources/papers.html','papers','height=400,width=500');
  var lp = paper.length;

  resp.document.clear();
  resp.document.write('<html><head><title>Form papers</title>');
  resp.document.write('<link rel="stylesheet" href="style.css">');
  resp.document.write('</head><body>');
  resp.document.write("<form name='frm' action='../script/email.php' method='post' enctype='MULTIPART/FORM-DATA'><br>");
  resp.document.write("<font face='Courier'>Name:&nbsp;&nbsp;&nbsp; <input name='name' type='text' size='"+lp+"'></input><br>");
  resp.document.write("Surname: <input name='surname' type='text' size='"+lp+"'></input><br>");
  resp.document.write("Paper:&nbsp;&nbsp; <input name='paper' type='text' value='"+paper+"' size='"+lp+"'></input><br>");
  resp.document.write("Company: <input name='company' type='text' size='"+lp+"'></input><br>");
  resp.document.write("E-mail:&nbsp; <input name='email' type='text' size='"+lp+"'></input><br>");
  resp.document.write("</font><br><input name='sub' type='submit' value='Send'></input>&nbsp;&nbsp;");
  resp.document.write("<input name='res' type='reset' value='Clear'></input></form>");
  resp.document.write('</body></html>');
}

