//____________________________________________________________________________________________________________________________________
//___________________________________________moveis______________________________________________________________________________
//____________________________________________________________________________________________________________________________________
function content_produtos_moveis() {
	//define qual o item de menu que esta activo
	document.getElementById('cifialjust4u').className='';
document.getElementById('novidades').className='';
	document.getElementById('louca').className='';
	document.getElementById('moveis').className='activo';
	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="<a href='#' onclick='content_produtos_moveis();'>meble łazienkowe</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='atlantico();'>atlântico</a><a href='#' class='itens' onclick='box(), m_box();'>box</a><a href='#' class='itens' onclick='jap(), m_jap();'>osaka | kobe | kioto</a>";
		document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById("Scrollerla"), 270, 320);
	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="A wide range of meble łazienkowe in various designs, materials, and finishes offering solutions for free standing, countertop and integrated basins.";
	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="<ul class='minis' id='thumbs' ><li><img src='img/spacer.gif' style='background:url(img/moveis/thumbs/atlantico.jpg);' id='m_atlantico' onmouseover='atlantico_over();' onmouseout='atlantico_out();' onclick='atlantico_amb();' title='clique para ver imagens de ambiente desta linha de mobiliário de casa de banho' /></li><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/box.jpg);' id='c_box' onmouseover='box_over();' onmouseout='box_out();' onclick='box_amb();' title='clique para ver imagens de ambiente desta linha de mobiliário de casa de banho' /></li><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/jap.jpg);' id='c_jap' onmouseover='jap_over();' onmouseout='jap_out();'  onclick='jap_amb();' title='clique para ver imagens de ambiente desta linha de mobiliário de casa de banho' /></li></ul> <div class='labels'><span class='left' id='label'></span><span class='right' id='pags'></span> </div>";
	
	Shadowbox.init();
	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: false,
	showInfopane:false,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}




//___________________________________________atlantico______________________________________________________________________________
//atlantico over____________________________________________________________________________________________________________________________________
function atlantico_over() {
	document.getElementById('m_atlantico').style.background = "url('img/moveis/thumbs/atlantico_h.jpg')";
	document.getElementById('label').innerHTML = 'atlântico';
}

//atlantico out____________________________________________________________________________________________________________________________________
function atlantico_out() {
	document.getElementById('m_atlantico').style.background = "url('img/moveis/thumbs/atlantico.jpg')";
	document.getElementById('label').innerHTML = '';
}

function atlantico_amb(){

    var img1 = {
        player:     'img',
        content:    'img/moveis/amb1.jpg', title: 'móvel para umywalki atlantico'
    };
	
	    var img2 = {
        player:     'img',
        content:    'img/moveis/amb2.jpg', title: 'móvel para umywalki atlantico'
    };
	
	    var img3 = {
        player:     'img',
        content:    'img/moveis/amb3.jpg', title: 'móvel para umywalki atlantico'
    };

    Shadowbox.open([img1, img2, img3], {
		slideshowDelay:7, continuous: true	
    });

};

//atlantico general____________________________________________________________________________________________________________________________________
function atlantico() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_moveis();'>meble łazienkowe</a> &nbsp; | &nbsp; <a href='#' onclick='atlantico();'>atlântico</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='atlantico();' id='bold_act'>atlântico</a><a href='#' class='itens' onclick='box(), m_box();'>box</a><a href='#' class='itens' onclick='jap(), m_jap();'>osaka | kobe | kioto</a>";
	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='class2';
	document.getElementById('detalhes').innerHTML="<img src='img/spacer.gif' width='166px' height='62px'/><img src='img/acabamentos/cromadob.jpg' title='cromado brilhante' /><img src='img/acabamentos/faia.jpg' title='faia' /><img src='img/acabamentos/cerejeira.jpg' title='cerejeira' />";
	document.getElementById('inlinktit').innerHTML='Specyfikacje Techniczne';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='atlantico_1()'>> Atlantico - metalic structure for umywalki 75 cm</a><a href='#' onclick='atlantico_2()'>> Atlantico - metalic structure for umywalki 85 cm</a><a href='#' onclick='atlantico_3()'>> Atlantico - metalic structure for umywalki 105 cm</a><a href='#' onclick='atlantico_4()'>> Atlantico A - umywalki and meble 75 cm</a><a href='#' onclick='atlantico_5()'>> Atlantico A - umywalki and meble 85 cm</a><a href='#' onclick='atlantico_6()'>> Atlantico A - umywalki and meble 105 cm</a><a href='#' onclick='atlantico_7()'>> Atlantico A - mirror</a><a href='#' onclick='atlantico_8()'>> Atlantico B - umywalki and meble 75 cm</a><a href='#' onclick='atlantico_9()'>> Atlantico B - umywalki and meble 85 cm</a><a href='#' onclick='atlantico_10()'>> Atlantico B - umywalki and meble 105 cm</a><a href='#' onclick='atlantico_11()'>> Atlantico B - mirror</a><a href='#' onclick='atlantico_12()'>>  Atlantico C - umywalki and meble 75 cm</a><a href='#' onclick='atlantico_13()'>> Atlantico C - umywalki and meble 85 cm</a><a href='#' onclick='atlantico_14()'>> Atlantico C - umywalki and meble 105 cm</a>";
	document.getElementById('scrolls_inlink').style.visibility ='visible';

	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:300px; height:355px; display:block; position:relative; top:1px; left:32px;'><div class='imageElement'><h3></h3><p> Atlantico - estrutura metálica de apoio ao umywalka</p><a href='#' title='open image' class='open'></a> <img src='img/moveis/img1.jpg' class='full' /> <img src='img/moveis/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p> Atlantico A - umywalki and meble</p><a href='#' title='open image' class='open'></a> <img src='img/moveis/img2.jpg' class='full' /> <img src='img/moveis/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p> Atlantico B - umywalki and meble</p><a href='#' title='open image' class='open'></a> <img src='img/moveis/img3.jpg' class='full' /> <img src='img/moveis/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p> Atlantico C - umywalki and meble</p><a href='#' title='open image' class='open'></a> <img src='img/moveis/img4.jpg' class='full' /> <img src='img/moveis/img4.jpg' class='thumbnail' /> </div></div>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function atlantico_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=7010010040&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=7010020040&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=7010030040&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8012419910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8012429910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8012449910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=6020009910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8011319910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8011329910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_10() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8011349910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_11() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=6020009910&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_12() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8013010010&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_13() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8013020010&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function atlantico_14() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=8013040010&gLink=14100&gLng=4', title: ' meble para casa de banho atlântico', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};




//box____________________________________________________________________________________________________________________________________
function m_box() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_moveis();'>meble łazienkowe</a> &nbsp; | &nbsp; <a href='#'>Box</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='atlantico();'>atlântico</a><a href='#' class='itens' onclick='box(), m_box();' id='bold_act'>box</a><a href='#' class='itens' onclick='jap(), m_jap();'>osaka | kobe | kioto</a>";
	
	
	lalala  = new jsScroller2(document.getElementById("Scrollerla"), 270, 320);
	lalala.scrollTo(0,0);
	
}


//jap____________________________________________________________________________________________________________________________________
function m_jap() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_moveis();'>meble łazienkowe</a> &nbsp; | &nbsp; <a href='#'>osaka | kobe | kioto</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='atlantico();'>atlântico</a><a href='#' class='itens' onclick='box(), m_box();'>box</a><a href='#' class='itens' onclick='jap(), m_jap();' id='bold_act'>osaka | kobe | kioto</a>";
	
	
	lalala  = new jsScroller2(document.getElementById("Scrollerla"), 270, 320);
	lalala.scrollTo(0,0);
	
}



