//____________________________________________________________________________________________
//___________________________________________COMPLEMENTOS____________________________________________
//____________________________________________________________________________________________
function content_produtos_complementos(){
	//define qual o item de menu que esta activo
	document.getElementById('puxadores').className='';
	document.getElementById('complementos').className='activo';
	document.getElementById('cefechmecanicas').className='';
	document.getElementById('cacessos').className='';
	document.getElementById('equipamentos').className='';
	
	//retira banner e coloca conteudos 3 partes
	document.getElementById('p3_c').style.visibility='visible';
	
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='clatao();'>latão</a><a href='#' class='itens' onclick='cinox();'>inox</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="<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/complementos/img1.jpg' class='full' /> <img src='img/complementos/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/complementos/img2.jpg' class='full' /> <img src='img/complementos/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/complementos/img3.jpg' class='full' /> <img src='img/complementos/img3.jpg' class='thumbnail' /> </div></div>";
	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: false,
	showInfopane:false,
	showCarousel: false,
	embedLinks: false
	});
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";
}


//latão
function clatao() {
	//define qual o item de menu que esta activo
	document.getElementById('puxadores').className='';
	document.getElementById('complementos').className='activo';
	document.getElementById('cefechmecanicas').className='';
	document.getElementById('cacessos').className='';
	document.getElementById('equipamentos').className='';
	
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='c_latao();'>latão</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();'>puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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="<ul class='minis' id='thumbs' ><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/lbatentes.jpg);' id='lbatentes' onmouseover='lbatentes_over();' onmouseout='lbatentes_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/lpexterior.jpg);' id='lpexterior' onmouseover='lpexterior_over();' onmouseout='lpexterior_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/lccartas.jpg);' id='lccartas' onmouseover='lccartas_over();' onmouseout='lccartas_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/ldobradicas.jpg);' id='ldobradicas' onmouseover='ldobradicas_over();' onmouseout='ldobradicas_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/lcremones.jpg);' id='lcremones' onmouseover='lcremones_over();' onmouseout='lcremones_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/laespelho.jpg);' id='laespelho' onmouseover='laespelho_over();' onmouseout='laespelho_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/lfechos.jpg);' id='lfechos' onmouseover='lfechos_over();' onmouseout='lfechos_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>";
	
	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="";
}

//____________________________________________________________________________________________
//___________________________________________Batentes________________________________________
//____________________________________________________________________________________________
//lbatentes over____________________________________________________________________________________________________________________________________
function lbatentes_over() {
	document.getElementById('lbatentes').style.background = "url('img/complementos/thumbs/lbatentes_h.jpg')";
	document.getElementById('label').innerHTML = 'Batentes';
}


//lbatentes out____________________________________________________________________________________________________________________________________
function lbatentes_out() {
	document.getElementById('lbatentes').style.background = "url('img/complementos/thumbs/lbatentes.jpg')";
	document.getElementById('label').innerHTML = '';
}

//lbatentes____________________________________________________________________________________________________________________________________
function c_lbatentes() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_lbatentes();'>batentes</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();' id='bold_act'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();'>puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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='63px'/><img src='img/acabamentos/509.jpg' title='bronze' /><img src='img/acabamentos/605.jpg' title='latão polido' /><img src='img/acabamentos/626.jpg' title='cromado fosco' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='lbatentes1()'>> batente cabeça de leão grande</a><a href='#' onclick='lbatentes2()'>> batente cabeça de leão</a><a href='#' onclick='lbatentes3()'>> batente English Rope</a><a href='#' onclick='lbatentes4()'>> batente Georgian</a><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="<div id='myGallery' style='float:left; width:300px; height:355px; display:block; position:relative; top:1px; left:32px;'><div class='imageElement'><h3></h3><p>batente cabeça de leão grande</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img1.jpg' class='full' /> <img src='img/complementos/latao/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>batente cabeça de leão </p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img2.jpg' class='full' /> <img src='img/complementos/latao/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>batente english rope</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img3.jpg' class='full' /> <img src='img/complementos/latao/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>batente georgian</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img4.jpg' class='full' /> <img src='img/complementos/latao/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 lbatentes1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2830020&gLink=22101&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lbatentes2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2830010&gLink=22101&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lbatentes3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=28300ER&gLink=22101&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lbatentes4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=28301GG&gLink=22101&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________puxador de exterior________________________________________
//____________________________________________________________________________________________
//lpexterior over____________________________________________________________________________________________________________________________________
function lpexterior_over() {
	document.getElementById('lpexterior').style.background = "url('img/complementos/thumbs/lpexterior_h.jpg')";
	document.getElementById('label').innerHTML = 'puxador de exterior';
}


//lpexterior out____________________________________________________________________________________________________________________________________
function lpexterior_out() {
	document.getElementById('lpexterior').style.background = "url('img/complementos/thumbs/lpexterior.jpg')";
	document.getElementById('label').innerHTML = '';
}

//lpexterior____________________________________________________________________________________________________________________________________
function c_lpexterior() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_lpexterior();'>puxador de exterior</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();' id='bold_act'>puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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='63px'/><img src='img/acabamentos/626.jpg' title='cromado brilhante' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='lpexterior1()'>> Puxador Magdenburgo</a><a href='#' onclick='lpexterior2()'>> Puxador Magdenburgo Classic</a>";

	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:300px; height:355px; display:block; position:relative; top:1px; left:32px;'><div class='imageElement'><h3></h3><p>puxador magdenburgo</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img5.jpg' class='full' /> <img src='img/complementos/latao/img5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>puxador magdenburgo classic </p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img6.jpg' class='full' /> <img src='img/complementos/latao/img6.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 lpexterior1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2622001&gLink=22102&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lpexterior2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2622000&gLink=22102&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________chapa cartas________________________________________
//____________________________________________________________________________________________
//lccartas over____________________________________________________________________________________________________________________________________
function lccartas_over() {
	document.getElementById('lccartas').style.background = "url('img/complementos/thumbs/lccartas_h.jpg')";
	document.getElementById('label').innerHTML = 'chapa cartas';
}


//lccartas out____________________________________________________________________________________________________________________________________
function lccartas_out() {
	document.getElementById('lccartas').style.background = "url('img/complementos/thumbs/lccartas.jpg')";
	document.getElementById('label').innerHTML = '';
}

//lccartas____________________________________________________________________________________________________________________________________
function c_lccartas() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_lccartas();'>chapa cartas</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();' >puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();' id='bold_act'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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='63px'/><img src='img/acabamentos/626.jpg' title='cromado brilhante' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='lccartas1()'>> chapa cartas universal</a>";

	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 style='position:relative; left:34px;' src='img/complementos/latao/img7.jpg'>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function lccartas1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1030200&gLink=22103&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________acessório para espelho________________________________________
//____________________________________________________________________________________________
//laespelho over____________________________________________________________________________________________________________________________________
function laespelho_over() {
	document.getElementById('laespelho').style.background = "url('img/complementos/thumbs/laespelho_h.jpg')";
	document.getElementById('label').innerHTML = 'acessório para espelho';
}


//laespelho out____________________________________________________________________________________________________________________________________
function laespelho_out() {
	document.getElementById('laespelho').style.background = "url('img/complementos/thumbs/laespelho.jpg')";
	document.getElementById('label').innerHTML = '';
}

//laespelho____________________________________________________________________________________________________________________________________
function c_laespelho() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_laespelho();'>acessório para espelho</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();' >puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();' id='bold_act'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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='63px'/><img src='img/acabamentos/626.jpg' title='cromado brilhante' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='laespelho1()'>> acessório para espelho</a>";

	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 style='position:relative; left:34px;' src='img/complementos/latao/img15.jpg'>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function laespelho1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2651751&gLink=22106&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________dobradiças________________________________________
//____________________________________________________________________________________________
//ldobradicas over____________________________________________________________________________________________________________________________________
function ldobradicas_over() {
	document.getElementById('ldobradicas').style.background = "url('img/complementos/thumbs/ldobradicas_h.jpg')";
	document.getElementById('label').innerHTML = 'dobradiças';
}


//ldobradicas out____________________________________________________________________________________________________________________________________
function ldobradicas_out() {
	document.getElementById('ldobradicas').style.background = "url('img/complementos/thumbs/ldobradicas.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ldobradicas____________________________________________________________________________________________________________________________________
function c_ldobradicas() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_ldobradicas();'>dobradiças</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();' >puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();' id='bold_act'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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='63px'/><img src='img/acabamentos/626.jpg' title='cromado brilhante' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ldobradicas1()'>> dobradiça de fiel sem pirâmide 3&quot;</a><a href='#' onclick='ldobradicas2()'>> dobradiça de fiel sem pirâmide 3&quot;&frac12;</a><a href='#' onclick='ldobradicas3()'>> dobradiça de fiel com pirâmide 3&quot;</a><a href='#' onclick='ldobradicas4()'>> dobradiça de fiel com pirâmide 3&quot;&frac12;</a><a href='#' onclick='ldobradicas5()'>> dobradiça de balanço 3&quot;&frac12; esquerda</a><a href='#' onclick='ldobradicas6()'>> dobradiça de balanço 3&quot;&frac12; direita</a><a href='#' onclick='ldobradicas7()'>> dobradiça de meio balanço 3&quot; esquerda</a><a href='#' onclick='ldobradicas8()'>> dobradiça de meio balanço 3&quot; direita</a><a href='#' onclick='ldobradicas9()'>> dobradiça de meio balanço 3&quot;&frac12; esquerda</a><a href='#' onclick='ldobradicas10()'>> dobradiça de meio balanço 3&quot;&frac12; direita</a><a href='#' onclick='ldobradicas11()'>> dobradiça de leme 3&quot; esquerda</a><a href='#' onclick='ldobradicas12()'>> dobradiça de leme 3&quot; direita</a><a href='#' onclick='ldobradicas13()'>> dobradiça de leme 3&quot;&frac12; esquerda</a><a href='#' onclick='ldobradicas14()'>> dobradiça de leme 3&quot;&frac12; direita</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>dobradiça de fiel sem pirâmide</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img8.jpg' class='full' /> <img src='img/complementos/latao/img8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de fiel com pirâmide</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img9.jpg' class='full' /> <img src='img/complementos/latao/img9.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de balanço</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img10.jpg' class='full' /> <img src='img/complementos/latao/img10.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de meio balanço</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img11.jpg' class='full' /> <img src='img/complementos/latao/img11.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de leme</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img12.jpg' class='full' /> <img src='img/complementos/latao/img12.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 ldobradicas1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281140R&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281140T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281130R&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281130T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281260T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281261T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281250R&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281251R&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281250T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas10() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281251T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas11() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281240R&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas12() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281241R&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas13() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281240T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ldobradicas14() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281241T&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________cremones________________________________________
//____________________________________________________________________________________________
//lcremones over____________________________________________________________________________________________________________________________________
function lcremones_over() {
	document.getElementById('lcremones').style.background = "url('img/complementos/thumbs/lcremones_h.jpg')";
	document.getElementById('label').innerHTML = 'cremones';
}


//lcremones out____________________________________________________________________________________________________________________________________
function lcremones_out() {
	document.getElementById('lcremones').style.background = "url('img/complementos/thumbs/lcremones.jpg')";
	document.getElementById('label').innerHTML = '';
}

//lcremones____________________________________________________________________________________________________________________________________
function c_lcremones() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_lcremones();'>cremones</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();'>puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();' id='bold_act'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();'>fechos</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='63px'/><img src='img/acabamentos/626.jpg' title='cromado brilhante' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='lcremones1()'>> cremone Old Dominion manípulo grande</a><a href='#' onclick='lcremones2()'>>  cremone Old Dominion manípulo de argola</a>";

	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:300px; height:355px; display:block; position:relative; top:1px; left:32px;'><div class='imageElement'><h3></h3><p> cremone Old Dominion manípulo grande</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img13.jpg' class='full' /> <img src='img/complementos/latao/img13.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p> cremone Old Dominion manípulo de argola</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img14.jpg' class='full' /> <img src='img/complementos/latao/img14.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 lcremones1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=25410OD&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lcremones2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=25414OD&gLink=22104&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________fechos________________________________________
//____________________________________________________________________________________________
//lfechos over____________________________________________________________________________________________________________________________________
function lfechos_over() {
	document.getElementById('lfechos').style.background = "url('img/complementos/thumbs/lfechos_h.jpg')";
	document.getElementById('label').innerHTML = 'fechos';
}


//lfechos out____________________________________________________________________________________________________________________________________
function lfechos_out() {
	document.getElementById('lfechos').style.background = "url('img/complementos/thumbs/lfechos.jpg')";
	document.getElementById('label').innerHTML = '';
}

//lfechos____________________________________________________________________________________________________________________________________
function c_lfechos() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='clatao();'>latão</a> &nbsp; | &nbsp; <a href='#' onclick='c_lfechos();'>fechos</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_lbatentes();'>batentes</a><a href='#' class='itens' onclick='c_lpexterior();'>puxadores de exterior</a><a href='#' class='itens' onclick='c_lccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ldobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_lcremones();'>cremones</a><a href='#' class='itens' onclick='c_laespelho();'>acessório para espelho</a><a href='#' class='itens' onclick='c_lfechos();' id='bold_act'>fechos</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='63px'/><img src='img/acabamentos/626.jpg' title='cromado brilhante' /><img src='img/acabamentos/x10.jpg' title='latão polido' /><img src='img/acabamentos/x16.jpg' title='bronze fosco PVD' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='lfechos1()'>> fecho de encastrar 8&quot;</a><a href='#' onclick='lfechos2()'>> fecho de encastrar 12&quot;</a><a href='#' onclick='lfechos3()'>> fecho de superficie 8&quot;</a><a href='#' onclick='lfechos4()'>> fecho de superficie 12&quot;</a><a href='#' onclick='lfechos5()'>> fecho de superficie 18&quot;</a>";

	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:300px; height:355px; display:block; position:relative; top:1px; left:32px;'><div class='imageElement'><h3></h3><p>fecho de encastrar</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img16.jpg' class='full' /> <img src='img/complementos/latao/img16.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>fecho de superficie Old Dominion </p><a href='#' title='open image' class='open'></a> <img src='img/complementos/latao/img17.jpg' class='full' /> <img src='img/complementos/latao/img17.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 lfechos1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2522010&gLink=22107&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lfechos2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=2522012&gLink=22107&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lfechos3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=25231OD&gLink=22107&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lfechos4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=25233OD&gLink=22107&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function lfechos5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=252335D&gLink=22107&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};










//inox
function cinox() {
	//define qual o item de menu que esta activo
	document.getElementById('puxadores').className='';
	document.getElementById('complementos').className='activo';
	document.getElementById('cefechmecanicas').className='';
	document.getElementById('cacessos').className='';
	document.getElementById('equipamentos').className='';
	
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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="<ul class='minis' id='thumbs' ><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/idobradicas.jpg);' id='idobradicas' onmouseover='idobradicas_over();' onmouseout='idobradicas_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/isinaletica.jpg);' id='isinaletica' onmouseover='isinaletica_over();' onmouseout='isinaletica_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/ivisor.jpg);' id='ivisor' onmouseover='ivisor_over();' onmouseout='ivisor_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/iccartas.jpg);' id='iccartas' onmouseover='iccartas_over();' onmouseout='iccartas_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/ibatente.jpg);' id='ibatente' onmouseover='ibatente_over();' onmouseout='ibatente_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/iretentor.jpg);' id='iretentor' onmouseover='iretentor_over();' onmouseout='iretentor_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/complementos/thumbs/ifechos.jpg);' id='ifechos' onmouseover='ifechos_over();' onmouseout='ifechos_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>";
	
	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="";
}
//____________________________________________________________________________________________
//___________________________________________dobradiças________________________________________
//____________________________________________________________________________________________
//idobradicas over____________________________________________________________________________________________________________________________________
function idobradicas_over() {
	document.getElementById('idobradicas').style.background = "url('img/complementos/thumbs/idobradicas_h.jpg')";
	document.getElementById('label').innerHTML = 'dobradiças';
}


//idobradicas out____________________________________________________________________________________________________________________________________
function idobradicas_out() {
	document.getElementById('idobradicas').style.background = "url('img/complementos/thumbs/idobradicas.jpg')";
	document.getElementById('label').innerHTML = '';
}

//idobradicas____________________________________________________________________________________________________________________________________
function c_idobradicas() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_idobradicas();'>dobradiças</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();' id='bold_act'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='idobradicas1()'>> dobradiça balanço (cantos rectos) 3&quot; esquerda</a><a href='#' onclick='idobradicas2()'>>  dobradiça balanço (cantos rectos) 3&quot; direita</a><a href='#' onclick='idobradicas3()'>> dobradiça balanço (cantos rectos) 3&quot;&frac12; esquerda</a><a href='#' onclick='idobradicas4()'>> dobradiça balanço (cantos rectos) 3&quot;&frac12; direita</a><a href='#' onclick='idobradicas5()'>> dobradiça balanço (cantos redondos) 3&quot; esquerda</a><a href='#' onclick='idobradicas6()'>>  dobradiça balanço (cantos redondos) 3&quot; direita</a><a href='#' onclick='idobradicas7()'>> dobradiça balanço (cantos redondos) 3&quot;&frac12; esquerda</a><a href='#' onclick='idobradicas8()'>> dobradiça balanço (cantos redondos) 3&quot;&frac12; direita</a><a href='#' onclick='idobradicas9()'>> dobradiça meio balanço (cantos rectos) 3&quot; esquerda</a><a href='#' onclick='idobradicas10()'>>  dobradiça meio balanço (cantos rectos) 3&quot; direita</a><a href='#' onclick='idobradicas11()'>> dobradiça meio balanço (cantos rectos) 3&quot;&frac12; esquerda</a><a href='#' onclick='idobradicas12()'>> dobradiça meio balanço (cantos rectos) 3&quot;&frac12; direita</a><a href='#' onclick='idobradicas13()'>> dobradiça meio balanço (cantos redondos) 3&quot; esquerda</a><a href='#' onclick='idobradicas14()'>>  dobradiça meio balanço (cantos redondos) 3&quot; direita</a><a href='#' onclick='idobradicas15()'>> dobradiça meio balanço (cantos redondos) 3&quot;&frac12; esquerda</a><a href='#' onclick='idobradicas16()'>> dobradiça meio balanço (cantos redondos) 3&quot;&frac12; direita</a><a href='#' onclick='idobradicas17()'>> dobradiça de fiel 2 rolamentos (cantos rectos) 3&quot;&frac12; </a><a href='#' onclick='idobradicas18()'>> dobradiça de segurança 4 rolamentos (cantos rectos) 4&quot;</a><a href='#' onclick='idobradicas19()'>> dobradiças ocultas 44mm </a><a href='#' onclick='idobradicas20()'>> dobradiças ocultas 70mm</a><a href='#' onclick='idobradicas21()'>> dobradiças ocultas 95mm</a><a href='#' onclick='idobradicas22()'>> dobradiças ocultas 118mm</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>dobradiça de balanço cantos rectos</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img1.jpg' class='full' /> <img src='img/complementos/linox/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de balanço contos redondos</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img2.jpg' class='full' /> <img src='img/complementos/inox/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de meio balanço cantos rectos</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img3.jpg' class='full' /> <img src='img/complementos/inox/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de meio balanço cantos redondos</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img4.jpg' class='full' /> <img src='img/complementos/inox/img4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de fiel</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img5.jpg' class='full' /> <img src='img/complementos/inox/img5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça de segurança</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img6.jpg' class='full' /> <img src='img/complementos/inox/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>dobradiça oculta</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img7.jpg' class='full' /> <img src='img/complementos/inox/img7.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 idobradicas1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281262Re&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281262Rd&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281262Te&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281262Td&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281263Re&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281263Rd&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281263Te&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281263Td&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281252Re&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas10() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281252Rd&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas11() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281252Te&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas12() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281252Td&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas13() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281253Re&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas14() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281253Rd&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas15() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281253Te&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas16() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281253Td&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas17() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281100T&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas18() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=281101U&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas19() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=!ocultas1&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas20() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=!ocultas2&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas21() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=!ocultas3&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function idobradicas22() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=!ocultas4&gLink=22201&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________sinalética________________________________________
//____________________________________________________________________________________________
//isinaletica over____________________________________________________________________________________________________________________________________
function isinaletica_over() {
	document.getElementById('isinaletica').style.background = "url('img/complementos/thumbs/isinaletica_h.jpg')";
	document.getElementById('label').innerHTML = 'sinalética';
}


//isinaletica out____________________________________________________________________________________________________________________________________
function isinaletica_out() {
	document.getElementById('isinaletica').style.background = "url('img/complementos/thumbs/isinaletica.jpg')";
	document.getElementById('label').innerHTML = '';
}

//isinaletica____________________________________________________________________________________________________________________________________
function c_isinaletica() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_isinaletica();'>sinalética</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();' id='bold_act'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='isinaletica1()'>> placa rectangular WC senhoras</a><a href='#' onclick='isinaletica2()'>>   placa rectangular WC homens</a><a href='#' onclick='isinaletica3()'>>  placa rectangular &quot;não fumar&quot;</a><a href='#' onclick='isinaletica4()'>>  placa rectangular WC</a><a href='#' onclick='isinaletica5()'>>  placa rectangular WC bebés</a><a href='#' onclick='isinaletica6()'>>Placa redonda WC senhoras</a><a href='#' onclick='isinaletica7()'>> placa redonda WC homens</a><a href='#' onclick='isinaletica8()'>>placa redonda WC deficientes</a><a href='#' onclick='isinaletica9()'>> Placa redonda &quot;não fumar&quot;</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>placas rectangulares</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img8.jpg' class='full' /> <img src='img/complementos/linox/img8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>placas redondas</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img9.jpg' class='full' /> <img src='img/complementos/inox/img9.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 isinaletica1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920373&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920374&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920375&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920376&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920377&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920378&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920379&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920380&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function isinaletica9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920381&gLink=22202&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________batentes________________________________________
//____________________________________________________________________________________________
//ibatente over____________________________________________________________________________________________________________________________________
function ibatente_over() {
	document.getElementById('ibatente').style.background = "url('img/complementos/thumbs/ibatente_h.jpg')";
	document.getElementById('label').innerHTML = 'batentes';
}


//ibatente out____________________________________________________________________________________________________________________________________
function ibatente_out() {
	document.getElementById('ibatente').style.background = "url('img/complementos/thumbs/ibatente.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ibatente____________________________________________________________________________________________________________________________________
function c_ibatente() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_ibatente();'>batentes</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();' id='bold_act'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ibatente1()'>> batente de solo para porta</a><a href='#' onclick='ibatente2()'>> batente mural para porta</a>";

	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:300px; height:355px; display:block; position:relative; top:1px; left:32px;'><div class='imageElement'><h3></h3><p>batente de solo para porta</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img12.jpg' class='full' /> <img src='img/complementos/linox/img12.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>batente mural apra porta</p><a href='#' title='open image' class='open'></a> <img src='img/complementos/inox/img13.jpg' class='full' /> <img src='img/complementos/inox/img13.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 ibatente1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920385&gLink=22205&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ibatente2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920386&gLink=22205&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________visores________________________________________
//____________________________________________________________________________________________
//ivisor over____________________________________________________________________________________________________________________________________
function ivisor_over() {
	document.getElementById('ivisor').style.background = "url('img/complementos/thumbs/ivisor_h.jpg')";
	document.getElementById('label').innerHTML = 'visores';
}


//ivisor out____________________________________________________________________________________________________________________________________
function ivisor_out() {
	document.getElementById('ivisor').style.background = "url('img/complementos/thumbs/ivisor.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ivisor____________________________________________________________________________________________________________________________________
function c_ivisor() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_ivisor();'>visores</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();' id='bold_act'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ivisor1()'>> visor óptico para porta</a>";

	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 style='position:relative; left:34px;' src='img/complementos/inox/img10.jpg'>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function ivisor1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920382&gLink=22203&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________chapa cartas________________________________________
//____________________________________________________________________________________________
//iccartas over____________________________________________________________________________________________________________________________________
function iccartas_over() {
	document.getElementById('iccartas').style.background = "url('img/complementos/thumbs/iccartas_h.jpg')";
	document.getElementById('label').innerHTML = 'chapa cartas';
}


//iccartas out____________________________________________________________________________________________________________________________________
function iccartas_out() {
	document.getElementById('iccartas').style.background = "url('img/complementos/thumbs/iccartas.jpg')";
	document.getElementById('label').innerHTML = '';
}

//iccartas____________________________________________________________________________________________________________________________________
function c_iccartas() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_iccartas();'>chapa cartas</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();' id='bold_act'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='iccartas1()'>> chapa cartas rectangular</a>";

	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 style='position:relative; left:34px;' src='img/complementos/inox/img11.jpg'>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function iccartas1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920383&gLink=22203&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________retentor para porta________________________________________
//____________________________________________________________________________________________
//iretentor over____________________________________________________________________________________________________________________________________
function iretentor_over() {
	document.getElementById('iretentor').style.background = "url('img/complementos/thumbs/iretentor_h.jpg')";
	document.getElementById('label').innerHTML = 'retentor para porta';
}


//iretentor out____________________________________________________________________________________________________________________________________
function iretentor_out() {
	document.getElementById('iretentor').style.background = "url('img/complementos/thumbs/iretentor.jpg')";
	document.getElementById('label').innerHTML = '';
}

//iretentor____________________________________________________________________________________________________________________________________
function c_iretentor() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_iretentor();'>retentor para porta</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();' id='bold_act'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='iretentor1()'>> retentor para porta </a>";

	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 style='position:relative; left:34px;' src='img/complementos/inox/img14.jpg'>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function iretentor1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920387&gLink=22204&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________fechos________________________________________
//____________________________________________________________________________________________
//ifechos over____________________________________________________________________________________________________________________________________
function ifechos_over() {
	document.getElementById('ifechos').style.background = "url('img/complementos/thumbs/ifechos_h.jpg')";
	document.getElementById('label').innerHTML = 'fechos';
}


//ifechos out____________________________________________________________________________________________________________________________________
function ifechos_out() {
	document.getElementById('ifechos').style.background = "url('img/complementos/thumbs/ifechos.jpg')";
	document.getElementById('label').innerHTML = '';
}

//ifechos____________________________________________________________________________________________________________________________________
function c_ifechos() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_complementos();'>complementos</a> &nbsp; | &nbsp; <a href='#' onclick='cinox();'>inox</a> &nbsp; | &nbsp; <a href='#' onclick='c_ifechos();'>fechos</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='c_idobradicas();'>dobradiças</a><a href='#' class='itens' onclick='c_isinaletica();'>sinalética</a><a href='#' class='itens' onclick='c_ivisor();'>visor</a><a href='#' class='itens' onclick='c_iccartas();'>chapa cartas</a><a href='#' class='itens' onclick='c_ibatente();'>batente</a><a href='#' class='itens' onclick='c_iretentor();'>retentor para porta</a><a href='#' class='itens' onclick='c_ifechos();' id='bold_act'>fechos</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='63px'/><img src='img/acabamentos/630.jpg' title='aço inox murçado' />";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='ifechos1()'>> fecho de embutir 150mm </a><a href='#' onclick='ifechos2()'>> fecho de embutir 200mm </a>";

	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 style='position:relative; left:34px;' src='img/complementos/inox/img15.jpg'>";	
	var myGallery = new gallery($('myGallery'), {
	timed: true,
	showArrows: true,
	showInfopane:true,
	showCarousel: false,
	embedLinks: false
	});	
	
	//retira link para continuar
	document.getElementById('ssgd').innerHTML="";

}

function ifechos1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920388&gLink=22207&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function ifechos2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920389&gLink=22207&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
