Io posto tutto il codice della pagina...capisco che è un po peso però se qualche buonanima ha voglia di darci un'occhiata....

<html>
<head>
<title></title>

<SCRIPT LANGUAGE=javascript>
<!--
var isNS=document.layers?true:false;
var isIE=(document.all!=null)||(navigator.appName.toLo werCase().indexOf('microsoft internet explorer')!=-1);
var isDom2=document.getElementById;
var fVers=parseFloat(navigator.appVersion);
if ((isNS && fVers<4)||(isIE && fVers<4))
alert('Your browser is very old. Please upgrade if you want to see this page correctly.');
//-->
</SCRIPT>
<script language='javascript'>
var mese = null;
var anno = null;

function GetXmlHttpObject(){
if (window.XMLHttpRequest){
return new createXmlHttpRequest();
}
if (window.ActiveXObject){
return new ActiveXObject("Microsoft.XMLHTTP");
}
return null;
}

function createXmlHttpRequest(){
var xmlhttp = null;
xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = stateChanged;
return xmlhttp;
}

function stateChanged(){
var bil = null;
if (xmlhttp.readyState==4){
var resp = xmlhttp.responseText;
bil = window.open('Bilanciamento','width=400','height=40 0');
bil.document.write(resp);
}
}

function bilanciaTarvisio(mese,anno){
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null){
alert ("Browser does not support HTTP Request");
return;
}
var url="mostraBilanciamento.php";
url=url+"?v=T";
url=url+"&mese="+mese;
url=url+"&anno="+anno;
url=url+"&sid="+Math.random();
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}

function bilanciaGries(){
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null){
alert ("Browser does not support HTTP Request");
return;
}
var url="mostraBilanciamento.php";
url=url+"?v=G";
url=url+"&mese="+mese;
url=url+"&anno="+anno;
url=url+"&sid="+Math.random();
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}
</script>
<SCRIPT LANGUAGE=javascript src='files/dhwe.js'></SCRIPT>

<link rel='stylesheet' href="files/caricamentodbsrg.css"></link>
</head>
<body SCROLL='auto' TEXT='#000000' BGCOLOR='#FFFFFF' TOPMARGIN='0' LEFTMARGIN='0' LINK='#0000FF' VLINK='#800080' ALINK='#FF0000'>
<div id='ldheRect3' name='ldheRect3' style='position:absolute;left:165px;top:0px;width: 872px;height:201px;'>
<table width='872' border='0' cellspacing='0' cellpadding='0'>
<tr><td height='201' width='872' bgcolor='#000000'>[img]files/blank.gif[/img]</td></tr>
</table></div>
<div id='ldheiRect3' name='ldheiRect3' style='position:absolute;left:166px;top:1px;width: 870px;height:199px;'>
<table width='870' border='0' cellspacing='0' cellpadding='0'>
<tr><td height='199' width='870' bgcolor='#000000'>[img]files/blank.gif[/img]</td></tr>
</table></div>
<div id='ldheRect1' name='ldheRect1' style='position:absolute;left:0px;top:0px;width:23 1px;height:833px;'>
<table width='231' border='0' cellspacing='0' cellpadding='0'>
<tr><td height='833' width='231' bgcolor='#000000'>[img]files/blank.gif[/img]</td></tr>
</table></div>
<div id='ldheiRect1' name='ldheiRect1' style='position:absolute;left:1px;top:1px;width:22 9px;height:831px;'>
<table width='229' border='0' cellspacing='0' cellpadding='0'>
<tr><td height='831' width='229' bgcolor='#000000'>[img]files/blank.gif[/img]</td></tr>
</table></div>
<div id='ldheHtml1' name='ldheHtml1' style='position:absolute;left:260px;top:300px;widt h:486px;height:111px;' align='left' valign='top'>
<div id='ldheLabel1' name='ldheLabel1' style='position:absolute;left:650px;top:-130px;width:196px;height:18px;text-align:left;' align='left' valign='top'>
<font class='verdana1080FFFFFFFFtb'> <input type="image" src="freccia_Indietro.png"> </font>

</div>
<div id='ldheLabel1' name='ldheLabel1' style='position:absolute;left:700px;top:-125px;width:196px;height:18px;text-align:left;' align='left' valign='top'>
<font class='verdana1080FFFFFFFFtb'>Home</font>

</div>
<div id='ldhePicture1' name='ldhePicture1' style='position:absolute;left:-260px;top:-340px;width:366px;height:241px;' align='left' valign='top'>
[img]files/homepage_picture1.png[/img]</img></div>
<div id='ldhePicture2' name='ldhePicture2' style='position:absolute;left:775px;top:-329px;width:230px;height:230px;' align='left' valign='top'>
[img]files/cerchio_picture2.gif[/img]</img></div>
<div id='ldhePicture3' name='ldhePicture3' style='position:absolute;left:-260px;top:533px;width:-30px;height:230px;' align='left' valign='top'>
[img]files/cerchio_picture3.gif[/img]</img></div>
<div>
<?php
$month = date('m',time());
$year = date('Y',time());
echo "<form action='' name='f' method='POST'>
&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&e msp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&ems p;&emsp;
<select name='Mese'>
<option value = '$month'>$month</option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<option value='11'>11</option>
<option value='12'>12</option>
</select>
<select name='Anno'>
<option value = '$year'>$year</option>
<option value='2008'>2008</option>
<option value='2009'>2009</option>
<option value='2010'>2010</option>
<option value='2011'>2011</option>
<option value='2012'>2012</option>
<option value='2013'>2013</option>
</select>



";
?>
<div id='MappaItalia' name='MappaItalia' style='position:absolute;left:315px;top:110px;widt h:327px;height:383px;' align='left' valign='top'>
[img]files/italia_picture1.png[/img]</img></div>
<div id='fontTarvisio' name='fontTarvisio' style='position:absolute;left:495px;top:120px;widt h:55px;height:20px;' align='left' valign='top'>
<input type='image' id='tarvisio' name='tarvisio' src='files/italia_picture2.png' border='0' width='55' height='20'
onClick="bilanciaTarvisio(document.getElementById( 'Mese').selectedIndex, document.getElementById('Anno').selectedIndex);"></div>
<div id='fontGries' name='fontGries' style='position:absolute;left:315px;top:115px;widt h:85px;height:20px;' align='left' valign='top'>
<input type="image" id='gries' name='gries' src='files/italia_picture3.png' border='0' width='85' height='20' onClick='bilanciaGries()'></div>
<div id='fontInj' name='fontInj' style='position:absolute;left:430px;top:285px;widt h:65px;height:20px;' align='left' valign='top'>
<input type='image' id='inj' name='inj' src='files/italia_picture4.png' border='0' width='65' height='20' onClick='bilanciaInj()'></div>
<div id='fontWth' name='fontWth' style='position:absolute;left:455px;top:230px;widt h:75px;height:20px;' align='left' valign='top'>
<input type='image' id='wth' name='wth' src='files/italia_picture5.png' border='0' width='75' height='20' onClick='bilanciaWth()'></div>





<input type='submit' value='Verifica'/></form>";