



$(document).ready(function () {

	
	
	
	$("#CallYou").click(function () {
		
		if ($("#callUs").data("qtip")) $("#callUs").qtip("destroy");
		$(this).qtip({
			content: {
				title: {
					text: 'We call you',
					button: 'Close'
				},
				text: '<iframe src="content/formEmail.php" scrolling="no"  height="410" width="220">'
			},
			position: {
				corner: {
					tooltip: 'rightTop',
					target: 'leftBottom'
				}
			},
			show: {
				when: false,
				ready: true
			},
			hide: false,
			style: {
				name: 'light',
				border: {
					radius: 7
				},
				width: {
					min: 180
				},
                                
				tip: true
			}
		});
		return false;
	});
        $("#eMailus").click(function () {

		if ($("#callUs").data("qtip")) $("#callUs").qtip("destroy");
                if ($("#CallYou").data("qtip")) $("#CallYou").qtip("destroy");
		$(this).qtip({
			content: {
				title: {
					text: 'Email Us',
					button: 'Close'
				},
				text: '<iframe src="content/formEmailus.php" scrolling="no"  height="280" width="220">'
			},
			position: {
				corner: {
					tooltip: 'rightTop',
					target: 'leftBottom'
				}
			},
			show: {
				when: false,
				ready: true
			},
			hide: false,
			style: {
				name: 'light',
				border: {
					radius: 7
				},
				width: {
					min: 180
				},

				tip: true
			}
		});
		return false;
	});
        
	$("#callUs, #contactCenterNumbers").click(function () {
		if ($(this).data("qtip")) $(this).qtip("destroy");
		if ($("#CallYou").data("qtip")) $("#CallYou").qtip("destroy");
		$(this).qtip({
			content: {
				title: {
					text: 'Contact Us',
					button: 'Close'
				},
				text: '<iframe src="content/formCall.php" scrolling="no"  height="170" width="220">'
				
			},
			position: {
				corner: {
					tooltip: 'rightTop',
					target: 'leftBottom'
				}
			},
			show: {
				when: false,
				ready: true
			},
			hide: false,
			style: {
				name: 'light',
				width: {
					max: 230,
					min: 230
				},
                                height: {
					max: 230,
					min: 230
				},
				border: {
					radius: 7
				},
				tip: true
			}
			
		});
		return false;
	});
	
	
});



