function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}





//meniul
function hideLayer(whichLayer) {

if (document.getElementById(whichLayer)) {
document.getElementById(whichLayer).style.visibility = "hidden";
}

}

function showLayer(whichLayer) {

if (document.getElementById(whichLayer)) {
document.getElementById(whichLayer).style.visibility = "visible";
}

}

function handleClick(whichClick, name) {
var teile= name.split(",");
if (whichClick == "hide it") {
  for (i=0;i<teile.length;i++) hideLayer(teile[i]);
}
else if (whichClick == "show it") {
  for (i=0;i<teile.length;i++) showLayer(teile[i]);
}

}
//end meniul
var myx;
var lay="";


function timex(r){
//var myVariable = setTimeout("alert('Time has run out!');", 4500);
if (r==1){
	var lay;
	 myx = setTimeout("hideLayer('about');hideLayer('noutati');hideLayer('clienti');hideLayer('produse');hideLayer('cariere');hideLayer('distributie');hideLayer('links');hideLayer('contact');hideLayer('pind');hideLayer('pgrp');hideLayer('cvnz');", 500);

}
else{
//var myVariable = setTimeout("alert('Time has run out!');", 4500);
//alert(10);
clearTimeout(myx);
}
}

function jump(){
	document.location='cariere_rezultate.html';
}
function jump2(){
	document.location='cariere_aplica.html';
}