// JavaScript Document

$(document).ready(function(){
						   
	$(".conteudo a").hover( 
	function() { 
		if($(this).hasClass("listaAlbuns") || $(this).hasClass("round")){
		//$(this).animate({color: '#D372A1'}, {duration: 300, easing: 'easeOutCubic'}); 
		}else{
		$(this).animate({color: '#D372A1'}, {duration: 300, easing: 'easeOutCubic'}); 
		}
		}, 
	function(){
		if($(this).hasClass("listaAlbuns") || $(this).hasClass("round")){
	   //$(this).animate({color: '#a00d54'}, {duration: 300, easing: 'easeOutCubic'}); 
		}else{
		$(this).animate({color: '#a00d54'}, {duration: 300, easing: 'easeOutCubic'}); 
		}
	}
	);
	
	$("ul.nav").superfish({
		hoverClass	: "sfHover",
		delay		: 500,
		animation	: {opacity:"show",height:"show"},
		speed		: "normal"
	});
	
	 /*//Lightbox
		$('a[@rel*=lightbox]').lightBox({
			overlayBgColor: '#000000',
			overlayOpacity: 0.6,
			imageLoading: 'inc/js/jquery/lightbox/images/loading.gif',
			imageBtnClose: 'inc/js/jquery/lightbox/images/closelabel.gif',
			imageBtnPrev: 'inc/js/jquery/lightbox/images/lightbox-btn-prev.gif',
			imageBtnNext: 'inc/js/jquery/lightbox/images/lightbox-btn-next.gif',
			containerResizeSpeed: 500,
			txtImage: 'Imagem',
			txtOf: 'de'
	   });*/
		//Fancybox
		$('a[@rel*=lightbox]').fancybox({
			overlayShow: true
	   });
		

});// fim ready

function PrintThisPage(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function popUp(windowUri, windowName, windowWidth, windowHeight, scrollbars){
    var centerWidth = (window.screen.width - windowWidth) / 2;
    var centerHeight = (window.screen.height - windowHeight) / 2;
    window.open(windowUri, windowName, 'toolbar=0,scrollbars='+ scrollbars +',location=0,statusbar=0,menubar=0,resizable=1,width=' + windowWidth + 
        ',height=' + windowHeight + 
        ',left=' + centerWidth + 
        ',top=' + centerHeight);
	return false;
}
function goFullscreen(windowUri){
	var windowWidth = 1100;
	var windowHeight = 650;
    var centerWidth = (window.screen.width - windowWidth) / 2;
    var centerHeight = (window.screen.height - windowHeight) / 2;
    w = window.open(windowUri, 'dayspa', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=' + windowWidth + 
        ',height=' + windowHeight + 
        ',left=' + centerWidth + 
        ',top=' + centerHeight);
	w.focus();
	return false;
}

/*function goFullscreen(page) {
		var URLen=page;
		var windowNamen="mainflashwindow";
		var browserName=navigator.appName;
		var operatingSystem=navigator.platform;
		var version = parseFloat(navigator.appVersion);
		if (browserName.indexOf("Netscape")!=-1 && version>=4.0 && operatingSystem.indexOf("Mac")!=-1){
		 window.open(URLen,windowNamen,'titlebar=no,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',screenX=0,screenY=0,top=0,left=0')
		 }else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Mac")!=-1){
		 window.open(URLen,windowNamen,'titlebar=no,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',screenX=0,screenY=0,top=0,left=0')
		 }else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Mac")!=-1){
		 window.open(URLen,windowNamen,'width='+screen.width+',height='+screen.height+',top=0,left=0');
		 }else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Win")!=-1)
		 {var win = window.open(URLen,windowNamen,'titlebar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availHeight+',screenX=0,screenY=0,top=0,left=0')
			win.resizeTo(screen.width, screen.height);
		 }else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Win")!=-1){
		 window.open(URLen,windowNamen,'width='+screen.width+',height='+screen.height+',top=0,left=0');
		 }else{
		 window.open(URLen,windowNamen);
		 }
	return false;
	}*/
