
function info(){

var w = screen.width;
var h = screen.height
var info=" | menu tasto destro | prezzi IVA compresa ";
var infos=" | Ris.Ottimale 1024x768 IEv6 | menu tasto destro | prezzi IVA compresa ";
if ((w == 1024) && (h == 768)) { window.status = w + "x" + h + info } 
else { window.status = w + "x" + h + infos }
}

//------------------------------------------------------

var w = 600
var h = 440

function blog() {
open("http://users.smartgb.com/g/g.php?a=s&i=g18-03303-15", "Blog", "width="+w+",height="+h+", left="+((screen.width-w)/2)+",top="+((screen.height-h)/2)+",scrollbars=yes,status=no,resizable=no");
}

var ws = 960
var hs = 500

function satta() {
open("http://www.francescosatta.it", "", "width="+ws+",height="+hs+", left="+((screen.width-ws)/2)+",top="+((screen.height-hs)/2)+",scrollbars=yes,status=no,resizable=yes,toolbar=yes,directories=no");
}

//----------------------------------------------------

function verifica(prodotto) {if (document.carrello.totale.value > 1) document.getElementById(prodotto).style.visibility="visible"}

//----------------------------------------------------

function fixis() {
window.addEventListener("load", staticbar, false)
}

function ordine2() {
document.getElementById("banner").style.visibility="visible";
}

function normal() {
if (document.carrello.totale.value > 1){
document.getElementById("banner").style.visibility="hidden";
document.getElementById("banner").style.position="absolute";
}
}

function ordine3() {
document.getElementById("banner").style.visibility="hidden";
document.location="#scrin";
}

function condi() {
var int_windowTop = (screen.height - 440) / 2;
var int_windowLeft = (screen.width - 520) / 2;
document.getElementById("pdf").style.top = int_windowTop + document.body.scrollTop + 30;
document.getElementById("pdf").style.left = int_windowLeft;
document.getElementById("pdf").style.visibility="visible";
}

function showhide(){
  for (i = 0; i < arguments.length; i++)
  {
    if (document.getElementById)
    {
      obj = document.getElementById(id);
      if (obj.style.display == "none")
      {
        obj.style.display = "";
      }
      else
      {
      obj.style.display = "none";
      }
    }
  }
}

function blank1(){document.cerca.mail.value=""}
function blank2(){document.cerca.cerca.value=""}

function send(italia){
newwindow= window.open()
newwindow.location.href=italia.options[italia.selectedIndex].value;
self.focus()
}

// ------------------------------------------------------------------

function videoff() { 

if ( document.carrello.totale.value == 0 ) { 

document.getElementById("banner").style.visibility="visible";
document.getElementById("tabs").style.visibility="hidden";
document.getElementById("totale").style.visibility="hidden";
document.getElementById("totas").style.visibility="hidden";
document.getElementById("totb").style.visibility="hidden";
document.getElementById("printcar").style.visibility="hidden";
document.getElementById("spix").style.visibility="hidden";
document.getElementById("spx").style.visibility="hidden";
document.getElementById("totip").style.visibility="hidden";
document.getElementById("totqtx").style.visibility="hidden";

play()

}

else if ( document.carrello.totale.value > 0 ) { 

document.getElementById("banner").style.visibility="hidden";
document.getElementById("tabs").style.visibility="visible"
document.getElementById("totas").style.visibility="visible";
document.getElementById("totb").style.visibility="visible";
document.getElementById("printcar").style.visibility="visible";
document.getElementById("spix").style.visibility="visible";
document.getElementById("spx").style.visibility="visible";
document.getElementById("totip").style.visibility="visible";
document.getElementById("totqtx").style.visibility="visible";

pause()

} 
}
