var gCPsrcCnt = "70,000+" //global

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

var browser_ver = "";
var browser = "";
var mouseoversupport = "";
var browsername = navigator.appName;
var browserversion = parseInt(navigator.appVersion);

if (browsername == "Netscape")
{
   browser = "ns";
   browser_ver = "ns" + browserversion;
}
else if (browsername == "Microsoft Internet Explorer")
{
   browser = "ie";
   if (browserversion >= 4)
   {
      browser_ver = "ie" + browserversion;
   }
   else
   {
      browser_ver = "ie3";
   }
}
else if (browsername == "Opera")
{
   browser = "op";
   browser_ver = "op" + browserversion;
}
else
{
      // If no browser is identified, assume Opera version 1.0
   browser_ver = "op1";
}

function Popup(url)
{
   if (browser_ver=="ns3","ns4")
   {
   window.open(url,'Ad','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=370,height=410');
   mouseoversupport = "yes";
   }
   else if (browser_ver=="ie3","ie4")
   {
   window.open(url,'Ad','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=390');
   mouseoversupport = "yes";
   }
   else if (browser_ver=="op5")
   {
   window.open(url,'Ad','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=370,height=400');
   mouseoversupport = "yes";
   }
   else
   {
   window.open(url,'Ad','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=370,height=400');
   mouseoversupport = "no";
   }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

if (mouseoversupport) {
  pqs_masthead_adv_r4_c2_f2 = new Image(75 ,18); pqs_masthead_adv_r4_c2_f2.src = "advanced_sub/pqs_masthead_adv_r4_c2_f2.gif";
  pqs_masthead_adv_r4_c2_f1 = new Image(75 ,18); pqs_masthead_adv_r4_c2_f1.src = "advanced_sub/pqs_masthead_adv_r4_c2.gif";
  pqs_masthead_adv_r4_c3_f2 = new Image(84 ,18); pqs_masthead_adv_r4_c3_f2.src = "advanced_sub/pqs_masthead_adv_r4_c3_f2.gif";
  pqs_masthead_adv_r4_c3_f1 = new Image(84 ,18); pqs_masthead_adv_r4_c3_f1.src = "advanced_sub/pqs_masthead_adv_r4_c3.gif";
  pqs_masthead_adv_r4_c12_f2 = new Image(93 ,18); pqs_masthead_adv_r4_c12_f2.src = "advanced_sub/pqs_masthead_adv_r4_c12_f2.gif";
  pqs_masthead_adv_r4_c12_f1 = new Image(93 ,18); pqs_masthead_adv_r4_c12_f1.src = "advanced_sub/pqs_masthead_adv_r4_c12.gif";
  pqs_masthead_adv_r5_c5_f2 = new Image(78 ,18); pqs_masthead_adv_r5_c5_f2.src = "advanced_sub/pqs_masthead_adv_r5_c5_f2.gif";
  pqs_masthead_adv_r5_c5_f1 = new Image(78 ,18); pqs_masthead_adv_r5_c5_f1.src = "advanced_sub/pqs_masthead_adv_r5_c5.gif";
  pqs_masthead_adv_r5_c6_f2 = new Image(74 ,18); pqs_masthead_adv_r5_c6_f2.src = "advanced_sub/pqs_masthead_adv_r5_c6_f2.gif";
  pqs_masthead_adv_r5_c6_f1 = new Image(74 ,18); pqs_masthead_adv_r5_c6_f1.src = "advanced_sub/pqs_masthead_adv_r5_c6.gif";
  pqs_masthead_adv_r5_c7_f2 = new Image(73 ,18); pqs_masthead_adv_r5_c7_f2.src = "advanced_sub/pqs_masthead_adv_r5_c7_f2.gif";
  pqs_masthead_adv_r5_c7_f1 = new Image(73 ,18); pqs_masthead_adv_r5_c7_f1.src = "advanced_sub/pqs_masthead_adv_r5_c7.gif";
  pqs_masthead_adv_r5_c8_f2 = new Image(73 ,18); pqs_masthead_adv_r5_c8_f2.src = "advanced_sub/pqs_masthead_adv_r5_c8_f2.gif";
  pqs_masthead_adv_r5_c8_f1 = new Image(73 ,18); pqs_masthead_adv_r5_c8_f1.src = "advanced_sub/pqs_masthead_adv_r5_c8.gif";
  pqs_masthead_adv_r5_c9_f2 = new Image(82 ,18); pqs_masthead_adv_r5_c9_f2.src = "advanced_sub/pqs_masthead_adv_r5_c9_f2.gif";
  pqs_masthead_adv_r5_c9_f1 = new Image(82 ,18); pqs_masthead_adv_r5_c9_f1.src = "advanced_sub/pqs_masthead_adv_r5_c9.gif";
  }

Tips = new Array(39);
Tips[0] = new String( "Want to turn your bookmarks into actionable databases?" );
Tips[1] = new String( "Does your department or enterprise need a collaborative search solution?" );
Tips[2] = new String( "Search the contents of these databases simultaneously." );
Tips[3] = new String( "Tired of finding that previous Web documents are no longer available?" );
Tips[4] = new String( "Add new useful sites you discover to a personalized search database." );
Tips[5] = new String( "Track what others are saying about you and your brand." );
Tips[6] = new String( "Share and annotate your search results with others in your organization." );
Tips[7] = new String( "Want to search great results already discovered by your colleagues?" );
Tips[8] = new String( "Do you want COMPLETE control over the Internet search process?" );
Tips[9] = new String( "Want access to all search results within your organization while at home or on the road?" );
Tips[10] = new String( "Are you frustrated plowing through hundreds or thousands of meaningless results from search engines?" );
Tips[11] = new String( "Keep a permanent record of your most effective searches." );
Tips[12] = new String( "Would you like to search ALL of the text of great Web documents once discovered?" );
Tips[13] = new String( "Tired of looking for content you know is there but can't ever seem to find?" );
Tips[14] = new String( "If you're a corporate librarian, we have the perfect tool." );
Tips[15] = new String( "Is competitive intelligence an important part of your job?" );
Tips[16] = new String( "Do you monitor similar topics on the Web on a frequent basis?" );
Tips[17] = new String( "Improve your Internet search productivity by 10-fold or more." );
Tips[18] = new String( "Do you have favorite sites you monitor on a frequent basis?" );
Tips[19] = new String( "Would you like to keep a permanent archive of Internet search discoveries?" );
Tips[20] = new String( "If you're a knowledge worker that relies on Web searching, we have the perfect tool for you." );
Tips[21] = new String( "Tired of querying, surfing and scrolling, querying, surfing and scrolling...?" );
Tips[22] = new String( "Frustrated not being able to find the Internet content you want?" );
Tips[23] = new String( "At least $30 billion is wasted annually by companies due to inadequate Internet searches. We have a solution." );
Tips[24] = new String( "Does the idea of searching any or all of your favorite databases at once appeal to you?" );
Tips[25] = new String( "Are there several people in your company who routinely search the Internet? We can make them more efficient." );
Tips[26] = new String( "Want to find out what is being said about your company on message boards and chat rooms?" );
Tips[27] = new String( "Consolidate all Web content about a given topic into a single, searchable, sharable database." );
Tips[28] = new String( "Do you want to routinely filter the garbage from shopping and travel sites or from other unwanted categories?" );
Tips[29] = new String( "Take complete control and gain flexibility over all aspects of the Internet search process." );
Tips[30] = new String( "Want to impress your boss by discovering and packaging Web results never before found?" );
Tips[31] = new String( "Monitor your brand on a daily basis with one persistent query." );
Tips[32] = new String( "Monitor your competition every day." );
Tips[33] = new String( "If you're a corporate researcher who relies on Web searching, we have a solution for you." );
Tips[34] = new String( "Search the content of these sites simultaneously." );
Tips[35] = new String( "Want to find out what others are saying about your company?" );
Tips[36] = new String( "Could you have an irate customer that is posting negative comments about you or your products?" );
Tips[37] = new String( "Could your competition have other products or lower prices that you'd like to know about?" );
Tips[38] = new String( "Has someone else entered your market space?" );

function writeTip( )
{
   var now = new Date();
   var Quote = Math.floor( Math.random( ) * 39 );
   return( "<font color=\"#cc0099\"><b>" + Tips[Quote] + " <a href=\"http://brightplanet.com/dqm.html\">Learn more...</a></b></font>" );
}
