


// PRELOAD PULSANTI

pulsantecoperture=new Image; pulsantecoperture.src="images/pulsante_coperture.gif"
pulsantecopertureon=new Image; pulsantecopertureon.src="images/pulsante_coperture_on.gif"

pulsantelattoneria=new Image; pulsantelattoneria.src="images/pulsante_lattoneria.gif"
pulsantelattoneriaon=new Image; pulsantelattoneriaon.src="images/pulsante_lattoneria_on.gif"

pulsanteristrutturazione=new Image; pulsanteristrutturazione.src="images/pulsante_ristrutturazione.gif"
pulsanteristrutturazioneon=new Image; pulsanteristrutturazioneon.src="images/pulsante_ristrutturazione_on.gif"

pulsanteenergie=new Image; pulsanteenergie.src="images/pulsante_energie.gif"
pulsanteenergieon=new Image; pulsanteenergieon.src="images/pulsante_energie_on.gif"

pulsanteprivati=new Image; pulsanteprivati.src="images/immagine_privati.gif"
pulsanteprivation=new Image; pulsanteprivation.src="images/immagine_privati_on.gif"

pulsanteimprese=new Image; pulsanteimprese.src="images/immagine_imprese.gif"
pulsanteimpreseon=new Image; pulsanteimpreseon.src="images/immagine_imprese_on.gif"

pulsanteprogettisti=new Image; pulsanteprogettisti.src="images/immagine_progettisti.gif"
pulsanteprogettistion=new Image; pulsanteprogettistion.src="images/immagine_progettisti_on.gif"



// GENERAZIONE MENU SUPERIORE (ROLLOVER IMMAGINI)

function menuSuperiore(Sezione)
{
document.write("<p style='margin-left:10px; margin-right:0px; margin-top:30px; margin-bottom:10px;'>")

if (Sezione=="coperture")
document.write("<img src='images/pulsante_coperture_on.gif' width='220' height='23' alt='Sei nella sezione coperture e ponteggi'><br>")
else document.write("<a href='coperture.html' onMouseover='document.coperture.src=pulsantecopertureon.src' onMouseout='document.coperture.src=pulsantecoperture.src'><img src='images/pulsante_coperture.gif' width='220' height='23' name='coperture' alt='Coperture e ponteggi'></a><br>")

if (Sezione=="lattoneria")
document.write("<img src='images/pulsante_lattoneria_on.gif' width='220' height='23' alt='Sei nella sezione lattoneria'><br>")
else document.write("<a href='lattoneria.html' onMouseover='document.lattoneria.src=pulsantelattoneriaon.src' onMouseout='document.lattoneria.src=pulsantelattoneria.src'><img src='images/pulsante_lattoneria.gif' width='220' height='23' name='lattoneria' alt='Lattoneria'></a><br>")

if (Sezione=="ristrutturazione")
document.write("<img src='images/pulsante_ristrutturazione_on.gif' width='220' height='23' alt='Sei nella sezione ristrutturazione - amianto'><br>")
else document.write("<a href='ristrutturazione.html' onMouseover='document.ristrutturazione.src=pulsanteristrutturazioneon.src' onMouseout='document.ristrutturazione.src=pulsanteristrutturazione.src'><img src='images/pulsante_ristrutturazione.gif' width='220' height='23' name='ristrutturazione' alt='Ristrutturazione - amianto'></a><br>")

if (Sezione=="energie")
document.write("<img src='images/pulsante_energie_on.gif' width='220' height='23' alt='Sei nella sezione energie alternative'>")
else document.write("<a href='energie.html' onMouseover='document.energie.src=pulsanteenergieon.src' onMouseout='document.energie.src=pulsanteenergie.src'><img src='images/pulsante_energie.gif' width='220' height='23' name='energie' alt='Energie alternative'></a>")

document.write("</p>")
}



// *********************************************************************************************




// GENERAZIONE STRISCIA MEDIANA --- FILMATO OPPURE ICONE PRIVATI -  IMPRESE - PROGETTISTI

function strisciaMediana(Sezione)
{
if (Sezione=="home")
document.write("<iframe width='390' height='170' name='iframe_strisciamediana' src='filmato_ediltetti.html' marginwidth='0' marginheight='0' scrolling='no' frameborder='0'></iframe>")

else document.write("<iframe width='390' height='170' name='iframe_strisciamediana' src='strisciamediana.html' marginwidth='0' marginheight='0' scrolling='no' frameborder='0'></iframe>")
}



// *********************************************************************************************




// GENERAZIONE STRISCIA MEDIANA - ICONE PRIVATI, IMPRESE E PROGETTISTI

function iconestrisciaMediana()
{

document.write("<a href='privati.html' target='_top' onMouseover='document.privati.src=pulsanteprivation.src' onMouseout='document.privati.src=pulsanteprivati.src'><img src='images/immagine_privati.gif' width='108' height='163' name='privati' alt='Privati'></a>")

document.write("<img src='images/spacer.gif' width='14' height='163'>")

document.write("<a href='imprese.html' target='_top' onMouseover='document.imprese.src=pulsanteimpreseon.src' onMouseout='document.imprese.src=pulsanteimprese.src'><img src='images/immagine_imprese.gif' width='108' height='163' name='imprese' alt='Imprese'></a>")

document.write("<img src='images/spacer.gif' width='14' height='163'>")

document.write("<a href='progettisti.html' target='_top' onMouseover='document.progettisti.src=pulsanteprogettistion.src' onMouseout='document.progettisti.src=pulsanteprogettisti.src'><img src='images/immagine_progettisti.gif' width='108' height='163' name='progettisti' alt='Progettisti'></a>")

document.write("<a href='filmato_ediltetti.html'><img src='images/icona_cinepresa.gif' width='30' height='163' style='margin-left:4px' alt='Visualizza lo spot Ediltetti'></a>")
}



// *********************************************************************************************




// GENERAZIONE CONTENUTO RIQUADRO INFERIORE DESTRO (LINKS TESTUALI + INDIRIZZI)

function riquadroInferiore(Sezione)
{
document.write("<p style='text-align:center; margin-top:12px; margin-right:20px'>")

if (Sezione=="company")
document.write("<span class='corpo12bianco'>company</span> &nbsp;&nbsp;&nbsp;&nbsp;")
else document.write("<a href='company.html' class='linkgrande'>company</a> &nbsp;&nbsp;&nbsp;&nbsp;")

if (Sezione=="portfolio")
document.write("<span class='corpo12bianco'>portfolio</span> &nbsp;&nbsp;&nbsp;&nbsp;")
else document.write("<a href='portfolio.html' class='linkgrande'>portfolio</a> &nbsp;&nbsp;&nbsp;&nbsp;")

if (Sezione=="lavora")
document.write("<span class='corpo12bianco'>lavora con noi</span> &nbsp;&nbsp;&nbsp;&nbsp;")
else document.write("<a href='lavora.html' class='linkgrande'>lavora con noi</a> &nbsp;&nbsp;&nbsp;&nbsp;")

if (Sezione=="dovesiamo")
document.write("<span class='corpo12bianco'>dove siamo</span> &nbsp;&nbsp;&nbsp;&nbsp;")
else document.write("<a href='dovesiamo.html' class='linkgrande'>dove siamo</a> &nbsp;&nbsp;&nbsp;&nbsp;")

if (Sezione=="contatti")
document.write("<span class='corpo12bianco'>contatti</span>")
else document.write("<a href='contatti.html' class='linkgrande'>contatti</a>")

document.write("</p>")


document.write("<p style='text-align:center; margin-top:40px; margin-right:20px'>")

document.write("<img src='images/logo_ediltetti_small.gif' width='109' height='75' alt='Ediltetti'><br>")

document.write("<span class='corpo9'>Ediltetti s.a.s. di Alvisi Romina &amp; C.<br>Via Giovanni Falcone, 67 - 47030 San Mauro Pascoli (FC) Italy - P.IVA 02712920400</span><br>")

document.write("<span class='testoarancioscuro'><strong>T.</strong></span>  0541.931376 &nbsp;")

document.write("<span class='testoarancioscuro'><strong>F.</strong></span>  0541.930602 &nbsp;")

document.write("<span class='testoarancioscuro'><strong>E.</strong></span>  ediltetti@ediltetti.com")

document.write("</p>")
}




// *********************************************************************************************




// GENERAZIONE CELLA CONTENENTE LE FRECCINE UP/DOWN -->

function frecceScrolling()
{
document.write("<div style='width:30px'><a href='#' onMouseover='moveup()' onMouseout='clearTimeout(moveupvar)'><img src='images/up.gif' width='20' height='20' alt='' style='margin-top:9px'></a>")
document.write("<img src='images/spacer.gif' width='30' height='130' alt=''></a>")
document.write("<a href='#' onMouseover='movedown()' onMouseout='clearTimeout(movedownvar)'><img src='images/down.gif' width='20' height='20' alt=''></a></div>")
}





// *********************************************************************************************



// CODICE FLASH ANIMAZIONI ZONA SINISTRA
function includeFlash(sezione)
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='470' height='180' id='animazione_ediltetti_"+sezione+"' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='flash/animazione_ediltetti_"+sezione+".swf' /><param name='menu' value='false' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='flash/animazione_ediltetti_"+sezione+".swf' menu='false' quality='high' bgcolor='#ffffff' width='470' height='180' name='animazione_ediltetti_"+sezione+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>")
}



// *********************************************************************************************



// APERTURA PAGINA POPUP
function apriPopup(pagina700) {
newWindow = window.open(pagina700,'pagina700','width=700,height=500,left=50,top=50, scrollbars=yes')
newWindow.focus()
}






