<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Moto Crea</title>
<link href="css/moto_crea.css" rel="stylesheet" type="text/css" title="screen css"/>
<style>
body {
background-color:#5E6668;
}
a:link {
color:#ffffff;
text-decoration: none;
}
a:visited {
color:#ffffff;
text-decoration: none;
}
a:hover, a:active {
color:#ffffff;
text-decoration: underline;
}
#divImmaginePopup{
position:absolute;
width:700px;
/*background-color:#000000;*/
background-color:#000000;
visibility:hidden;
z-index:10;
top:100px;
}
#immaginePopup {
FILTER: alpha(opacity=20);
}
</style>
<script>
var larghezzaDiv = 700;
var larghezzaSchermo;
var intervalloFade = 100
var divOpacity = 20
var incrementoOpacity = 5
function high(which2) {
theobject=which2
highlighting=setInterval("highlightit(theobject)",intervalloFade)
}
function low(which2) {
clearInterval(highlighting)
which2.filters.alpha.opacity=divOpacity
}
function highlightit(cur2) {
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=incrementoOpacity
else if (window.highlighting)
clearInterval(highlighting)
}
function impostaPosizione(){
if (window.innerWidth){
larghezzaSchermo = window.innerWidth;
}
if (document.body.clientWidth){
larghezzaSchermo = document.body.clientWidth;
}
if (document.all)
{
document.all.divImmaginePopup.style.left = (larghezzaSchermo-larghezzaDiv)/2 + 'px';
}
else if (document.getElementById)
{
temp = document.getElementById('divImmaginePopup');
temp.style.left = (larghezzaSchermo-larghezzaDiv)/2 + 'px';
}
}
function mostraImmagine(immagine) {
if (document.all)
{
document.all.immaginePopup.src = 'imges/' + immagine;
document.all.divImmaginePopup.style.visibility = 'visible';
}
else if (document.getElementById)
{
temp1 = document.getElementById('immaginePopup');
temp1.src = 'imges/' + immagine;
temp1 = "";
temp2 = document.getElementById('divImmaginePopup');
temp2.style.visibility = 'visible';
temp2 = "";
}
}
function openPopup(immagine){
try
{
high(immaginePopup);
chiudiPopup();
}
catch(er){}
impostaPosizione();
mostraImmagine(immagine);
try
{
high(immaginePopup);
}
catch(er){}
}
function chiudiPopup(){
if (document.all)
{
try
{
low(immaginePopup);
}
catch(er){}
document.all.divImmaginePopup.style.visibility = 'hidden';
}
else if (document.getElementById)
{
temp = document.getElementById('divImmaginePopup');
temp.style.visibility = 'hidden';
temp = "";
}
}
//
window.onresize = function() {
impostaPosizione();
};
</script>
</head>
<body>
<!--Box immagine zoom-->
<div id="divImmaginePopup">
<div style="text-align:right;width:700px;"><a href="javascript:chiudiPopup();">chiudi</a></div>
<img id="immaginePopup" width="700px" src="imges/spacer.gif"/>
</div>
<!--Pagina-->
<div id="boxAlignCenter">
<div id="menuSite">
</div>
<div style="text-align:right;width:100%;">
<a href="javascript:openPopup('650_raptor_01.jpg');"><img border="0" width="100px" src="imges/650_raptor_01.jpg"/></a><br><br>
<a href="javascript:openPopup('1000_v_raptor_02.jpg');"><img border="0" width="100px" src="imges/1000_v_raptor_02.jpg"/></a><br><br>
<a href="javascript:openPopup('125_raptor_01.jpg');"><img border="0" width="100px" src="imges/125_raptor_01.jpg"/></a><br><br>
</div>
</div>
</body>
</html>