var $j = jQuery.noConflict();
function win_close()
{
		$j.unblockUI();
}
function show_enquiry()
{
			var xmlhttp = false;
			 
			
			/*@cc_on @*/
			/*@if (@_jscript_version >= 5)
			// JScript gives us Conditional compilation, we can cope with old IE versions.
			// and security blocked creation of the objects.
			try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
			try {
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (E) {
			xmlhttp = false;
			}
			}
			@end @*/
		
			if (!xmlhttp && typeof XMLHttpRequest != 'undefined')
			{
				xmlhttp = new XMLHttpRequest();
			}
			if (xmlhttp) 
			{
				var query="enquiry.php?sid="+Math.random();
				xmlhttp.open('GET', query, true);
				xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded; charset=UTF-8');
				xmlhttp.send(null);
				xmlhttp.onreadystatechange = function() 
				{ 
					if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
					{
						var response = xmlhttp.responseText;
						if (response != "")
						{
							//alert(response);
							
						var design = response;
						var top1 = ($j(window).height() - 400) /2;
						var left1 = ($j(window).width() - 550) /2;
						
						$j.blockUI({ 
							message:  design,
							css: {
									top:   top1+ 'px', 
									left:  left1+ 'px'
								}
						});
							
								
								
						}
					}
					
				}
				delete xmlhttp;
			}
		
	//return false;
}
