// JavaScript Document
function showResult(q)
{
	var id = q;
	//alert(country); 
	new Ajax.Request('setcookie.php',{ method:'get',
									  parameters:'user_ID='+id,
									  onSuccess:function(t) 	
									  {
											//showPopWin('detailsAll.php', 530, 405, null);
											window.open("detailsAll.php","_blank");
									  },
									  onFailure:function()
									  {
										  alert('Problem in showDetails');
									  }
					 });
}
function loginIndex()
{
	document.cookie = 'cookieLogin='+escape(1);
	window.location.replace('index.php');
}