function newWin(w,h,titre,cnt){
	leftPos = 0;
	topPos = 0;
	if (screen) {
		leftPos = (screen.width-w)/2
		topPos = (screen.height-h)/2
	}else{
		leftPos = (screen.InnerWidth-w)/2
		topPos = (screen.InnerHeight-h)/2
	}
	
	newWindow = window.open("", "newWin", "toolbar=no,location=no,scrollbars=no,resizable=yes,left="+leftPos+",top="+topPos+",width="+w+",height="+h+"");
	newWindow.document.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n");
	newWindow.document.write("<html><head><title>"+titre+"<\/title>\n");
	newWindow.document.write("<style type=\"text/css\">body{ margin: 0; padding: 10; background: #B8DA90; width: "+(w-20)+"px; }\n"
								+"body,p,a,h1,h2{ font-family: arial, sans-serif; color: #1D532E; }\n"
								+"a,p,body{ font-size: 12px; }\n"
								+"p.lnk{ line-height: 13px; margin-top: 2px; margin-bottom: 2px; }\n"
								+"a{text-decoration: underline; font-weight: bold; }\n"
								+"a:hover{ color: #000; }\n"
								+"h2{ font-size: 14px; }\n\n"
								+"h1{ font-size: 16px; }\n</style>\n<\/head>\n<body>\n");
	newWindow.document.writeln("<h1>"+titre+"</h1><p>"+cnt+"</p>");
	newWindow.document.write("<\/body><\/html>");
	newWindow.document.close();
	newWindow.focus();
}
/* pour quick time */
function MovieWin(w,h,titre,cnt){
	leftPos = 0;
	topPos = 0;
	if (screen) {
		leftPos = (screen.width-w)/2
		topPos = (screen.height-h)/2
	}else{
		leftPos = (screen.InnerWidth-w)/2
		topPos = (screen.InnerHeight-h)/2
	}

	W = window.open("", "Demilec", "toolbar=no,location=no,scrollbars=no,resizable=yes,left="+leftPos+",top="+topPos+",width="+w+",height="+(h+50)+"");
	W.document.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
	W.document.write("<html>\n<head>\n<title>"+titre+"<\/title>\n");
	W.document.write("<style type=\"text/css\">\nbody{ margin: 0; padding: 10; background: #B8DA90; width: "+(w-20)+"px; text-align: center }\np{ font-family: arial, sans-serif; color: #1D532E; margin: 5px 5px 3px 5px; font-size: 11px; line-height: 13px; }\n</style>\n<body>\n");
	W.document.write("<p>Le chargement peut varier dépendamment de la vitesse de votre connexion Internet<\/p>");
		W.document.writeln("<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\" width=\""+w+"\" height=\""+h+"\" \/>\n");
		W.document.writeln("<param name=\"cache\" value=\"true\" \/>\n");
		W.document.writeln("<param name=\"src\" value=\""+cnt+"\" \/>\n");
		W.document.writeln("<param name=\"autoplay\" value=\"true\" \/>\n");
		W.document.writeln("<param name=\"controller\" value=\"true\" \/>\n");
		W.document.writeln("<embed width=\""+w+"\" height=\""+h+"\" pluginspage=\"http://www.apple.com/quicktime/download/\" src=\""+cnt+"\" type=\"video/quicktime\" controller=\"true\" autoplay=\"true\" cache=\"true\" \/>\n");
		W.document.writeln("<\/object>\n");
	W.document.write("<\/body>\n<\/html>\n");
	W.document.close();
	W.focus();
}