$(document).ready(function(){$("a.iframe").fancybox({'hideOnContentClick':false});});$(function(){opts={distances:[80,80,80,80,80,80,80,80,80],leftShifts:[-140,-140,-140,-140,-140,-140,-140,-140,-140],bubbleTimes:[400,400,400,400,400,400,400,400,400,400,400],hideDelays:[0,0,0,0,0,0,0,0,0],bubbleWidths:[375,375,375,375,375,375,375,375,375],bubbleImagesPath:"media09/images/element/skins/transmyt",msieFix:true};$('.coda_bubble').codaBubble(opts);});$(document).ready(function(){$('span#blogFilter a').click(function(){$(this).css('outline','none');$('span#blogFilter a.highlight').removeClass('highlight');$(this).parent().addClass('highlight');var filterVal=$(this).text().toLowerCase().replace(' ','');if(filterVal=='older'){$("#posts").find("div:visible").fadeOut("fast",function(){$(this).parent().find("#older").fadeIn();})}else if(filterVal=='recent'){$("#posts").find("div:visible").fadeOut("fast",function(){$(this).parent().find("#recent").fadeIn();})}
return false;});});var children;var index;$(document).ready(function(){children=$("div.column.fltRgt").children("div.portlet");$("div.column.fltRgt div.portlet").mouseover(function(){$("div#selected").removeAttr("id");$(this).attr("id","selected");index=$("div.column.fltRgt div.portlet").index(this);});});function updateChildrenList(){children=$("div.column.fltRgt").children("div");index=$("div.column.fltRgt div.portlet").index($("div.column.fltRgt div.portlet#selected"));}
function moveItemUp(){if(index>0){$("div.column.fltRgt div.portlet#selected").insertBefore($(children[index-1]));}
updateChildrenList();}
function moveItemDown(){if(index<(children.length-1)){$("div.column.fltRgt div.portlet#selected").insertAfter($(children[index+1]));}
updateChildrenList();}