var girlLayer = new Class({
    Implements: Options,
    el: null,
    close_cookie: null,
    options: {
        position: "center",
        data: null,
		content: 'content.php',
        stylesheet: {
            'width': 480,
            'height': 400,
            'position': 'absolute',
            'z-index': 99999
        }
    },
    
    initialize: function(id, option) {
        this.el = $(id);
        this.setOptions(option);
		this.loadContent();
    },
	
    loadContent: function() {
        var data = "";
		var content_id = $(this.el).get("id");
        if(this.options.data != null) {
            var myHash = new Hash(this.options.data);
            data = "?" + myHash.toQueryString();
        }
		
        new Request.HTML({
            evalScripts: true,
			url: '/layer/' + this.options.content + data,
            update: content_id
        }).get();
    }
});
