

$(document).ready(function() {
	
	if (SaveSearches)
	{
	  $("#tagcloudbox > a").click(function(event) {
		event.preventDefault();
		var dest = this.href;
		var tag_id = this.id.split("id_");
		$.ajax({
			url: '/scripts/tag_update.asp?id='+tag_id[1],
			type: 'GET',
			dataType: 'text',
			timeout: 1000,
			error: function(){},
			success: function(xml){
				window.location=dest;
				//window.location = window.location;
			}
		});

	  });
	}
  
});

document.onkeydown = checkKeycode

function checkKeycode(e)
{
	var keycode;
	if (window.event)
	{
		if (window.event.keyCode == 17)
		{
			
		}
	}
}