function randomHeader(){
	var ar = ['header_img','header_img_1','header_img_2','header_img_3','header_img_4','header_img_5'];
	    rdom = Math.round(Math.random()*(6-1));
	$('.header_img').attr('class',ar[rdom]);
}
function tagNewsletter(){
	var tag_inicial = $("#suggestionTag").val();
	
	$("#suggestionTag").focus(function(){
		tag_suggestionTag = $("#suggestionTag").val();
		if(tag_suggestionTag == tag_inicial) $("#suggestionTag").val('');
	});
	
	$("#suggestionTag").blur(function(){
		if($("#suggestionTag").val()=='')$("#suggestionTag").val(tag_inicial);
	});
	
	var tag_inicial = $("#suggestionTag").val();
	$("#suggestionTag").focus(function(){
		tag_suggestionTag = $("#suggestionTag").val();
		if(tag_suggestionTag == tag_inicial) $("#suggestionTag").val('/');
	});
	
}

function popup(pagina,w,h,s) {
 if (self.screen) {
	 sw = screen.width
	 sh = screen.height
	 cx = (.5*sw) - (w*.5)
	 cy = (.5*sh) - (h*.5)
	 var dimentions_and_such = 'width='+w+','+'height='+h+',' + 'screenX=' +cx+','+'screenY='+cy+','+'left='+cx+','+'top='+cy+',scrollbars='+s
 }
	 Pop=window.open(pagina,"popacion",dimentions_and_such);
}

jQuery(document).ready(function(){
	jQuery("div.content_artistas_confirmados:eq(1)").show();
	jQuery(".tab a").click(function(){
		if(jQuery(this).attr("id") == "tit_tab_estilistas"){
			jQuery("div.content_artistas_confirmados:eq(1)").show();
			jQuery("div.content_artistas_confirmados:eq(0)").hide();
			jQuery("div.first").addClass("selected");
			jQuery("div.second").removeClass("selected");
		}
		else if(jQuery(this).attr("id") == "tit_tab_musicos"){
			jQuery("div.content_artistas_confirmados:eq(0)").show();
			jQuery("div.content_artistas_confirmados:eq(1)").hide();
			jQuery("div.second").addClass("selected");
			jQuery("div.first").removeClass("selected");
		}
		return false;
	});
});
