//funzione rollover pulsanti
function getonme() {
el = event.srcElement ;
if (el.getAttribute("litUp1") != null) {
el.className = "onme1" ;
}
if (el.getAttribute("litUp2") != null) {
el.className = "onme2" ;
}
if (el.getAttribute("litUp3") != null) {
el.className = "onme3" ;
}
}

function getoffme() {
el = event.srcElement ;

if (el.getAttribute("litUp1") != null) {
el.className = "offme1";
}
if (el.getAttribute("litUp2") != null) {
el.className = "offme1";
}
if (el.getAttribute("litUp3") != null) {
el.className = "offme1";
}
}
document.onmouseover = getonme ;
document.onmouseout = getoffme ;

// funzione popup

var newwindow;

function openpop(url, iwidth, iheight) {

if ( !newwindow || newwindow.closed ) {
newwindow=window.open('','htmlname','width=' + iwidth +',height=' +iheight + ',toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,top=0,left=0');
}

newwindow.document.clear();
newwindow.focus();
newwindow.document.writeln('<html> <head> <title>Image Zoom</title> </head> <body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0> <center>');
newwindow.document.writeln('<a href="javascript:window.close();"><img src=' + url + ' border=0></a>');
newwindow.document.writeln('</center> </body> </html>');
newwindow.document.close();
newwindow.focus();
}




 

