/**
 * @author Kasper
 */
 
// ensure that the debug console exists
if (window['loadFirebugConsole']) window.loadFirebugConsole(); 
else if (!window['console']) window.console = { info:function(s){}, log:function(s){}, warn:function(s){}, error:function(s){} }

function CoreClass(){
  	this.me = "core";
	this.rootURL = "";
	this.themeURL = "";
}

CoreClass.prototype = {
  	init:function(){
		// initialize
		this.initCufon();
		
		
  	},
	initClass:function(className) {
		if (typeof fff[className].init == "function") {
			this[className].init();
		}
	},
	initCufon:function() {
		Cufon.set('fontFamily', 'letter-gothic');
		Cufon.replace('h1');
		Cufon.replace('h2');
		Cufon.replace('.nav > ul > li');
	},
  	toString: function() { 
  		return this.me; 
	}
}

stijlfigurant = new CoreClass();

$(document).ready(function(){
	stijlfigurant.init();
});

