/*
  Oakwood Creative
  http://oakwood.se
*/

jQuery.fn.cornyfix = function(options) {
  
  var defaults = {
    path  : $('#template_url').val()+'/images/cornyfix/'
  };
  
  var settings = $.extend({}, defaults, options);
  
  return this.each(function(){
    if( $(this).is('input') === false ){
      $(this).append('<img src="'+settings.path+'topleft.png" class="cornyfix topleft"><img src="'+settings.path+'topright.png" class="cornyfix topright"><img src="'+settings.path+'bottomleft.png" class="cornyfix bottomleft"><img src="'+settings.path+'bottomright.png" class="cornyfix bottomright">');
    }
  });
  
};
