document.write('<img width=580 height=359 src=\"/evp2008/Senate/Pngs/Aug31-s.png\" usemap=\"#Aug31-s.png\" border=0><map name=\"Aug31-s.png\">');
document.write('<area href=\"/evp2008/Senate/Graphs/alabama.html\" onmouseover=\"return escape(tooltip(\'Alabama\',\'1\',\'31\',\'58\',\'\',\'Jul 31\',\'Rasmussen\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: <b>Kerry State%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush EV%  <br>2000: <b>Gore State%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush EV%<br>1996: <b>Clinton State%</b>&nbsp; &nbsp;Dole EV%<br>1992: <b>Clinton State%</b>&nbsp; &nbsp;Bush EV%\',\'Bush EV%  \',\'Dem\'));\" shape=poly coords=\"387,224,415,221,423,250,428,257,426,264,429,275,398,278,398,281,401,281,401,287,397,288,394,282,393,289,387,289\">');
document.write('<area href=\"/evp2008/Senate/Graphs/alaska.html\" onmouseover=\"return escape(tooltip(\'Alaska\',\'1\',\'56\',\'39\',\'\',\'Aug 12\',\'Ivan Moore Research\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 37%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 63%  </b><br>2000: Gore 42%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 57%</b><br>1996: Clinton 43%&nbsp; &nbsp;<b>Dole 50%</b><br>1992: Clinton 41%&nbsp; &nbsp;<b>Bush 48%</b>\',\'<b>Bush 63%  </b>\',\'\'));\" shape=poly coords=\"10,273,17,271,20,264,32,258,65,268,66,317,79,320,92,335,84,341,68,321,52,316,39,334,32,332,15,341,13,340,29,326,6,321,11,309,22,302,22,296,11,298,5,293,15,285,15,280,10,278\">');
document.write('<area href=\"/evp2008/Senate/Graphs/arkansas.html\" onmouseover=\"return escape(tooltip(\'Arkansas\',\'1\',\'90\',\'0\',\'\',\'Mar 10\',\'Estimate; only opponent is Green\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 45%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 55%  </b><br>2000: Gore 45%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 51%</b><br>1996: <b>Clinton 47%</b>&nbsp; &nbsp;Dole 44%<br>1992: Clinton 37%&nbsp; &nbsp;<b>Bush 39%</b>\',\'<b>Bush 55%  </b>\',\'\'));\" shape=poly coords=\"313,211,368,206,354,249,355,254,351,256,323,257,322,250,317,250,316,230\">');
document.write('<area href=\"/evp2008/Senate/Graphs/colorado.html\" onmouseover=\"return escape(tooltip(\'Colorado\',\'1\',\'39\',\'31\',\'\',\'Aug 24\',\'Suffolk U.\',\'\',\'9939444\',\'Weak Democrat\',\'\',\'2004: <b>Kerry 55%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 44%  <br>2000: <b>Gore 53%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 42%<br>1996: <b>Clinton 51%</b>&nbsp; &nbsp;Dole 38%<br>1992: <b>Clinton 46%</b>&nbsp; &nbsp;Bush 33%\',\'Bush 44%  \',\'\'));\" shape=poly coords=\"161,148,156,202,233,206,233,152\">');
document.write('<area href=\"/evp2008/Senate/Graphs/delaware.html\" onmouseover=\"return escape(tooltip(\'Delaware\',\'1\',\'58\',\'41\',\'\',\'Jan 01\',\'Election 2002\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 54%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 44%  <br>2000: <b>Gore 56%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 38%<br>1996: <b>Clinton 53%</b>&nbsp; &nbsp;Dole 35%<br>1992: <b>Clinton 42%</b>&nbsp; &nbsp;Bush 36%\',\'Bush 44%  \',\'\'));\" shape=poly coords=\"507,132,512,149,519,147,518,144,515,144,513,138\">');
document.write('<area href=\"/evp2008/Senate/Graphs/delaware.html\" onmouseover=\"return escape(tooltip(\'Delaware\',\'1\',\'58\',\'41\',\'\',\'Jan 01\',\'Election 2002\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 54%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 44%  <br>2000: <b>Gore 56%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 38%<br>1996: <b>Clinton 53%</b>&nbsp; &nbsp;Dole 35%<br>1992: <b>Clinton 42%</b>&nbsp; &nbsp;Bush 36%\',\'Bush 44%  \',\'\'));\" shape=poly coords=\"533,193,533,208,579,208,579,193\">');
document.write('<area href=\"/evp2008/Senate/Graphs/georgia.html\" onmouseover=\"return escape(tooltip(\'Georgia\',\'1\',\'43\',\'48\',\'\',\'Aug 14\',\'Rasmussen\',\'\',\'16422550\',\'Weak Republican\',\'\',\'2004: <b>Kerry 53%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 46%  <br>2000: <b>Gore 55%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 42%<br>1996: <b>Clinton 52%</b>&nbsp; &nbsp;Dole 37%<br>1992: <b>Clinton 44%</b>&nbsp; &nbsp;Bush 35%\',\'Bush 46%  \',\'\'));\" shape=poly coords=\"415,221,441,217,440,222,468,242,473,253,472,272,467,272,465,278,463,276,431,278,426,261,428,256,425,253\">');
document.write('<area href=\"/evp2008/Senate/Graphs/idaho.html\" onmouseover=\"return escape(tooltip(\'Idaho\',\'1\',\'30\',\'41\',\'\',\'Aug 22\',\'Greg Smith\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 41%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 58%  </b><br>2000: Gore 43%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 55%</b><br>1996: Clinton 46%&nbsp; &nbsp;<b>Dole 47%</b><br>1992: <b>Clinton 44%</b>&nbsp; &nbsp;Bush 43%\',\'<b>Bush 58%  </b>\',\'\'));\" shape=poly coords=\"111,29,102,27,94,67,98,73,87,89,89,90,82,121,142,131,146,97,128,95,124,90,117,76,115,59,110,49,109,35\">');
document.write('<area href=\"/evp2008/Senate/Graphs/illinois.html\" onmouseover=\"return escape(tooltip(\'Illinois\',\'1\',\'61\',\'31\',\'\',\'Aug 12\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 54%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 45%  <br>2000: <b>Gore 56%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 38%<br>1996: <b>Clinton 57%</b>&nbsp; &nbsp;Dole 32%<br>1992: <b>Clinton 48%</b>&nbsp; &nbsp;Bush 37%\',\'Bush 45%  \',\'\'));\" shape=poly coords=\"348,124,353,133,345,141,346,148,342,154,344,164,352,170,354,173,359,174,357,180,357,184,368,190,371,197,379,196,382,189,383,178,385,170,380,131,374,122\">');
document.write('<area href=\"/evp2008/Senate/Graphs/iowa.html\" onmouseover=\"return escape(tooltip(\'Iowa\',\'1\',\'58\',\'34\',\'\',\'Aug 07\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 55%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 45%  <br>2000: <b>Gore 55%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 43%<br>1996: <b>Clinton 54%</b>&nbsp; &nbsp;Dole 37%<br>1992: <b>Clinton 49%</b>&nbsp; &nbsp;Bush 34%\',\'Bush 45%  \',\'\'));\" shape=poly coords=\"287,118,296,156,340,152,345,148,343,142,352,133,337,113\">');
document.write('<area href=\"/evp2008/Senate/Graphs/kansas.html\" onmouseover=\"return escape(tooltip(\'Kansas\',\'1\',\'31\',\'58\',\'\',\'Aug 20\',\'SurveyUSA\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 39%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 60%  </b><br>2000: Gore 41%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 57%</b><br>1996: Clinton 42%&nbsp; &nbsp;<b>Dole 47%</b><br>1992: Clinton 37%&nbsp; &nbsp;<b>Bush 43%</b>\',\'<b>Bush 60%  </b>\',\'\'));\" shape=poly coords=\"233,165,305,165,305,170,310,175,312,204,287,206,233,206\">');
document.write('<area href=\"/evp2008/Senate/Graphs/kentucky.html\" onmouseover=\"return escape(tooltip(\'Kentucky\',\'1\',\'40\',\'52\',\'\',\'Aug 11\',\'SurveyUSA\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 49%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 50%  </b><br>2000: <b>Gore 49%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 48%<br>1996: <b>Clinton 50%</b>&nbsp; &nbsp;Dole 40%<br>1992: <b>Clinton 43%</b>&nbsp; &nbsp;Bush 37%\',\'<b>Bush 50%  </b>\',\'\'));\" shape=poly coords=\"371,205,373,196,378,196,382,187,388,183,391,185,400,180,403,181,413,168,413,163,418,162,421,165,431,167,435,165,440,168,439,172,446,179,433,195,384,202,384,204\">');
document.write('<area href=\"/evp2008/Senate/Graphs/louisiana.html\" onmouseover=\"return escape(tooltip(\'Louisiana\',\'1\',\'53\',\'37\',\'\',\'Aug 17\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 37%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 62%  </b><br>2000: Gore 37%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 58%</b><br>1996: Clinton 36%&nbsp; &nbsp;<b>Dole 54%</b><br>1992: Clinton 34%&nbsp; &nbsp;<b>Bush 39%</b>\',\'<b>Bush 62%  </b>\',\'\'));\" shape=poly coords=\"322,257,353,255,359,266,353,277,352,283,373,282,376,289,380,294,378,302,384,306,370,308,358,307,345,303,326,302,328,288,328,282,322,273\">');
document.write('<area href=\"/evp2008/Senate/Graphs/maine.html\" onmouseover=\"return escape(tooltip(\'Maine\',\'1\',\'38\',\'53\',\'\',\'Aug 12\',\'Rasmussen\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 40%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 60%  </b><br>2000: Gore 41%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 56%</b><br>1996: <b>Clinton 46%</b>&nbsp; &nbsp;Dole 45%<br>1992: <b>Clinton 45%</b>&nbsp; &nbsp;Bush 41%\',\'<b>Bush 60%  </b>\',\'\'));\" shape=poly coords=\"528,40,531,31,528,22,531,4,536,6,541,1,550,5,555,20,567,27,558,46,546,57,541,71\">');
document.write('<area href=\"/evp2008/Senate/Graphs/massachusetts.html\" onmouseover=\"return escape(tooltip(\'Massachusetts\',\'1\',\'56\',\'29\',\'\',\'Aug 05\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 53%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 45%  <br>2000: <b>Gore 49%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 44%<br>1996: <b>Clinton 52%</b>&nbsp; &nbsp;Dole 31%<br>1992: <b>Clinton 39%</b>&nbsp; &nbsp;Bush 30%\',\'Bush 45%  \',\'\'));\" shape=poly coords=\"519,84,520,93,541,86,546,92,561,92,556,80,552,84,544,80,546,74,542,74\">');
document.write('<area href=\"/evp2008/Senate/Graphs/massachusetts.html\" onmouseover=\"return escape(tooltip(\'Massachusetts\',\'1\',\'56\',\'29\',\'\',\'Aug 05\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 53%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 45%  <br>2000: <b>Gore 49%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 44%<br>1996: <b>Clinton 52%</b>&nbsp; &nbsp;Dole 31%<br>1992: <b>Clinton 39%</b>&nbsp; &nbsp;Bush 30%\',\'Bush 45%  \',\'\'));\" shape=poly coords=\"533,137,533,152,579,152,579,137\">');
document.write('<area href=\"/evp2008/Senate/Graphs/michigan.html\" onmouseover=\"return escape(tooltip(\'Michigan\',\'1\',\'59\',\'27\',\'\',\'Aug 21\',\'EPIC\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 56%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 43%  <br>2000: <b>Gore 57%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 40%<br>1996: <b>Clinton 54%</b>&nbsp; &nbsp;Dole 38%<br>1992: <b>Clinton 50%</b>&nbsp; &nbsp;Bush 36%\',\'Bush 43%  \',\'\'));\" shape=poly coords=\"342,71,363,55,359,64,365,62,371,67,391,59,391,63,410,78,428,107,423,118,422,124,386,130,390,115,384,101,386,90\">');
document.write('<area href=\"/evp2008/Senate/Graphs/minnesota.html\" onmouseover=\"return escape(tooltip(\'Minnesota\',\'1\',\'42\',\'44\',\'\',\'Aug 14\',\'SurveyUSA+Rasmussen+U. of Min\',\'\',\'16422550\',\'Barely Republican\',\'\',\'2004: <b>Kerry 62%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 37%  <br>2000: <b>Gore 60%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 33%<br>1996: <b>Clinton 62%</b>&nbsp; &nbsp;Dole 28%<br>1992: <b>Clinton 48%</b>&nbsp; &nbsp;Bush 29%\',\'Bush 37%  \',\'\'));\" shape=poly coords=\"292,117,291,92,285,88,289,83,281,43,298,42,298,37,302,37,304,44,310,47,316,46,319,45,325,49,330,50,334,52,337,49,349,50,337,61,329,70,324,85,327,89,325,96,328,101,334,104,343,113\">');
document.write('<area href=\"/evp2008/Senate/Graphs/mississippi.html\" onmouseover=\"return escape(tooltip(\'Mississippi\',\'1\',\'42\',\'47\',\'\',\'Aug 21\',\'Rasmussen\',\'\',\'16422550\',\'Weak Republican\',\'\',\'2004: <b>Kerry 51%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 48%  <br>2000: <b>Gore 51%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 46%<br>1996: <b>Clinton 52%</b>&nbsp; &nbsp;Dole 39%<br>1992: <b>Clinton 44%</b>&nbsp; &nbsp;Bush 36%\',\'Bush 48%  \',\'\'));\" shape=poly coords=\"352,282,353,273,357,266,358,263,355,255,353,247,356,242,356,239,360,234,361,229,363,228,387,224,386,289,376,289,372,286,374,282\">');
document.write('<area href=\"/evp2008/Senate/Graphs/montana.html\" onmouseover=\"return escape(tooltip(\'Montana\',\'1\',\'63\',\'32\',\'\',\'Jan 01\',\'Election 2002\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 40%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 60%  </b><br>2000: Gore 41%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 58%</b><br>1996: Clinton 44%&nbsp; &nbsp;<b>Dole 49%</b><br>1992: Clinton 41%&nbsp; &nbsp;<b>Bush 50%</b>\',\'<b>Bush 60%  </b>\',\'\'));\" shape=poly coords=\"110,29,108,43,110,53,119,64,116,79,120,77,128,96,147,96,148,90,215,96,217,43\">');
document.write('<area href=\"/evp2008/Senate/Graphs/nebraska.html\" onmouseover=\"return escape(tooltip(\'Nebraska\',\'1\',\'31\',\'56\',\'\',\'Jul 28\',\'Rasmussen\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 46%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 53%  </b><br>2000: Gore 47%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 50%</b><br>1996: <b>Clinton 48%</b>&nbsp; &nbsp;Dole 41%<br>1992: <b>Clinton 44%</b>&nbsp; &nbsp;Bush 34%\',\'<b>Bush 53%  </b>\',\'\'));\" shape=poly coords=\"214,125,213,151,233,152,233,165,302,164,296,152,288,131,282,126,271,127,268,125\">');
document.write('<area href=\"/evp2008/Senate/Graphs/new-hampshire.html\" onmouseover=\"return escape(tooltip(\'New Hampshire\',\'1\',\'52\',\'41\',\'\',\'Aug 19\',\'Rasmussen+ARG\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 32%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 67%  </b><br>2000: Gore 33%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 62%</b><br>1996: Clinton 35%&nbsp; &nbsp;<b>Dole 54%</b><br>1992: Clinton 29%&nbsp; &nbsp;<b>Bush 47%</b>\',\'<b>Bush 67%  </b>\',\'\'));\" shape=poly coords=\"526,41,523,45,526,52,523,56,526,81,538,76,541,71\">');
document.write('<area href=\"/evp2008/Senate/Graphs/new-hampshire.html\" onmouseover=\"return escape(tooltip(\'New Hampshire\',\'1\',\'52\',\'41\',\'\',\'Aug 19\',\'Rasmussen+ARG\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 32%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 67%  </b><br>2000: Gore 33%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 62%</b><br>1996: Clinton 35%&nbsp; &nbsp;<b>Dole 54%</b><br>1992: Clinton 29%&nbsp; &nbsp;<b>Bush 47%</b>\',\'<b>Bush 67%  </b>\',\'\'));\" shape=poly coords=\"533,124,533,137,575,137,575,124\">');
document.write('<area href=\"/evp2008/Senate/Graphs/new-jersey.html\" onmouseover=\"return escape(tooltip(\'New Jersey\',\'1\',\'50\',\'35\',\'\',\'Aug 10\',\'Zogby+Quinnipia+Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 48%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 51%  </b><br>2000: Gore 46%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 50%</b><br>1996: <b>Clinton 44%</b>&nbsp; &nbsp;Dole 43%<br>1992: <b>Clinton 37%</b>&nbsp; &nbsp;Bush 35%\',\'<b>Bush 51%  </b>\',\'\'));\" shape=poly coords=\"509,107,509,118,515,123,509,131,519,141,523,132,523,118,520,115,520,109\">');
document.write('<area href=\"/evp2008/Senate/Graphs/new-jersey.html\" onmouseover=\"return escape(tooltip(\'New Jersey\',\'1\',\'50\',\'35\',\'\',\'Aug 10\',\'Zogby+Quinnipia+Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: Kerry 48%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 51%  </b><br>2000: Gore 46%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 50%</b><br>1996: <b>Clinton 44%</b>&nbsp; &nbsp;Dole 43%<br>1992: <b>Clinton 37%</b>&nbsp; &nbsp;Bush 35%\',\'<b>Bush 51%  </b>\',\'\'));\" shape=poly coords=\"533,179,533,193,579,193,579,179\">');
document.write('<area href=\"/evp2008/Senate/Graphs/new-mexico.html\" onmouseover=\"return escape(tooltip(\'New Mexico\',\'1\',\'51\',\'41\',\'\',\'Aug 20\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 50%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 49%  <br>2000: Gore 47%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 48%</b><br>1996: <b>Clinton 50%</b>&nbsp; &nbsp;Dole 40%<br>1992: <b>Clinton 39%</b>&nbsp; &nbsp;Bush 38%\',\'Bush 49%  \',\'\'));\" shape=poly coords=\"155,202,222,206,222,212,221,212,220,272,178,271,178,274,160,274,160,280,150,278\">');
document.write('<area href=\"/evp2008/Senate/Graphs/north-carolina.html\" onmouseover=\"return escape(tooltip(\'North Carolina\',\'1\',\'40\',\'40\',\'\',\'Aug 19\',\'Insider Advantage\',\'\',\'0\',\'Tied\',\'\',\'2004: Kerry 49%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 50%  </b><br>2000: <b>Gore 48%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 47%<br>1996: <b>Clinton 49%</b>&nbsp; &nbsp;Dole 42%<br>1992: <b>Clinton 46%</b>&nbsp; &nbsp;Bush 37%\',\'<b>Bush 50%  </b>\',\'\'));\" shape=poly coords=\"428,218,432,210,452,198,455,191,518,176,520,179,523,183,518,203,507,209,504,219,495,220,483,211,470,213,465,210,449,211,443,216\">');
document.write('<area href=\"/evp2008/Senate/Graphs/oklahoma.html\" onmouseover=\"return escape(tooltip(\'Oklahoma\',\'1\',\'30\',\'52\',\'\',\'Jul 23\',\'Sooner Poll\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 36%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 63%  </b><br>2000: Gore 33%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 61%</b><br>1996: Clinton 40%&nbsp; &nbsp;<b>Dole 47%</b><br>1992: Clinton 32%&nbsp; &nbsp;<b>Bush 44%</b>\',\'<b>Bush 63%  </b>\',\'\'));\" shape=poly coords=\"222,206,307,205,313,208,316,228,316,249,309,246,294,249,285,248,275,245,266,245,254,239,254,212,222,212\">');
document.write('<area href=\"/evp2008/Senate/Graphs/oregon.html\" onmouseover=\"return escape(tooltip(\'Oregon\',\'1\',\'38\',\'48\',\'\',\'Aug 07\',\'Rasmussen+SurveyUSA\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 49%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 51%  </b><br>2000: Gore 46%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 50%</b><br>1996: <b>Clinton 47%</b>&nbsp; &nbsp;Dole 41%<br>1992: <b>Clinton 40%</b>&nbsp; &nbsp;Bush 38%\',\'<b>Bush 51%  </b>\',\'\'));\" shape=poly coords=\"31,48,12,89,12,104,85,122,89,87,99,72,94,67,83,64,52,62,41,60,40,53,32,47\">');
document.write('<area href=\"/evp2008/Senate/Graphs/rhode-island.html\" onmouseover=\"return escape(tooltip(\'Rhode Island\',\'1\',\'72\',\'20\',\'\',\'Jul 01\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 52%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 48%  <br>2000: <b>Gore 47%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 46%<br>1996: <b>Clinton 47%</b>&nbsp; &nbsp;Dole 39%<br>1992: <b>Clinton 43%</b>&nbsp; &nbsp;Bush 33%\',\'Bush 48%  \',\'\'));\" shape=poly coords=\"537,87,538,96,543,94,542,86\">');
document.write('<area href=\"/evp2008/Senate/Graphs/rhode-island.html\" onmouseover=\"return escape(tooltip(\'Rhode Island\',\'1\',\'72\',\'20\',\'\',\'Jul 01\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 52%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 48%  <br>2000: <b>Gore 47%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 46%<br>1996: <b>Clinton 47%</b>&nbsp; &nbsp;Dole 39%<br>1992: <b>Clinton 43%</b>&nbsp; &nbsp;Bush 33%\',\'Bush 48%  \',\'\'));\" shape=poly coords=\"533,152,533,166,578,166,578,152\">');
document.write('<area href=\"/evp2008/Senate/Graphs/south-carolina.html\" onmouseover=\"return escape(tooltip(\'South Carolina\',\'1\',\'44\',\'54\',\'\',\'Jan 01\',\'Election 2002\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: <b>Kerry 51%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 49%  <br>2000: <b>Gore 51%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 46%<br>1996: <b>Clinton 49%</b>&nbsp; &nbsp;Dole 40%<br>1992: <b>Clinton 45%</b>&nbsp; &nbsp;Bush 36%\',\'Bush 49%  \',\'\'));\" shape=poly coords=\"475,253,466,240,444,222,441,221,443,217,450,212,465,210,471,213,483,211,498,221,492,228,491,233\">');
document.write('<area href=\"/evp2008/Senate/Graphs/south-dakota.html\" onmouseover=\"return escape(tooltip(\'South Dakota\',\'1\',\'60\',\'35\',\'\',\'Jul 09\',\'Rasmussen\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 60%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 39%  <br>2000: <b>Gore 61%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 32%<br>1996: <b>Clinton 60%</b>&nbsp; &nbsp;Dole 27%<br>1992: <b>Clinton 47%</b>&nbsp; &nbsp;Bush 29%\',\'Bush 39%  \',\'\'));\" shape=poly coords=\"217,84,214,122,282,125,287,128,287,93,282,83\">');
document.write('<area href=\"/evp2008/Senate/Graphs/tennessee.html\" onmouseover=\"return escape(tooltip(\'Tennessee\',\'1\',\'44\',\'54\',\'\',\'Jan 01\',\'Election 2002\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 38%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 60%  </b><br>2000: Gore 38%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 60%</b><br>1996: Clinton 43%&nbsp; &nbsp;<b>Dole 47%</b><br>1992: Clinton 37%&nbsp; &nbsp;<b>Bush 41%</b>\',\'<b>Bush 60%  </b>\',\'\'));\" shape=poly coords=\"362,227,368,206,384,204,384,201,454,191,451,197,443,202,431,211,427,219\">');
document.write('<area href=\"/evp2008/Senate/Graphs/texas.html\" onmouseover=\"return escape(tooltip(\'Texas\',\'1\',\'37\',\'48\',\'\',\'Aug 21\',\'Rasmussen\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: Kerry 43%&nbsp; &nbsp;&nbsp; &nbsp;<b>Bush 57%  </b><br>2000: Gore 47%&nbsp; &nbsp; &nbsp; &nbsp;<b>Bush 51%</b><br>1996: <b>Clinton 48%</b>&nbsp; &nbsp;Dole 46%<br>1992: <b>Clinton 47%</b>&nbsp; &nbsp;Bush 42%\',\'<b>Bush 57%  </b>\',\'\'));\" shape=poly coords=\"221,212,254,212,254,239,260,241,264,240,265,243,286,249,291,247,296,249,309,246,322,250,322,271,329,282,327,289,326,302,306,317,295,322,287,332,284,341,288,354,285,356,266,349,261,339,256,329,249,320,242,307,234,303,227,304,217,314,199,302,198,295,182,280,178,271,220,273,221,212\">');
document.write('<area href=\"/evp2008/Senate/Graphs/virginia.html\" onmouseover=\"return escape(tooltip(\'Virginia\',\'1\',\'59\',\'34\',\'\',\'Aug 12\',\'Rasmussen+SurveyUSA\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 59%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 39%  <br>2000: <b>Gore 51%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 41%<br>1996: <b>Clinton 53%</b>&nbsp; &nbsp;Dole 31%<br>1992: <b>Clinton 46%</b>&nbsp; &nbsp;Bush 30%\',\'Bush 39%  \',\'\'));\" shape=poly coords=\"433,195,447,180,451,182,458,181,466,175,470,160,475,160,476,155,482,146,488,146,489,144,495,155,507,156,511,165,509,167,518,176,515,177\">');
document.write('<area href=\"/evp2008/Senate/Graphs/west-virginia.html\" onmouseover=\"return escape(tooltip(\'West Virginia\',\'1\',\'63\',\'37\',\'\',\'Jan 01\',\'Election 2002\',\'\',\'4810990\',\'Strong Democrat\',\'\',\'2004: <b>Kerry 53%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 46%  <br>2000: <b>Gore 50%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 45%<br>1996: <b>Clinton 50%</b>&nbsp; &nbsp;Dole 37%<br>1992: <b>Clinton 43%</b>&nbsp; &nbsp;Bush 32%\',\'Bush 46%  \',\'\'));\" shape=poly coords=\"454,136,453,150,447,154,445,160,442,159,442,168,440,171,446,178,452,182,459,181,467,175,470,160,475,160,475,153,480,150,482,144,487,146,487,142,484,140,477,142,471,148,470,148,469,148,468,143,458,145\">');
document.write('<area href=\"/evp2008/Senate/Graphs/wyoming.html\" onmouseover=\"return escape(tooltip(\'Wyoming\',\'1\',\'30\',\'70\',\'\',\'Jan 01\',\'Election 2006\',\'\',\'16396850\',\'Strong Republican\',\'\',\'2004: <b>Kerry 50%&nbsp; &nbsp;</b>&nbsp; &nbsp;Bush 49%  <br>2000: <b>Gore 49%&nbsp; &nbsp; </b>&nbsp; &nbsp;Bush 48%<br>1996: <b>Clinton 49%</b>&nbsp; &nbsp;Dole 39%<br>1992: <b>Clinton 41%</b>&nbsp; &nbsp;Bush 37%\',\'Bush 49%  \',\'\'));\" shape=poly coords=\"147,90,141,144,213,151,215,97\">');
document.write('</map>');

/* This notice must be untouched at all times.

wz_tooltip.js    v. 3.26

The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de

Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
Created 1. 12. 2002 by Walter Zorn (Web: http://www.walterzorn.com )
Last modified: 10. 10. 2004

Cross-browser tooltips working even in Opera 5 and 6,
as well as in NN 4, Gecko-Browsers, IE4+, Opera 7 and Konqueror.
No onmouseouts required.
Appearance of tooltips can be individually configured
via commands within the onmouseovers.

LICENSE: LGPL

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License (LGPL) as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

function tooltip(state,ev,dem,gop,nader,pdate,source,filename,color,msg,kg,gore2000,gop2000,nader2000)
{
  if (dem == '')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><br><br><font size=1><i></td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';
  else {
  if (state == 'Alabama')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Vivian Figures (D): '+dem+'%</font><br><font color=red>Jeff Sessions* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Arizona')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_AZ!D (D): '+dem+'%</font><br><font color=red>_AZ!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Alaska')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Mark Begich (D): '+dem+'%</font><br><font color=red>Ted Stevens* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Arkansas')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Mark Pryor* (D): '+dem+'%</font><br><font color=red>(No Republican) (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'California')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_CA!D (D): '+dem+'%</font><br><font color=red>_CA!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Colorado')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Mark Udall (D): '+dem+'%</font><br><font color=red>Bob Schaffer (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Connecticut')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_CT!D (D): '+dem+'%</font><br><font color=red>_CT!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Delaware')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Joe Biden* (D): '+dem+'%</font><br><font color=red>Christine O\'Donnell (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Florida')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_FL!D (D): '+dem+'%</font><br><font color=red>_FL!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Georgia')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Jim Martin (D): '+dem+'%</font><br><font color=red>Saxby Chambliss* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Hawaii')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_HI!D (D): '+dem+'%</font><br><font color=red>_HI!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Idaho')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Larry LaRocco (D): '+dem+'%</font><br><font color=red>Jim Risch (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Illinois')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Dick Durbin* (D): '+dem+'%</font><br><font color=red>Steve Sauerberg (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Indiana')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_IN!D (D): '+dem+'%</font><br><font color=red>_IN!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Iowa')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Tom Harkin* (D): '+dem+'%</font><br><font color=red>Christopher Reed (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Kansas')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Jim Slattery (D): '+dem+'%</font><br><font color=red>Pat Roberts* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Kentucky')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Bruce Lunsford (D): '+dem+'%</font><br><font color=red>Mitch McConnell* '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Louisiana')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Mary Landrieu* (D): '+dem+'%</font><br><font color=red>John Kennedy '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Maine')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Tom Allen (D): '+dem+'%</font><br><font color=red>Susan Collins* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Maryland')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_MD!D (D): '+dem+'%</font><br><font color=red>_MD!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Massachusetts')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'John Kerry* (D): '+dem+'%</font><br><font color=red>Jeff Beatty (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Michigan')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Carl Levin* (D): '+dem+'%</font><br><font color=red>Jack Hoogendyk (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Minnesota')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Al Franken (D): '+dem+'%</font><br><font color=red>Norm Coleman* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Mississippi')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Ronnie Musgrove (D): '+dem+'%</font><br><font color=red>Roger Wicker (R): '+gop+'%</font><br><br>Thad Cochran (R) is certain to hold the other seat<br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Missouri')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_MO!D (D): '+dem+'%</font><br><font color=red>_MO!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Montana')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Max Baucus* (D): '+dem+'%</font><br><font color=red>Bob Kelleher (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Nebraska')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Scott Kleeb (D): '+dem+'%</font><br><font color=red>Mike Johanns (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Nevada')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_NV!D (D): '+dem+'%</font><br><font color=red>_NV!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'New Hampshire')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Jeanne Shaheen (D): '+dem+'%</font><br><font color=red>John Sununu* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'New Jersey')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Frank Lautenberg* (D): '+dem+'%</font><br><font color=red>Richard Zimmer (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'New Mexico')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Tom Udall (D): '+dem+'%</font><br><font color=red>Steve Pearce (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'New York')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_NY!D (D): '+dem+'%</font><br><font color=red>_NY!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'North Carolina')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Kay Hagan (D): '+dem+'%</font><br><font color=red>Elizabeth Dole* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'North Dakota')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_ND!D (D): '+dem+'%</font><br><font color=red>_AZ!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Ohio')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_OH!D (D): '+dem+'%</font><br><font color=red>_OH!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Oklahoma')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Andrew Rice (D): '+dem+'%</font><br><font color=red>James Inhofe* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Oregon')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Jeff Merkley (D): '+dem+'%</font><br><font color=red>Gordon Smith* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Pennsylvania')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_PA!D (D): '+dem+'%</font><br><font color=red>_PA!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Rhode Island')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Jack Reed* (D): '+dem+'%</font><br><font color=red>Bob Tingle (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'South Carolina')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Bob Conley (D): '+dem+'%</font><br><font color=red>Lindsey Graham* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'South Dakota')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Tim Johnson* (D): '+dem+'%</font><br><font color=red>Joel Dykstra (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Tennessee')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Robert Tuke (D): '+dem+'%</font><br><font color=red>Lamar Alexander* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Texas')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Rick Noriega (D): '+dem+'%</font><br><font color=red>John Cornyn* (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Utah')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_UT!D (D): '+dem+'%</font><br><font color=red>_UT!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Vermont')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_VT!D (D): '+dem+'%</font><br><font color=red>_VT!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Virginia')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Mark Warner (D): '+dem+'%</font><br><font color=red>Jim Gilmore (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Washington')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_WA!D (D): '+dem+'%</font><br><font color=red>_WA!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'West Virginia')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'Jay Rockefeller* (D): '+dem+'%</font><br><font color=red>Jay Wolfe (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

//  if (state == 'Wisconsin')
//     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'_WI!D (D): '+dem+'%</font><br><font color=red>_WI!R (R): '+gop+'%</font><br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

  if (state == 'Wyoming')
     return '<table width=100%><tr><td nowrap align=left><font size=4>'+state+' </font><br><font size=2 color="'+color+'"><b>'+msg+'</b></font><br><font size=2><font color=blue>'+kg+'? (D): '+dem+'%</font><br><font color=red>John Barrasso* (R): '+gop+'%</font><br><br>Michael Enzi (R) is certain to hold the other seat<br><br><font size=1><i>Source: '+source+' ('+pdate+')</td><tr><td align=left nowrap><font style:\"font-size:8px\"></font></td></table>';

 }
	
}

var ttBgColor      = '#F9FDC4';
var ttBgImg        = '';           // path to background image;
var ttBorderColor  = '#A83535';
var ttBorderWidth  = 2;
var ttDelay        = 000;          // time span until tooltip shows up [milliseconds]
var ttFontColor    = '#000000';
var ttFontFace     = 'arial,helvetica,sans-serif';
var ttFontSize     = '9pt';
var ttFontWeight   = 'normal';     // alternative is 'bold';
var ttOffsetX      = 8;            // horizontal offset of left-top corner from mousepointer
var ttOffsetY      = 19;           // vertical offset                   "
var ttPadding      = 3;            // spacing between border and content
var ttShadowColor  = '';
var ttShadowWidth  = 0;
var ttTitleColor   = '#ffffff';    // color of caption text
var ttWidth        = 225;

var tt_tags = new Array('a','area','b','big','caption','center','code','dd','div','dl','dt','em','h1','h2','h3','h4','h5','h6','i','img','input','li','map','ol','p','pre','s','small','span','strike','strong','sub','sup','table','td','th','tr','tt','u','var','ul','layer');

var tt_obj,                // current tooltip
tt_objW = 0, tt_objH = 0,  // width and height of tt_obj
tt_objX = 0, tt_objY = 0,
tt_offX = 0, tt_offY = 0,
xlim = 0, ylim = 0,        // right and bottom borders of visible client area
tt_above = false,          // true if T_ABOVE cmd
tt_static = false,         // tt_obj static?
tt_sticky = false,         // tt_obj sticky?
tt_wait = false,
tt_vis = false,            // tooltip visibility flag
tt_dwn = false,            // true while tooltip below mousepointer
tt_u = 'undefined',
tt_inputs = new Array();   // drop-down-boxes to be hidden in IE


var tt_db = (document.compatMode && document.compatMode != 'BackCompat')? document.documentElement : document.body? document.body : null,
tt_n = navigator.userAgent.toLowerCase();

var tt_op = !!(window.opera && document.getElementById),
tt_op6 = tt_op && !document.defaultView,
tt_ie = tt_n.indexOf('msie') != -1 && document.all && tt_db && !tt_op,
tt_n4 = (document.layers && typeof document.classes != "undefined"),
tt_n6 = (!tt_op && document.defaultView && typeof document.defaultView.getComputedStyle != "undefined"),
tt_w3c = !tt_ie && !tt_n6 && !tt_op && document.getElementById;

tt_n = '';


function tt_Int(t_x)
{
	var t_y;
     return isNaN(t_y = parseInt(t_x))? 0 : t_y;
}


function wzReplace(t_x, t_y)
{
	var t_ret = '',
	t_str = this,
	t_xI;
	while ((t_xI = t_str.indexOf(t_x)) != -1)
	{
		t_ret += t_str.substring(0, t_xI) + t_y;
		t_str = t_str.substring(t_xI + t_x.length);
	}
     return t_ret+t_str;
}
String.prototype.wzReplace = wzReplace;


function tt_N4Tags(tagtyp, t_d, t_y)
{
	t_d = t_d || document;
	t_y = t_y || new Array();
	var t_x = (tagtyp=='a')? t_d.links : t_d.layers;
	for (var z = t_x.length; z--;) t_y[t_y.length] = t_x[z];
	for (var z = t_d.layers.length; z--;) t_y = tt_N4Tags(tagtyp, t_d.layers[z].document, t_y);
     return t_y;
}


function tt_GetSelects()
{
	if (!(tt_ie || tt_op6)) return;
	if (document.all)
	{
		var t_i = document.all.tags('select').length; while (t_i--) tt_inputs[t_i] = document.all.tags('select')[t_i];
		if (tt_op6) for (t_i = document.all.tags('input').length; t_i--;) tt_inputs[t_i] = document.all.tags('input')[t_i];
	}
	else if (document.getElementsByTagName)
	{
		var t_i = document.getElementsByTagName('select').length; while (t_i--) tt_inputs[t_i] = document.getElementsByTagName('select')[t_i];
		if (tt_op6) for (t_i = document.getElementsByTagName('input').length; t_i--;) tt_inputs[t_i] = document.getElementsByTagName('input')[t_i];
	}
	var t_i = tt_inputs.length; while (t_i--)
	{
		tt_inputs[t_i].x = 0;
		tt_inputs[t_i].y = 0;
		var t_o = tt_inputs[t_i];
		while (t_o)
		{
			tt_inputs[t_i].x += t_o.offsetLeft || 0;
			tt_inputs[t_i].y += t_o.offsetTop|| 0;
			t_o = t_o.offsetParent;
		}
	}
}


function tt_Htm(tt, t_id, txt)
{
	var t_bgc = (typeof tt.T_BGCOLOR != tt_u)? tt.T_BGCOLOR : ttBgColor,
	t_bgimg   = (typeof tt.T_BGIMG != tt_u)? tt.T_BGIMG : ttBgImg,
	t_bc      = (typeof tt.T_BORDERCOLOR != tt_u)? tt.T_BORDERCOLOR : ttBorderColor,
	t_bw      = (typeof tt.T_BORDERWIDTH != tt_u)? tt.T_BORDERWIDTH : ttBorderWidth,
	t_ff      = (typeof tt.T_FONTFACE != tt_u)? tt.T_FONTFACE : ttFontFace,
	t_fc      = (typeof tt.T_FONTCOLOR != tt_u)? tt.T_FONTCOLOR : ttFontColor,
	t_fsz     = (typeof tt.T_FONTSIZE != tt_u)? tt.T_FONTSIZE : ttFontSize,
	t_fwght   = (typeof tt.T_FONTWEIGHT != tt_u)? tt.T_FONTWEIGHT : ttFontWeight,
	t_padd    = (typeof tt.T_PADDING != tt_u)? tt.T_PADDING : ttPadding,
	t_shc     = (typeof tt.T_SHADOWCOLOR != tt_u)? tt.T_SHADOWCOLOR : (ttShadowColor || 0),
	t_shw     = (typeof tt.T_SHADOWWIDTH != tt_u)? tt.T_SHADOWWIDTH : (ttShadowWidth || 0),
	t_tit     = (typeof tt.T_TITLE != tt_u)? tt.T_TITLE : '',
	t_titc    = (typeof tt.T_TITLECOLOR != tt_u)? tt.T_TITLECOLOR : ttTitleColor,
	t_w       = (typeof tt.T_WIDTH != tt_u)? tt.T_WIDTH  : ttWidth;
	if (t_shc || t_shw)
	{
		t_shc = t_shc || '#cccccc';
		t_shw = t_shw || 3;
	}
	if (tt_n4 && (t_fsz == '10px' || t_fsz == '11px')) t_fsz = '12px';


	var t_y = '<div id="' + t_id + '" style="position:absolute;z-index:1010;';
	t_y += 'left:0px;top:0px;width:' + (t_w+t_shw) + 'px;visibility:' + (tt_n4? 'hide' : 'hidden') + ';">';
	t_y += '<table border="0" cellpadding="0" cellspacing="0"' + (t_bc? (' bgcolor="' + t_bc + '"') : '') + ' width="' + t_w + '">';
	if (t_tit)
	{
		t_y += '<tr><td style="padding-left:3px;"><font color="' + t_titc + '" face="' + t_ff + '" ';
		t_y += 'style="color:' + t_titc + ';font-family:' + t_ff + ';font-size:' + t_fsz + ';"><b>';
		t_y += t_tit + '<\/b><\/font><\/td><\/tr>';
	}
	t_y += '<tr><td><table border="0" cellpadding="' + t_padd + '" cellspacing="' + t_bw + '" width="100%">';
	t_y += '<tr><td' + (t_bgc? (' bgcolor="' + t_bgc + '"') : '') + (t_bgimg? ' background="' + t_bgimg + '"' : '');
	if (tt_n6) t_y += ' style="padding:' + t_padd + 'px;"';
	t_y += '><font color="' + t_fc + '" face="' + t_ff + '"';
	t_y += ' style="color:' + t_fc + ';font-family:' + t_ff + ';font-size:' + t_fsz + ';font-weight:' + t_fwght + ';">';
	if (t_fwght == 'bold') t_y += '<b>';
	t_y += txt;
	if (t_fwght == 'bold') t_y += '<\/b>';
	t_y += '<\/font><\/td><\/tr><\/table><\/td><\/tr><\/table>';
	if (t_shw)
	{
		var t_spct = Math.round(t_shw*1.3);
		if (tt_n4)
		{
			t_y += '<layer bgcolor="' + t_shc + '" left="' + t_w + '" top="' + t_spct + '" width="' + t_shw + '" height="0"><\/layer>';
			t_y += '<layer bgcolor="' + t_shc + '" left="' + t_spct + '" align="bottom" width="' + (t_w-t_spct) + '" height="' + t_shw + '"><\/layer>';
		}
		else
		{
			var t_opa = tt_n6? '-moz-opacity:0.85;' : tt_ie? 'filter:Alpha(opacity=85);' : '';
			t_y += '<div id="' + t_id + 'R" style="position:absolute;background:' + t_shc + ';left:' + t_w + 'px;top:' + t_spct + 'px;width:' + t_shw + 'px;height:1px;overflow:hidden;' + t_opa + '"><\/div>';
			t_y += '<div style="position:relative;background:' + t_shc + ';left:' + t_spct + 'px;top:0px;width:' + (t_w-t_spct) + 'px;height:' + t_shw + 'px;overflow:hidden;' + t_opa + '"><\/div>';
		}
	}
	t_y += '<\/div>';
     return t_y;
}


function tt_Init()
{
	if (!(tt_op || tt_n4 || tt_n6 || tt_ie || tt_w3c)) return;

	var htm = tt_n4? '<div style="position:absolute;"><\/div>' : '',
	tags,
	t_tj,
	over,
	esc = 'return escape(';
	var i = tt_tags.length; while (i--)
	{
		tags = tt_ie? (document.all.tags(tt_tags[i]) || 1)
			: document.getElementsByTagName? (document.getElementsByTagName(tt_tags[i]) || 1)
			: (!tt_n4 && tt_tags[i]=='a')? document.links
			: 1;
		if (tt_n4 && (tt_tags[i] == 'a' || tt_tags[i] == 'layer')) tags = tt_N4Tags(tt_tags[i]);
		var j = tags.length; while (j--)
		{
			if (typeof (t_tj = tags[j]).onmouseover == 'function' && t_tj.onmouseover.toString().indexOf(esc) != -1 && !tt_n6 || tt_n6 && (over = t_tj.getAttribute('onmouseover')) && over.indexOf(esc) != -1)
			{
				if (over) t_tj.onmouseover = new Function(over);
				var txt = unescape(t_tj.onmouseover());
				htm += tt_Htm(
					t_tj,
					'tOoLtIp'+i+''+j,
					txt.wzReplace('& ','&')
				);

				t_tj.onmouseover = new Function('e',
					'tt_Show(e,'+
					'"tOoLtIp' +i+''+j+ '",'+
					(typeof t_tj.T_ABOVE != tt_u) + ','+
					((typeof t_tj.T_DELAY != tt_u)? t_tj.T_DELAY : ttDelay) + ','+
					((typeof t_tj.T_FIX != tt_u)? '"'+t_tj.T_FIX+'"' : '""') + ','+
					(typeof t_tj.T_LEFT != tt_u) + ','+
					((typeof t_tj.T_OFFSETX != tt_u)? t_tj.T_OFFSETX : ttOffsetX) + ','+
					((typeof t_tj.T_OFFSETY != tt_u)? t_tj.T_OFFSETY : ttOffsetY) + ','+
					(typeof t_tj.T_STATIC != tt_u) + ','+
					(typeof t_tj.T_STICKY != tt_u) +
					');'
				);
				t_tj.onmouseout = tt_Hide;
			}
		}
	}
	document.write(htm);
}


function tt_EvX(t_e)
{
	var t_y = tt_Int(t_e.pageX || t_e.clientX || 0) +
		tt_Int(tt_ie? tt_db.scrollLeft : 0) +
		tt_offX;
	if (t_y > xlim) t_y = xlim;
	var t_scr = tt_Int(window.pageXOffset || (tt_db? tt_db.scrollLeft : 0) || 0);
	if (t_y < t_scr) t_y = t_scr;
     return t_y;
}


function tt_EvY(t_e)
{
	var t_y = tt_Int(t_e.pageY || t_e.clientY || 0) +
		tt_Int(tt_ie? tt_db.scrollTop : 0);
	if (tt_above) t_y -= (tt_objH + tt_offY - (tt_op? 0x1f : 0xf));
	else if (t_y > ylim || !tt_dwn && t_y > ylim-0x18)
	{
		t_y -= (tt_objH + 5);
		tt_dwn = false;
	}
	else
	{
		t_y += tt_offY;
		tt_dwn = true;
	}
     return t_y;
}


function tt_ReleasMov()
{
	if (document.onmousemove == tt_Move)
	{
		if (document.releaseEvents) document.releaseEvents(Event.MOUSEMOVE);
		document.onmousemove = null;
	}
}


function tt_HideInput()
{
	if (!(tt_ie || tt_op6) || !tt_inputs) return;
	var t_o;
	var t_i = tt_inputs.length; while (t_i--)
	{
		t_o = tt_inputs[t_i];
		if (tt_vis && tt_objX+tt_objW > t_o.x && tt_objX < t_o.x+t_o.offsetWidth && tt_objY+tt_objH > t_o.y && tt_objY < t_o.y+t_o.offsetHeight)
			t_o.style.visibility = 'hidden';
		else t_o.style.visibility = 'visible';
	}
}


function tt_GetDiv(t_id)
{
     return (
		tt_n4? (document.layers[t_id] || null)
		: tt_ie? (document.all[t_id] || null)
		: (document.getElementById(t_id) || null)
	);
}


function tt_GetDivW()
{
     return (
		tt_n4? tt_obj.clip.width
		: tt_obj.style.pixelWidth? tt_obj.style.pixelWidth
		: tt_obj.offsetWidth
	);
}


function tt_GetDivH()
{
     return (
		tt_n4? tt_obj.clip.height
		: tt_obj.style.pixelHeight? tt_obj.style.pixelHeight
		: tt_obj.offsetHeight
	);
}


// Compat with DragDrop Lib: Ensure z-index of tooltip is lifted beyond toplevel dragdrop element
function tt_SetDivZ()
{
	var t_i = tt_obj.style || tt_obj;
	if (window.dd && dd.z)
		t_i.zIndex = Math.max(dd.z+1, t_i.zIndex);
}


function tt_SetDivPos(t_x, t_y)
{
	var t_i = tt_obj.style || tt_obj;
	var t_px = (tt_op6 || tt_n4)? '' : 'px';
	t_i.left = (tt_objX = t_x) + t_px;
	t_i.top = (tt_objY = t_y) + t_px;
	tt_HideInput();
}


function tt_ShowDiv()
{
	if (tt_n4) tt_obj.visibility = 'show';
	else tt_obj.style.visibility = 'visible';
	tt_vis = true;
	tt_HideInput();
}


function tt_HideDiv()
{
	if (tt_n4) tt_obj.visibility = 'hide';
	else tt_obj.style.visibility = 'hidden';
	tt_vis = false;
	tt_HideInput();
}


function tt_Show(t_e, t_id, t_above, t_delay, t_fix, t_left, t_offx, t_offy, t_static, t_sticky)
{
	if (tt_obj) tt_Hide();
	var t_mf = document.onmousemove || null;
	if (window.dd && (window.DRAG && t_mf == DRAG || window.RESIZE && t_mf == RESIZE)) return;
	var t_uf = document.onmouseup || null;
	if (t_mf && t_uf) t_uf(t_e);

	tt_obj = tt_GetDiv(t_id);
	if (tt_obj)
	{
		tt_dwn = !(tt_above = t_above);
		tt_static = t_static;
		tt_sticky = t_sticky;
		tt_objW = tt_GetDivW();
		tt_objH = tt_GetDivH();
		tt_offX = t_left? -(tt_objW+t_offx) : t_offx;
		tt_offY = t_offy;
		if (tt_op) tt_offY += 0x15;

		if (tt_n4)
		{
			if (tt_obj.document.layers.length)
			{
				var t_sh = tt_obj.document.layers[0];
				t_sh.clip.height = tt_objH - Math.round(t_sh.clip.width*1.3);
			}
		}
		else
		{
			var t_sh = tt_GetDiv(t_id+'R');
			if (t_sh)
			{
				var t_h = tt_objH - tt_Int(t_sh.style.pixelTop || t_sh.style.top || 0);
				if (typeof t_sh.style.pixelHeight != tt_u) t_sh.style.pixelHeight = t_h;
				else t_sh.style.height = t_h + 'px';
			}
		}
		
		tt_GetSelects();


		xlim = tt_Int((tt_db && tt_db.clientWidth)? tt_db.clientWidth : window.innerWidth) +
			tt_Int(window.pageXOffset || (tt_db? tt_db.scrollLeft : 0) || 0) -
			tt_objW -
			(tt_n4? 0x15 : 0);

		ylim = tt_Int(window.innerHeight || tt_db.clientHeight) +
			tt_Int(window.pageYOffset || (tt_db? tt_db.scrollTop : 0) || 0) -
			tt_objH - tt_offY;

		tt_SetDivZ();
		t_e = t_e || window.event;
		if (t_fix) tt_SetDivPos(tt_Int((t_fix = t_fix.split(','))[0]), tt_Int(t_fix[1]));
		else tt_SetDivPos(tt_EvX(t_e), tt_EvY(t_e));

		window.tt_rdl = window.setTimeout(
			'if (tt_sticky)'+
			'{'+
				'tt_ReleasMov();'+
				'window.tt_upFunc = document.onmouseup || null;'+
				'if (document.captureEvents) document.captureEvents(Event.MOUSEUP);'+
				'document.onmouseup = new Function("window.setTimeout(\'tt_Hide();\', 0xa);");'+
			'}'+
			'else if (tt_static) tt_ReleasMov();'+
			'tt_ShowDiv();',
			t_delay
		);

		if (!t_fix)
		{
			if (document.captureEvents) document.captureEvents(Event.MOUSEMOVE);
			document.onmousemove = tt_Move;
		}
	}
}


var tt_area = false;
function tt_Move(t_ev)
{
	if (!tt_obj) return;
	if (tt_n6 || tt_w3c)
	{
		if (tt_wait) return;
		tt_wait = true;
		setTimeout('tt_wait = false;', 5);
	}

	var t_e = t_ev || window.event;
	tt_SetDivPos(tt_EvX(t_e), tt_EvY(t_e));

	if (tt_op6)
	{
		if (tt_area && t_e.target.tagName != 'AREA') tt_Hide();
		else if (t_e.target.tagName == 'AREA') tt_area = true;
	}
}


function tt_Hide()
{
	if (window.tt_obj)
	{
		if (window.tt_rdl) window.clearTimeout(tt_rdl);
		if (!tt_sticky || tt_sticky && !tt_vis)
		{
			tt_HideDiv();
			tt_SetDivPos(-tt_objW, -tt_objH);
			tt_obj = null;
			if (typeof window.tt_upFunc != tt_u) document.onmouseup = window.tt_upFunc;
		}
		tt_sticky = false;
		if (tt_op6 && tt_area) tt_area = false;
		tt_ReleasMov();
		tt_HideInput();
	}
}


tt_Init();
