//____________________________________________________________________________________________________________________________________
//___________________________________________cifial just for you______________________________________________________________________________
//____________________________________________________________________________________________________________________________________
function content_produtos_cifialjust4u() {
	//define qual o item de menu que esta activo
	document.getElementById('cifialjust4u').className='activo';
	document.getElementById('novidades').className='';
	document.getElementById('louca').className='';
	document.getElementById('moveis').className='';
	document.getElementById('torneiras').className='';
	document.getElementById('acessorios').className='';
	document.getElementById('banhoduche').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_cifialjust4u();'>cifial just for you</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lavatorios();'>lavatórios</a><a href='#' class='itens' onclick='c_moveis();'>móveis de casa de banho</a><a href='#' class='itens' onclick='c_basesd();'>bases de duche</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="";
	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:500px; height:355px; display:block; position:relative; top:1px; left:-168px;'><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/1.jpg' class='full' /> <img src='img/cifialjust4u/1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/2.jpg' class='full' /> <img src='img/cifialjust4u/2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/3.jpg' class='full' /> <img src='img/cifialjust4u/3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/4.jpg' class='full' /> <img src='img/cifialjust4u/4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/5.jpg' class='full' /> <img src='img/cifialjust4u/5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/6.jpg' class='full' /> <img src='img/cifialjust4u/6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/7.jpg' class='full' /> <img src='img/cifialjust4u/7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/8.jpg' class='full' /> <img src='img/cifialjust4u/8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/9.jpg' class='full' /> <img src='img/cifialjust4u/9.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/10.jpg' class='full' /> <img src='img/cifialjust4u/10.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/11.jpg' class='full' /> <img src='img/cifialjust4u/11.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/12.jpg' class='full' /> <img src='img/cifialjust4u/12.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/13.jpg' class='full' /> <img src='img/cifialjust4u/13.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/14.jpg' class='full' /> <img src='img/cifialjust4u/14.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/15.jpg' class='full' /> <img src='img/cifialjust4u/15.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/16.jpg' class='full' /> <img src='img/cifialjust4u/16.jpg' class='thumbnail' /> </div></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="";
}




//____________________________________________________________________________________________________________________________________
//___________________________________________lavatorios______________________________________________________________________________
//____________________________________________________________________________________________________________________________________
function c_lavatorios() {	

	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>cifial just for you</a> &nbsp; | &nbsp; <a href='#' onclick='c_lavatorios();'>lavatórios</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1();'>Techno S1</a><a href='#' class='itens' onclick='ts2();'>Techno S2</a><a href='#' class='itens' onclick='ts3();'>Techno S3</a><a href='#' class='itens' onclick='b1();' id='new'>Techno B1</a><a href='#' class='itens' onclick='b2();' id='new'>Techno B2</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="";
	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="<ul class='minis' id='thumbs' ><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/s1.jpg);' id='c_ts1' onmouseover='ts1_over();' onmouseout='ts1_out();' onclick='ts1_amb();' title='clique para ver imagens de ambiente deste lavatório' /></li><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/s2.jpg);' id='c_ts2' onmouseover='ts2_over();' onmouseout='ts2_out();' onclick='ts2_amb();' title='clique para ver imagens de ambiente deste lavatório' /></li><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/s3.jpg);' id='c_ts3' onmouseover='ts3_over();' onmouseout='ts3_out();' onclick='ts3_amb();' title='clique para ver imagens de ambiente deste lavatório' /></li><li><img src='img/thumbnew.png' style='background:url(img/cifialjust4u/thumbs/b1.jpg);' id='c_b1' onmouseover='b1_over();' onmouseout='b1_out();' title='clique para ver imagens de ambiente deste lavatório' onclick='b1_amb();'  /></li><li><img src='img/thumbnew.png' style='background:url(img/cifialjust4u/thumbs/b2.jpg);' id='c_b2' onmouseover='b2_over();' onmouseout='b2_out();'  onclick='b2_amb();' title='clique para ver imagens de ambiente deste lavatório' /></li></ul> <div class='labels'><span class='left' id='label'></span><span class='right' id='pags'></span> </div>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}


//___________________________________________TECHNO S1______________________________________________________________________________
//Techno S1 over____________________________________________________________________________________________________________________________________
function ts1_over() {
	document.getElementById('c_ts1').style.background = "url('img/cifialjust4u/thumbs/s1_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno S1';
}

//Techno S1 out____________________________________________________________________________________________________________________________________
function ts1_out() {
	document.getElementById('c_ts1').style.background = "url('img/cifialjust4u/thumbs/s1.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ts1 ambiente ss____________________________________________________________________________________________________________________________________
function ts1_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s1/amb1.jpg', title: 'Lavatório Techno S1'
    };
	
	    var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s1/amb2.jpg', title: 'Lavatório Techno S1'
    };

    var img3 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s1/amb3.jpg', title: 'Lavatório Techno S1'
    };
	
    var img4 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s1/amb4.jpg', title: 'Lavatório Techno S1'
    };
	
    var img5 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s1/amb5.jpg', title: 'Lavatório Techno S1'
    };

    Shadowbox.open([img1, img2, img3, img4, img5], {
		slideshowDelay:7, continuous: true	
    });

};

//Techno S1 general____________________________________________________________________________________________________________________________________
function ts1() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_lavatorios();'>lavatórios</a> &nbsp; | &nbsp; <a href='#' onclick='ts1();'>Techno S1</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1();' id='bold_act'>Techno S1</a><a href='#' class='itens' onclick='ts2();'>Techno S2</a><a href='#' class='itens' onclick='ts3();'>Techno S3</a><a href='#' class='itens' onclick='b1();' id='new'>Techno B1</a><a href='#' class='itens' onclick='b2();' id='new'>Techno B2</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/p00.jpg' title='ardósea preta' /><img src='img/acabamentos/p01.jpg' title='ardósea verde' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ts1_1()'>> Techno S1 compact sem furo para torneira</a><a href='#' onclick='ts1_2()'>> Techno S1 compact com 1 furo para torneira</a><a href='#' onclick='ts1_1()'>> Techno S1 compact com 3 furos para torneira</a><a href='#' onclick='ts1_4()'>> Techno S1 full sem furo para torneira</a><a href='#' onclick='ts1_5()'>> Techno S1 full com 1 furo para torneira</a><a href='#' onclick='ts1_6()'>> Techno S1 full com 3 furos para torneira</a><br><b>PRODUTOS RELACIONADOS</b><br><a href='#' onclick='supo(), ts1_rel1()'>> suportes para lavatórios</a><br /><br />";
	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>Lavatório Techno S1 compact</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/lavatorios/s1/img1.jpg' class='full' /> <img src='img/cifialjust4u/lavatorios/s1/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Lavatório Techno S1 full</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/lavatorios/s1/img2.jpg' class='full' /> <img src='img/cifialjust4u/lavatorios/s1/img2.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 ts1_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700000&gLink=11103&gLng=1', title: ' Techno S1 Compact - lavatório em ardósea', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

function ts1_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=370001&gLink=11103&gLng=1', title: ' Techno S1 Compact - lavatório em ardósea', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

function ts1_3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700002&gLink=11103&gLng=1', title: ' Techno S1 Compact - lavatório em ardósea', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

function ts1_4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700003&gLink=11103&gLng=1', title: ' Techno S1 Full - lavatório em ardósea', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

function ts1_5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700004&gLink=11103&gLng=1', title: ' Techno S1 Full - lavatório em ardósea', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

function ts1_6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700005&gLink=11103&gLng=1', title: ' Techno S1 Full - lavatório em ardósea', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};


//___________________________________________Techno S2______________________________________________________________________________
//Techno S2 over____________________________________________________________________________________________________________________________________
function ts2_over() {
	document.getElementById('c_ts2').style.background = "url('img/cifialjust4u/thumbs/s2_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno S2';
}

//Techno S2 out____________________________________________________________________________________________________________________________________
function ts2_out() {
	document.getElementById('c_ts2').style.background = "url('img/cifialjust4u/thumbs/s2.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ts2 ambiente ss____________________________________________________________________________________________________________________________________
function ts2_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s2/amb1.jpg', title: 'Lavatório Techno S2'
    };
	
    var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s2/amb2.jpg', title: 'Lavatório Techno S2'
    };


    Shadowbox.open([img1, img2], {
		slideshowDelay:7, continuous: true	
    });

};

//Techno S2 general____________________________________________________________________________________________________________________________________
function ts2() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_lavatorios();'>lavatórios</a> &nbsp; | &nbsp; <a href='#' onclick='ts2();'>Techno S2</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1();'>Techno S1</a><a href='#' class='itens' onclick='ts2();' id='bold_act'>Techno S2</a><a href='#' class='itens' onclick='ts3();'>Techno S3</a><a href='#' class='itens' onclick='b1();' id='new'>Techno B1</a><a href='#' class='itens' onclick='b2();' id='new'>Techno B2</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/p00.jpg' title='ardósea preta' /><img src='img/acabamentos/p01.jpg' title='ardósea verde' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ts2_1()'>> Techno S2 compact com torneira de 3 furos Techno M3</a><a href='#' onclick='ts2_2()'>> Techno S2 full com torneira de 3 furos Techno M3</a><br /><br /><br><b>PRODUTOS RELACIONADOS</b><br><a href='#' onclick='supo(), ts2_rel2()'>> suportes para lavatórios</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>Lavatório Techno S2 compact</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/lavatorios/s2/img1.jpg' class='full' /> <img src='img/cifialjust4u/lavatorios/s2/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Lavatório Techno S2 full</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/lavatorios/s2/img2.jpg' class='full' /> <img src='img/cifialjust4u/lavatorios/s2/img2.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 ts2_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700007&gLink=11104&gLng=1', title: ' Techno S2 Compact - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

function ts2_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700006&gLink=11104&gLng=1', title: ' Techno S2 Full - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};


//___________________________________________Techno s3______________________________________________________________________________
//Techno s3 over____________________________________________________________________________________________________________________________________
function ts3_over() {
	document.getElementById('c_ts3').style.background = "url('img/cifialjust4u/thumbs/s3_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno s3';
}

//Techno s3 out____________________________________________________________________________________________________________________________________
function ts3_out() {
	document.getElementById('c_ts3').style.background = "url('img/cifialjust4u/thumbs/s3.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ts3 ambiente ss____________________________________________________________________________________________________________________________________
function ts3_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s3/amb1.jpg', title: 'Lavatório Techno s3'
    };
	
    var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s3/amb2.jpg', title: 'Lavatório Techno s3'
    };
	
    var img3 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s3/amb3.jpg', title: 'Lavatório Techno s3'
    };
	
    var img4 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/s3/amb4.jpg', title: 'Lavatório Techno s3'
    };


    Shadowbox.open([img1, img2, img3, img4], {
		slideshowDelay:7, continuous: true	
    });

};

//Techno s3 general____________________________________________________________________________________________________________________________________
function ts3() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_lavatorios();'>lavatórios</a> &nbsp; | &nbsp; <a href='#' onclick='ts3();'>Techno s3</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1();'>Techno S1</a><a href='#' class='itens' onclick='ts2();'>Techno S2</a><a href='#' class='itens' onclick='ts3();' id='bold_act'>Techno S3</a><a href='#' class='itens' onclick='b1();' id='new'>Techno B1</a><a href='#' class='itens' onclick='b2();' id='new'>Techno B2</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/p02.jpg' title='mármore branca' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ts3_1()'>> Techno s3 compact sem furo para torneira</a><a href='#' onclick='ts3_2()'>> Techno s3 compact com 1 furo para torneira</a><a href='#' onclick='ts3_3()'>> Techno s3 compact com 3 furos para torneira</a><a href='#' onclick='ts3_4()'>> conjunto tampa S3</a><a href='#' onclick='ts3_5()'>> Techno s3 full sem furo para torneira</a><a href='#' onclick='ts3_6()'>> Techno s3 full com 1 furo para torneira</a><a href='#' onclick='ts3_7()'>> Techno s3 full com 3 furos para torneira</a><br /><br /><br><b>PRODUTOS RELACIONADOS</b><br><a href='#' onclick='supo(), ts3_rel3()'>> suportes para lavatórios</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>Lavatório Techno s3 compact</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/lavatorios/s3/img1.jpg' class='full' /> <img src='img/cifialjust4u/lavatorios/s3/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Lavatório Techno s3 full</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/lavatorios/s3/img2.jpg' class='full' /> <img src='img/cifialjust4u/lavatorios/s3/img2.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 ts3_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700012&gLink=11105&gLng=1', title: ' Techno s3 Compact - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);
};
function ts3_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700013&gLink=11105&gLng=1', title: ' Techno s3 Compact - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ts3_3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700016&gLink=11105&gLng=1', title: ' Techno s3 Compact - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ts3_4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700026&gLink=11105&gLng=1', title: ' Techno s3 - conjunto tampa S3', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ts3_5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700008&gLink=11105&gLng=1', title: ' Techno s3 Full - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ts3_6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700010&gLink=11105&gLng=1', title: ' Techno s3 Full - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ts3_7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700014&gLink=11105&gLng=1', title: ' Techno s3 Full - lavatório em mármore', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};



//___________________________________________B1______________________________________________________________________________
//B1 over____________________________________________________________________________________________________________________________________
function b1_over() {
	document.getElementById('c_b1').style.background = "url('img/cifialjust4u/thumbs/b1_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno B1';
}

//B1 out____________________________________________________________________________________________________________________________________
function b1_out() {
	document.getElementById('c_b1').style.background = "url('img/cifialjust4u/thumbs/b1.jpg')";
	document.getElementById('label').innerHTML = '';
}

//b1 ambiente ss____________________________________________________________________________________________________________________________________
function b1_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/betao/amb3.jpg', title: 'Lavatório Techno B1'
    };



    Shadowbox.open([img1], {
		slideshowDelay:7, continuous: true	
    });

};


//B1 general____________________________________________________________________________________________________________________________________
function b1() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_lavatorios();'>lavatórios</a> &nbsp; | &nbsp; <a href='#' onclick='b1();'>Techno B1</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1();'>Techno S1</a><a href='#' class='itens' onclick='ts2();'>Techno S2</a><a href='#' class='itens' onclick='ts3();'>Techno S3</a><a href='#' class='itens' onclick='b1();' id='bold_act'>Techno B1</a><a href='#' class='itens' onclick='b2();' id='new'>Techno B2</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/p04.jpg' title='betão branco' /><img src='img/acabamentos/p05.jpg' title='betão cinza' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='b1_1()'>> Techno B1 lavatório de pousar redondo</a><br /><br />";
	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="<img src='img/cifialjust4u/lavatorios/betao/img1.jpg' style='float:left; width:300px; height:355px; display:block; position:relative; top:1px; left:32px;' />";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}

function b1_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700030&gLink=11101&gLng=1', title: 'Techno B1 - lavatório de pousar redondo', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);
};

//___________________________________________b2______________________________________________________________________________
//b2 over____________________________________________________________________________________________________________________________________
function b2_over() {
	document.getElementById('c_b2').style.background = "url('img/cifialjust4u/thumbs/b2_h.jpg')";
	document.getElementById('label').innerHTML = 'Techno B2';
}

//b2 out____________________________________________________________________________________________________________________________________
function b2_out() {
	document.getElementById('c_b2').style.background = "url('img/cifialjust4u/thumbs/b2.jpg')";
	document.getElementById('label').innerHTML = '';
}

//b2 ambiente ss____________________________________________________________________________________________________________________________________
function b2_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/betao/amb1.jpg', title: 'Lavatório Techno B2'
    };
	
    var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/lavatorios/betao/amb2.jpg', title: 'Lavatório Techno B2'
    };


    Shadowbox.open([img1, img2], {
		slideshowDelay:7, continuous: true	
    });

};

//b2 general____________________________________________________________________________________________________________________________________
function b2() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_lavatorios();'>lavatórios</a> &nbsp; | &nbsp; <a href='#' onclick='b2();'>Techno B2</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1();' >Techno S1</a><a href='#' class='itens' onclick='ts2();'>Techno S2</a><a href='#' class='itens' onclick='ts3();'>Techno S3</a><a href='#' class='itens' onclick='b1();' id='new'>Techno B1</a><a href='#' class='itens' onclick='b2();' id='bold_act'>Techno B2</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/p04.jpg' title='betão branco' /><img src='img/acabamentos/p05.jpg' title='betão cinza' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='b2_1()'>> Techno B2 lavatório de pousar rectangular</a><br /><br />";
	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="<img src='img/cifialjust4u/lavatorios/betao/img2.jpg' style='float:left; width:300px; height:355px; display:block; position:relative; top:1px; left:32px;' />";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}

function b2_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3700031&gLink=11101&gLng=1', title: 'Techno B2 - lavatório de pousar rectangular', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);
};






//____________________________________________________________________________________________________________________________________
//___________________________________________moveis______________________________________________________________________________
//____________________________________________________________________________________________________________________________________
function c_moveis() {	

	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>cifial just for you</a> &nbsp; | &nbsp; <a href='#' onclick='c_moveis();'>móveis de casa de banho</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='box();'>Box</a><a href='#' id='new' class='itens' onclick='jap();'>Osaka | Kobe | Kioto</a><a href='#' class='itens' onclick='supo();'  id='new'>Suportes para lavatórios de pedra</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='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="<ul class='minis' id='thumbs' ><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 deste lavatório' /></li><li><img src='img/thumbnew.png' 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 deste lavatório' /></li><li><img src='img/thumbnew.png' style='background:url(img/cifialjust4u/thumbs/sup.jpg);' id='c_sup' onmouseover='supo_over();' onmouseout='supo_out();' onclick='supo_amb();' title='clique para ver imagens de ambiente deste lavatório' /></li></ul> <div class='labels'><span class='left' id='label'></span><span class='right' id='pags'></span> </div>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}


//___________________________________________Box______________________________________________________________________________
//Box over____________________________________________________________________________________________________________________________________
function box_over() {
	document.getElementById('c_box').style.background = "url('img/cifialjust4u/thumbs/box_h.jpg')";
	document.getElementById('label').innerHTML = 'Box';
}

//Box out____________________________________________________________________________________________________________________________________
function box_out() {
	document.getElementById('c_box').style.background = "url('img/cifialjust4u/thumbs/box.jpg')";
	document.getElementById('label').innerHTML = '';
}

//box ambiente ss____________________________________________________________________________________________________________________________________
function box_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb1.jpg', title: 'Móveis Box'
    };
	
	var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb2.jpg', title: 'Móveis Box'
    };
	
    var img3 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb3.jpg', title: 'Móveis Box'
    };
	
	var img4 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb5.jpg', title: 'Móveis Box'
    };
	
    var img5 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb5.jpg', title: 'Móveis Box'
    };
	
    var img6 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb6.jpg', title: 'Móveis Box'
    };
	
	var img7 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/box/amb7.jpg', title: 'Móveis Box'
    };


    Shadowbox.open([img1, img2, img3, img4, img5, img6, img7], {
		slideshowDelay:7, continuous: true	
    });

};

//Box general____________________________________________________________________________________________________________________________________
function box() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_moveis();'>móveis de casa de banho</a> &nbsp; | &nbsp; <a href='#' onclick='box();'>Box</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='box();' id='bold_act'>Box</a><a href='#' id='new' class='itens' onclick='jap();'>Osaka | Kobe | Kioto</a><a href='#' class='itens' onclick='supo();'  id='new'>Suportes para lavatórios de pedra</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/sucupira.jpg' title='sucupira' /><img src='img/acabamentos/brancom.jpg' title='lacado branco de alto brilho' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='box_1()'>> Módulo coluna alto com porta</a><a href='#' onclick='box_2()'>> Módulo coluna baixo com porta</a><a href='#' onclick='box_3()'>> Módulo coluna alto sem porta</a><a href='#' onclick='box_4()'>> Módulo coluna baixo sem porta</a><a href='#' onclick='box_5()'>> Móvel com iluminação e espelho, direito</a><a href='#' onclick='box_6()'>> Móvel com iluminação e espelho, esquerdo</a><a href='#' onclick='box_7()'>> Móvel de lavatório com furo, 1 prateleira</a><a href='#' onclick='box_8()'>> Móvel de lavatório sem furo, uma prateleira</a><a href='#' onclick='box_9()'>> Móvel de lavatório com furo, com uma gaveta + uma gaveta interior</a><a href='#' onclick='box_10()'>> Móvel de lavatório sem furo, com uma gaveta + uma gaveta interior</a><a href='#' onclick='box_11()'>> Móvel de lavatório com furo, com uma gaveta + uma gaveta interior</a><a href='#' onclick='box_12()'>> Móvel de lavatório sem furo, com uma gaveta + uma gaveta interior</a><a href='#' onclick='box_13()'>> Móvel de lavatório com furo, 2 gavetas</a><a href='#' onclick='box_14()'>> Móvel de lavatório sem furo, 2 gavetas</a><br /><br />";
	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>Modulo coluna alto com porta</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img1.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Módulo coluna baixo com porta</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img2.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Modulo coluna alto sem porta</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img3.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Modulo coluna baixo sem porta</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img4.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Móvel com iluminação e espelho, direito</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img5.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Móvel com iluminação e espelho, esquerdo</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img6.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Móvel lavatório com furo</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img7.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Móvel lavatório com furo, 1 prateleira</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img8.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Móvel lavatório com furo, 1 gaveta + 1 gaveta interior</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img9.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img9.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Móvel lavatório sem furo, 1 gaveta + 1 gaveta interior</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/box/img10.jpg' class='full' /> <img src='img/cifialjust4u/moveis/box/img10.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 box_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930017&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930016&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930019&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930018&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930021&gLink=1930020&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930020&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930014&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930015&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930012&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_10() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930013&gLink=1006&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_11() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930010&gLink=11202&gLng=1', title: 'Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_12() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930011&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_13() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930022&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_14() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1930023&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function box_15() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=12410BX&gLink=11202&gLng=1', title: ' Móveis para casa de banho BOX', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};


//___________________________________________jap______________________________________________________________________________
//jap over____________________________________________________________________________________________________________________________________
function jap_over() {
	document.getElementById('c_jap').style.background = "url('img/cifialjust4u/thumbs/jap_h.jpg')";
	document.getElementById('label').innerHTML = 'osaka | kobe | kioto';
}

//jap out____________________________________________________________________________________________________________________________________
function jap_out() {
	document.getElementById('c_jap').style.background = "url('img/cifialjust4u/thumbs/jap.jpg')";
	document.getElementById('label').innerHTML = '';
}

//jap ambiente ss____________________________________________________________________________________________________________________________________
function jap_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb1.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
	var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb2.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
    var img3 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb3.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
	var img4 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb5.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
    var img5 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb5.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
    var img6 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb6.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
	var img7 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb7.jpg', title: 'Móveis osaka | kobe | kioto'
    };

	var img8 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb8.jpg', title: 'Móveis osaka | kobe | kioto'
    };
	
	var img9 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/jap/amb9.jpg', title: 'Móveis osaka | kobe | kioto'
    };



    Shadowbox.open([img1, img2, img3, img4, img5, img6, img7, img8, img9], {
		slideshowDelay:7, continuous: true	
    });

};

//jap general____________________________________________________________________________________________________________________________________
function jap() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_moveis();'>móveis de casa de banho</a> &nbsp; | &nbsp; <a href='#' onclick='jap();'>Osaka | Kobe | Kioto</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='box();'>Box</a><a href='#' class='itens' onclick='jap();' id='bold_act'>Osaka | Kobe | Kioto</a><a href='#' class='itens' onclick='supo();'  id='new'>Suportes para lavatórios de pedra</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/cerejeira.jpg' title='cerejeira' /><img src='img/acabamentos/teca.jpg' title='teca' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='jap_1()'>> Techno Osaka compact</a><a href='#' onclick='jap_2()'>> Techno Osaka full</a><a href='#' onclick='jap_3()'>> Techno Osaka banco</a><a href='#' onclick='jap_4()'>> Techno Kobe compact</a><a href='#' onclick='jap_5()'>> Techno Kobe Full</a><a href='#' onclick='jap_6()'>> Techno Kobe banco</a><a href='#' onclick='jap_7()'>> Techno Kioto full</a><a href='#' onclick='jap_8()'>> Techno Kioto banco</a><a href='#' onclick='jap_9()'>> Marquesa</a><a href='#' onclick='jap_10()'>> Móvel para banheira</a><br><br /><br />";
	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>Techno Osaka compact</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img1.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno Osaka banco</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img2.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno Kobe compact</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img3.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno Kobe banco</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img4.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno Kioto Full</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img5.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno Kioto banco</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img6.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno - marquesa</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img7.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno - móvel banheira</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/jap/img8.jpg' class='full' /> <img src='img/cifialjust4u/moveis/jap/img8.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 jap_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17000OS&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);
};
function jap_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17001OS&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17700OS&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17000KB&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17001KB&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17700KB&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17000KT&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17700KT&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1700000&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function jap_10() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1700001&gLink=11203&gLng=1', title: 'Móvel para casa de banho Techno', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};






//___________________________________________sup______________________________________________________________________________
//suportesover____________________________________________________________________________________________________________________________________
function supo_over() {
	document.getElementById('c_sup').style.background = "url('img/cifialjust4u/thumbs/sup_h.jpg')";
	document.getElementById('label').innerHTML = 'Suportes para lavatórios';
}

//suportesout____________________________________________________________________________________________________________________________________
function supo_out() {
	document.getElementById('c_sup').style.background = "url('img/cifialjust4u/thumbs/sup.jpg')";
	document.getElementById('label').innerHTML = '';
}

//suportesambiente ss____________________________________________________________________________________________________________________________________
function supo_amb(){

    var img1 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/sup/amb1.jpg', title: 'suportes para lavatórios'
    };
	
    var img2 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/sup/amb2.jpg', title: 'suportes para lavatórios'
    };
	
    var img3 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/sup/amb3.jpg', title: 'suportes para lavatórios'
    };
	
    var img4 = {
        player:     'img',
        content:    'img/cifialjust4u/moveis/sup/amb4.jpg', title: 'suportes para lavatórios'
    };



    Shadowbox.open([img1, img2, img3, img4], {
		slideshowDelay:7, continuous: true	
    });

};

//suportesgeneral____________________________________________________________________________________________________________________________________
function supo() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_moveis();'>móveis de casa de banho</a> &nbsp; | &nbsp; <a href='#' onclick='supo();'>suportes para lavatório</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='box();'>Box</a><a href='#' id='new' class='itens' onclick='jap();'>Osaka | Kobe | Kioto</a><a href='#' class='itens' onclick='supo();' id='bold_act'>Suportes para lavatórios de pedra</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/inox.jpg' title='aço inox' /><img src='img/acabamentos/cerejeira.jpg' title='cerejeira' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<i>*lavatórios não incluídos</i><br><br><a href='#' onclick='sup_1()'>> Techno S1 full - suporte em metal com toalheiro</a><a href='#' onclick='sup_2()'>> Techno S1 compact - suporte em metal com toalheiro</a><a href='#' onclick='sup_3()'>>  Techno S1 full - suporte em madeira com toalheiro</a><a href='#' onclick='sup_4()'>> Techno S1 compact - suporte em madeira com toalheiro</a><a href='#' onclick='sup_5()'>> Techno S2 full - suporte em metal com toalheiro</a><a href='#' onclick='sup_6()'>> Techno S2 compact - suporte em metal com toalheiro</a><a href='#' onclick='sup_7()'>>  Techno S2 full - suporte em metal com toalheiro</a><a href='#' onclick='sup_8()'>>  Techno S2 compact - suporte em metal com toalheiro</a><a href='#' onclick='sup_9()'>>  Techno S3 full - suporte em metal com toalheiro</a><a href='#' onclick='sup_10()'>>  Techno S3 compact - suporte em metal com toalheiro</a><a href='#' onclick='sup_11()'>>  Techno S3 full - suporte em metal com toalheiro</a><a href='#' onclick='sup_12()'>>  Techno S3 compact - suporte em metal com toalheiro</a><br><b>PRODUTOS RELACIONADOS</b><br><a href='#' onclick='ts1(), supo_rel1()'>> lavatório techno s1</a><a href='#' onclick='ts2(), supo_rel2()'>> lavatório techno s2</a><a href='#' onclick='ts3(), supo_rel3()'>> lavatório techno s3</a><br><br /><br />";
	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>Techno S1 full - suporte em metal</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img1.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S1 full - suporte em madeira</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img2.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S2 full - suporte e metal com toalheiro frontal</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img3.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S2 - suporte em metal com toalheiros frontal e laterais </p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img4.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S3 compact - suporte em metal com toalheiro frontal</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img5.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S3 full - suporte em metal com toalheiro frontal</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img7.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S3 compact - suporte em metal com toalheiros frontal e laterais</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img6.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>Techno S3 full - suporte em metal com toalheiros frontal e laterais</p><a href='#' title='open image' class='open'></a> <img src='img/cifialjust4u/moveis/sup/img8.jpg' class='full' /> <img src='img/cifialjust4u/moveis/sup/img8.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 sup_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17001S1&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);
};
function sup_2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17000S1&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17003S1&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17002S1&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17009S2&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17008S2&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17007S2&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17006S2&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17005S3&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_10() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17004S3&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_11() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17003S3&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function sup_12() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=17003S3&gLink=11201&gLng=1', title: ' suportes para lavatório', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};







function c_basesd() {	

	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>cifial just for you</a> &nbsp; | &nbsp; <a href='#' onclick='c_basesd();'>bases de duche</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1comp();'>Techno S1 compact</a><a href='#' class='itens' onclick='ts1full();'>Techno S1 Full</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='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="<ul class='minis' id='thumbs' ><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/bd.jpg);' id='c_ts1comp' onmouseover='ts1comp_over();' onmouseout='ts1comp_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/cifialjust4u/thumbs/basesd.jpg);' id='c_ts1full' onmouseover='ts1full_over();' onmouseout='ts1full_out();' title='imagens de ambiente não disponíveis' /></li></ul> <div class='labels'><span class='left' id='label'></span><span class='right' id='pags'></span> </div>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}


//___________________________________________ts1comp______________________________________________________________________________
//techno S1 compact over____________________________________________________________________________________________________________________________________
function ts1comp_over() {
	document.getElementById('c_ts1comp').style.background = "url('img/cifialjust4u/thumbs/bd_h.jpg')";
	document.getElementById('label').innerHTML = 'techno S1 compact';
}

//techno S1 compact out____________________________________________________________________________________________________________________________________
function ts1comp_out() {
	document.getElementById('c_ts1comp').style.background = "url('img/cifialjust4u/thumbs/bd.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ts1comp general____________________________________________________________________________________________________________________________________
function ts1comp() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_basesd();'>bases de duche</a> &nbsp; | &nbsp; <a href='#' onclick='ts1comp();'>techno S1 compact</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1comp();' id='bold_act'>Techno S1 compact</a><a href='#' class='itens' onclick='ts1full();'>Techno S1 Full</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/p00.jpg' title='ardósea preta' /><img src='img/acabamentos/p01.jpg' title='ardósea verde' /><img src='img/acabamentos/teca.jpg' title='teca' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ts1comp_1()'>> Base de chuveiro em ardósea e ripado em teca</a><br /><br />";
	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="<img src='img/cifialjust4u/basesduche/img1.jpg' style='float:left; width:300px; height:355px; display:block; position:relative; top:1px; left:32px;' />";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function ts1comp_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3710000&gLink=11301&gLng=1', title: ' Base de duche Techno S1 compact', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};


//___________________________________________ts1full______________________________________________________________________________
//techno s1 full over____________________________________________________________________________________________________________________________________
function ts1full_over() {
	document.getElementById('c_ts1full').style.background = "url('img/cifialjust4u/thumbs/basesd_h.jpg')";
	document.getElementById('label').innerHTML = 'techno s1 full';
}

//techno s1 full out____________________________________________________________________________________________________________________________________
function ts1full_out() {
	document.getElementById('c_ts1full').style.background = "url('img/cifialjust4u/thumbs/basesd.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ts1full general____________________________________________________________________________________________________________________________________
function ts1full() {
	//coloca caminho na barra de cima
	document.getElementById('header_bath').innerHTML="<a href='#' onclick='content_produtos_cifialjust4u();'>CIFIAL JUST FOR YOU</a> &nbsp; | &nbsp; <a href='#' onclick='c_basesd();'>bases de duche</a> &nbsp; | &nbsp; <a href='#' onclick='ts1full();'>techno s1 full</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='ts1comp();'>Techno S1 compact</a><a href='#' class='itens' onclick='ts1full();' id='bold_act'>Techno S1 Full</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/p00.jpg' title='ardósea preta' /><img src='img/acabamentos/p01.jpg' title='ardósea verde' /><img src='img/acabamentos/teca.jpg' title='teca' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ts1full_1()'>> Base de chuveiro em ardósea e ripado em teca</a><br /><br />";
	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="<img src='img/cifialjust4u/basesduche/img2.jpg' style='float:left; width:300px; height:355px; display:block; position:relative; top:1px; left:32px;' />";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function ts1full_1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=3710001&gLink=11301&gLng=1', title: ' Base de duche Techno s1 full', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
