// JavaScript Document

window.addEvent('domready', function(){
									 
						
						var myFx = new Fx.Tween($('gallery'));
						
						$('org4').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '4'},
								update: $('gallery'), 
								onRequest: function(response){
									<!-- 1 for visible 0 for invisible -->
									$('gallery').fade('out');
									<!--myFx.start('opacity', '1');-->
									<!--myFx.set('tween', {property: 'opacity', duration: 'long'}).start(1);-->
								},
								onComplete: function(response){
									
								},
								onSuccess: function(){
									$('gallery').fade('in');
									//myFx.set('tween', {duration: 'long'});
									//myFx.tween('opacity', '1');
								}
													   }).send();
															});
						
						$('org5').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '5'},
								update: $('gallery'),
								onComplete: function(reponse){
									<!-- 1 for visible 0 for invisible -->
									$('gallery').fade('out');
									<!--myFx.start('opacity', '1');-->
									<!--myFx.set('tween', {property: 'opacity', duration: 'long'}).start(1);-->
								},
								onComplete: function(response){
									
								},
								onSuccess: function(){
									$('gallery').fade('in');
									//myFx.set('tween', {duration: 'long'});
									//myFx.tween('opacity', '1');
								}
													   }).send();
															});
												
						$('org6').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '6'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org7').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '7'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org8').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '8'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org9').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '9'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org10').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '10'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org11').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '11'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org12').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '12'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});
						$('org13').addEvent('click',function(event){
							event.stop();
							var req = new Request.HTML({
								method: 'get',
								url: 'orgEvents.php',
								data: { 'do': '13'},
								update: $('gallery'),
								onComplete: function(reponse){
																		 
								}
													   }).send();
															});

});

