ddsmoothmenu.init({mainmenuid:"topMenu",orientation:'h',classname:'ddsmoothmenu',contentsource:"markup"})
function twitter_tooltip(target_items,name){$(target_items).each(function(){var my_tooltip=$("."+name);$(this).removeAttr("title").mouseover(function(){my_tooltip.css({opacity:0.9,display:"none"}).fadeIn(400);}).mousemove(function(kmouse){my_tooltip.css({left:kmouse.pageX-290,top:kmouse.pageY-45});}).mouseout(function(){my_tooltip.fadeOut(400);});});}
$(document).ready(function(){twitter_tooltip("a.tip","tooltip");$("a[rel^='prettyPhoto']").prettyPhoto();$('#content .postBoxInner').hover(function(){$(this).toggleClass('postBoxInnerHover');});$('.postBox a.readMore').hover(function(){$(this).prev('.postBoxInner').toggleClass('postBoxInnerHover');});$('#contact').ajaxForm(function(data){if(data==1){$('#success').fadeIn("slow");$('#bademail').fadeOut("slow");$('#badserver').fadeOut("slow");$('#contact').resetForm();}
else if(data==2){$('#badserver').fadeIn("slow");}
else if(data==3)
{$('#bademail').fadeIn("slow");}});});
