$(function() {
		
		$("#contattiJquery").dialog({
			bgiframe: true,
			autoOpen: false,
			position: 'center',
			height: 250,
			width:400,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		//getter
		var position = $( "#contattiJquery" ).dialog( "option", "position" );
		//setter
		$( "#contattiJquery" ).dialog( "option", "position", 'center' );
		
		
		$('#viewContatti').click(function() {
			$('#contattiJquery').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
				
		$(function() {
		
		$("#lavoraConNoiJquery").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 250,
			width:450,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewLavoraConNoi').click(function() {
			$('#lavoraConNoiJquery').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#privacyJquery").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 400,
			width:800,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewPrivacy').click(function() {
			$('#privacyJquery').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		
		$(function() {
		
		$("#piantinaIMG").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 500,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewPiantinaIMG').click(function() {
			$('#piantinaIMG').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#corpo").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewCorpo').click(function() {
			$('#corpo').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#epilazione").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 400,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewEpilazione').click(function() {
			$('#epilazione').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#epilazioneUomo").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 400,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewEpilazioneUomo').click(function() {
			$('#epilazioneUomo').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#terme").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewTerme').click(function() {
			$('#terme').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#cureInalatorie").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewCureInalatorie').click(function() {
			$('#cureInalatorie').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#osteopatia").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 350,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewOsteopatia').click(function() {
			$('#osteopatia').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#fisioterapia").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewFisioterapia').click(function() {
			$('#fisioterapia').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		$(function() {
		
		$("#fitness").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewFitness').click(function() {
			$('#fitness').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
			$(function() {
		
		$("#fitnessSpeciali").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewFitnessSpeciali').click(function() {
			$('#fitnessSpeciali').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
			
			$(function() {
		
		$("#bodyMind").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewBodyMind').click(function() {
			$('#bodyMind').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
			$(function() {
		
		$("#viso").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewViso').click(function() {
			$('#viso').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
				$(function() {
		
		$("#dermatologia").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewDermatologia').click(function() {
			$('#dermatologia').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
				$(function() {
		
		$("#pelle").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewPelle').click(function() {
			$('#pelle').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
				$(function() {
		
		$("#gambe").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewGambe').click(function() {
			$('#gambe').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
					$(function() {
		
		$("#massaggi").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewMassaggi').click(function() {
			$('#massaggi').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
					$(function() {
		
		$("#corporee").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1000,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				},
				"Info": function(){
					window.open("http://www.reginaisabella.it/eng/formContact.html");return false
				}
			}
		});
		
		
		
		$('#viewCorporee').click(function() {
			$('#corporee').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
					$(function() {
		
		$("#listinoPrezzi").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1050,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewListinoPrezzi').click(function() {
			$('#listinoPrezzi').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
					$(function() {
		
		$("#listinoPrezzi2").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 600,
			width:1050,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewListinoPrezzi2').click(function() {
			$('#listinoPrezzi2').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
					$(function() {
		
		$("#inCostruzione").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 150,
			width:500,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewInCostruzione').click(function() {
			$('#inCostruzione').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
		
		$(function() {
		
		$("#aperitivo").dialog({
			bgiframe: true,
			autoOpen: false,
			height: 250,
			width:500,
			modal: true,
			buttons: {
				
				Close: function() {
					$(this).dialog('close');
				}
			}
		});
		
		
		
		$('#viewAperitivo').click(function() {
			$('#aperitivo').dialog('open');
		})
		.hover(
			function(){ 
				$(this).addClass("ui-state-hover"); 
			},
			function(){ 
				$(this).removeClass("ui-state-hover"); 
			}
		).mousedown(function(){
			$(this).addClass("ui-state-active"); 
		})
		.mouseup(function(){
				$(this).removeClass("ui-state-active");
		});
		});
