/*Event.observe(window, 'load', function() {
			Event.observe('container', 'click', function(e){
					if (Event.element(e).classNames()=='download') {
						var file = Event.element(e).id;
						location.href="download.php?file="+ file;
					}		
			});
});*/

$(document).ready(function (){
	$("a.downloadFile").click(function (e){
		var file = this.title;
		window.location = "download.php?file="+ file;
	});					
});