/**
 *  this function is used to show and hide some elements
 * @params: idShow the id of the element to show
 *          idHide (array) the ids of the elements to hide
 * @return always returns true
 */

function show_hide(idShow,idHide){
   document.getElementById(idShow).style.display = "block";

   for(var i = 0; i < idHide.length; i++){
        document.getElementById(idHide[i]).style.display = "none";
   }

   if(idShow != 'goodies-w2'){
       document.getElementById('goodies-w2').style.display = 'none';
   }
  
}

function skipintro(){
    
    var asig = document.getElementById('tv-trailer');
	var padre = asig.parentNode;
	
	padre.removeChild(asig);
	
	var asig = document.getElementById('overlay');
	var padre = asig.parentNode;
	
	padre.removeChild(asig);
}

