function flipCover (css, options) { var options = options || {}; if (typeof css === "object") { options = css; } else { options.css = css; } var css = options.css; var url = options.url; var text = options.text || css; var width = options.width; var height = options.height; var $section = $(".flip-cover-" + css).addClass(css + "-section"); var $button = $("