window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());var messages=["developer","designer","creator","dreamer","enthusiast","coder","user","blogger"];var total=8;var n=0;var box=1;function scrollText(){if(box===1){$(".m2").html(messages[n]);$(".m1").hide("slide",{direction:"down"},1000);$(".m2").show("slide",{direction:"up"},1000);box=2}else{$(".m1").html(messages[n]);$(".m2").hide("slide",{direction:"down"},1000);$(".m1").show("slide",{direction:"up"},1000);box=1}n++;if(n>=total){n=0}setTimeout(scrollText,2000)}function sendEmail(){var b=$("#name").val();var a=$("#email").val();var c=$("#message").val();$.ajax({type:"POST",url:"mailme.php",data:{name:b,email:a,message:c},success:function(d){$("#success").html(d)}});return false}(function(){scrollText();$("#send_message_form").submit(function(){sendEmail();return false})})();$(document).ready(function(){$(".scroll").click(function(e){e.preventDefault();var b=this.href;var f=b.split("#");var a=f[1];var d=$("#"+a).offset();var c=d.top;$("html, body").animate({scrollTop:c},500)})});
