// JavaScript Document
<!--
	function getElementStyle(el_id, name_1, name_2){
		elem=document.getElementById(el_id);
		if(elem.currentStyle){
		return elem.currentStyle[name_1];
		}else if(window.getComputedStyle){
		cStyle=window.getComputedStyle(elem, "");
		return cStyle.getPropertyValue(name_2);
		}
		return "";
	}
	function modificaBestSel(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_b");
		d2 = document.getElementById("id_t2_b");
		d3 = document.getElementById("id_t3_b");
		d4 = document.getElementById("id_t4_b");
		d5 = document.getElementById("id_t5_b");
		
		dh1 =getElementStyle("id_t1_b",'heigh','height');
		dh2 =getElementStyle("id_t2_b",'heigh','height');
		dh3 =getElementStyle("id_t3_b",'heigh','height');
		dh4 =getElementStyle("id_t4_b",'heigh','height');
		dh5 =getElementStyle("id_t5_b",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		dh5_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh5[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_) + parseInt(dh5_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh4_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d4.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaCart(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_c");
		d2 = document.getElementById("id_t2_c");
		d3 = document.getElementById("id_t3_c");
		d4 = document.getElementById("id_t4_c");
		
		dh1 =getElementStyle("id_t1_c",'heigh','height');
		dh2 =getElementStyle("id_t2_c",'heigh','height');
		dh3 =getElementStyle("id_t3_c",'heigh','height');
		dh4 =getElementStyle("id_t4_c",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d3.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaCheckout(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh2_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d2.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaContact(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_c");
		d2 = document.getElementById("id_t2_c");
		d3 = document.getElementById("id_t3_c");
		d4 = document.getElementById("id_t4_c");
		
		dh1 =getElementStyle("id_t1_c",'heigh','height');
		dh2 =getElementStyle("id_t2_c",'heigh','height');
		dh3 =getElementStyle("id_t3_c",'heigh','height');
		dh4 =getElementStyle("id_t4_c",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d3.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaFAQ(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh2_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d2.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaHome(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_h");
		d2 = document.getElementById("id_t2_h");
		d3 = document.getElementById("id_t3_h");
		d4 = document.getElementById("id_t4_h");
		d5 = document.getElementById("id_t5_h");
		d6 = document.getElementById("id_t6_h");
		
		dh1 =getElementStyle("id_t1_h",'heigh','height');
		dh2 =getElementStyle("id_t2_h",'heigh','height');
		dh3 =getElementStyle("id_t3_h",'heigh','height');
		dh4 =getElementStyle("id_t4_h",'heigh','height');
		dh5 =getElementStyle("id_t5_h",'heigh','height');
		dh6 =getElementStyle("id_t6_h",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		dh5_ = "";
		dh6_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh5[i];	}
		for (i = 0; i < dh6.length - 2 ; i ++ ) { dh6_ = dh6_ + dh6[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_) + parseInt(dh5_) + parseInt(dh6_) ;
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh4_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d4.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaLink(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_l");
		d2 = document.getElementById("id_t2_l");
		if (document.getElementById("id_t3_l")!=null) {
			d3 = document.getElementById("id_t3_l");
		}
		d4 = document.getElementById("id_t4_l");
		d5 = document.getElementById("id_t5_l");
		d6 = document.getElementById("id_t6_l");
		d7 = document.getElementById("id_t7_l");
		
		dh1 =getElementStyle("id_t1_l",'heigh','height');
		dh2 =getElementStyle("id_t2_l",'heigh','height');
		if (document.getElementById("id_t3_l")!=null) {
			dh3 =getElementStyle("id_t3_l",'heigh','height');
		}
		dh4 =getElementStyle("id_t4_l",'heigh','height');
		dh5 =getElementStyle("id_t5_l",'heigh','height');
		dh6 =getElementStyle("id_t6_l",'heigh','height');
		dh7 =getElementStyle("id_t7_l",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		dh5_ = "";
		dh6_ = "";
		dh7_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		if (document.getElementById("id_t3_l")!=null) {
			for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh5[i];	}
		for (i = 0; i < dh6.length - 2 ; i ++ ) { dh6_ = dh6_ + dh6[i];	}
		for (i = 0; i < dh7.length - 2 ; i ++ ) { dh7_ = dh7_ + dh7[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		if (document.getElementById("id_t3_l")!=null) {
			vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_) + parseInt(dh5_) + parseInt(dh6_) + parseInt(dh7_);
		} else {
			vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh4_) + parseInt(dh5_) + parseInt(dh6_) + parseInt(dh7_);
		}
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh6_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d6.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaLogin(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_l");
		d2 = document.getElementById("id_t2_l");
		d3 = document.getElementById("id_t3_l");
		d4 = document.getElementById("id_t4_l");
		d5 = document.getElementById("id_t5_l");
		d6 = document.getElementById("id_t6_l");
		d7 = document.getElementById("id_t7_l");
		d8 = document.getElementById("id_t8_l");
		
		dh1 =getElementStyle("id_t1_l",'heigh','height');
		dh2 =getElementStyle("id_t2_l",'heigh','height');
		dh3 =getElementStyle("id_t3_l",'heigh','height');
		dh4 =getElementStyle("id_t4_l",'heigh','height');
		dh5 =getElementStyle("id_t5_l",'heigh','height');
		dh6 =getElementStyle("id_t6_l",'heigh','height');
		dh7 =getElementStyle("id_t7_l",'heigh','height');
		dh8 =getElementStyle("id_t8_l",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		dh5_ = "";
		dh6_ = "";
		dh7_ = "";
		dh8_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh3[i];	}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh3[i];	}
		for (i = 0; i < dh6.length - 2 ; i ++ ) { dh6_ = dh6_ + dh3[i];	}
		for (i = 0; i < dh7.length - 2 ; i ++ ) { dh7_ = dh7_ + dh3[i];	}
		for (i = 0; i < dh8.length - 2 ; i ++ ) { dh8_ = dh8_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_) + parseInt(dh5_) + parseInt(dh6_) + parseInt(dh7_) + parseInt(dh8_) + 127;
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh7_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d7.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaMyMenu(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_m");
		d2 = document.getElementById("id_t2_m");
		if (document.getElementById("id_t3_m")!=null) {
			d3 = document.getElementById("id_t3_m");
		}
		d5 = document.getElementById("id_t5_m");
		d9 = document.getElementById("id_t9_m");
		
		dh1 =getElementStyle("id_t1_m",'heigh','height');
		dh2 =getElementStyle("id_t2_m",'heigh','height');
		if (document.getElementById("id_t3_m")!=null) {
			dh3 =getElementStyle("id_t3_m",'heigh','height');
		}
		dh5 =getElementStyle("id_t5_m",'heigh','height');
		dh9 =getElementStyle("id_t9_m",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh5_ = "";
		dh9_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		if (document.getElementById("id_t3_m")!=null) {
			for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh5[i];	}
		for (i = 0; i < dh9.length - 2 ; i ++ ) { dh9_ = dh9_ + dh9[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		if (document.getElementById("id_t3_m")!=null) {
			vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh5_)+ parseInt(dh9_);
		} else {
			vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh5_)+ parseInt(dh9_);
		}
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh5_);

			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d5.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaNews(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		d4 = document.getElementById("id_t4_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		dh4 =getElementStyle("id_t4_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d3.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaNoPage(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh2_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d2.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaProcessing(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh2_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d2.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaProduct(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_p");
		d2 = document.getElementById("id_t2_p");
		if (document.getElementById("id_t2_p_")!=null) {
			d2_ = document.getElementById("id_t2_p_");
		}
		if (document.getElementById("id_t3_p")!=null) {
			d3 = document.getElementById("id_t3_p");
		}
		d4 = document.getElementById("id_t4_p");
		d5 = document.getElementById("id_t5_p");
		
		dh1 =getElementStyle("id_t1_p",'heigh','height');
		dh2 =getElementStyle("id_t2_p",'heigh','height');
		if (document.getElementById("id_t2_p_")!=null) {
			dh2_k =getElementStyle("id_t2_p_",'heigh','height');
		}
		if (document.getElementById("id_t3_p")!=null) {
			dh3 =getElementStyle("id_t3_p",'heigh','height');
		}
		dh4 =getElementStyle("id_t4_p",'heigh','height');
		dh5 =getElementStyle("id_t5_p",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh2__ = "";
		dh3_ = "";
		dh4_ = "";
		dh5_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		if (document.getElementById("id_t2_p_")!=null) {
			for (i = 0; i < dh2_k.length - 2 ; i ++ ) { dh2__ = dh2__ + dh2_k[i];	}
		}
		if (document.getElementById("id_t3_p")!=null) {
			for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh5[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		if (document.getElementById("id_t3_p")!=null) {
			vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_) + parseInt(dh5_) ;
		} else {
			vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh4_) + parseInt(dh5_) ;
		}
		if (document.getElementById("id_t2_p_")!=null) {
			vd = vd + parseInt(dh2__);
		}
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh4_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d4.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaRegister(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_r");
		d2 = document.getElementById("id_t2_r");
		d3 = document.getElementById("id_t3_r");
		d4 = document.getElementById("id_t4_r");
		d5 = document.getElementById("id_t5_r");
		d6 = document.getElementById("id_t6_r");
		d7 = document.getElementById("id_t7_r");
		
		dh1 =getElementStyle("id_t1_r",'heigh','height');
		dh2 =getElementStyle("id_t2_r",'heigh','height');
		dh3 =getElementStyle("id_t3_r",'heigh','height');
		dh4 =getElementStyle("id_t4_r",'heigh','height');
		dh5 =getElementStyle("id_t5_r",'heigh','height');
		dh6 =getElementStyle("id_t6_r",'heigh','height');
		dh7 =getElementStyle("id_t7_r",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		dh4_ = "";
		dh5_ = "";
		dh6_ = "";
		dh7_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		for (i = 0; i < dh4.length - 2 ; i ++ ) { dh4_ = dh4_ + dh4[i];	}
		for (i = 0; i < dh5.length - 2 ; i ++ ) { dh5_ = dh5_ + dh5[i];	}
		for (i = 0; i < dh6.length - 2 ; i ++ ) { dh6_ = dh6_ + dh6[i];	}
		for (i = 0; i < dh7.length - 2 ; i ++ ) { dh7_ = dh7_ + dh7[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_) + parseInt(dh4_) + parseInt(dh5_) + parseInt(dh6_) + parseInt(dh7_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh5_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d5.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaSalPolicy(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh2_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d2.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
	function modificaSearch(){
		s1 = document.getElementById("id_tabel_categorii");
		s2 = document.getElementById("id_tabel_spec_offer");
		//s3 = document.getElementById("id_tabel_cards");
		s4 = document.getElementById("id_tabel_certificat");
		s4_1 = document.getElementById("id_certificat_den");
		s4_2 = document.getElementById("id_cert_princip");
		s4_3 = document.getElementById("id_cert_princip1");
		s4_4 = document.getElementById("id_cert_sub");
				
		sh1 =getElementStyle("id_tabel_categorii",'heigh','height');
		sh2 =getElementStyle("id_tabel_spec_offer",'heigh','height');
		//sh3 =getElementStyle("id_tabel_cards",'heigh','height');
		sh4 =getElementStyle("id_tabel_certificat",'heigh','height');
		sh4_1 =getElementStyle("id_certificat_den",'heigh','height');
		sh4_2 =getElementStyle("id_cert_princip",'heigh','height');
		sh4_3 =getElementStyle("id_cert_princip1",'heigh','height');
		sh4_4 =getElementStyle("id_cert_sub",'heigh','height');
		
		sh1_ = "";
		sh2_ = "";
		sh3_ = "";
		sh4_ = "";
		sh4_1_ = "";
		sh4_2_ = "";
		sh4_3_ = "";
		sh4_4_ = "";
		
		for (i = 0; i < sh1.length - 2 ; i ++ ) { sh1_ = sh1_ + sh1[i];	}
		for (i = 0; i < sh2.length - 2 ; i ++ ) { sh2_ = sh2_ + sh2[i];	}
		//for (i = 0; i < sh3.length - 2 ; i ++ ) { sh3_ = sh3_ + sh3[i];}
		for (i = 0; i < sh4.length - 2 ; i ++ ) { sh4_ = sh4_ + sh4[i];	}
		for (i = 0; i < sh4_1.length - 2 ; i ++ ) { sh4_1_ = sh4_1_ + sh4_1[i];	}
		for (i = 0; i < sh4_2.length - 2 ; i ++ ) { sh4_2_ = sh4_2_ + sh4_2[i];	}
		for (i = 0; i < sh4_3.length - 2 ; i ++ ) { sh4_3_ = sh4_3_ + sh4_3[i];	}
		for (i = 0; i < sh4_4.length - 2 ; i ++ ) { sh4_4_ = sh4_4_ + sh4_4[i];	}
		
		d1 = document.getElementById("id_t1_f");
		d2 = document.getElementById("id_t2_f");
		d3 = document.getElementById("id_t3_f");
		
		dh1 =getElementStyle("id_t1_f",'heigh','height');
		dh2 =getElementStyle("id_t2_f",'heigh','height');
		dh3 =getElementStyle("id_t3_f",'heigh','height');
		
		dh1_ = "";
		dh2_ = "";
		dh3_ = "";
		
		for (i = 0; i < dh1.length - 2 ; i ++ ) { dh1_ = dh1_ + dh1[i];	}
		for (i = 0; i < dh2.length - 2 ; i ++ ) { dh2_ = dh2_ + dh2[i];	}
		for (i = 0; i < dh3.length - 2 ; i ++ ) { dh3_ = dh3_ + dh3[i];	}
		
		vs = parseInt(sh1_) + parseInt(sh2_) + parseInt(sh3_) + /*parseInt(sh4_) +*/ 45 + 18;
		vd = parseInt(dh1_) + parseInt(dh2_) + parseInt(dh3_);
		
		//alert (vs+"\n"+vd);
		
		if (vs > vd){
			// partea stinga e mai mare
			dif = vs - vd;
			i0 = parseInt(dh2_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			d2.style.height = inalt;
		} else {
			// partea dreapta e mai mare
			dif = vd - vs;
			i0 = parseInt(sh4_3_);
			inaltime = i0 + dif;
			inalt = inaltime+'px';
			s4_3.style.height = inalt;
		}
	}
//-->