/*

put 
ID="DHTML_Header"
ID="DHTML_Menu"
ID="DHTML_Footer"
in balises that contain the HTML code of Header/Menu/Footer

put in the HTML HEADER (with css links) with the right path : 
<script language="javascript" src="js/print_page.js"></script>

function is called by :
<a href="#" onClick="TemplatePrint(this)"  class="green_link_template">Print Page</a>

*/

	function TemplatePrint(myObjLink) {

		if (myObjLink.innerHTML == "&gt;&gt;&nbsp;Back&nbsp;to&nbsp;previous&nbsp;page") {
			myDisplayValue = '';
			myObjLink.innerHTML = "<img src='http://www.insead.edu/images/template/print.gif'>";
		} else {
			myDisplayValue = 'none';
			myObjLink.innerHTML = "&gt;&gt;&nbsp;Back&nbsp;to&nbsp;previous&nbsp;page";
		}
		document.getElementById('DHTML_Header').style.display	= myDisplayValue;
		document.getElementById('DHTML_Menu').style.display		= myDisplayValue;
		document.getElementById('DHTML_Footer').style.display	= myDisplayValue;
		document.getElementById('DHTML_Right_Menu').style.display	= myDisplayValue;
	}

function popUp(page)
{
 var largeur =340
 var hauteur =283
 var top=(screen.height-hauteur)/2;
 var left=(screen.width-largeur)/2;
 window.open(page,"flash","top="+top+",left="+left+",width="+largeur+",height="+hauteur+",'menubar=no,status=no,resize=no'");
}

function top(file_name)
{var win=window.open(file_name,"Media","width=500,height=300,alwaysRaised,toolbar=no,directories=no,status=no,scrollbars=yes,menubar=yes,resizable=yes");if (win.focus) win.focus();}
<!--
function directlink()
{
if (document.form.liste2.selectedIndex != 0) document.location=document.form.liste2.options[document.form.liste2.selectedIndex].value;
else alert('Make a choice in the list')
}

<!--

//-->

function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}
//-->
