window.Modernizr=function(e,g,j){function f(a,b){return(""+a).indexOf(b)!==-1}function m(a,b){for(var h in a)if(n[a[h]]!==j&&(!b||b(a[h],q)))return true}function d(a,b){var h=a.charAt(0).toUpperCase()+a.substr(1);return!!m([a,"Webkit"+h,"Moz"+h,"O"+h,"ms"+h,"Khtml"+h],b)}function l(){i.input=function(a){for(var b=0,h=a.length;b<h;b++)r[a[b]]=!!(a[b]in k);return r}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));i.inputtypes=function(a){for(var b=0,h,v=
a.length;b<v;b++){k.setAttribute("type",a[b]);if(h=k.type!=="text"){k.value=G;if(/^range$/.test(k.type)&&k.style.WebkitAppearance!==j){p.appendChild(k);h=g.defaultView.getComputedStyle&&g.defaultView.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0;p.removeChild(k)}else/^(search|tel)$/.test(k.type)||(h=/^(url|email)$/.test(k.type)?k.checkValidity&&k.checkValidity()===false:k.value!=G)}A[a[b]]=!!h}return A}("search tel url email datetime date month week time datetime-local number range color".split(" "))}
var i={},p=g.documentElement,q=g.createElement("modernizr"),n=q.style,k=g.createElement("input"),G=":)",C=Object.prototype.toString,x=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),c={},A={},r={},F=[],w=function(){var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return function(b,h){h=h||document.createElement(a[b]||"div");b="on"+b;var v=b in h;if(!v){h.setAttribute||(h=document.createElement("div"));if(h.setAttribute&&h.removeAttribute){h.setAttribute(b,
"");v=typeof h[b]=="function";if(typeof h[b]!="undefined")h[b]=void 0;h.removeAttribute(b)}}return v}}(),K={}.hasOwnProperty,P;P=typeof K!=="undefined"&&typeof K.call!=="undefined"?function(a,b){return K.call(a,b)}:function(a,b){return b in a&&typeof a.constructor.prototype[b]==="undefined"};c.flexbox=function(){var a=g.createElement("div"),b=g.createElement("div");(function(v,s,y,B){s+=":";v.style.cssText=(s+x.join(y+";"+s)).slice(0,-s.length)+(B||"")})(a,"display","box","width:42px;padding:0;");
b.style.cssText=x.join("box-flex:1;")+"width:10px;";a.appendChild(b);p.appendChild(a);var h=b.offsetWidth===42;a.removeChild(b);p.removeChild(a);return h};c.canvas=function(){var a=g.createElement("canvas");return!!(a.getContext&&a.getContext("2d"))};c.canvastext=function(){return!!(i.canvas&&typeof g.createElement("canvas").getContext("2d").fillText=="function")};c.geolocation=function(){return!!navigator.geolocation};c.crosswindowmessaging=function(){return!!e.postMessage};c.websqldatabase=function(){var a=
!!e.openDatabase;if(a)try{a=!!openDatabase("modernizrtestdb","1.0","modernizrtestdb",2E4)}catch(b){a=false}return a};c.indexedDB=function(){return!!e.indexedDB};c.hashchange=function(){return w("hashchange",e)&&(document.documentMode===j||document.documentMode>7)};c.historymanagement=function(){return!!(e.history&&history.pushState)};c.draganddrop=function(){return w("drag")&&w("dragstart")&&w("dragenter")&&w("dragover")&&w("dragleave")&&w("dragend")&&w("drop")};c.websockets=function(){return"WebSocket"in
e};c.rgba=function(){n.cssText="background-color:rgba(150,255,150,.5)";return f(n.backgroundColor,"rgba")};c.hsla=function(){n.cssText="background-color:hsla(120,40%,100%,.5)";return f(n.backgroundColor,"rgba")||f(n.backgroundColor,"hsla")};c.multiplebgs=function(){n.cssText="background:url(//:),url(//:),red url(//:)";return/(url\s*\(.*?){3}/.test(n.background)};c.backgroundsize=function(){return d("backgroundSize")};c.borderimage=function(){return d("borderImage")};c.borderradius=function(){return d("borderRadius",
"",function(a){return f(a,"orderRadius")})};c.boxshadow=function(){return d("boxShadow")};c.opacity=function(){var a=x.join("opacity:.5;")+"";n.cssText=a;return f(n.opacity,"0.5")};c.cssanimations=function(){return d("animationName")};c.csscolumns=function(){return d("columnCount")};c.cssgradients=function(){var a=("background-image:"+x.join("gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:")+x.join("linear-gradient(left top,#9f9, white);background-image:")).slice(0,-17);
n.cssText=a;return f(n.backgroundImage,"gradient")};c.cssreflections=function(){return d("boxReflect")};c.csstransforms=function(){return!!m(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])};c.csstransforms3d=function(){var a=!!m(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);if(a){var b=document.createElement("style"),h=g.createElement("div");b.textContent="@media ("+x.join("transform-3d),(")+"modernizr){#modernizr{height:3px}}";
g.getElementsByTagName("head")[0].appendChild(b);h.id="modernizr";p.appendChild(h);a=h.offsetHeight===3;b.parentNode.removeChild(b);h.parentNode.removeChild(h)}return a};c.csstransitions=function(){return d("transitionProperty")};c.fontface=function(){var a,b,h=g.head||g.getElementsByTagName("head")[0]||p,v=g.implementation||{hasFeature:function(){return false}};b=g.createElement("style");b.type="text/css";h.insertBefore(b,h.firstChild);a=b.sheet||b.styleSheet;b=v.hasFeature("CSS2","")?function(s){if(!(a&&
s))return false;var y=false;try{a.insertRule(s,0);y=!/unknown/i.test(a.cssRules[0].cssText);a.deleteRule(a.cssRules.length-1)}catch(B){}return y}:function(s){if(!(a&&s))return false;a.cssText=s;return a.cssText.length!==0&&!/unknown/i.test(a.cssText)&&a.cssText.replace(/\r+|\n+/g,"").indexOf(s.split(" ")[0])===0};i._fontfaceready=function(s){s(i.fontface)};return b('@font-face { font-family: "font"; src: "font.ttf"; }')};c.video=function(){var a=g.createElement("video"),b=!!a.canPlayType;if(b){b=
new Boolean(b);b.ogg=a.canPlayType('video/ogg; codecs="theora"');b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"');b.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}return b};c.audio=function(){var a=g.createElement("audio"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"');b.mp3=a.canPlayType("audio/mpeg;");b.wav=a.canPlayType('audio/wav; codecs="1"');b.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}return b};c.localstorage=function(){try{return"localStorage"in
e&&e.localStorage!==null}catch(a){return false}};c.sessionstorage=function(){try{return"sessionStorage"in e&&e.sessionStorage!==null}catch(a){return false}};c.webWorkers=function(){return!!e.Worker};c.applicationcache=function(){var a=e.applicationCache;return!!(a&&typeof a.status!="undefined"&&typeof a.update=="function"&&typeof a.swapCache=="function")};c.svg=function(){return!!g.createElementNS&&!!g.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect};c.smil=function(){return!!g.createElementNS&&
/SVG/.test(C.call(g.createElementNS("http://www.w3.org/2000/svg","animate")))};c.svgclippaths=function(){return!!g.createElementNS&&/SVG/.test(C.call(g.createElementNS("http://www.w3.org/2000/svg","clipPath")))};for(var H in c)if(P(c,H))F.push(((i[H.toLowerCase()]=c[H]())?"":"no-")+H.toLowerCase());i.input||l();i.addTest=function(a,b){a=a.toLowerCase();if(!i[a]){b=!!b();p.className+=" "+(b?"":"no-")+a;i[a]=b;return i}};n.cssText="";q=k=null;(function(){var a=g.createElement("div");a.innerHTML="<elem></elem>";
return a.childNodes.length!==1})()&&function(a,b){function h(o,t){if(B[o])B[o].styleSheet.cssText+=t;else{var u=s[L],z=b[I]("style");z.media=o;u.insertBefore(z,u[L]);B[o]=z;h(o,t)}}function v(o,t){for(var u=RegExp("\\b("+M+")\\b(?!.*[;}])","gi"),z=function(J){return".iepp_"+J},E=-1;++E<o.length;){t=o[E].media||t;v(o[E].imports,t);h(t,o[E].cssText.replace(u,z))}}for(var s=b.documentElement,y=b.createDocumentFragment(),B={},M="abbr|article|aside|audio|canvas|command|datalist|details|figure|figcaption|footer|header|hgroup|keygen|mark|meter|nav|output|progress|section|source|summary|time|video",
N=M.split("|"),D=[],O=-1,L="firstChild",I="createElement";++O<N.length;){b[I](N[O]);y[I](N[O])}y=y.appendChild(b[I]("div"));a.attachEvent("onbeforeprint",function(){for(var o,t=b.getElementsByTagName("*"),u,z,E=RegExp("^"+M+"$","i"),J=-1;++J<t.length;)if((o=t[J])&&(z=o.nodeName.match(E))){u=RegExp("^\\s*<"+z+"(.*)\\/"+z+">\\s*$","i");y.innerHTML=o.outerHTML.replace(/\r|\n/g," ").replace(u,o.currentStyle.display=="block"?"<div$1/div>":"<span$1/span>");u=y.childNodes[0];u.className+=" iepp_"+z;u=D[D.length]=
[o,u];o.parentNode.replaceChild(u[1],u[0])}v(b.styleSheets,"all")});a.attachEvent("onafterprint",function(){for(var o=-1,t;++o<D.length;)D[o][1].parentNode.replaceChild(D[o][0],D[o][1]);for(t in B)s[L].removeChild(B[t]);B={};D=[]})}(this,g);i._enableHTML5=true;i._version="1.5";p.className=p.className.replace(/\bno-js\b/,"")+" js";p.className+=" "+F.join(" ");return i}(this,this.document);
(function(e){function g(f){return typeof f=="object"?f:{top:f,left:f}}var j=e.scrollTo=function(f,m,d){e(window).scrollTo(f,m,d)};j.defaults={axis:"xy",duration:parseFloat(e.fn.jquery)>=1.3?0:1,limit:true};j.window=function(){return e(window)._scrollable()};e.fn._scrollable=function(){return this.map(function(){if(!(!this.nodeName||e.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1))return this;var f=(this.contentWindow||this).document||this.ownerDocument||this;return e.browser.safari||
f.compatMode=="BackCompat"?f.body:f.documentElement})};e.fn.scrollTo=function(f,m,d){if(typeof m=="object"){d=m;m=0}if(typeof d=="function")d={onAfter:d};if(f=="max")f=9E9;d=e.extend({},j.defaults,d);m=m||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue)m/=2;d.offset=g(d.offset);d.over=g(d.over);return this._scrollable().each(function(){function l(C){p.animate(k,m,d.easing,C&&function(){C.call(this,f,d)})}var i=this,p=e(i),q=f,n,k={},G=p.is("html,body");switch(typeof q){case "number":case "string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(q)){q=
g(q);break}q=e(q,this);case "object":if(q.is||q.style)n=(q=e(q)).offset()}e.each(d.axis.split(""),function(C,x){var c=x=="x"?"Left":"Top",A=c.toLowerCase(),r="scroll"+c,F=i[r],w=j.max(i,x);if(n){k[r]=n[A]+(G?0:F-p.offset()[A]);if(d.margin){k[r]-=parseInt(q.css("margin"+c))||0;k[r]-=parseInt(q.css("border"+c+"Width"))||0}k[r]+=d.offset[A]||0;if(d.over[A])k[r]+=q[x=="x"?"width":"height"]()*d.over[A]}else{c=q[A];k[r]=c.slice&&c.slice(-1)=="%"?parseFloat(c)/100*w:c}if(d.limit&&/^\d+$/.test(k[r]))k[r]=
k[r]<=0?0:Math.min(k[r],w);if(!C&&d.queue){F!=k[r]&&l(d.onAfterFirst);delete k[r]}});l(d.onAfter)}).end()};j.max=function(f,m){var d=m=="x"?"Width":"Height",l="scroll"+d;if(!e(f).is("html,body"))return f[l]-e(f)[d.toLowerCase()]();d="client"+d;var i=f.ownerDocument.documentElement,p=f.ownerDocument.body;return Math.max(i[l],p[l])-Math.min(i[d],p[d])}})(jQuery);
jQuery.cookie=function(e,g,j){if(typeof g!="undefined"){j=j||{};if(g===null){g="";j.expires=-1}var f="";if(j.expires&&(typeof j.expires=="number"||j.expires.toUTCString)){if(typeof j.expires=="number"){f=new Date;f.setTime(f.getTime()+j.expires*24*60*60*1E3)}else f=j.expires;f="; expires="+f.toUTCString()}var m=j.path?"; path="+j.path:"",d=j.domain?"; domain="+j.domain:"";j=j.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(g),f,m,d,j].join("")}else{g=null;if(document.cookie&&document.cookie!=
""){j=document.cookie.split(";");for(f=0;f<j.length;f++){m=jQuery.trim(j[f]);if(m.substring(0,e.length+1)==e+"="){g=decodeURIComponent(m.substring(e.length+1));break}}}return g}};
(function(e){function g(l){var i={},p=/^jQuery\d+$/;e.each(l.attributes,function(q,n){if(n.specified&&!p.test(n.name))i[n.name]=n.value});return i}function j(){var l=e(this);if(l.val()===l.attr("placeholder")&&l.hasClass("placeholder"))l.data("placeholder-password")?l.hide().nextAll(":password").show().focus():l.val("").removeClass("placeholder")}function f(){var l,i=e(this);if(i.val()===""||i.val()===i.attr("placeholder")){if(i.is(":password")){if(!i.data("placeholder-textinput")){try{l=i.clone().attr({type:"text"})}catch(p){l=
e("<input>").attr(e.extend(g(i[0]),{type:"text"}))}l.removeAttr("name").data("placeholder-password",true).bind("focus.placeholder",j);i.data("placeholder-textinput",l).before(l)}i=i.hide().prev().show()}i.addClass("placeholder").val(i.attr("placeholder"))}else i.removeClass("placeholder")}var m="placeholder"in document.createElement("input"),d="placeholder"in document.createElement("textarea");e.fn.placeholder=m&&d?function(){return this}:function(){return this.filter((m?"textarea":":input")+"[placeholder]").bind("focus.placeholder",
j).bind("blur.placeholder",f).trigger("blur.placeholder").end()};e(function(){e("form").bind("submit.placeholder",function(){var l=e(".placeholder",this).each(j);setTimeout(function(){l.each(f)},10)})});e(window).bind("unload.placeholder",function(){e(".placeholder").val("")})})(jQuery);
jQuery(document).ready(function(){$("#contactform").submit(function(){var e=$(this).attr("action");$("#contactform #submit").attr("disabled","disabled").after('<img src="assets/ajax-loader.gif" class="loader" />');$("#message").slideUp(750,function(){$("#message").hide();$.post(e,{name:$("#name").val(),email:$("#email").val(),email_check:$("#email_check").val(),phone:$("#phone").val(),subject:$("#subject").val(),comments:$("#comments").val(),verify:$("#verify").val()},function(g){document.getElementById("message").innerHTML=
g;$("#message").slideDown("slow");$("#contactform img.loader").fadeOut("fast",function(){$(this).remove()});$("#contactform #submit").attr("disabled","");g.match("success")!=null&&$("#contactform").slideUp("slow")})});return false})});

