function validate_contact(){if(document.contact.name.value==''){alert('Please enter your name');document.contact.name.focus();return false;} if(document.contact.email.value==''){alert('Please enter your email');document.contact.email.focus();return false;} if(document.contact.message.value==''){alert('Please enter your message');document.contact.message.focus();return false;} return true;} if(Prototype.Browser.IE){document.observe("dom:loaded",function(){Prototype.Browser.IE6=Prototype.Browser.IE&&parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==6;Prototype.Browser.IE7=Prototype.Browser.IE&&parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==7;Prototype.Browser.IE8=Prototype.Browser.IE&&!Prototype.Browser.IE6&&!Prototype.Browser.IE7;$$('body')[0].addClassName('browserIE');});} slideForm=function(){right=$('formSliderContainer').getStyle('right');if(right=='0px'){new Effect.Morph('formSliderContainer',{style:{right:'-360px'},duration:.5,transition:Effect.Transitions.spring});}else{new Effect.Morph('formSliderContainer',{style:{right:'0px'},duration:.5,transition:Effect.Transitions.spring});}}