// Define own namespace
if(typeof fyyr == 'undefined')
	fyyr = new Object();

fyyr.common = (function(){

	
	return {
	
		debug : true,
		
		
		init : function() {
			if(fyyr.debug && typeof loadFirebugConsole != 'undefined')
				loadFirebugConsole();
	
			/*
			var emptyText = "Hakusanat";
	
			// Add input-prompt pattern for search field
			$("#search-form #q").focus(function() {
				if(this.value == emptyText) {
					this.value = "";
					$(this).removeClass("empty");
				}
			}).blur(function() {
				if(this.value == "" || this.value == emptyText) {
					this.value = emptyText;
					$(this).addClass("empty");
				}
			}).addClass("empty").val(emptyText);
			*/
			
			// Init LightBox
			$("a.zoom").lightBox();
		}
	
	}


})();


$(document).ready(function() {
	fyyr.common.init();
});


