function toggleDiv(divId) {
			if($(''+divId).style.display == 'none') {
				$(''+divId).style.display = '';
			} else {
				$(''+divId).style.display = 'none';
			}
		}
		function add_mail_to_list(){
			if ($('newsl_email').value == '' ){
				alert('Nu ati introdus adresa de email!');
				$('newsl_email').focus();
			}else{
				var url = "add_to_newsletter_list.php?email=" + $('newsl_email').value;
				new Ajax.Request(url, {
				  method: 'get',
				  onSuccess: function(transport) {
				  		rasp = transport.responseText;
						alert(rasp);
						$('newsl_email').value = '';
						$('newsl_email').focus();
					}
				});
			}
		}

	var big_pictures_x = [];
	var big_pictures_y = [];
	var big_pictures_pic = [];
	var big_pictures_link = [];

	big_pictures_x['resurse_umane'] = 257;
	big_pictures_y['resurse_umane'] = 170;
	big_pictures_pic['resurse_umane'] = "url('img/resurse_umane.png')";
	big_pictures_link['resurse_umane'] = "resurse_umane.php";


	big_pictures_x['management_documente'] = 456;
	big_pictures_y['management_documente'] = 279;
	big_pictures_pic['management_documente'] = "url('img/management_documente.png')";
	big_pictures_link['management_documente'] = "management_documente.php";

	big_pictures_x['financiar'] = 258;
	big_pictures_y['financiar'] = 64;
	big_pictures_pic['financiar'] = "url('img/financiar.png')";
	big_pictures_link['financiar'] = "financiar.php";

	big_pictures_x['management_proiecte'] = 358;
	big_pictures_y['management_proiecte'] = 118;
	big_pictures_pic['management_proiecte'] = "url('img/management_proiecte.png')";
	big_pictures_link['management_proiecte'] = "management_proiecte.php";

	big_pictures_x['iso9001'] = 356;
	big_pictures_y['iso9001'] = 226;
	big_pictures_pic['iso9001'] = "url('img/iso9001.png')";
	big_pictures_link['iso9001'] = "iso9001.php";

	big_pictures_x['mesagerie_interna'] = 456;
	big_pictures_y['mesagerie_interna'] = 64;
	big_pictures_pic['mesagerie_interna'] = "url('img/mesagerie_interna.png')";
	big_pictures_link['mesagerie_interna'] = "mesagerie_interna.php";

	big_pictures_x['instruire_interna'] = 456;
	big_pictures_y['instruire_interna'] = 172;
	big_pictures_pic['instruire_interna'] = "url('img/instruire_interna.png')";
	big_pictures_link['instruire_interna'] = "instruire_interna.php";

	big_pictures_x['parteneri'] = 256;
	big_pictures_y['parteneri'] = 278;
	big_pictures_pic['parteneri'] = "url('img/parteneri.png')";
	big_pictures_link['parteneri'] = "parteneri.php";

	big_pictures_x['productie'] = 157;
	big_pictures_y['productie'] = 223;
	big_pictures_pic['productie'] = "url('img/productie.png')";
	big_pictures_link['productie'] = "productie.php";

	big_pictures_x['gestiune'] = 159;
	big_pictures_y['gestiune'] = 116;
	big_pictures_pic['gestiune'] = "url('img/gestiune.png')";
	big_pictures_link['gestiune'] = "gestiune.php";

	big_pictures_x['reclamatii_clienti'] = 61;
	big_pictures_y['reclamatii_clienti'] = 168;
	big_pictures_pic['reclamatii_clienti'] = "url('img/reclamatii_clienti.png')";
	big_pictures_link['reclamatii_clienti'] = "reclamatii_clienti.php";

	function getY(oElement) {
		var iReturnValue = 0;
		while(oElement != null) {
			iReturnValue += oElement.offsetTop;
			oElement = oElement.offsetParent;
		}
		return iReturnValue;
	}

	function getX(oElement) {
		var iReturnValue = 0;
		while(oElement != null) {
			iReturnValue += oElement.offsetLeft;
			oElement = oElement.offsetParent;
		}
		return iReturnValue;
	}

	function showBiggerPicture(divid) {
		//alert(big_pictures_pic[divid]);
		map = $('image_with_map');
		$('big_picture').className = 'visible_pic';
		$('big_picture').style.left = getX(map)+big_pictures_x[divid];
		$('big_picture').style.top = getY(map)+big_pictures_y[divid];

		//$('big_picture').style.left = getX(area)+"px";
		//$('big_picture').style.top = getY(area)+"px";

		if (typeof document.body.style.maxHeight == "undefined")  {
			// IE 6
			$('big_picture').style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale', src='"+big_pictures_pic[divid]+"')";
		} else {
			$('big_picture').style.backgroundImage = big_pictures_pic[divid];
		}

		$('big_picture_link').href = big_pictures_link[divid];
	}
	function hideBiggerPicture(divid) {
		$('big_picture').className = 'invisible_pic';
	}