$(document).ready(function(){
	if(session != '')
	{
		$('a').each(function(){
			var href= $(this).attr('href');
			pattern =/\?/;
			ind = href.match(pattern);
			if(ind != null)
			{
				$(this).attr('href',href+'&sess='+session);
			}
			else 
			{
				$(this).attr('href',href+'?sess='+session);
			}
		});
	}	
});
