
	//inserisce le parti fondamentali nella colonna di destra
function caricaColonnaDestra(flagInfo,flagNews,flagFocusOn)
{
		//caricamento della tabella con la rivhiesta di informazioni.
	//c	flagInfo=X;	//rimuovere il commento " //c " e sostituire a X il valore tra 0 e 1 (0 per nn inserire, 1 per inserire) e rendere il controllo esteso a tutto il sito
	if(flagInfo==1)
	{
		document.write("<hr color='#C0C0C0'>");
		document.write("<table width='100%' height='63' border='0' cellpadding='5' cellspacing='0'>");
		document.write("<tr>");
		document.write("<td height='63' valign='top' bgcolor='#363F44'>");
		document.write("<table width='100%' height='33' border='0' cellpadding='0' cellspacing='0'>");
		document.write("<tr>");
		document.write("<td height='33'><div align='left'>");
		document.write("<a style='border: 1px solid #C0C0C0' href='mailto:g.guazzi@bollicine.it'>");
		document.write("<img src='./images_bc/info.jpg' width='147' height='65' border='0' /></a></div></td>");
		document.write("</tr>");
		document.write("</table>");
		document.write("</td>");
		document.write("</tr>");
		
			//inserimento di una mini tabellina per la spaziatura tra tabelle
		document.write("</table>");
		document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
		document.write("<tr>");
		document.write("<td height='5'></td>");
		document.write("</tr>");
		document.write("</table>");
	}
	
		//caricamento della tabella con le news pił recenti
	//c	flagNews=X;	//rimuovere il commento " //c " e sostituire a X il valore tra 0 e 1 (0 per nn inserire, 1 per inserire) e rendere il controllo esteso a tutto il sito
	if(flagNews==1)
	{
		arrayNewsSpampare=ultimeNews();
		massimeNews=2;		//imposta un massimo di focus on da stampare, stampandone le ultime 'n' inserite
		if(arrayNewsSpampare.length>0)
		{
			if(arrayNewsSpampare.length>massimeNews){
				numeroNewsSpampare=massimeNews;
			}else{
				numeroNewsSpampare=arrayNewsSpampare.length;
			}
			document.write("<hr color='#C0C0C0'>");
			document.write("<table width='100%' height='135' border='0' cellpadding='5' cellspacing='0'>");
			document.write("<tr><td height='120' valign='top' bgcolor='#FCFCFC'>");
			document.write("<table width='100%' height='33' border='0' cellpadding='0' cellspacing='0'>");
			document.write("<tr><td height='33'><div align='left'><a href='news.htm'><img src='./images_bc/news.jpg' width='147' height='28' border='0'></a></div></td>");
			document.write("</tr><tr><td>");
			
					//CARICA LA PRIMA NEWS, LA PIU RECENTE.
			for(i=0;i<numeroNewsSpampare;i++)
			{
					//imposta lo stile delle news. ---------v
				document.write("<p class='style32'>");
									//data della news ----------------------------------v
				document.write("<font color='#4488bb'>" + arrayNewsSpampare[i][0] + " </font><br><strong>");
							//inserisce il link della news -------------v										titolo della news ---------------v
				if(arrayNewsSpampare[i][1]){
					document.write("<a href='" + arrayNewsSpampare[i][1] + " '><font color='#000000'>" + arrayNewsSpampare[i][2] + " </font></a></strong>");
				}
				else{
					document.write("<font color='#000000'>" + arrayNewsSpampare[i][2] + " </font></strong>");
				}
						//inserisce il testo della news -------------v
				document.write("<br>" + arrayNewsSpampare[i][3] + " <br>");
			} 
			document.write("<br></p></td></tr></table></td></tr></table>");
			document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
			document.write("<tr><td height='5'></td></tr></table>");
		}
	}

		//caricamento della tabella con le info su "Focus On"
	//c	flagFocusOn=X;	//rimuovere il commento " //c " e sostituire a X il valore tra 0 e 1 (0 per nn inserire, 1 per inserire) e rendere il controllo esteso a tutto il sito
	if(flagFocusOn==1)
	{
		arrayFocusOnSpampare=ultimeFocusOn();
		massimeFocusOn=3;		//imposta un massimo di focus on da stampare, stampandone le ultime 'n' inserite
		if(arrayFocusOnSpampare.length>0)
		{
			if(arrayFocusOnSpampare.length>massimeFocusOn){
				numeroFocusOnSpampare=massimeFocusOn;
			}else{
				numeroFocusOnSpampare=arrayFocusOnSpampare.length;
			}
			document.write("<hr color='#C0C0C0'>");
			document.write("<table width='100%' height='135' border='0' cellpadding='5' cellspacing='0'>");
			document.write("<tr><td height='120' valign='top' bgcolor='#FCFCFC'>");
			document.write("<table width='100%' height='33' border='0' cellpadding='0' cellspacing='0'>");
			document.write("<tr><td height='33'><div align='left'><a href='focusOn2007.htm'><img src='./images_bc/fucuson_B.jpg' width='123' height='30' border='0'></a></div></td>");
			document.write("</tr><tr><td>");
			
					//CARICA LA PRIMA NEWS, LA PIU RECENTE.
			for(i=0;i<numeroFocusOnSpampare;i++)
			{
					//imposta lo stile delle news. ----------v
				document.write("<p class='style32'>");
							//inserisce il link della news -------------v										titolo della news ---------------v
				document.write("<strong><a href='" + arrayFocusOnSpampare[i][0] + " '><font color='#000000'>" + arrayFocusOnSpampare[i][1] + " </font></a></strong>");
						//inserisce il testo della news -------------v
				document.write("<br>" + arrayFocusOnSpampare[i][2] + " <br>");
			}
			document.write("<br></p></td></tr></table></td></tr></table>");
			document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
			document.write("<tr><td height='5'></td></tr></table>");
		}
	}
	document.write("<hr color='#C0C0C0'>");
}
//-->

