// Copyright (c) 2010-2012 Slash7 LLC http://charmhq.com/ // Copyright (c) 2010-2012 Thomas Fuchs http://mir.aculo.us/ // License: https://github.com/cheerful/charmeur/blob/master/MIT-LICENSE (function(){ var tab, box, email, shown = false, sending = false, openmsg = null, callbacks = {}, VENDORS = ['webkit','moz','o','ms'], STYLE = '.feedback-button {' + ' display: inline-block;' + ' position: fixed;' + ' right: 0;' + ' left: auto;' + ' top: 35%;' + ' margin: 0;' + ' padding: 1.5em 1em .5em;' + ' border-radius: 4px;' + ' transform: rotate(90deg) translateY(-140%);' + ' will-change: transform;' + ' transition: transform ease 200ms;' + ' background: #ffffff;' + ' font-size: 13px;' + ' color: #a2afb3;' + ' text-transform: uppercase;' + ' box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.15);' + '}' + '.feedback-button:hover {' + ' transform: rotate(90deg) translateY(-130%);' + '}' + '.feedback-popup {' + ' position: fixed;' + ' top: 50%;' + ' left: 50%;' + ' width: 30em;' + ' transform: translate(-50%, -50%);' + ' padding: 1em 1.3em;' + ' background-color: #ffffff;' + ' border-radius: 5px;' + ' z-index: 999;' ' box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.15);' + ' }' + ' .feedback-popup h1 {' + ' margin: 0 0 .4em;' + ' padding-left: .4em;' + ' color: #347389;' + ' font-size: 20px;' + ' }' + ' .feedback-popup textarea {' + ' box-sizing: border-box;' + ' display: block;' + ' width: 100%;' + ' height: 10em;' + ' margin-bottom: .8em;' + ' padding: .5em .6em;' + ' resize: vertical;' + ' background-color: #f4f3eb;' + ' font-size: 15px;' + ' color: #7d7e80;' + ' border: none;' + ' font-family: "Source Sans Pro", Helvetica, sans-serif;' + ' }' + ' .feedback-popup .submit {' + ' margin-right: 1em;' + ' padding: .3em .7em;' + ' background-color: #37a766;' + ' color: #ffffff;' + ' font-size: 15px;' + ' border: none;' + ' border-radius: 4px;' + ' font-family: "Source Sans Pro", Helvetica, sans-serif;' + ' }' + ' .feedback-popup a {' + ' color: #7d7e80;' + ' font-size: 15px;' + ' text-decoration: none;' + ' }' + ' .feedback-popup a:hover {' + ' text-decoration: underline;' + ' }', BOX = '
' + '

Have feedback or questions?

' + '' + '
' + '
'+ '
'+ '' + '' + '' + '
' + '
', DEFAULTS = { text: '', submit: 'Send feedback', cancel: 'cancel', your_email: 'Your email address:', your_comment: 'Your message:', feedback_sending: 'Sending...', feedback_sent: 'Your feedback was sent!
We will get back to you as soon as possible!', feedback_error: 'There was a problem sending your message.
Please contact support directly.

close this message' }; function vendored(property, value){ var string = ''; for(var i=0;i