$(function() { 
    // if the function argument is given to overlay, it is assumed to be the onBeforeLoad event listener 
    $("div[rel]").overlay(function() { 
        var wrap = this.getContent().find("div.wrap"); 
				var overlayhref = this.getTrigger().attr("href");
				wrap.load(overlayhref.replace(/lib.cfm/, "overlay.cfm")); 
    }); 


		 //find all form with class jqtransform and apply the plugin
    // disabled // $("form.jqtransform").jqTransform();

	});
