﻿/* Licuit Interactive SL */
/* Created June, 2009 */
/* Modified June, 2009
--------------------------------------- */

var LicuitCore = {};

LicuitCore.licuit = new Class({
        Implements: [Options, Events],
		
		options: {
			
        },
		
		initialize: function(options){
            //this.setOptions(options);
        },
		
		getUrlParam : function(name){
  			name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
			 var regexS = "[\\?&]"+name+"=([^&#]*)";
			 var regex = new RegExp( regexS );
			 var results = regex.exec( window.location.href );
			 if( results == null )
			 	return "";
			 else
			 	return results[1];
		}		
    });
