	function showContactSpecialist(pid){
		$.ajax({
			type: "POST",
			url: "./content/common/common.getContactSpecialist.php",
			data: {pid:pid},
			beforeSend: function() {

			},
			success: function(data){
				$("#dialog").remove();
				t = '<div id="dialog" title="Contact Specialist">' + data + '</div>';				
				$("body").append(t);
		
				$("#dialog").dialog({
					bgiframe: false,
					resizable: false,
					width:400,
					height:450,
					modal: true,
					overlay: {
						backgroundColor: '#000',
						opacity: 0.6
					},
					buttons: {
					'Send': function() {
						var str = $("#contactform").serialize();
						$.ajax({
						type: "POST",
						url: "./content/common/common.sentContactSpecialist.php",
						data: {str:str},
						beforeSend: function() {
			
						},
						success: function(data){
							if(data){
								$(".errors").html(data);
							}else{
								$(this).dialog('close');
								$("#dialog").remove();
								t = '<div id="dialog" title="Contact Specialist">Thank you for contacting Countdown To Buy. A Customer Specialist will respond to your inquiry within 24 hours.</div>';									$("body").append(t);
								$("#dialog").dialog({
									bgiframe: false,
									resizable: false,
									width:300,
									height:100,
									modal: true,
									overlay: {
										backgroundColor: '#000',
										opacity: 0.6
									},
									buttons: {
									Close: function() {
										$(this).dialog('close');
									}
									}
								});
							}
						}
						});
						
					},
					Close: function() {
						$(this).dialog('close');
					}
					}
				});
				
			}
		});
	}
