// Popups functions
function Popup1(a,b,c,d){
	  //d= yes|no for scrollbars

      self.name="main";
      var width=a+20;
      var height=b+45;
      var w = window.screen.width;
      var h = window.screen.height;
      var l = (w-width)/2;
      var t = (h-height)/2;
      ad=open(c,'popup',config='width='+width+', height='+height+',toolbar=no,scrollbars='+d+',resizable=no,location=no,directories=no,status=no,menubar=no,titlebar=no,fullscreen=no');
      ad.blur();	// Hide while updating
      window.focus();
      ad.resizeTo(width, height);
      ad.moveTo(l, t);
      ad.focus();
      ad.document.close()
    }
//
function showtime() {
  timeleft = timeleft - 1;
  if (timeleft == 0) {
    self.close();
  }
  document.getElementById('countdown').innerHTML = timeleft;
  timerID = setTimeout("showtime()",1000);
}
//

function Restore() {
  if(opener) {
     opener.location.href="../7th_agenda.html";
  }
  else {
    location.href="../7th_agenda.html";
  }
}

function pf_page(content) {
        w=open("",'popup',config='width=565, height=435, toolbar=yes, scrollbars=yes, resizable=yes, location=yes, statusbar=1, status=yes');	
		//w.document.write ( '<?xml version="1.0" encoding="ISO-8859-1"?>\n' );
		//w.document.write ( '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-transitional.dtd ">\n' );
		//w.document.write ( '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n' );
		w.document.open();
		w.document.write ( '<html>\n' );
		w.document.write ( '<head>\n' );
		w.document.write ( '<link rel="stylesheet" href="/optimized.css" type="text/css" />\n' );
		w.document.write ( '<link rel="stylesheet" href="/print.css" type="text/css" media="print" />\n' );
		//experimental//
		w.document.write ( '<script type="text/javascript">\n');
		w.document.write ( 'if(navigator.userAgent.indexOf("Firefox")!=-1){\n' );
		w.document.write ( 'setTimeout("stop_loading();",8000);\n' );
		w.document.write ( '}\n' );
		w.document.write ( 'function stop_loading() {\n');
        w.document.write ( 'window.stop();\n' );
		w.document.write ( '}\n' );
		w.document.write ( '</script>\n');
		w.document.write ( '</head>\n' );
		w.document.write ( '<body style="text-align:left;">\n' );
		w.document.write ( '<div id="print_button"><a href="javascript:window.print();"><img class="w3c" src="/images/print/print_icon.gif" alt="" /> print this page</a></div>\n');
		w.document.write ( content );
		w.document.write ( '</body>\n' );
		w.document.write ( '</html>\n' );
		if(navigator.userAgent.indexOf("Firefox")!=-1){
			 //we do nothing
		}
		else {
		  w.document.close();
		}
				

}

function pf_page_f(content) {
        w=open("",'popup',config='width=565, height=435, toolbar=yes, scrollbars=yes, resizable=yes, location=yes, statusbar=1, status=yes');	
		//w.document.write ( '<?xml version="1.0" encoding="ISO-8859-1"?>\n' );
		//w.document.write ( '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-transitional.dtd ">\n' );
		//w.document.write ( '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n' );
		w.document.open();
		w.document.write ( '<html>\n' );
		w.document.write ( '<head>\n' );
		w.document.write ( '<link rel="stylesheet" href="/optimized.css" type="text/css" />\n' );
		w.document.write ( '<link rel="stylesheet" href="/print.css" type="text/css" media="print" />\n' );
		//experimental//
		w.document.write ( '<script type="text/javascript">\n');
		w.document.write ( 'if(navigator.userAgent.indexOf("Firefox")!=-1){\n' );
		w.document.write ( 'setTimeout("stop_loading();",8000);\n' );
		w.document.write ( '}\n' );
		w.document.write ( 'function stop_loading() {\n');
        w.document.write ( 'window.stop();\n' );
		w.document.write ( '}\n' );
		w.document.write ( '</script>\n');
		w.document.write ( '</head>\n' );
		w.document.write ( '<body style="text-align:left;">\n' );
		w.document.write ( '<div id="print_button"><a href="javascript:window.print();"><img class="w3c" src="/images/print/print_icon.gif" alt="" /> imprimer cette page</a></div>\n');
		w.document.write ( content );
		w.document.write ( '</body>\n' );
		w.document.write ( '</html>\n' );
		if(navigator.userAgent.indexOf("Firefox")!=-1){
			 //we do nothing
		}
		else {
		  w.document.close();
		}
				

}
//
function launch() {
	  var id= 'Recherche';
      var url;
	  url = 'http://canadianaudiology.ca.previewmysite.com/cgi-bin/search.cgi?Action=Search' +
	        '&connector='        + document.getElementById(id).connector.value               +
			'&results_per_page=' + document.getElementById(id).results_per_page.value        +
			'&start_at='         + document.getElementById(id).start_at.value                +
			'&Meta='             + document.getElementById(id).Meta.value                    +
			'&show_summary='     + document.getElementById(id).show_summary.value            +
			'&show_url='         + document.getElementById(id).show_url.value                +
			'&click_on_url='     + document.getElementById(id).click_on_url.value            +
			'&click_on_title='   + document.getElementById(id).click_on_title.value          +
			'&keywords='         + document.getElementById(id).keywords.value;
	  w= window.open (url,'search_result', 'status=1,toolbar=0,scrollbars=1,resizable=1,location=1,width=490,height=610');	  
	}
//(c)2004 Perséďdes solutions web inc. - tous droits réservés
      