function testata(titolo,dim_car){
	//	if (dim_car==undefined) {dim_car = 2}
	document.write('		<table width="472" border="0" cellspacing="0" cellpadding="0">')
	document.write('			<tr>')
	document.write('			    <td width="28" rowspan="3" valign="top"><img src="../images/bargraf_001.jpg" width="28" height="44" border="0" alt=""></td>')
	document.write('			    <td><img src="../images/bargraf_002.jpg" width="194" height="4" alt="" border="0"></td>')
	document.write('		    	<td width="250" rowspan="3" valign="top"><img src="../images/bargraf_005.jpg" width="250" height="44" alt="" border="0"></td>')
	document.write('			</tr>')
	document.write('			<tr>')
		if ((dim_car+'a')!='a') 
			{document.write('			    <td width="194" height="17" align="left" class="barragraf"><font style="font-size : ' + dim_car + 'pt;">'+ titolo +'</font></td>')}
		else
			{document.write('			    <td width="194" height="17" align="left" class="barragraf">'+ titolo +'</td>')}
	document.write('			</tr>')
	document.write('			<tr>')
	document.write('			    <td valign="top"><img src="../images/bargraf_004.jpg" width="194" height="23" alt="" border="0"></td>')
	document.write('			</tr>')
	document.write('		</table><p>')
}
function t_sotto_testata_su(){
	document.write ('<table width="472" border="0" cellspacing="0" cellpadding="0"><tr><td width="37">&nbsp;&nbsp;</td><td width="435" align="center">')
}
function t_sotto_testata_giu(){
	document.write ('</td></tr></table>')
}
function apri_html(titolo,par){
	var NS4
	// controllo il paramentro ... se 
	//	= 1 visualizzo l'animazione flash a destra
	//	= 2 Non la visualizzo e lascio il buco
	//	= 3 Sfrutto tutta la pagina 
	NS4=(document.layers);
	if ((NS4 + 'a')=='undefineda'){
		document.write('<html><LINK REL=STYLESHEET TYPE="TEXT/CSS" HREF="../inc/style.css">')}
	else {
		document.write('<html><LINK REL=STYLESHEET TYPE="TEXT/CSS" HREF="../inc/style_ne.css">')
	}
	document.write('<head><title>Professional Show S.p.A. .... ' + titolo + ' ...</title></head>')
	document.write('<body bgcolor="#BDC6CE" background="../images/fondo_logo.gif">')
	if (par != 3 && par != 4 ){document.write('<br><br>')}
	document.write('<table width="640" border="0" cellspacing="0" cellpadding="0" align="center"><tr>')
	if (par != 4){document.write('<td width="45">&nbsp;</td>')}
		else{document.write('<td width="15">&nbsp;</td><td width="635" valign="top">')}
	if ((par == 1)||(par ==2)){document.write('<td width="472" valign="top">')}
	if (par == 3){document.write('<td width="595" valign="top">')}
}

function chiudi_html(file_swf,par,idutente){
	// controllo il paramentro ... se 
	//	= 1 visualizzo l'animazione flash a destra
	//	= 2 Non la visualizzo e lascio il buco
	//	= 3 Sfrutto tutta la pagina 
	/*document.write('&nbsp;<p><div align="center" class="titolidicoda"><strong>Professional Show S.p.A.</strong><br>Via Praimbole,15 35010 Limena (Pd) Tel 049-8657111 Fax 049-8657222<br>E-mail: <a href="mailto:info@professionalshow.com" class="titolidicoda_link">info@professionalshow.com</a><br>')
	document.write('<table border="0" cellspacing="0" cellpadding="0"><tr><td rowspan="3" valign="top" class="titolidicoda"><strong>Filiali</strong>:&nbsp;&nbsp;&nbsp;</td><td class="titolidicoda"><strong>Milano</strong>:&nbsp;</td><td class="titolidicoda">Tel. 02-27000397&nbsp;</td><td class="titolidicoda">Fax 02- 27000505</td></tr>')
	document.write('<tr><td class="titolidicoda"><strong>Trento</strong>:&nbsp;</td><td class="titolidicoda">Tel. 0461- 991914&nbsp;</td><td class="titolidicoda">Fax 0461-992557</td></tr>')
	document.write('<tr><td class="titolidicoda"><strong>Napoli</strong>:&nbsp;</td><td class="titolidicoda">Tel 081-7576546&nbsp;</td><td class="titolidicoda">Fax 081-7573690</td></tr></table></div>')*/
	
	if (par == 1){
		document.write('</td><td width="123" align="center" valign="top">')
		document.write('				<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH=84 HEIGHT=328 ID="flashwin">')
		document.write('						<PARAM NAME=movie VALUE="'+ file_swf +'"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF>')
		document.write('						<EMBED src="../images/menu_dex.swf" quality=high bgcolor=#FFFFFF  WIDTH=84 HEIGHT=328 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>')
		//document.write('						<PARAM NAME=movie VALUE="../inc/flsh.asp"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF>')	
		//document.write('						<EMBED src="../inc/flsh.asp" quality=high bgcolor=#FFFFFF  WIDTH=84 HEIGHT=328 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>')
		document.write('				</OBJECT>')
		document.write ('<p><a href="../istituzionale/video.asp"><img src="../istituzionale/Images/tasto_film.jpg" width="66" height="82" alt="" border="0"></a><br><br>')

	}
	if (par == 2){document.write('<td width="78" valign="top">&nbsp;');}
	
	document.write('</td></tr></table><br>&nbsp;')
	document.write('</body></html>')
		
}

function incapsula_su(dime){
	//	if (dime==undefined) {dime = 435}
		if ((dime + 'a')=='undefineda') {dime = 435}
	// incapsulamento 
	document.write ('<table width="' + dime +  '" cellspacing="0" cellpadding="0" border="0">')
	document.write ('<tr><td><img src="../images/tabella_su.gif" width="' + dime + '" height="10" alt="" border="0"></td></tr>')
	document.write ('<tr><td bgcolor="#D4D7DA">')
	document.write ('	<table width="' + (dime-5) +  '" cellspacing="0" cellpadding="2" border="0">')
	document.write ('		<tr><td width="1"><img src="../images/trasp.gif" width="1" height="300" alt="" border="0"></td>')
	document.write ('    		<td width="' + (dime-5) +  '" valign="top">')
}
function incapsula_giu(dime){
	//	if (dime==undefined) {dime = 435}
	if ((dime + 'a')=='undefineda') {dime = 435}
	document.write ('</td></tr></table></td></tr><tr><td><img src="../images/tabella_giu.gif" width="' + dime + '" height="10" alt="" border="0"></td></tr></table>')
}
function legge(){
	window.open("../istituzionale/legge675.asp","_blank","locatio=no,toolbar=yes,directories=no;status=no,scrollbars=yes")
}

function nWin(url, name, option){
	window.open(url, name, option);
}