//	===================================================================================================================
//	Casa da Palavra - Commom Javascript Sorcery (Based in JQuery Library)
//	Versão 1.0
//	===================================================================================================================
var J = jQuery.noConflict();

J(function(){

	var clickmessage="Copyright 2008 - Todos os Direitos Reservados - www.muitoespecial.com.br"
	function disableclick(e) { 
		if (document.all) {
			if (event.button==2||event.button==3) {
				if (event.srcElement.tagName=="IMG"){
					alert(clickmessage);
					return false;
				}
			}
		} else if (document.layers) {
			if (e.which == 3) {
				alert(clickmessage);
				return false;
			}
		} else if (document.getElementById){
			if (e.which==3&&e.target.tagName=="IMG"){
				alert(clickmessage)
				return false
			}
		}
	}
	function associateimages(){
		for(i=0;i<document.images.length;i++)
		document.images[i].onmousedown=disableclick;
	}
	if (document.all)
		document.onmousedown=disableclick
	else if (document.getElementById)
		document.onmouseup=disableclick
	else if (document.layers)
		associateimages()

	J("li.artistas div.cont").css("display", "block");
	J("li.busca div.cont").css("display", "block");

	J("#lnk_artistas").siblings("div.cont").hide();
	J("#lnk_busca").siblings("div.cont").hide();

	J("#lnk_artistas").click(function(){
		J(this).siblings("div.cont").slideToggle("slow");
		return false;
	});

	J("#lnk_busca").click(function(){
		J(this).siblings("div.cont").slideToggle("slow");
		return false;
	});
});