// Drop-down menu for submenu class
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

// Script imprima pagina
function go()
{
var a = window. open('','','scrollbars=yes,width=600,height=500');

a.document.open("text/html");
a.document.write('<html><head><title>CCIB print page</title><style type="text/css">h1{font-family:Arial, Helvetica, sans-serif;font-size: 16px;color: #000000;font-weight:normal;margin: 0px;padding: 0px;}h2{font-family:Arial, Helvetica, sans-serif;font-size: 12px;color: #333333;font-weight:normal;margin: 0px;padding: 0px;}</style></head><body style="padding:10px;background-color:#FFFFFF;font-family: Arial, Helvetica, sans-serif;font-size:12px;color:#333333;">');
a.document.write(document.getElementById('print').innerHTML);
a.document.write('<p style="color:#FF3300"><br/><b>Camera de Comert si Industrie a Municipiului Bucuresti</b><br/>Url: www.ccib.ro<br/>E-mail: office@ccib.ro</p></body></html>');
a.document.close();
a.print();
}
//-->

<!-- Script manipulare marime font
var min=8;
var max=18;
function increaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}
//-->