$(document).ready(function(){ddsmoothmenu.init({mainmenuid:"mainMenu",orientation:"h",classname:"ddsmoothmenu",contentsource:"markup"});$("a[rel^='prettyPhoto']").prettyPhoto();$("#showHide").click(function(){if($("#footerActions").is(":hidden")){$(this).css("background-position","0 0");$("#footerActions").slideDown("slow")}else{$(this).css("background-position","0 -16px");$("#footerActions").hide();$("#footerActions").slideUp("slow")}return false});$("#s").focus(function(){$(this).animate({width:"215"},300);$(this).val("")});$("#s").blur(function(){$(this).animate({width:"100"},300);$(this).val("type your search")});$("#quickName").val("your name");$("#quickEmail").val("your email");$("#quickComment").val("your message");$("#quickName").focus(function(){$(this).val("")});$("#quickEmail").focus(function(){$(this).val("")});$("#quickComment").focus(function(){$(this).val("")});$("#shareLinks a.share").click(function(){if($("#shareLinks #icons").is(":hidden")){$("#shareLinks").animate({width:"625"},500);$("#shareLinks #icons").fadeIn();$(this).text("[-] Share & Bookmark");return false}else{$("#shareLinks").animate({width:"130"},500);$("#shareLinks #icons").fadeOut();$(this).text("[+] Share & Bookmark");return false}})})
