
function open_winbook(url,w,h) {
  if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = w;
p_x = (screen.width - p_w) / 2;
p_h = h;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open(url,"","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}

function lavora(str) {
window.open('http://www.larihairdresser.it/job.html','1', 'width=436,height=550,scrollbars=no,resizable=no');
}
/*Salone Pisa*/
function salone1(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("swf/gallery_pisa/gallery_pisa.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
/*Salone Pontedera*/
function salone2(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("swf/gallery_pontedera/gallery_pontedera.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
/*Salone Bientina*/
function salone3(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("swf/gallery_bientina/gallery_bientina.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
/*Salone Navacchio*/
function salone4(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("swf/gallery_navacchio/gallery_navacchio.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
//Tour virtuale Lari Pisa
function panoramica1(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("tour/tourpisa/tour_lari_pisa.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
//Tour virtuale Lari Pontedera
function panoramica2(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("tour/tourpontedera/tour_lari_pontedera.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
//Tour virtuale Lari Bientina
function panoramica3(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("tour/tourbientina/tour_lari_bientina.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
//Tour virtuale Lari Più Navacchio
function panoramica4(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 800;
p_x = (screen.width - p_w) / 2;
p_h = 600;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("tour/tournavacchio/tour_lari_navacchio.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
//Banner Lari Più
function banner() {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 458;
p_x = (screen.width - p_w) / 2;
p_h = 650;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("promo/laripiu/lari-piu-natale.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
function dovesiamo01(str) {
window.open('http://maps.google.it/maps?f=q&hl=it&geocode=&q=Via+G.Pascoli,+12+Pisa&sll=45.820461,12.250682&sspn=0.010019,0.020084&ie=UTF8&t=h&ll=43.71251,10.400941&spn=0.005196,0.010042&z=17&iwloc=addr','dovesiamo', 'width=800,height=600,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}
function dovesiamo02(str) {
window.open('http://maps.google.it/maps?f=q&hl=it&geocode=&q=Via+Savonarola,+pontedera&sll=43.712557,10.456238&sspn=0.332533,0.6427&ie=UTF8&t=h&z=16&iwloc=addr','dovesiamo', 'width=800,height=600,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}
function dovesiamo03(str) {
window.open('http://maps.google.it/maps?f=q&source=s_q&hl=it&geocode=&q=Via+Pacini,+92%2Fm,+bientina&sll=42.617791,12.392578&sspn=8.648222,10.986328&ie=UTF8&ll=43.714263,10.62217&spn=0.008298,0.010729&t=h&z=16&iwloc=A','dovesiamo', 'width=800,height=600,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}
function dovesiamo04(str) {
window.open('http://maps.google.it/maps?f=q&hl=it&geocode=&q=Via+Corridoni,+20+Pontedera+&sll=41.442726,12.392578&sspn=11.031806,20.566406&ie=UTF8&t=h&z=16&iwloc=addr','dovesiamo', 'width=800,height=600,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}
function dovesiamo05(str) {
window.open('http://g.co/maps/tv6pc','dovesiamo', 'width=800,height=600,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}
function larischool(str) {
window.open('http://www.larischool.it','larischool', 'width=800,height=600,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}
//Apri banner impacchi
function impacchi(str) {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1) 
  {
	p_resize = "no";
  }
  else
    p_resize = "no";
p_w = 750;
p_x = (screen.width - p_w) / 2;
p_h = 572;
p_y = ((screen.height - 45) - p_h) / 2;
  if (p_y < 0) p_y = 0;
  win = window.open("impacchi.html","","toolbar=no,left=" + p_x + ",top=" + p_y + ",width=" + p_w + ",height=" + p_h + ",directories=no,status=no,scrollbars=no,resizable=" + p_resize + ",menubar=no,location=no,copyhistory=no");
}
