var enl;
var txt;
var tit;
function enlarge(enl,txt,tit){
	if (navigator.appVersion.substring(0,3) >= 4){
		popup=window.open("","","toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,resizable=1");
		popup.document.writeln("<HTML>");
		popup.document.writeln("<HEAD>");
		popup.document.writeln("<TITLE>PBI - "+ tit +"</TITLE>");
		popup.document.writeln("</HEAD>");
		popup.document.writeln("<BODY onload=\"self.resizeTo(self.document.photo.width + 50,self.document.photo.height + 85)\" text=Black LINK=White VLINK=White ALINK=White topmargin=10 leftmargin=0>");
		popup.document.writeln("<BASEFONT FACE=ARIAL>");
		popup.document.writeln("<CENTER><TABLE width=240 border=0 cellpadding=2 cellspacing=0>");
		popup.document.writeln("	<TR>");
		popup.document.writeln("		<TD align=middle valign=top bgcolor=black>");
		popup.document.writeln(enl);
		popup.document.writeln("			");
//		popup.document.writeln("			<BR><FONT color=white size=4><B>" + tit + "</B></FONT><br>");
		popup.document.writeln("		</TD>");
		popup.document.writeln("	</TR>");
		popup.document.writeln("	<TR>");
		popup.document.writeln("		<TD align=center valign=top><P><FONT size=2>");
		popup.document.writeln(txt);
		popup.document.writeln("		</FONT></P></TD>");
		popup.document.writeln("	</TR>");
		popup.document.writeln("	</TABLE><P>");
		popup.document.writeln("</BODY>");
		popup.document.writeln("</HTML>");
		popup.document.close();
		popup.focus();
		}else{
		alert("Sorry, your browser does not allow you to view this high resolution picture");
	 };
}

function GetTime() {
					 var dt = new Date();
					 var def = dt.getTimezoneOffset()/60;
					 var gmt = (dt.getHours() + def);
					 var ending = ":" + IfZero(dt.getMinutes()) + ":" + IfZero(dt.getSeconds());
					 var _GMT =check24(((gmt) > 24) ? ((gmt) - 24) : (gmt));
					 document.clock.ldate.value = (IfZero(dt.getMonth() + 1) + "/" + IfZero(dt.getDate()) + "/" + (dt.getFullYear()));
					 //document.clock.zdate.value = (IfZero(dt.getUTCMonth() + 1) + "/" +
					//IfZero(dt.getUTCDate()) + "/" +  (dt.getUTCFullYear()));
					 document.clock.local.value = (IfZero(dt.getHours()) + ":" + IfZero(dt.getMinutes()) + ":" + IfZero(dt.getSeconds()));
					 //document.clock._GMT.value = (IfZero(_GMT) + ":" + IfZero(dt.getMinutes()) +
					//":" + IfZero(dt.getSeconds()));
					window.status='PYRÉNÉES BÉARN IMMOBILIER    ' + document.clock.ldate.value + ' ' + document.clock.local.value;
					//window.status='PYRÉNÉES BÉARN IMMOBILIER    ' + dt;
					 setTimeout("GetTime()", 1000);
				}
				function IfZero(num) {
					return ((num <= 9) ? ("0" + num) : num);
				}
				function check24(hour) {
					return (hour >= 24) ? hour - 24 : hour;
				}