$(document).ready(function(){
    Class_Form_Script.bind();
});

var Class_Form_Scripts = function(){

};

Class_Form_Scripts.prototype = {
      
    bind: function()
    {       	   
		$('.add_organizator').click( function(){						
			var file = $(this).attr('title');			
			if(file.length>0)
			{
				$.ajax({		
					url: host+'/?task=add_organizator&file='+file,
					cache: false,
					success: function(response){
						$.fancybox(response);			
					}
				});
			}
			return false;
		});
    }
};

var Class_Form_Script = new Class_Form_Scripts();


