// JavaScript Document
$(document).ready(function() {
$('#blink150').each(function(i) {
var img = $(this);
img[0].$count = 0;
img[0].$interval = setInterval(function() {
// Animate the opacity over .2 seconds
img.animate({opacity:.5},600,function() {
// When finished, animate it back to solid.
img.animate({opacity:1},200); });
// Clear the interval once we've reached 3.
if (++img[0].$count>=9999) {
clearInterval(img[0].$interval); } },2000);
});

$('#blink200').each(function(i) {
var img = $(this);
img[0].$count = 0;
img[0].$interval = setInterval(function() {
// Animate the opacity over .2 seconds
img.animate({opacity:.5},600,function() {
// When finished, animate it back to solid.
img.animate({opacity:1},200); });
// Clear the interval once we've reached 3.
if (++img[0].$count>=9999) {
clearInterval(img[0].$interval); } },2000);
});

$('#blink300').each(function(i) {
var img = $(this);
img[0].$count = 0;
img[0].$interval = setInterval(function() {
// Animate the opacity over .2 seconds
img.animate({opacity:.5},600,function() {
// When finished, animate it back to solid.
img.animate({opacity:1},200); });
// Clear the interval once we've reached 3.
if (++img[0].$count>=9999) {
clearInterval(img[0].$interval); } },2000);
});

});
