   function tempNotice(fname, tagname){	
    var newWindow=window.open(fname, tagname,"width=710,height=600,scrollbars,resizable");
	newWindow.focus();
}
   function docReader(fname, tagname){	
    var newWindow=window.open(fname, tagname,"width=630,height=781,scrollbars,resizable");
	newWindow.focus();
}

function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}

function expandDetail(det){
    var newWindow=window.open(det,"details","width=800,height=600,scrollbars,resizable");
	newWindow.focus();
}

function expandImage(img, cap){
    var newWindow=window.open(img,"image","width=800,height=600,scrollbars,resizable");
	newWindow.focus();
	newWindow.document.write("<html><head></head><body marginwidth=0 topmargin=0 leftmargin=0 marginheight=0><table cols=2 width=100% cellpadding=10 cellspacing=0 border=0><tr><td>");
	newWindow.document.write("<img SRC='" + img + "' BORDER=0></td>");
	newWindow.document.write("<td valign=top>" + cap + "</td></tr></table></body></html>");
	newWindow.document.close();
	newWindow.focus;
}

function loadIframe(iframeName, url) {
  if ( window.frames[iframeName] ) {
    window.frames[iframeName].location = url;   
    return false;
  }
  else return true;
}

function extLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}