novaJanela = null
function downLoad(nomeArquivo, fullLink){
Swidth = screen.width
Sheight = screen.height
larg=360
alt=200
Wleft = Math.floor((Swidth / 2) - (larg / 2) - 8)
Wtop = Math.floor((Sheight / 2) - (alt / 2) - 20)
novaJanela = window.open("", "", "resizable=1, scrollbars=1, width="+larg+",height="+alt+",left="+Wleft+",top="+Wtop)

novaJanela.document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' /> <title>link - Monobloco</title> <style type='text/css'> <!-- h1{ 	font-size: 14px; } .pequeno { 	font-size: 9px; } #caixa { 	font-family: Verdana, Arial, Helvetica, sans-serif; 	font-size: 11px; 	height: 200px; 	width: 360px; 	align:center; 	padding: 20px; } a:link { 	font-weight: bold; 	color: #19519C; 	text-decoration: none; } a:hover { 	text-decoration: underline; 	color: #1A9BB8; } body,td,th { 	font-family: Verdana, Arial, Helvetica, sans-serif; 	color: #000000; } body { 	background-color: #FFFFFF; 	margin-left: 0px; 	margin-top: 0px; 	margin-right: 0px; 	margin-bottom: 0px; } --> </style> </head><body><div id='caixa'>   <p><img src='admin/logo.jpg' width='325' height='38' /></p>   <h1>Download de arquivo </h1>   <p><a href='"+fullLink+"' onclick='javascript:window.close();'>   <img src='download.gif' border='0' align='left' />   &nbsp;&nbsp;"+nomeArquivo+"</a><br/>   &nbsp;&nbsp;<span class='pequeno'>Clique no link acima para baixar o arquivo.</span>  </p> </div> </body> </html> ")

}