//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// DG
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
var isNewsSection = false;

function dg(what){
	return document.getElementById(what);
}

//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// CLOSEALL
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function closeAll(){
	dg('trailer_start').style.display 				= 'none';	
	dg('trailer').style.display 							= 'none';
	dg('news_content').style.display 					= 'none';		
	dg('layer_background').style.display 			= 'none';		
	dg('layer_content').style.display 				= 'none';	
	dg('news_content_button').style.display 	= 'none';	
}

//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// CLOSELAYER
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function closeLayer(){	
	dg('layer_background').style.display 	= 'none';		
	dg('layer_content').style.display 		= 'none';		
}

//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SHOWTRAILER
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function showTrailer(){
	dg('news_content').style.display = 'none';
	dg('news_content_button').style.display 	= 'none';	
	dg('trailer').style.display = 'block';	
}

//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SHOWSMALLTRAILER
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function showSmallTrailer(){
	dg('news_content_button').style.display 	= 'none';	
	dg('trailer_start').style.display = 'block';	
}

//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SHOWNEWS
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function showNews(){
	dg('news_content').style.display = 'block';	
	if(isNewsSection) dg('news_content_button').style.display = 'block';
}

//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// SETNEWSARCHIVBUTTON
//  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function setNewsArchivButton(what){
	dg('news_content_button').style.display = what;
}
