/* Créé par Ling pour Multiple-Media.com le 25 avril 2007, gabarit 1 */

function ClearContent(para, remind){

	obj = document.getElementById("SearchField");
	if (para == 0){
	   if (obj.value==remind)
	     obj.value="";
	}
	else
	{
		 if (obj.value==""){
	     obj.value=remind;
	     obj.select();
	   }
	}
}




function hideTip(tipId){
document.getElementById(tipId).className='hide';
}
function showTip (tipId){
document.getElementById(tipId).className='help';
}

function printPage(){ 

var sitename ="Éclairs de sciences";
var docHtmlTitle = document.title;

  if (document.all||document.getElementById){
    if (document.all){
      var contenuImprimable=document.all.printZone;
	  }
    else if (document.getElementById)
      {var contenuImprimable=document.getElementById("printZone");
	  }
    var win2=window.open("","","status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=750,height=420");
    win2.document.write("<html><head><title>"+ sitename +"</title>");
   
win2.document.write("<link rel='stylesheet' href='../files/css/template.css' type='text/css'>");
win2.document.write("<link rel='stylesheet' href='../files/css/print.css' type='text/css'>");
win2.document.write("<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-1'></head><body onload='window.print()'>");

 win2.document.write("<H2>" + sitename + " - " + docHtmlTitle + "</H2>");

    win2.document.write(contenuImprimable.innerHTML);
    win2.document.write("</body></html>");
    win2.document.close();
  } else
    window.print();
}

