<!--
    function loadCollection(_collections) {
		//detect to see if URL contains index, if not send it back to the homepage
		//if it does contain index we assume it is on the homepage and will fire the JS function.
        if(window.location.href.indexOf("http://www.gladeentuhogar.com/enes/collections.aspx") > 0) {
            if (_collections == 9)
            {
                window.location="http://www.gladeentuhogar.com/enes/RelaxingMoments/";  //This is a temp fix, hardcoded just for Relaxing Moments
            }
            else
            {
                window.document.shell.SetVariable("_collections", _collections);
            }
        } 
        else {
            window.location="http://www.gladeentuhogar.com/enes/collections.aspx?collectionId="+_collections;
        }
    }
	 
	function gup( 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]; }
	}
	//-->