/*
// Check Plug-in Flash MX

var Win = (navigator.appVersion.indexOf('Win')!=-1);
var IE = (document.all);
var MM_Flash = false;
var flashversion;



var Win = (navigator.appVersion.indexOf('Win')!=-1);
//var Mac = (navigator.appVersion.indexOf('Mac')!=-1);
var IE = (document.all);
//var NS = (!document.all);
var MM_Flash = false;
var flashversion;

if(Win && IE){
 MM_Flash = true;
}
else {
	if(navigator.plugins["Shockwave Flash"]){
	var x = navigator.plugins["Shockwave Flash"].description;
		MM_Flash = true;
		flashversion = x.charAt(x.indexOf('.')-1);
	}
}
//alert("MM_Flash"+ MM_Flash + " versione " + flashversion);
if(!MM_Flash || flashversion<6){
//document.location = "noplug.html";
document.location = "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash";

}
//	  window.open("noplug.html","noplug",'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=400');
//}
//else {
//	MM_openBrWindow('home.html','alberto','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=786,height=441');
//}


*/

//Stampa

function aprifinestra(theURL){
alert(theURL);
wname="X-Elefant";
uno=500;
due=600;
manyj = window.open(theURL,wname,'top=0,left=0,location=no,menubar=no,personalbar=no,resizable=no,scrollbars=no,status=no,titlebar=no,toolbar=no')
manyj.resizeTo(uno,due);
manyj.focus();
}



//reload
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//New window
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//Open window AreaClienti
function AreaClienti(theURL){
window.open("http://www.logicaonline.com/area_riservata/login.asp" ,'_blank')
}