// SUBMENU
function submenu_produtos_bath() {
	document.getElementById('sub_bath').style.display='block';
}
function fecha_submenu_bath() {
	document.getElementById('sub_bath').style.display='none';
}


// PRODUTOS
function content_produtos() {
	//define qual o item de menu que esta activo
	document.getElementById('cifialjust4u').className='';
	document.getElementById('novidades').className='';
	document.getElementById('produtos').className='activo';
	document.getElementById('projectos').className='';
	document.getElementById('downloads').className='';
	
	//tira submenu activo
	document.getElementById('novidades').className='';	
	document.getElementById('louca').className='';
	document.getElementById('banhoduche').className='';
	document.getElementById('moveis').className='';
	document.getElementById('torneiras').className='';
	document.getElementById('acessorios').className='';

	
	//retira banner e coloca conteudos 3 partes
	document.getElementById('banner').innerHTML="<img src='img/banner_deslavado2.jpg' />";
	document.getElementById('p3_c').style.visibility='visible';
	
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="produtos";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="";
		document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById("Scrollerla"), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className="class1";
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML="";
	document.getElementById('inlinktxt').innerHTML="";

	document.getElementById('scrolls_inlink').style.visibility ='hidden';

	scroller  = new jsScroller(document.getElementById("Scroller-1"), 270, 100);
	scroller.scrollTo(0,0);	
	

	//coloca imagem ou ss
	document.getElementById('img_inlink').innerHTML=" <div id='myGallery' style='float:left; width:666px; height:355px; display:block; position:relative; top:1px; left:-333px;'><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/1.jpg' class='full' /> <img src='img/produtos/1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/2.jpg' class='full' /> <img src='img/produtos/2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/3.jpg' class='full' /> <img src='img/produtos/3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/4.jpg' class='full' /> <img src='img/produtos/4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/5.jpg' class='full' /> <img src='img/produtos/5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/6.jpg' class='full' /> <img src='img/produtos/6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/7.jpg' class='full' /> <img src='img/produtos/7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/8.jpg' class='full' /> <img src='img/produtos/8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/9.jpg' class='full' /> <img src='img/produtos/9.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/10.jpg' class='full' /> <img src='img/produtos/10.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/11.jpg' class='full' /> <img src='img/produtos/11.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/12.jpg' class='full' /> <img src='img/produtos/12.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/13.jpg' class='full' /> <img src='img/produtos/13.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/14.jpg' class='full' /> <img src='img/produtos/14.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/15.jpg' class='full' /> <img src='img/produtos/15.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/16.jpg' class='full' /> <img src='img/produtos/16.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/17.jpg' class='full' /> <img src='img/produtos/17.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/18.jpg' class='full' /> <img src='img/produtos/18.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/19.jpg' class='full' /> <img src='img/produtos/19.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/20.jpg' class='full' /> <img src='img/produtos/20.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/21.jpg' class='full' /> <img src='img/produtos/21.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/22.jpg' class='full' /> <img src='img/produtos/22.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/23.jpg' class='full' /> <img src='img/produtos/23.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/24.jpg' class='full' /> <img src='img/produtos/24.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/25.jpg' class='full' /> <img src='img/produtos/25.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/26.jpg' class='full' /> <img src='img/produtos/26.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/27.jpg' class='full' /> <img src='img/produtos/27.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/28.jpg' class='full' /> <img src='img/produtos/28.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/29.jpg' class='full' /> <img src='img/produtos/29.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/30.jpg' class='full' /> <img src='img/produtos/30.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/produtos/31.jpg' class='full' /> <img src='img/produtos/31.jpg' class='thumbnail' /> </div></div>";
	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: false,
	showInfopane:false,
	showCarousel: false,
	embedLinks: false
	});	
}


// DOWNLOADS
function content_downloads() {
	//define qual o item de menu que esta activo
	document.getElementById('cifialjust4u').className='';
	document.getElementById('novidades').className='';
	document.getElementById('produtos').className='';
	document.getElementById('projectos').className='';
	document.getElementById('downloads').className='activo';
	
		//tira submenu activo
	document.getElementById('novidades').className='';	
	document.getElementById('louca').className='';
	document.getElementById('banhoduche').className='';
	document.getElementById('moveis').className='';
	document.getElementById('torneiras').className='';
	document.getElementById('acessorios').className='';
	
	
	//retira banner e coloca conteudos 3 partes
	document.getElementById('banner').innerHTML="<img src='img/banner_deslavado2.jpg' />";
	document.getElementById('p3_c').style.visibility='visible';
	
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="downloads";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='dw_soptima()'>Brochura Style Optima</a><a href='#' class='itens' onclick='dw_soptima_mini()'>Brochura Style Optima Mini</a><a href='#' class='itens' onclick='dw_s2()'>Brochura Cifial Just for you S2 & S3</a> <a href='#' class='itens' onclick='dw_s1()'>Brochura Cifial Just for you S1</a> <a href='#' class='itens' onclick='dw_a510()'>Catálogo Complete Bath Solutions</a> <a href='#' class='itens' onclick='dw_portofinos()'>Folheto Portofino S</a><a href='#' class='itens' onclick='dw_portobello()'>Folheto Portobello</a> <a href='#' class='itens' onclick='dw_new09()'>Brochura novas torneiras 09</a> <a href='#' class='itens' onclick='dw_th250()'>Brochura Techno TH 250</a> <a href='#' class='itens' onclick='dw_ts1()'>Brochura Techno S1</a> <a href='#' class='itens' onclick='dw_ts2()'>Brochura Techno S2</a> <a href='#' class='itens' onclick='dw_ts3()'>Brochura Techno S3</a> <a href='#' class='itens'  onclick='dw_tbox()'>Brochura Techno Box</a> <a href='#' class='itens' onclick='dw_tjap()'>Brochura Techno Osaka | Kioto | Kobe</a> <a href='#' class='itens'  onclick='dw_tmseries()'>Brochura Techno M Series</a> <a href='#' class='itens'  onclick='dw_cbs()'>Catálogo Institucional Complete Bath Solutions</a>";
		document.getElementById('scrolls_lista').style.visibility ='visible';
	
	lalala  = new jsScroller2(document.getElementById("Scrollerla"), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className="class1";
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML="downloads";
	document.getElementById('inlinktxt').innerHTML="Se necessita de algum catálogo da àrea de ofertas de torneiras e louça sanitária da CIFIAL que não se encontre presente nesta página para download, por favor contacte o seguinte email: <br><br> cifial@cifial.pt";
	document.getElementById('scrolls_inlink').style.visibility ='hidden';

	scroller  = new jsScroller(document.getElementById("Scroller-1"), 270, 100);
	scroller.scrollTo(0,0);	
	

	//coloca imagem ou ss
	//coloca imagem ou ss
	document.getElementById('img_inlink').innerHTML="<ul class='minis' id='thumbs' ><li><img src='img/spacer.gif' style='background:url(img/downloads/soptima.jpg);' id='soptima' onmouseover='dw_soptima_over();' onmouseout='dw_soptima_out();' onclick='dw_soptima();' title='Style Optima' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/soptima_mini.jpg);' id='soptima_mini' onmouseover='dw_soptimamini_over();' onmouseout='dw_soptimamini_out();' onclick='dw_soptima_mini();' title='Style Optima Mini' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/s2.jpg);' id='s2' onmouseover='dw_s2_over();' onmouseout='dw_s2_out();' onclick='dw_s2();' title='Cifial Just for You S2 e S3' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/s1.jpg);' id='s1' onmouseover='dw_s1_over();' onmouseout='dw_s1_out();' onclick='dw_s1();' title='Cifial Just for You S1' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/a5.jpg);' id='a510' onmouseover='dw_a510_over();' onmouseout='dw_a510_out();' onclick='dw_a510();' title='Catálogo Complete Bath Solutions' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/portofinos.jpg);' id='portofinos' onmouseover='dw_portofinos_over();' onmouseout='dw_portofinos_out();' onclick='dw_portofinos();' title='Portofino Suspenso' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/portobello.jpg);' id='portobello' onmouseover='dw_portobello_over();' onmouseout='dw_portobello_out();' onclick='dw_portobello();' title='Portobello' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/new09.jpg);' id='new09' onmouseover='dw_new09_over();' onmouseout='dw_new09_out();' onclick='dw_new09();' title='Novas torneiras 09' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/th250.jpg);' id='th250' onmouseover='dw_th250_over();' onmouseout='dw_th250_out();' onclick='dw_th250();' title='Techno TH 250' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/ts1.jpg);' id='ts1' onmouseover='dw_ts1_over();' onmouseout='dw_ts1_out();' onclick='dw_ts1();' title='Techno S1' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/ts2.jpg);' id='ts2' onmouseover='dw_ts2_over();' onmouseout='dw_ts2_out();' onclick='dw_ts2();' title='Techno S2' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/ts3.jpg);' id='ts3' onmouseover='dw_ts3_over();' onmouseout='dw_ts3_out();' onclick='dw_ts3();' title='Techno S3' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/tbox.jpg);' id='tbox' onmouseover='dw_tbox_over();' onmouseout='dw_tbox_out();' onclick='dw_tbox();' title='Techno Box' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/tjap.jpg);' id='tjap' onmouseover='dw_tjap_over();' onmouseout='dw_tjap_out();' onclick='dw_tjap();' title='Techno Osaka | Kobe | Kioto' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/tmseries.jpg);' id='tmseries' onmouseover='dw_tmseries_over();' onmouseout='dw_tmseries_out();' onclick='dw_tmseries();' title='Techno M Series' /></li><li><img src='img/spacer.gif' style='background:url(img/downloads/cbs.jpg);' id='cbs' onmouseover='dw_cbs_over();' onmouseout='dw_cbs_out();' onclick='dw_cbs();' title='Complete Bath Solutions - Institucional' /></li></ul><div class='labels'><span class='left' id='label'></span><span class='right' id='pags'><a href='#' onclick='dw_pag2();'>2</a><a href='#' onclick='dw_pag1();'  class='pag_act'>1</a></span> </div>";
	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: false,
	showInfopane:false,
	showCarousel: false,
	embedLinks: false
	});	
}



function dw_soptima(){
	window.open('pdfs/soptima.pdf','new','Style Optima', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_soptima_over() {
	document.getElementById('soptima').style.background = "url('img/downloads/soptima_h.jpg')";
	document.getElementById('label').innerHTML = 'Style Optima';
}
function dw_soptima_out() {
	document.getElementById('soptima').style.background = "url('img/downloads/soptima.jpg')";
	document.getElementById('label').innerHTML = '';
}

function dw_soptima_mini(){
	window.open('pdfs/soptima_mini.pdf','new','Style Optima Mini', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_soptimamini_over() {
	document.getElementById('soptima_mini').style.background = "url('img/downloads/soptima_mini_h.jpg')";
	document.getElementById('label').innerHTML = 'Style Optima Mini';
}
function dw_soptimamini_out() {
	document.getElementById('soptima_mini').style.background = "url('img/downloads/soptima_mini.jpg')";
	document.getElementById('label').innerHTML = '';
}

function dw_s1(){
	window.open('pdfs/triptico_S1.pdf','new','Cifial Just for You S1', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_s1_over() {
	document.getElementById('s1').style.background = "url('img/downloads/s1_h.jpg')";
	document.getElementById('label').innerHTML = 'Cifial Just for You S1';
}
function dw_s1_out() {
	document.getElementById('s1').style.background = "url('img/downloads/s1.jpg')";
	document.getElementById('label').innerHTML = '';
}

function dw_s2(){
	window.open('pdfs/triptico_S2S3.pdf','new','Cifial Just for You S2 & S3', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_s2_over() {
	document.getElementById('s2').style.background = "url('img/downloads/s2_h.jpg')";
	document.getElementById('label').innerHTML = 'Cifial Just for You S2 & S3';
}
function dw_s2_out() {
	document.getElementById('s2').style.background = "url('img/downloads/s2.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_portobello(){
	window.open('pdfs/portobello.pdf','new','Portobello', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_portobello_over() {
	document.getElementById('portobello').style.background = "url('img/downloads/portobello_h.jpg')";
	document.getElementById('label').innerHTML = 'Portobello';
}
function dw_portobello_out() {
	document.getElementById('portobello').style.background = "url('img/downloads/portobello.jpg')";
	document.getElementById('label').innerHTML = '';
}

function dw_portofinos(){
	window.open('pdfs/portofinos.pdf','new','portofino s', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_portofinos_over() {
	document.getElementById('portofinos').style.background = "url('img/downloads/portofinos_h.jpg')";
	document.getElementById('label').innerHTML = 'portofino s';
}
function dw_portofinos_out() {
	document.getElementById('portofinos').style.background = "url('img/downloads/portofinos.jpg')";
	document.getElementById('label').innerHTML = '';
}

function dw_new09(){
	window.open('pdfs/new09_taps.pdf','new','novas torneiras 09', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_new09_over() {
	document.getElementById('new09').style.background = "url('img/downloads/new09_h.jpg')";
	document.getElementById('label').innerHTML = 'Novas Torneiras 09';
}
function dw_new09_out() {
	document.getElementById('new09').style.background = "url('img/downloads/new09.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_th250(){
	window.open('pdfs/th250_09.pdf','new','Techno TH 250', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_th250_over() {
	document.getElementById('th250').style.background = "url('img/downloads/th250_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno TH 250';
}
function dw_th250_out() {
	document.getElementById('th250').style.background = "url('img/downloads/th250.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_a510(){
	window.open('pdfs/a5_10.pdf','new','Catálogo Complete Bath Solutions', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_a510_over() {
	document.getElementById('a510').style.background = "url('img/downloads/a5_h.jpg')";
	document.getElementById('label').innerHTML = 'Catálogo Complete Bath Solutions';
}
function dw_a510_out() {
	document.getElementById('a510').style.background = "url('img/downloads/a5.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_ts1(){
	window.open('pdfs/ts1.pdf','new','Techno S1', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_ts1_over() {
	document.getElementById('ts1').style.background = "url('img/downloads/ts1_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno S1';
}
function dw_ts1_out() {
	document.getElementById('ts1').style.background = "url('img/downloads/ts1.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_ts2(){
	window.open('pdfs/ts2.pdf','new','Techno S2', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_ts2_over() {
	document.getElementById('ts2').style.background = "url('img/downloads/ts2_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno S2';
}
function dw_ts2_out() {
	document.getElementById('ts2').style.background = "url('img/downloads/ts2.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_ts3(){
	window.open('pdfs/ts3.pdf','new','Techno S3', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_ts3_over() {
	document.getElementById('ts3').style.background = "url('img/downloads/ts3_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno S3';
}
function dw_ts3_out() {
	document.getElementById('ts3').style.background = "url('img/downloads/ts3.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_tbox(){
	window.open('pdfs/box_08.pdf','new','Techno Box', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_tbox_over() {
	document.getElementById('tbox').style.background = "url('img/downloads/tbox_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno box';
}
function dw_tbox_out() {
	document.getElementById('tbox').style.background = "url('img/downloads/tbox.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_tjap(){
	window.open('pdfs/jap_08.pdf','new','Techno Osaka | Kobe | Kioto', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_tjap_over() {
	document.getElementById('tjap').style.background = "url('img/downloads/tjap_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno Osaka | Kioto | Kobe';
}
function dw_tjap_out() {
	document.getElementById('tjap').style.background = "url('img/downloads/tjap.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_tmseries(){
	window.open('pdfs/mseries_07.pdf','new','Techno M series', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_tmseries_over() {
	document.getElementById('tmseries').style.background = "url('img/downloads/tmseries_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno M series';
}
function dw_tmseries_out() {
	document.getElementById('tmseries').style.background = "url('img/downloads/tmseries.jpg')";
	document.getElementById('label').innerHTML = '';
}


function dw_cbs(){
	window.open('pdfs/bath_07.pdf','new','Complete Bath Solutions - Institucional', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_cbs_over() {
	document.getElementById('cbs').style.background = "url('img/downloads/cbs_h.jpg')";
	document.getElementById('label').innerHTML = 'Catálogo Complete Bath Solutions';
}
function dw_cbs_out() {
	document.getElementById('cbs').style.background = "url('img/downloads/cbs.jpg')";
	document.getElementById('label').innerHTML = '';
}



// PROJECTOS
function content_projectos() {
	//define qual o item de menu que esta activo
	//define qual o item de menu que esta activo
	document.getElementById('cifialjust4u').className='';
	document.getElementById('novidades').className='';
	document.getElementById('produtos').className='';
	document.getElementById('projectos').className='activo';
	document.getElementById('downloads').className='';
	
	//retira banner e coloca conteudos 3 partes
	document.getElementById('banner').innerHTML="<img src='img/banner_deslavado2.jpg' />";
	document.getElementById('p3_c').style.visibility='visible';
	
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='louca();'>projectos</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<b>EM CONSTRUÇÃO</b>";
		document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById("Scrollerla"), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className="class1";
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML="";
	document.getElementById('inlinktxt').innerHTML="";
	document.getElementById('scrolls_inlink').style.visibility ='hidden';

	scroller  = new jsScroller(document.getElementById("Scroller-1"), 270, 100);
	scroller.scrollTo(0,0);	
	

	//coloca imagem ou ss
	//coloca imagem ou ss
	document.getElementById('img_inlink').innerHTML="";
	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: false,
	showInfopane:false,
	showCarousel: false,
	embedLinks: false
	});	
}


function dw_s1(){
	window.open('pdfs/triptico_S1.pdf','new','Cifial Just for You S1', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_s1_over() {
	document.getElementById('s1').style.background = "url('img/downloads/s1_h.jpg')";
	document.getElementById('label').innerHTML = 'Cifial Just for You S1';
}
function dw_s1_out() {
	document.getElementById('s1').style.background = "url('img/downloads/s1.jpg')";
	document.getElementById('label').innerHTML = '';
}

function dw_s2(){
	window.open('pdfs/triptico_S2S3.pdf','new','Cifial Just for You S2 & S3', 'toolbar=no,resizable=no,status=no,menubar=no')	
}
function dw_s2_over() {
	document.getElementById('s2').style.background = "url('img/downloads/s2_h.jpg')";
	document.getElementById('label').innerHTML = 'Cifial Just for You S2 & S3';
}
function dw_s2_out() {
	document.getElementById('s2').style.background = "url('img/downloads/s2.jpg')";
	document.getElementById('label').innerHTML = '';
}
