/*! * jQuery Print Previw Plugin v1.0.1 * * Copyright 2011, Tim Connell * Licensed under the GPL Version 2 license * http://www.gnu.org/licenses/gpl-2.0.html * * Date: Wed Jan 25 00:00:00 2012 -000 */ (function ($) { $.fn.printPreview = function () { this.each(function () { $(this).bind('click', function (e) { e.preventDefault(); if (!$('#print-modal').length) { $.printPreview.loadPrintPreview(); } }); }); return this; }; var mask, size, print_modal, print_controls; $.printPreview = { loadPrintPreview: function () { print_modal = $(''); print_controls = $('