// get URL-parameter 
function getGetParameter(name){
   var i=1  //Suchposition in der URL
   var suche = name+"="
   while (i<location.search.length){
      if (location.search.substring(i, i+suche.length)==suche){
         var ende = location.search.indexOf("&", i+suche.length)
         ende = (ende>-1) ? ende : location.search.length
         var loca = location.search.substring(i+suche.length, ende)
         return unescape(loca)
      }
      i++
   }
   return false;
}

jQuery(document).ready(function() {

    // Initiate jQuery.lazy
/*
	jQuery.lazy({
		src: '/fileadmin/templates/scripts/jquery/jquery-validate/jquery.validate.js',
		name: 'validate,validator'
		});
		
	jQuery.lazy({
		src: '/fileadmin/templates/scripts/jquery/jquery.hybrismap.js',
		name: 'hybrisMap',
		dependencies: {
			css: ['/fileadmin/templates/css/hybrismap.css']
		},
		cache: true		
		});
*/        
 	jQuery.lazy({
		src: '/fileadmin/templates/scripts/jquery/jquery.colorbox-min.js',
		name: 'colorbox',
		/*
        dependencies: {
			css: ['/fileadmin/templates/scripts/jquery/colorbox/skin5/colorbox.css']
		},
        */
		cache: true		
		});		
        
	jQuery.lazy({
		src: '/fileadmin/templates/scripts/jquery/jquery.hybrismap.js',
		name: 'hybrisMap',
		dependencies: {
			css: ['/fileadmin/templates/css/hybrismap.css']
		},
		cache: true		
		});           

	});
