<!-- 
		var getupnot = false;
		var getdwnot = false;
		var sautonot = true;
		var getupcol = false;
		var getdwcol = false;
		var sautocol = true;
		var getuppub = false;
		var getdwpub = false;
		var sautopub = true;
		var getupwrk = false;
		var getdwwrk = false;
		var sautowrk = true;
//**070908**
		var getupemp = false;
		var getdwemp = false;
		var sautoemp = true;
//**070908**
		var getuptexte = false;
		var getdwtexte = false;
		var sautotexte = true;
		function scrollnot ( objecte ) {
			var coord = objecte.getBoundingClientRect();
			var dalt = coord.top + 40;
			var baix = coord.bottom - 40;
			if ( event.clientY >= baix ) {
				getupnot = true;
				getdwnot = false;
			}
			if ( event.clientY <= dalt ) {
				getdwnot = true;
				getupnot = false;
			}
			if ( ( event.clientY > dalt ) && ( event.clientY < baix ) ) {
				getdwnot = false;
				getupnot = false;
			}
		}
		function ScrDelayNot ( ) {
			if ( sautonot == true ) {
				var scrtopnot = not.scrollHeight / 2 - 4;
				if ( not.scrollTop > scrtopnot )
					not.scrollTop = 0;
				else
					not.scrollTop = not.scrollTop + 1;
			}
//			window.status = scrtopnot + "  " + not.scrollHeight + "  " + not.scrollTop;
			window.setTimeout( ScrDelayNot, 40 );
		}
		function scrollcol ( objecte ) {
			var coord = objecte.getBoundingClientRect();
			var dalt = coord.top + 40;
			var baix = coord.bottom - 40;
			if ( event.clientY >= baix ) {
				getupcol = true;
				getdwcol = false;
			}
			if ( event.clientY <= dalt ) {
				getdwcol = true;
				getupcol = false;
			}
			if ( ( event.clientY > dalt ) && ( event.clientY < baix ) ) {
				getdwcol = false;
				getupcol = false;
			}
		}
		function ScrDelayCol ( ) {
			if ( sautocol == true ) {
				var scrtopcol = col.scrollWidth / 2;
				if ( col.scrollLeft > scrtopcol )
					col.scrollLeft = 0;
				else
					col.scrollLeft = col.scrollLeft + 1;
			}
			window.setTimeout( ScrDelayCol, 40 );
		}
		function ScrDelayPub ( ) {
			if ( sautopub == true ) {
				var scrtoppub = pub.scrollHeight / 2;
				if ( pub.scrollTop > scrtoppub )
					pub.scrollTop = 0;
				else
					pub.scrollTop = pub.scrollTop + 1;
			}
			window.setTimeout( ScrDelayPub, 40 );
		}
		function ScrDelayWrk ( ) {
			if ( sautowrk == true ) {
				var scrtopwrk = wrk.scrollHeight / 2;
				if ( wrk.scrollTop > scrtopwrk )
					wrk.scrollTop = 0;
				else
					wrk.scrollTop = wrk.scrollTop + 1;
			}
			window.setTimeout( ScrDelayWrk, 40 );
		}
//**070908**
		function ScrDelayEmp ( ) {
			if ( sautoemp == true ) {
				var scrtopemp = emp.scrollHeight / 2;
				if ( emp.scrollTop > scrtopemp )
					emp.scrollTop = 0;
				else
					emp.scrollTop = emp.scrollTop + 1;
			}
			window.setTimeout( ScrDelayEmp, 40 );
		}
//**070908**
		function scrolltexte ( objecte ) {
//			window.status = event.clientY + "  " + getup + "  " + getdw;
			var coord = objecte.getBoundingClientRect();
			var dalt = coord.top + 50;
			var baix = coord.bottom - 50;
			if ( event.clientY >= baix ) {
				getuptexte = true;
				getdwtexte = false;
			}
			if ( event.clientY <= dalt ) {
				getdwtexte = true;
				getuptexte = false;
			}
			if ( ( event.clientY > dalt ) && ( event.clientY < baix ) ) {
				getdwtexte = false;
				getuptexte = false;
			}
		}
		function scrolluptexte ( objecte ) {
			getuptexte = true;
			getdwtexte = false;
		}
		function scrolldwtexte ( objecte ) {
			getdwtexte = true;
			getuptexte = false;
		}
		function ScrDelayTexte ( ) {
			if ( getuptexte == true )
				texte.scrollTop = texte.scrollTop + 3;
			if ( getdwtexte == true )
				texte.scrollTop = texte.scrollTop - 3;
			window.setTimeout( ScrDelayTexte, 10 );
//			window.status = "vis: " + col.style.visibility + ", altura: " + col.style.height + ", oh: " + col.offsetHeight + ", scrtop: " + col.scrollTop + ", ch: " + col.clientHeight;
		}
		function alinea ( menu, objecte, texte, ample ) {
			var curleft = curtop = 0;
			var obj = objecte;
			if (obj.offsetParent) {
				curleft = obj.offsetLeft;
				curtop = obj.offsetTop;
				while (obj = obj.offsetParent) {
					curleft += obj.offsetLeft;
					curtop += obj.offsetTop;
				}
			}
			texte.style.color="#D70C0D";
			objecte.style.cursor="hand";
			menu.style.left = curleft + 2;
			menu.style.top = curtop + 26;
			menu.style.width = ample;
			menu.style.zIndex = 10;
			menu.style.visibility="visible";
		}
		function borra ( menu, objecte, texte ) {
			texte.style.color="#000000";
			menu.style.visibility="hidden";
			menu.style.zIndex = 0;
		}
		function show_props ( obj, obj_name ) {
			var result = "";
			for (var i in obj)
				result += obj_name + "." + i + " = " + obj[i] + "<br>";
			document.writeln(result);
		}
		function MM_findObj(n, d) { //v4.0
			var p,i,x;
			if(!d) d=document;
			if((p=n.indexOf("?"))>0&&parent.frames.length) {
				d=parent.frames[n.substring(p+1)].document;
				n=n.substring(0,p);
			}
			if(!(x=d[n])&&d.all) x=d.all[n];
			for (i=0;!x&&i<d.forms.length;i++)
				x=d.forms[i][n];
			for(i=0;!x&&d.layers&&i<d.layers.length;i++)
				x=MM_findObj(n,d.layers[i].document);
			if(!x && document.getElementById)
				x=document.getElementById(n);
			return x;
		}
		function MM_validateForm() { //v4.0
			var i,p,q,nm,test,num,min,max;
			var errors='',nerr=0,args=MM_validateForm.arguments;
			for (i=0; i<(args.length-2); i+=3) {
				test=args[i+2];
				val=MM_findObj(args[i]);
			    if (val) {
					nm=val.name;
					if ((val=val.value)!="") {
						if (test.indexOf('isEmail')!=-1) {
							p=val.indexOf('@');
						    if (p<1 || p==(val.length-1)) { 
								nerr += 1;
								errors+='EL campo \"'+nm+'\" debe contener una dirección e-mail.\n';
							}
						}
						else {
							if (test!='R') {
								if (isNaN(val)) {
									nerr += 1;
									errors+='El campo \"'+nm+'\" debe contener un número.\n';
								}
								if (test.indexOf('inRange') != -1) {
									p=test.indexOf(':');
							        min=test.substring(8,p); max=test.substring(p+1);
									if (val<min || max<val) {
										nerr += 1;
										errors+='El campo \"'+nm+'\" debe contener un número entre '+min+' y '+max+'.\n';
									}
								}
							}
						}
					}
					else {
						if (test.charAt(0) == 'R') {
							nerr += 1;
							errors += 'El campo \"'+nm+'\" es necesario.\n'; 
						}
					}
				}
			}
			if ( nerr) {
				if ( nerr ) 
					alert ( "S'han d'omplir tots els\n\ncamps marcats amb " + '"*"' );
			}
			document.MM_returnValue = (errors == '');
		}

		window.setTimeout ( ScrDelayNot, 8000 );
		window.setTimeout ( ScrDelayCol, 8000 );
		window.setTimeout ( ScrDelayPub, 8000 );
		window.setTimeout ( ScrDelayWrk, 8000 );
//**070908**
		window.setTimeout ( ScrDelayEmp, 8000 );		
//**070908**
		window.setTimeout ( ScrDelayTexte, 8000 );
//-->
