// Site directory (with trailing slash), Références multiple times within this file.
var site  = "/";

function optionPrint() { 
	var sOption="toolbar=no,location=no,directories=no,menubar=yes,scrollbars=yes,width=650,height=550,left=25,top=25";

	var sContent = document.getElementById('print-content').innerHTML;

	var winprint=window.open("","",sOption);
		winprint.document.open();
		winprint.document.write('<html><head><title>La Société des obstétriciens et gynécologues du Canada (SOGC)</title><link rel="stylesheet" type="text/css" href="'+site+'common/sogc.css"></head><body>');
		winprint.document.write('<table border="0" cellspacing="10" cellpadding="0" width="100%"><tr valign="top"><td width="85"><img src="'+site+'images/logo.gif" alt="The Society of Obstetricians and Gynaecologists of Canada (SOGC)" width="68" height="100" border="0"></td><td id="content" style="padding-top: 76px;">');
		winprint.document.write(sContent);
		winprint.document.write('</td></tr><tr><td colspan="2" id="print-footer"><div>Droits d\'auteur La Société des obstétriciens et gynécologues du Canada (SOGC). Tous droits réservés.</div></td></tr></table></div>');
		winprint.document.write('</body></html>'); 
		winprint.document.close(); 
		winprint.focus(); 
	}
	
function popupWindow(url, name, w, h, x, y) {
	if (!w) w = 450;
	if (!h) h = 470;
	if (!x) x = 25;
	if (!y) y = 25;
	
	 winprops = 'toolbar=no,location=no,' +
    'directories=no,status=no,menubar=no,scrollbars=yes,' +
    'resizable=no,copyhistory=no,width='+w+',height='+h+',' +
    'screenX='+x+',screenY='+y+',top='+x+',left='+y	
	
	win = window.open(url, name, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function ValidateSearchBox()
{ 
	if ((document.forms["search"].elements["CiRestriction"].value == "")||(document.forms["search"].elements["CiRestriction"].value == "Chercher...")) 
	{
		return false;
	}
	else
	{
		return true;
	}
}<!-- 

 -->