//é if (jQuery('#saga').length > 0) { var initAnims = function () { var a = jQuery("#anchor1"); maH = a.height(); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 1; a = jQuery("#anchor2"); maH = a.height(); a.height(maH); jQuery("h2", a).css("opacity", 0); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 2; a = jQuery("#anchor3"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0, top: "200px" }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 3; a = jQuery("#anchor4"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0, left: "200px" }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 4; a = jQuery("#anchor5"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0 }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 5; a = jQuery("#anchor6"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0 }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 6; a = jQuery("#anchor7"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0, left: "230px" }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 7; a = jQuery("#anchor8"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0 }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 8; a = jQuery("#anchor9"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0, top: "138px" }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 9; a = jQuery("#anchor10"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0, top: "100px" }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 10; a = jQuery("#anchor11"); maH = a.height(); a.height(maH); a.find("h2").css({ opacity: 0, left: "230px" }); customFunctions.initiatedScreens[customFunctions.initiatedScreens.length] = 11; }, init640 = function () { jQuery("#anchor2").find(".col1").find("figure").remove().end().appendTo("#anchor2 .col2").end().end().find("figure").appendTo("#anchor2 .col2").find("figcaption").appendTo("#anchor2 figure"); jQuery("#anchor3").find(".col1").find("> img").remove().end().end().find(".col2").find("figure").remove().end().appendTo("#anchor3 .col1"); jQuery("#anchor3").find(".col1 figure").appendTo("#anchor3 .col1"); jQuery("#anchor4").find(".col1").find("figure.first").remove().end().end().find(".col2").find("figure").remove().end().appendTo("#anchor4 .col1"); jQuery("#anchor4").find("figure.last").appendTo("#anchor4 .col1"); jQuery("#anchor5").find("figure.fig2, figure.fig3").remove(); jQuery("#anchor6").find(".col2").remove().end().find(".col21").appendTo("#anchor6 .cols"); jQuery("#anchor7").find(".col2").find("figure").remove().end().prependTo("#anchor7 .col1").end().end().find("figcaption").appendTo("#anchor7 figure"); jQuery("#anchor8").find(".col2").remove(); jQuery("#anchor9").find(".col2").prependTo("#anchor9 .ctnt > .clearFix").end().end().find("figcaption").appendTo("#anchor9 figure"); jQuery("#anchor11").find(".col2").find("figure").remove().end().prependTo("#anchor11 .col1").end().end().find("figcaption").appendTo("#anchor11 figure"); }, animScreen = function (a) { if (jQuery.inArray(a, customFunctions.initiatedScreens) >= 0) { if (a == 1) { jQuery("#anchor1").each(function () { jQuery(".ctnt", this).fadeIn(function () { customFunctions.eraseAnimatedScreen(a) }) }) } if (a == 2) { jQuery("#anchor2").each(function () { jQuery("h2", this).animate({ opacity: 1 }, 1000) }) } if (a == 3) { jQuery("#anchor3").each(function () { jQuery("h2", this).animate({ opacity: 1, top: 0 }, 750) }) } if (a == 4) { jQuery("#anchor4").each(function () { jQuery(this).find("h2").animate({ opacity: 1, left: 0 }, 1250) }) } if (a == 5) { jQuery("#anchor5").each(function () { var b = jQuery(this); b.find("h2").animate({ opacity: 1 }, 750) }) } if (a == 6) { jQuery("#anchor6").each(function () { jQuery("h2", this).animate({ opacity: 1 }, 750) }) } if (a == 7) { jQuery("#anchor7").each(function () { var b = jQuery(this); b.find("h2").animate({ opacity: 1, left: 0 }, 1250) }) } if (a == 8) { jQuery("#anchor8").each(function () { jQuery("h2", this).animate({ opacity: 1 }, 1250) }) } if (a == 9) { jQuery("#anchor9").each(function () { jQuery("h2", this).animate({ opacity: 1, top: 0 }, 750) }) } if (a == 10) { jQuery("#anchor10").each(function () { jQuery("h2", this).animate({ opacity: 1, top: 0 }, 750) }) } if (a == 11) { jQuery("#anchor11").each(function () { var b = jQuery(this); b.find("h2").animate({ opacity: 1, left: 0 }, 1250) }) } } }; }