function Print(Title, What)
{
	PrintData = "<html>\n<head>\n<title>"+Title+"</title>\n<meta http-equiv='content-type' content='text/html; charset=iso-8859-1'>\n<link rel='stylesheet' href='css/neowi.css' type='text/css'>\n</head>\n<body onLoad='opener.PrintCallBack(window);'>\n<img src='/images/bien/bon_visite_logo.jpg'>\n"+What+"</body>\n</html>\n";
  	PrintWindow = window.open("about:blank", "Print", "width=600,height=600,menubar=no,location=no,scrollbars=no,status=no");
	PrintWindow.document.open();
	PrintWindow.document.write(PrintData);
	PrintWindow.document.close();
}

function PrintCallBack(Object)
{
	Object.print();
	Object.close();
}

function Email(What)
{
	PrintData = "<html>\n<head>\n<title>E-mail</title>\n<meta http-equiv='content-type' content='text/html; charset=iso-8859-1'>\n<link rel='stylesheet' href='css/neowi.css' type='text/css'>\n</head>\n<body>\n<form method='POST'><input type='hidden' name='Fiche' value='"+What+"'>\n</form>\n</body>\n</html>\n";
  	PrintWindow = window.open("about:blank", "Print", "width=100,height=100,menubar=no,location=no,scrollbars=no,status=no");
	PrintWindow.document.open();
	PrintWindow.document.write(PrintData);
	PrintWindow.document.close();
}

function EmailCallBack(Object)
{
	Object.print();
	Object.close();
}
