//// Language: Macedonian ////
//// Left ////
// About Us
function aboutus_mk(){
		var req = new Request.HTML({url:'aboutus_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}
	
// Schedule and Events
function events_mk(){
		var req = new Request.HTML({url:'events_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Gallery
function gallery_mk(){
		var req = new Request.HTML({url:'gallery_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Cocktails
function cocktails_mk(){
		var req = new Request.HTML({url:'cocktails_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Location and Contact
function contact_mk(){
		var req = new Request.HTML({url:'contact_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
			window.addEvent('domready', function() {
				// You can skip the following two lines of code. We need them to make sure demos
				// are runnable on MooTools demos web page.
				if (!window.demo_path) window.demo_path = '';
				var demo_path = window.demo_path;
				// --
				$('myForm').addEvent('submit', function(e) {
					//Prevents the default submit event from loading a new page.
					e.stop();
					//Empty the log and show the spinning indicator.
					var log = $('log_res').empty().addClass('ajax-loading');
					//Set the options of the form's Request handler. 
					//("this" refers to the $('myForm') element).
					this.set('send', {onComplete: function(response) { 
						log.removeClass('ajax-loading');
						log.set('html', response);
					}});
					//Send the form.
					this.send();
				});
			});
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Beach and Bar gallery
function beachbar_gallery(){
		var req = new Request.HTML({url:'beachbar_gallery.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Latest album in gallery
function beachbar_last_gallery(){
		var req = new Request.HTML({url:'beachbar_last_gallery.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Get all albums in gallery
function beachbar_all_gallery(){
		var req = new Request.HTML({url:'beachbar_all_gallery.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Get album photos in gallery
function beachbar_album_gallery(id){
		var req = new Request.HTML({url:'beachbar_album_gallery.php?id=' + id, 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('left').set('text', '');
			//Inject the new DOM elements into the results div.
			$('left').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('left').set('text', 'The request failed.');
		}
	});
		req.send();
	}

	
//// Left ////
// About Us
function nc_aboutus_mk(){
		var req = new Request.HTML({url:'nc_aboutus_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Schedule and Events
function nc_events_mk(){
		var req = new Request.HTML({url:'nc_events_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Cocktails
function nc_cocktails_mk(){
		var req = new Request.HTML({url:'nc_cocktails_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}
	
// Location and Contact
function nc_contact_mk(){
		var req = new Request.HTML({url:'nc_contact_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
			window.addEvent('domready', function() {
				// You can skip the following two lines of code. We need them to make sure demos
				// are runnable on MooTools demos web page.
				if (!window.demo_path) window.demo_path = '';
				var demo_path = window.demo_path;
				// --
				$('myForm_nc').addEvent('submit', function(e) {
					//Prevents the default submit event from loading a new page.
					e.stop();
					//Empty the log and show the spinning indicator.
					var log = $('log_res_nc').empty().addClass('ajax-loading');
					//Set the options of the form's Request handler. 
					//("this" refers to the $('myForm') element).
					this.set('send', {onComplete: function(response) { 
						log.removeClass('ajax-loading');
						log.set('html', response);
					}});
					//Send the form.
					this.send();
				});
			});
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Gallery EN	
function nc_gallery_mk(){
		var req = new Request.HTML({url:'nc_gallery_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}
	
// Night club gallery
function nightclub_gallery_mk(){
		var req = new Request.HTML({url:'nightclub_gallery_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}
	
// Latest album in gallery
function nightclub_last_gallery_mk(){
		var req = new Request.HTML({url:'nightclub_last_gallery_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}
	
// Get all albums in gallery
function nightclub_all_gallery_mk(){
		var req = new Request.HTML({url:'nightclub_all_gallery_mk.php', 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}

// Get album photos in gallery
function nightclub_album_gallery_mk(id){
		var req = new Request.HTML({url:'nightclub_album_gallery_mk.php?id=' + id, 
		onSuccess: function(html) {
			//Clear the text currently inside the results div.
			$('right').set('text', '');
			//Inject the new DOM elements into the results div.
			$('right').adopt(html);
			TB_init();
		},
		//Our request will most likely succeed, but just in case, we'll add an
		//onFailure method which will let the user know what happened.
		onFailure: function() {
			$('right').set('text', 'The request failed.');
		}
	});
		req.send();
	}