// JavaScript by suporte@integrativa.com.br
var $jq = jQuery.noConflict();

$jq('document').ready(function(){
							   
// Links transparentes
  $jq('a img, a.bt-add, input[type=submit]').mouseover(function() {
	$jq(this).css('opacity', .6);
	}).mouseout(function() {
	$jq(this).css('opacity', 1);
  });
  
  // Links transparentes
  $jq('#radiolayer	a img').mouseover(function() {
	$jq(this).css('opacity', .8);
	}).mouseout(function() {
	$jq(this).css('opacity', 1);
  });

//Iniciar o contador de dias restantes
countdown(2010,05,26);

});

var before="";
var current="";
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");

function countdown(yr,m,d){
	var today=new Date();
	var todayy=today.getYear();
	if (todayy < 1000)
		todayy+=1900;
	var todaym=today.getMonth();
	var todayd=today.getDate();
	var todaystring=montharray[todaym]+" "+todayd+", "+todayy;
	var futurestring=montharray[m-1]+" "+d+", "+yr;
	var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1);
	var dstring=difference.toString();
	$jq('#principal #contagem big').html(dstring);
}
