
function popUp( pageToLoad, winName, scrollbars, width, height, center) 
{ 

   xposition=0; yposition=0;

   if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
      xposition = (screen.width - width) / 2;
      yposition = (screen.height - height) / 2;
   } 

   args = "width=" + width + "," 
   + "height=" + height + ","  
   + "location=0," 
   + "menubar=0,"
   + "resizable=0,"
   + "scrollbars=" + scrollbars + ","
   + "status=0," 
   + "titlebar=0,"
   + "toolbar=0,"
   + "hotkeys=0,"
   + "screenx=" + xposition + "," //NN Only
   + "screeny=" + yposition + "," //NN Only
   + "left=" + xposition + "," //IE Only
   + "top=" + yposition; //IE Only

   window.open(pageToLoad,winName,args);


}

function openSearch() {

  _words=document.search.q.value;

  _query='http://search.disinfo.com/cgi-bin/search.cgi?ps=20&o=0&m=all&wm=wrd&q='+_words;

  popUp(_query, 'Disinformation_Search', 1, 620, 400, 1);

  return false;

}




