//____________________________________________________________________________________________
//___________________________________________equipamentos_____________________________________
//____________________________________________________________________________________________
function content_produtos_equipamentos(){
	//define qual o item de menu que esta activo
	document.getElementById('puxadores').className='';
	document.getElementById('complementos').className='';
	document.getElementById('cefechmecanicas').className='';
	document.getElementById('cacessos').className='';
	document.getElementById('equipamentos').className='activo';
	
	//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_equipamentos();'>equipamentos</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_mp();'>molas de porta</a><a href='#' class='itens' onclick='e_ap();'>equipamentos anti-pânico</a><a href='#' class='itens' onclick='e_eco();'>economizadores</a><a href='#' class='itens' onclick='e_cofres();'>cofres</a><a href='#' class='itens' onclick='e_minibars();'>minibars e frigobars</a><a href='#' class='itens' onclick='e_vp();'>video porteiro</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/equipamentos/amb3.jpg' class='full' /> <img src='img/equipamentos/amb3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/amb1.jpg' class='full' /> <img src='img/equipamentos/amb1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p></p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/amb2.jpg' class='full' /> <img src='img/equipamentos/amb2.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="";
}

//molas de porta
function e_mp() {
	//define qual o item de menu que esta activo
	document.getElementById('puxadores').className='';
	document.getElementById('complementos').className='';
	document.getElementById('cefechmecanicas').className='';
	document.getElementById('cacessos').className='';
	document.getElementById('equipamentos').className='activo';
	
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_mp();'>molas de porta</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_aereas();'>aéreas</a><a href='#' class='itens' onclick='e_pe();'>embutir e de pavimento</a><a href='#' class='itens' onclick='e_acessorios();'>acessorios</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/equipamentos/thumbs/aereas.jpg);' id='aereas' onmouseover='aereas_over();' onmouseout='aereas_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/equipamentos/thumbs/pe.jpg);' id='pe' onmouseover='pe_over();' onmouseout='pe_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/equipamentos/thumbs/acessorios.jpg);' id='acessorios' onmouseover='acessorios_over();' onmouseout='acessorios_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="";
}

//____________________________________________________________________________________________
//___________________________________________mp aéreas________________________________________
//____________________________________________________________________________________________
//aereas over____________________________________________________________________________________________________________________________________
function aereas_over() {
	document.getElementById('aereas').style.background = "url('img/equipamentos/thumbs/aereas_h.jpg')";
	document.getElementById('label').innerHTML = 'aéreas';
}


//aereas out____________________________________________________________________________________________________________________________________
function aereas_out() {
	document.getElementById('aereas').style.background = "url('img/equipamentos/thumbs/aereas.jpg')";
	document.getElementById('label').innerHTML = '';
}

//aereas____________________________________________________________________________________________________________________________________
function e_aereas() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_mp();'>molas de porta</a> &nbsp; | &nbsp; <a href='#' onclick='e_aereas();'>aéreas</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_aereas();' id='bold_act'>aéreas</a><a href='#' class='itens' onclick='e_pe();'>embutir e de pavimento</a><a href='#' class='itens' onclick='e_acessorios();'>acessorios</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='aereas1()'>> mola aérea para porta força 2 para portas de 25 a 60 kg - cinza</a><a href='#' onclick='aereas2()'>> mola aérea para porta força 2 para portas de 25 a 60 kg - cinza blister</a><a href='#' onclick='aereas3()'>> mola aérea para porta força 2 para portas de 25 a 60 kg - branco</a><a href='#' onclick='aereas4()'>> mola aérea para porta força 2 para portas de 25 a 60 kg - dourado</a><a href='#' onclick='aereas5()'>> mola aérea para porta força 2 para portas de 25 a 60 kg - bronze</a><a href='#' onclick='aereas6()'>> mola aérea para porta força 3 para portas de 45 a 75 kg - cinza</a><a href='#' onclick='aereas7()'>> mola aérea para porta força 3 para portas de 45 a 75 kg - branco</a><a href='#' onclick='aereas8()'>> mola aérea para porta força 3 para portas de 45 a 75 kg - dourado</a><a href='#' onclick='aereas9()'>> mola aérea para porta força 3 para portas de 45 a 75 kg - bronze</a><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>mola aérea para porta força 2 - portas de 25 a 60 Kg</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img1.jpg' class='full' /> <img src='img/equipamentos/mp/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>mola aérea para porta força 3 - portas de 45 a 75 Kg</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img2.jpg' class='full' /> <img src='img/equipamentos/mp/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 aereas1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function aereas9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________mp embutir e de pavimento________________________
//____________________________________________________________________________________________
//pe over____________________________________________________________________________________________________________________________________
function pe_over() {
	document.getElementById('pe').style.background = "url('img/equipamentos/thumbs/pe_h.jpg')";
	document.getElementById('label').innerHTML = 'embutir e de pavimento';
}


//pe out____________________________________________________________________________________________________________________________________
function pe_out() {
	document.getElementById('pe').style.background = "url('img/equipamentos/thumbs/pe.jpg')";
	document.getElementById('label').innerHTML = '';
}

//pe____________________________________________________________________________________________________________________________________
function e_pe() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_mp();'>molas de porta</a> &nbsp; | &nbsp; <a href='#' onclick='e_pe();'>embutir e de pavimento</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_aereas();' >aéreas</a><a href='#' class='itens' onclick='e_pe();'id='bold_act'>embutir e de pavimento</a><a href='#' class='itens' onclick='e_acessorios();'>acessorios</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='pe1()'>> mola de pavimento para portas até 130kg</a><a href='#' onclick='pe2()'>> mola de embutir força 1-4</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>mola de pavimento para portas até 130kg</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img3.jpg' class='full' /> <img src='img/equipamentos/mp/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>mola de embutir para porta força 1-4</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img4.jpg' class='full' /> <img src='img/equipamentos/mp/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 pe1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function pe2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________mp acessórios____________________________________
//____________________________________________________________________________________________
//acessorios over____________________________________________________________________________________________________________________________________
function acessorios_over() {
	document.getElementById('acessorios').style.background = "url('img/equipamentos/thumbs/acessorios_h.jpg')";
	document.getElementById('label').innerHTML = 'acessórios';
}


//acessorios out____________________________________________________________________________________________________________________________________
function acessorios_out() {
	document.getElementById('acessorios').style.background = "url('img/equipamentos/thumbs/acessorios.jpg')";
	document.getElementById('label').innerHTML = '';
}

//acessorios____________________________________________________________________________________________________________________________________
function e_acessorios() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_mp();'>molas de porta</a> &nbsp; | &nbsp; <a href='#' onclick='e_acessorios();'>acessórios</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_aereas();' >aéreas</a><a href='#' class='itens' onclick='e_pe();'>embutir e de pavimento</a><a href='#' class='itens' onclick='e_acessorios();'id='bold_act'>acessorios</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='acessorios1()'>> P101 - acessório para porta de madeira</a><a href='#' onclick='acessorios2()'>> P102 - acessório para porta de madeira</a><a href='#' onclick='acessorios3()'>> P103 - acessório para porta de madeira</a><a href='#' onclick='acessorios4()'>> P104 - acessório para porta de madeira</a><a href='#' onclick='acessorios5()'>> 7010 - acessório para porta de vidro</a><a href='#' onclick='acessorios6()'>> 7011 - acessório para porta de vidro</a><a href='#' onclick='acessorios7()'>> 7012 - acessório para porta de vidro</a><a href='#' onclick='acessorios8()'>> 7013 - acessório para porta de vidro</a><a href='#' onclick='acessorios9()'>> 7014 - acessório para porta de vidro</a><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>P101</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img5.jpg' class='full' /> <img src='img/equipamentos/mp/img5.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>P102</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img6.jpg' class='full' /> <img src='img/equipamentos/mp/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>P103</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img7.jpg' class='full' /> <img src='img/equipamentos/mp/img7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>P104</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img8.jpg' class='full' /> <img src='img/equipamentos/mp/img8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>7010</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img9.jpg' class='full' /> <img src='img/equipamentos/mp/img9.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>7011</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img10.jpg' class='full' /> <img src='img/equipamentos/mp/img10.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>7012</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img11.jpg' class='full' /> <img src='img/equipamentos/mp/img11.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>7013</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img12.jpg' class='full' /> <img src='img/equipamentos/mp/img12.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>7014</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/mp/img13.jpg' class='full' /> <img src='img/equipamentos/mp/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 acessorios1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios6() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios7() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios8() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function acessorios9() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25100', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};



//equipamentos anti-pânico
function e_ap() {
	//define qual o item de menu que esta activo
	document.getElementById('puxadores').className='';
	document.getElementById('complementos').className='';
	document.getElementById('cefechmecanicas').className='';
	document.getElementById('cacessos').className='';
	document.getElementById('equipamentos').className='activo';
	
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_ap();'>equipamentos anti-pânico</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_puxadores();'>puxadores</a><a href='#' class='itens' onclick='e_fe();'>fechaduras de embutir</a><a href='#' class='itens' onclick='e_btorcao();'>barras anti-pânico de torção</a><a href='#' class='itens' onclick='e_bpressao();'>barras anti-pânico de pressão</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/equipamentos/thumbs/puxadores.jpg);' id='puxadores' onmouseover='puxadores_over();' onmouseout='puxadores_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/equipamentos/thumbs/fe.jpg);' id='fe' onmouseover='fe_over();' onmouseout='fe_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/equipamentos/thumbs/btorcao.jpg);' id='btorcao' onmouseover='btorcao_over();' onmouseout='btorcao_out();' title='imagens de ambiente não disponíveis' /></li><li><img src='img/spacer.gif' style='background:url(img/equipamentos/thumbs/bpressao.jpg);' id='bpressao' onmouseover='bpressao_over();' onmouseout='bpressao_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="";
}

//____________________________________________________________________________________________
//___________________________________________puxadores________________________________________
//____________________________________________________________________________________________
//puxadores over____________________________________________________________________________________________________________________________________
function puxadores_over() {
	document.getElementById('puxadores').style.background = "url('img/equipamentos/thumbs/puxadores_h.jpg')";
	document.getElementById('label').innerHTML = 'puxadores';
}


//puxadores out____________________________________________________________________________________________________________________________________
function puxadores_out() {
	document.getElementById('puxadores').style.background = "url('img/equipamentos/thumbs/puxadores.jpg')";
	document.getElementById('label').innerHTML = '';
}

//puxadores____________________________________________________________________________________________________________________________________
function e_puxadores() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_ap();'>equipamento anti-pânico</a> &nbsp; | &nbsp; <a href='#' onclick='e_puxadores();'>puxadores</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_puxadores();' id='bold_act'>puxadores</a><a href='#' class='itens' onclick='e_fe();'>fechaduras de embutir</a><a href='#' class='itens' onclick='e_btorcao();'>barras anti-pânico de torção</a><a href='#' class='itens' onclick='e_bpressao();'>barras anti-pânico de pressão</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='puxadores1()'>> puxador de espelho para barra anti-pânico</a><a href='#' onclick='puxadores1()'>> puxador de espelho para fechadura de embutir anti-pânico</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="<img style='position:relative; left:34px;' src='img/equipamentos/ap/img1.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 puxadores1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function puxadores2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________fechaduras de embutir____________________________
//____________________________________________________________________________________________
//fechaduras de embutir over____________________________________________________________________________________________________________________________________
function fe_over() {
	document.getElementById('fe').style.background = "url('img/equipamentos/thumbs/fe_h.jpg')";
	document.getElementById('label').innerHTML = 'fechaduras de embutir';
}


//fechaduras de embutir out____________________________________________________________________________________________________________________________________
function fe_out() {
	document.getElementById('fe').style.background = "url('img/equipamentos/thumbs/fe.jpg')";
	document.getElementById('label').innerHTML = '';
}

//fechaduras de embutir____________________________________________________________________________________________________________________________________
function e_fe() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_ap();'>equipamento anti-pânico</a> &nbsp; | &nbsp; <a href='#' onclick='e_fe();'>fechaduras de embutir</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_puxadores();'>puxadores</a><a href='#' class='itens' onclick='e_fe();' id='bold_act'>fechadures de embutir</a><a href='#' class='itens' onclick='e_btorcao();'>barras anti-pânico de torção</a><a href='#' class='itens' onclick='e_bpressao();'>barras anti-pânico de pressão</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='fe1()'>> fechadura de embutir anti-pânico corta-fogo CF 60 EN 12209</a><a href='#' onclick='fe2()'>> fechadura de embutir anti-pânico reversível - CE</a><a href='#' onclick='fe3()'>> fechadura de embutir anti-pânico reversível</a><a href='#' onclick='fe4()'>> meio cilindro para barra anti-pânico 30x10mm</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>fechadura de embutir anti-pânico - corta fogo CF 60 EN 12209</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img2.jpg' class='full' /> <img src='img/equipamentos/ap/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>fechadura de embutir anti-pânico reversível CE</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img3.jpg' class='full' /> <img src='img/equipamentos/ap/img3.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>fechadura de embutir anti-pânico reversível</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img4.jpg' class='full' /> <img src='img/equipamentos/ap/img4.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>meio cilindro para barra anti-pânico 30x10mm</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img5.jpg' class='full' /> <img src='img/equipamentos/ap/img5.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 fe1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function fe2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function fe3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function fe4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function fe5() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________barras anti-pânico de torção____________________________
//____________________________________________________________________________________________
//barras anti-pânico de torção over____________________________________________________________________________________________________________________________________
function btorcao_over() {
	document.getElementById('btorcao').style.background = "url('img/equipamentos/thumbs/btorcao_h.jpg')";
	document.getElementById('label').innerHTML = 'barras de torção';
}


//barras anti-pânico de torção out____________________________________________________________________________________________________________________________________
function btorcao_out() {
	document.getElementById('btorcao').style.background = "url('img/equipamentos/thumbs/btorcao.jpg')";
	document.getElementById('label').innerHTML = '';
}

//barras anti-pânico de torção____________________________________________________________________________________________________________________________________
function e_btorcao() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_ap();'>equipamento anti-pânico</a> &nbsp; | &nbsp; <a href='#' onclick='e_btorcao();'>barras anti-pânico de torção</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_puxadores();'>puxadores</a><a href='#' class='itens' onclick='e_fe();' >fechaduras de embutir</a><a href='#' class='itens' onclick='e_btorcao();'id='bold_act'>barras anti-pânico de torção</a><a href='#' class='itens' onclick='e_bpressao();'>barras anti-pânico de pressão</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='btorcao1()'>> barra anti-pânico de torção de sobrepor com trinco CE</a><a href='#' onclick='btorcao2()'>> barra anti-pânico de torção  de sobrepôr para fechadura de embutir CE</a><a href='#' onclick='btorcao3()'>> barra anti-pânico de sobrepôr com 2 pontos de fecho CE</a><a href='#' onclick='btorcao4()'>> barra anti-pânico de sobrepôr com trinco e 2 pontos de fecho CE</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>barra anti-pânico de torção de sobrepôr com trinco CE</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img6.jpg' class='full' /> <img src='img/equipamentos/ap/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>barra anti-pânico de torção de sobrepôr para fechadura de embutir CE</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img6.jpg' class='full' /> <img src='img/equipamentos/ap/img6.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>barra anti-pânico de sobrepôr com 2 pontos de fecho CE</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img7.jpg' class='full' /> <img src='img/equipamentos/ap/img7.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>barra anti-pânico de sobrepôr com 2 pontos de fecho CE</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img7.jpg' class='full' /> <img src='img/equipamentos/ap/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 btorcao1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function btorcao2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function btorcao3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function btorcao4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________barras anti-pânico de pressão____________________________
//____________________________________________________________________________________________
//barras anti-pânico de pressão over____________________________________________________________________________________________________________________________________
function bpressao_over() {
	document.getElementById('bpressao').style.background = "url('img/equipamentos/thumbs/bpressao_h.jpg')";
	document.getElementById('label').innerHTML = 'barras de pressão';
}


//barras anti-pânico de pressão out____________________________________________________________________________________________________________________________________
function bpressao_out() {
	document.getElementById('bpressao').style.background = "url('img/equipamentos/thumbs/bpressao.jpg')";
	document.getElementById('label').innerHTML = '';
}

//barras anti-pânico de pressão____________________________________________________________________________________________________________________________________
function e_bpressao() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_ap();'>equipamento anti-pânico</a> &nbsp; | &nbsp; <a href='#' onclick='e_bpressao();'>barras anti-pânico de pressão</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="<a href='#' class='itens' onclick='e_puxadores();'>puxadores</a><a href='#' class='itens' onclick='e_fe();' >fechaduras de embutir</a><a href='#' class='itens' onclick='e_btorcao();'>barras anti-pânico de torção</a><a href='#' class='itens' onclick='e_bpressao();' id='bold_act'>barras anti-pânico de pressão</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='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='bpressao1()'>> barra anti-pânico de pressão com trinco cinza</a><a href='#' onclick='bpressao2()'>> barra anti-pânico de pressão com trinco aço inox</a><a href='#' onclick='bpressao3()'>> barra anti-pânico de pressão com 2 pontos de fecho cinza</a><a href='#' onclick='bpressao4()'>> barra anti-pânico de pressão com 2 pontos de fecho aço inox</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>barra anti-pânico de pressão com trinco</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img8.jpg' class='full' /> <img src='img/equipamentos/ap/img8.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>barra anti-pânico de pressão com 2 pontos de fecho</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/ap/img9.jpg' class='full' /> <img src='img/equipamentos/ap/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 bpressao1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function bpressao2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function bpressao3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function bpressao4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25200', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________economizadores____________________________
//____________________________________________________________________________________________
//economizadores over____________________________________________________________________________________________________________________________________
function eco_over() {
	document.getElementById('eco').style.background = "url('img/equipamentos/thumbs/eco_h.jpg')";
	document.getElementById('label').innerHTML = 'economizadores';
}


//economizadores out____________________________________________________________________________________________________________________________________
function eco_out() {
	document.getElementById('eco').style.background = "url('img/equipamentos/thumbs/eco.jpg')";
	document.getElementById('label').innerHTML = '';
}

//economizadores____________________________________________________________________________________________________________________________________
function e_eco() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_eco();'>economizadores</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="";
	document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById('Scrollerla'), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className='class2';
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='eco1()'>> EE.60</a><a href='#' onclick='eco2()'>> EE.EK</a><a href='#' onclick='eco3()'>> Economizadores de energia cartão IC</a><a href='#' onclick='eco4()'>> Economizadores de energia cartão de proximidade</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>EE.60</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/img1.jpg' class='full' /> <img src='img/equipamentos/img1.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>EE.EK</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/img2.jpg' class='full' /> <img src='img/equipamentos/img2.jpg' class='thumbnail' /> </div><div class='imageElement'><h3></h3><p>economizador de energia para cartões de proximidade e IC</p><a href='#' title='open image' class='open'></a> <img src='img/equipamentos/img3.jpg' class='full' /> <img src='img/equipamentos/img3.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 eco1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25300', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function eco2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25300', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function eco3() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25300', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function eco4() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25300', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________cofres____________________________
//____________________________________________________________________________________________
//cofres over____________________________________________________________________________________________________________________________________
function cofres_over() {
	document.getElementById('cofres').style.background = "url('img/equipamentos/thumbs/cofres_h.jpg')";
	document.getElementById('label').innerHTML = 'cofres';
}


//cofres out____________________________________________________________________________________________________________________________________
function cofres_out() {
	document.getElementById('cofres').style.background = "url('img/equipamentos/thumbs/cofres.jpg')";
	document.getElementById('label').innerHTML = '';
}

//cofres____________________________________________________________________________________________________________________________________
function e_cofres() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_cofres();'>cofres</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="";
	document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById('Scrollerla'), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className='class2';
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='cofres1()'>> cofre</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/equipamentos/img4.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 cofres1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=1920222&gLink=25400&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________minibars____________________________
//____________________________________________________________________________________________
//minibars over____________________________________________________________________________________________________________________________________
function minibars_over() {
	document.getElementById('minibars').style.background = "url('img/equipamentos/thumbs/minibars_h.jpg')";
	document.getElementById('label').innerHTML = 'minibars e frigobars';
}


//minibars out____________________________________________________________________________________________________________________________________
function minibars_out() {
	document.getElementById('minibars').style.background = "url('img/equipamentos/thumbs/minibars.jpg')";
	document.getElementById('label').innerHTML = '';
}

//minibars____________________________________________________________________________________________________________________________________
function e_minibars() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_minibars();'>minibars e frigobars</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="";
	document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById('Scrollerla'), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className='class2';
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='minibars1()'>> Frigobars/Minibars - tecnologia de absorção e termoeléctrica</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/equipamentos/img5.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 minibars1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produto.asp?Ref=!minibars&gLink=25500&gLng=1', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};

//____________________________________________________________________________________________
//___________________________________________vp____________________________
//____________________________________________________________________________________________
//vp over____________________________________________________________________________________________________________________________________
function vp_over() {
	document.getElementById('vp').style.background = "url('img/equipamentos/thumbs/vp_h.jpg')";
	document.getElementById('label').innerHTML = 'video porteiro';
}


//vp out____________________________________________________________________________________________________________________________________
function vp_out() {
	document.getElementById('vp').style.background = "url('img/equipamentos/thumbs/vp.jpg')";
	document.getElementById('label').innerHTML = '';
}

//vp____________________________________________________________________________________________________________________________________
function e_vp() {
	//coloca caminho na barra de cima
	document.getElementById('header_door').innerHTML="<a href='#' onclick='content_produtos_equipamentos();'>equipamentos</a> &nbsp; | &nbsp; <a href='#' onclick='e_vp();'>video porteiro</a>";
	
	//coloca lista lado esquerdo e scroll se for o caso	
	document.getElementById('listagem').innerHTML="";
	document.getElementById('scrolls_lista').style.visibility ='hidden';
	
	lalala  = new jsScroller2(document.getElementById('Scrollerla'), 270, 100);
	lalala.scrollTo(0,0);
	
	
	//coloca titulo, texto e scroll se for o caso
	document.getElementById('Scroller-1').className='class2';
	document.getElementById('detalhes').innerHTML="";
	document.getElementById('inlinktit').innerHTML='DETALHES TÉCNICOS';
	document.getElementById('inlinktxt').innerHTML="<a href='#' onclick='vp1()'>> video porteiro a preto e branco</a><a href='#' onclick='vp2()'>> video porteiro a cores</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/equipamentos/img6.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 vp1() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25600', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
function vp2() {
    var g = {
        player:     'iframe',
        content:    'http://www.cifial.pt/v4/produtos.asp?gLng=1&gLink=25600', title: '', width: '685px', height: '500px'
    };

    Shadowbox.open([g]);

};
