﻿/// <reference name="MicrosoftAjax.js"/>

Type.registerNamespace("greatspaescapes");

greatspaescapes.ClientControl = function(element) {
    greatspaescapes.ClientControl.initializeBase(this, [element]);
}

greatspaescapes.ClientControl.prototype = {
    initialize: function() {
        greatspaescapes.ClientControl.callBaseMethod(this, 'initialize');
        
        // Add custom initialization here
    },
    dispose: function() {        
        //Add custom dispose actions here
        greatspaescapes.ClientControl.callBaseMethod(this, 'dispose');
    }
}
greatspaescapes.ClientControl.registerClass('greatspaescapes.ClientControl', Sys.UI.Control);

if (typeof(Sys) !== 'undefined')
{

 Sys.Application.notifyScriptLoaded();
}
var prm = Sys.WebForms.PageRequestManager.getInstance();	


prm.add_pageLoaded(PageLoad);

function PageLoad(sender, args) {	
window.addEvent('domready', function() {           
            SqueezeBox.assign($$('a.boxed'), {
                parse: 'rel'
            });

        });		
		}		
		
