








var Main = new Class({
	
	
	objHandler: "",
	pluginHandler: "",
	contentHandler: "",
	
	initialize: function(){
		
		document.Global.main = this;
		this.init();
		
		
		var isIE6 = /msie|MSIE 6/.test(navigator.userAgent);
		
		var isIE7 = /msie|MSIE 7/.test(navigator.userAgent);
		
			  	
		if(document.isIE6 || isIE7)

		 $('#badbrowser').fadeIn('slow');


		$('#badbrowser #bb_close').click(function(){
			
			$('#badbrowser').fadeOut('slow');
		
		});
		
		
		
		
		
	},
	
	
	
	init: function(){
		
		this.initPluginHandler();
		this.initObjHandler();
		this.initContentHandler();
		
		//var jsonRequest = new Request.JSON({url: "./pages.php"});
		
		// jQuery.get({ url: "./pages.php",dataTypeString: "text"});
	},
	
	initPluginHandler: function(){
	
		this.pluginHandler = new PluginHandler();	
		
	},
	
	initObjHandler: function(){
	
		this.objHandler = new ObjHandler();	
		
	},
	
	initContentHandler: function(){
	
		this.contentHandler = new ContentHandler();	
		
	}
	
});






