	if( typeof _lib_load_libs == 'undefined' && typeof window._loader == 'undefined' ) {
		var _lib_load_loaded = false;
		var _lib_load_libs = {};
		var _lib_load_libs_loaded = {};
		
		window.onload = function(){
			window._lib_load_loaded = true;
		};
		
		var _lib_load = function ( ) {
			for( var i = 0; i < arguments.length; i++ ) {
				var lib_name = arguments[i];
				if( typeof _lib_load_libs_loaded[lib_name] == 'undefined' ) {
					for( file_idx in _lib_load_libs[lib_name] ) {
						var file = _lib_load_libs[lib_name][file_idx];
						if( typeof file == 'string' ) {
							var tag = false, file_ext = file.split( '?' )[0].substring( file.lastIndexOf( '.' ) + 1 );

							var head = document.getElementsByTagName( "head" )[0];
							if( file_ext == 'js' ) {
								if ( window._lib_load_loaded ) {
									tag = document.createElement( 'script' );
									tag.type = 'text/javascript';
									tag.src = file;
									tag.charset = 'UTF-8';
								}
								else {
									window.document.write( '<scr'+'ipt type="text/javascript" src="'+file+'" charset="UTF-8"></scr'+'ipt>' );
								}
							} else if ( file_ext == 'css' ) {
								if ( window._lib_load_loaded ) {
									tag = document.createElement( 'link' );
									tag.rel = 'stylesheet';
									tag.href = file;
								}
								else {
									window.document.write( '<link rel="stylesheet" href="'+file+'" type="text/css" />' );
								}
							}
							
							if ( window._lib_load_loaded && tag !== false ) {
								head.appendChild( tag );
							}
						}
					}
					_lib_load_libs_loaded[lib_name] = true;
				}
			}
		};
		
		var _lib_repository_add = function ( name, files ) {
			if( typeof _lib_load_libs[name] == 'undefined' ) {
				_lib_load_libs[name] = files;
			}
		}
		
	}
	
	if( typeof window._loader != 'undefined' ) {
		var _lib_repository_add = window._loader.lib_add;
		var _lib_load = window._loader.lib_load;
	}	
	
	_lib_repository_add(
		'jQuery',
		[
			'/(cms)/module/static/default/content/libs/js/jquery-1.3.2/jquery-1.3.2.min.js',
			'/(cms)/module/static/default/content/libs/js/jquery-1.2.3/jquery-history.js',
			'/(cms)/module/static/default/content/libs/js/jquery-1.2.3/jquery-custom.js'
		]
	);
	_lib_repository_add(
		'jQuery-UI',
		[
			'/(cms)/module/static/default/content/libs/js/jquery-ui/js/jquery-ui-1.7.2.custom.min.js',
			'/(cms)/module/static/default/content/libs/js/jquery-ui/css/smoothness/jquery-ui-1.7.2.custom.css'
		]
	);
	_lib_repository_add(
		'vTicker',
		[
			'/(cms)/module/static/default/content/libs/js/jquery.vticker-1.1.3/jquery.vticker.js'
		]
	);
	_lib_repository_add(
		'ui-autocomplete',
		[
			'/(cms)/module/static/default/content/libs/js/jquery.autocomplete-1.2.6/jquery.autocomplete.js',
			'/(cms)/module/static/default/content/libs/js/jquery.autocomplete-1.2.6/jquery.autocomplete.css'
		]
	);
	_lib_repository_add(
		'Datepicker',
		[
			'/(cms)/module/static/default/content/libs/js/datepicker-3.3/ui.datepicker.js',
			'/(cms)/module/static/default/content/libs/js/datepicker-3.3/ui.datepicker.css'
		]
	);
	_lib_repository_add(
		'Lytebox',
		[
			'/(cms)/module/static/default/content/libs/js/lytebox-3.22/lytebox.js',
			'/(cms)/module/static/default/content/libs/js/lytebox-3.22/lytebox.css'
		]
	);
	_lib_repository_add(
		'Highslide',
		[
			'/(cms)/module/static/default/content/libs/js/highslide-4.1.5/highslide.min.js',
			'/(cms)/module/static/default/content/libs/js/highslide-4.1.5/settings.js',
			'/(cms)/module/static/default/content/libs/js/highslide-4.1.5/highslide.css'
		]
	);
	_lib_repository_add(
		'bgiframe',
		[
			'/(cms)/module/static/default/content/libs/js/jquery.bgiframe-2.1.1/jquery.bgiframe.min.js'
		]
	);
	_lib_repository_add(
		'swfobject',
		[
			'/(cms)/module/static/default/content/libs/js/swfobject-2.1/swfobject.js'
		]
	);
	_lib_repository_add(
		'vjg',
		[
			'/(cms)/module/static/default/content/libs/js/vjg/vjg.js?v=1082',
			'/(cms)/module/static/default/content/libs/js/vjg/vjg.css'
		]
	);
	_lib_repository_add(
		'vil',
		[
			'/(cms)/module/static/default/content/libs/js/vil/vil.js',
			'/(cms)/module/static/default/content/libs/js/vil/vil.css'
		]
	);
	_lib_repository_add(
		'vnh',
		[
			'/(cms)/module/static/default/content/libs/js/vnh/vnh.js'
		]
	);
	_lib_repository_add(
		'vha',
		[
			'/(cms)/module/static/default/content/libs/js/vha/vha.js'
		]
	);
	_lib_repository_add(
		'vct',
		[
			'/(cms)/module/static/default/content/libs/js/vct/vct.js'
		]
	);
	_lib_repository_add(
		'jQuery_Highlight',
		[
			'/(cms)/module/static/default/content/libs/js/jquery-highlight-3/jquery.highlight-3.js'
		]
	);
	_lib_repository_add(
		'Cookies',
		[
			'/(cms)/module/static/default/content/libs/js/jquery.cookie-1.0/jquery.cookie.js'
		]
	);
	_lib_repository_add(
		'corners',
		[
			'/(cms)/module/static/default/content/libs/js/dd_roundies-0.0.2a/DD_roundies_0.0.2a-min.js'
		]
	);
	_lib_repository_add(
		'curvycorners',
		[
			'/(cms)/module/static/default/content/libs/js/curvycorners-2.0.4/curvycorners.js'
		]
	);
	_lib_repository_add(
		'jquery.json',
		[
			'/(cms)/module/static/default/content/libs/js/jquery.labs_json-1.0/labs_json.js'
		]
	);
	
	Function.prototype.bind = function() {
		var __method = this, args = Array.prototype.slice.call(arguments,0), object = args.shift();
		return function() {
			return __method.apply(object, args.concat(Array.prototype.slice.call(arguments,0)));
		};
	};
	
	/* console für ie emulieren falls jmd eins vergisst */
	if(typeof console == 'undefined') {
		console = { log: function() {}, group: function() {}, groupEnd: function() {}, info: function() {}, warn: function() {} };
	}	
	