﻿/*!
* Spark Core Javascript and JQuery functions and page ready execution.
* 
* !!!PLEASE NOTE!!! 
*
* All Jquery functions should use JQuery. etc instead of $ as
* using $ clashes with Sitecore functionality such as forms wizard
* and page preview.
*/

jQuery(document).ready(function() {
    ApplyDesignToButtons();
});

function ApplyDesignToButtons() {
    jQuery("#innerContent :submit").wrap("<span class=\"button\"></span>");
    jQuery("#innerContent :button").wrap("<span class=\"button\"></span>");
    jQuery("#innerContent :submit").css({ color: "#fff" });
    jQuery("#innerContent :button").css({ color: "#fff" });
}

