﻿Cufon.replace("article h1 div, article h2",{hover:true,fontFamily:"Rockwell"});Cufon.replace("#mainNavLinks > li > a",{hover:true,fontFamily:"Rockwell",textShadow:"0px 0px 1px #806f55"});Cufon.replace("#mainNavLinks ul a",{hover:true,fontFamily:"Rockwell",color:"#e9d6b2",fontSize:"14px"});$(document).ready(function(){$(".widgetCTA:last-child").addClass("lastCTA");$(".widgetCTA").append("<div class=ctaHover></div>");$(".widgetCTA").each(function(){$(this).find(".widgetCTALink").clone().appendTo($(this).find(".ctaHover"));$(this).find(".ctaHover .widgetCTAimg ").remove()});$("#side .widgetCTA").hover(function(){$(this).find(".ctaHover").stop("this","this").animate({left:"0"},200)},function(){$(this).find(".ctaHover").stop("this","this").animate({left:"256px"},200)});Cufon.replace(".widgetCTAHeaders",{hover:true,fontFamily:"myriad-light"});var a=0;$(".widgetPhotoGallery").each(function(){$(this).append("<ul style='padding: 0;'></ul>").addClass("shadowBoxGallery").attr({id:"gallery"+a});$(this).find(".galleryImgThumb").each(function(){var d=$(this).css("backgroundImage");var d=d.replace("url(","").replace(")","");var c=$(this).attr("href");var b=$(this).attr("title");$("#gallery"+a+" ul").append("<li class='shadowBoxThumbs'><a title='"+b+"' href="+c+" rel='shadowbox[gallery"+a+"]'><img src="+d+" /></a></li>")});a+=1});$(".shadowBoxThumbs").css({"list-style-type":"none",display:"inline"});$(".galleryImgFullShell, .imgDescriptionShell, .imgPreviousNextShell, .imgThumbnailsOuterShell").remove();Shadowbox.setup()});$(document).ready(function(){$(".ibeEnginePage #side").insertAfter(".ibeEnginePage article")});
