/*
 * Check if checkbox is checked and show or hide something
 * author: Tomasz Zeludziewicz
 * tested on: jquery-1.2.6
 * date: 10/27/2008
 */
$.fn.onCheckedShow = function(options) {     
    $(options).hide(); // on page load - hide button
    $(this).click(function(){ // checkbox clicked?
        var thisCheck = $(this);
        if (thisCheck.is (':checked')) // check checkbox status then show or hide button  
            $(options).show();
        else      
            $(options).hide();      
    });
    return;
};  
