function enlrge(mantle) {

	lrgewin = window.open("about:blank","","width= 530, height= 320, status=yes")

	mantitle = mantle;

    setTimeout('update()',500)

}
var script = '\n'+
'function MM_findObj(n, d) { //v4.01\n' +
'  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {\n' +
'    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}\n' +
 ' if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];\n' +
  'for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);\n' +
  'if(!x && d.getElementById) x=d.getElementById(n); return x;\n' +
'}\n' +

'function MM_showHideLayers() { //v6.0\n' +
 ' var i,p,v,obj,args=MM_showHideLayers.arguments;\n' +
  'for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];\n' +
   ' if (obj.style) { obj=obj.style; v=(v=="show")?"visible":(v=="hide")?"hidden":v; }\n' +
    'obj.visibility=v; }\n' +
'}'
function update() {

doc = lrgewin.document;
doc.open('text/html');
doc.write('<html>');
doc.write('<head>');
doc.write('<script language="JavaScript">');
doc.write(script);
doc.write('function windowclose() {');
doc.write('setTimeout(\'window.close()\',10000)');
doc.write('}');
doc.write('//-->');
doc.write('</script>');
doc.write('<style type="text/css">');
doc.write('<!--');
doc.write('td {');
doc.write('font-family: Arial, Helvetica, sans-serif;');
doc.write('font-size: 18px;');
doc.write('color: #FFFFFF;');
doc.write('-->');
doc.write('</style>');
doc.write('</head>');
doc.write('<title>'+ mantitle +'</title>');
doc.write('<BODY bgcolor="#000000" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">');
doc.write('<table width="521" height="300"  border="0" cellpadding="0" cellspacing="0">');
doc.write('<tr><td width="25%"  height="93">');
doc.write('<img src="../interface/images/logorev2.gif" width="223" height="93">');
doc.write('</td><td width="75%" height="93">');
doc.write('<strong>'+ mantitle +' Reference sheet</strong>');
doc.write('</td></tr><tr><td colspan="2" align="center"  height="100">');
doc.write('The <strong>'+ mantitle +'</strong> <strong>Reference sheet</strong> is not a warranty of any kind expressed or implied');
doc.write(' and by downloading any of this you are in agreement to this statement.');
doc.write('</td></tr><tr>');
doc.write('<td colspan="2" align="center" height="100" valign="bottom">');
if (mantitle == "VG_Service_Data_Sheet") {
doc.write('<div id="manualoptions" style="position:absolute; left:21px; top:230px; width:500px; height:37px; z-index:1;visibility:hidden">');
doc.write('<a href="http://www.holset.co.uk/partsservice/service/VG_Service_Data_Sheet.pdf" target="_blank" onclick="javascript:windowclose()">');
doc.write('[VG Service Data Sheet]');
doc.write('</a><br>');
doc.write('<a href="http://www.holset.co.uk/partsservice/service/VG_SDS-Iveco.pdf" target="_blank" onclick="javascript:windowclose()">');
doc.write('[ VG Service Data Sheet Iveco variant ]');
doc.write('</a>');
doc.write('</div>');
doc.write('<strong><a href="javascript:MM_showHideLayers(\'manualoptions\',\'\',\'show\')" target="_top" >I accept</a>          <a href="javascript:window.close()">I do not accept</a></strong>');
   } 
  else {
  doc.write('<strong><a href="http://www.holset.co.uk/partsservice/service/'+ mantitle +'.pdf" target="_blank" onclick="javascript:windowclose()">I accept</a>          <a href="javascript:window.close()">I do not accept</a></strong>');
  } 
 
doc.write('</td></tr>');
doc.write('</table>');   
doc.write('</body>');
doc.write('</html>');
    doc.close();
}
