$(document).ready(
	function (){
		global.init();
	}
);

global = new Object();

global.init = function (){

	this.thisBrowserIsAPieceOfS___ = function(){
	
		if (navigator.appVersion.indexOf("MSIE") != -1){
			var version = navigator.appVersion.match(/MSIE (\d)\.\d/);
			return version[1] == 6;
		}
		
		return false;
		
	}
	
	this.ladeCSS = function(href, media){
	
		$("head").append("<link>");
		
		var css = $("head").children(":last");
		
		css.attr({
			rel:  "stylesheet",
			type: "text/css",
			href: href
		});
		
		if (media != null){
			css.attr({
				media: "screen"
			});
		}
		
	}
	

		
}

