a:link {color:#fff;text-decoration:none;}a:visited {color:#fff;text-decoration:none;}a:hover {color:#f60;text-decoration:none;}.featured7 {float: left;width: 2950px;height: 420px;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;overflow: hidden;text-shadow: 0px 0px 0 #FFFFFF;}.featured7 img {float: left;min-height: 220px;width: 260px;}.featured4 {float: left;width: 980px;height: 1700px;margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;overflow: hidden;text-shadow: 0px 0px 0 #FFFFFF;}.featured4 img {float: left;min-height: 220px;width: 260px;}/* Image Slideshow HOME GAY1---------------------------------------------*//*if you puttop: 0; -> the box with text will be shown at the top of the imageif you putbottom: 0; -> the box with text will be shown at the bottom of the image*/}.clear {clear: both;}ul { list-style-type: none;}#navbar-iframe { height: 0px; visibility: hidden; display: none; }.status-msg-wrap{display: none;}/*--Main Container--*/.main_view {float: left;position: relative;}/*--Window/Masking Styles--*/.window {height:420px; width: 980px;border-bottom: 2px #ccc solid;overflow: hidden; /*--Hides anything outside of the set width/height--*/position: relative;}.image_reel {position: absolute;top: 0; left: 0;}.image_reel img {float: left;}/*--Paging Styles--*/.paging {position: absolute;padding: 5px 5px 5px 5px;bottom: -50px; right: 0px;width: 980px; height: 30px;border-bottom: 0px #ccc solid;text-align: center;line-height: 25px;display: none; /*--Hidden by default, will be later shown with jQuery--*/} .paging a {background: #f60; color: #fff;outline:none; border: 1px #ccc solid; padding: 10px;float: none; width: 30px; height: 30px;margin: 0px;opacity: 0.4;-moz-opacity: 0.4;Filter: Alpha(Opacity=40);} .paging a.active {background: #f60; color: #fff;outline:none; border: 1px #ccc solid; padding: 10px;float: none; width: 30px; height: 30px;margin: 0px; -webkit-transition: 0.5s;opacity: 0.9;-moz-opacity: 0.9;Filter: Alpha(Opacity=100);} .paging a:hover {background: #f60; color: #fff;outline:none; border: 1px #ccc solid; padding: 10px;float: none; width: 30px; height: 30px;margin: 0px; -webkit-transition: 0.5s;opacity: 0.9;-moz-opacity: 0.9;Filter: Alpha(Opacity=100);}img.acende-foto {-webkit-transition: 0.5s;opacity: 0.0;-moz-opacity: 0.0;Filter: Alpha(Opacity=0)}img.acende-foto:hover {opacity: 0.2;-moz-opacity: 0.2;Filter: Alpha(Opacity=20)}.noticias3 a {color: #444;}.noticias3 a:hover {-webkit-transition: 0.5s;color: #999;}$(document).ready(function() { //Set Default State of each portfolio piece $(&.paging&).show(); $(&.paging a:first&).addClass(&active&); //Get size of images, how many there are, then determin the size of the image reel. var imageWidth = $(&.window&).width(); var imageSum = $(&.image_reel img&).size(); var imageReelWidth = imageWidth * imageSum; //Adjust the image reel to its new size $(&.image_reel&).css({'width' : imageReelWidth}); //Paging + Slider Function rotate = function(){ var triggerID = $active.attr(&rel&) - 1; //Get number of times to slide var image_reelPosition = triggerID * imageWidth; //Determines the distance the image reel needs to slide $(&.paging a&).removeClass('active'); //Remove all active class $active.addClass('active'); //Add active class (the $active is declared in the rotateSwitch function) //Slider Animation $(&.image_reel&).animate({ left: -image_reelPosition }, 500 ); }; //Rotation + Timing Event rotateSwitch = function(){ play = setInterval(function(){ //Set timer - this will repeat itself every 3 seconds $active = $('.paging a.active').next(); if ( $active.length === 0) { //If paging reaches the end... $active = $('.paging a:first'); //go back to first } rotate(); //Trigger the paging and slider function }, 10000); //Timer speed in milliseconds (3 seconds) }; rotateSwitch(); //Run function on launch //On Hover $(&.image_reel a&).hover(function() { clearInterval(play); //Stop the rotation }, function() { rotateSwitch(); //Resume rotation }); //On Click $(&.paging a&).click(function() { $active = $(this); //Activate the clicked paging //Reset Timer clearInterval(play); //Stop the rotation rotate(); //Trigger rotation immediately rotateSwitch(); // Resume rotation return false; //Prevent browser jump to link anchor }); }); //<![CDATA[ imgr = new Array(); imgr[0] = "https://lh3.googleusercontent.com/_R89g9fG9LYg/Ta0QZLIBM-I/AAAAAAAAAy8/7umMznszodk/Home01.png"; showRandomImg = true; aBold = true; summaryPost = 0; // number character showed in blog post summaryTitle = 140; // number of character showed in post title numposts = 9; // number of post