document.write(''); document.write('2000: Gore     28%,   Bush 59%
1996: Clinton 33%,   Dole  51%
1992: Clinton 30%,   Bush 40\',\'\'));\" 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('2000: Gore     45%,   Bush 51%
1996: Clinton 47%,   Dole  44%
1992: Clinton 37%,   Bush 39\',\'\'));\" 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('2000: Gore     46%,   Bush 51%
1996: Clinton 54%,   Dole  37%
1992: Clinton 53%,   Bush 36\',\'\'));\" shape=poly coords=\"313,211,368,206,354,249,355,254,351,256,323,257,322,250,317,250,316,230\">'); document.write('2000: Gore     53%,   Bush 42%
1996: Clinton 51%,   Dole  38%
1992: Clinton 46%,   Bush 33\',\'\'));\" shape=poly coords=\"10,103,2,125,5,151,15,183,24,217,49,231,58,250,87,252,92,248,88,244,96,231,92,220,44,155,53,115\">'); document.write('2000: Gore     42%,   Bush 51%
1996: Clinton 44%,   Dole  46%
1992: Clinton 40%,   Bush 36\',\'\'));\" shape=poly coords=\"161,148,156,202,233,206,233,152\">'); document.write('2000: Gore     56%,   Bush 38%
1996: Clinton 53%,   Dole  35%
1992: Clinton 42%,   Bush 36\',\'\'));\" shape=poly coords=\"521,93,536,88,539,96,524,104\">'); document.write('2000: Gore     56%,   Bush 38%
1996: Clinton 53%,   Dole  35%
1992: Clinton 42%,   Bush 36\',\'\'));\" shape=poly coords=\"533,166,533,179,577,179,577,166\">'); document.write('2000: Gore     86%,   Bush 9%
1996: Clinton 85%,   Dole  9%
1992: Clinton 85%,   Bush 9\',\'\'));\" shape=poly coords=\"492,143,492,150,498,150,498,143\">'); document.write('2000: Gore     86%,   Bush 9%
1996: Clinton 85%,   Dole  9%
1992: Clinton 85%,   Bush 9\',\'\'));\" shape=poly coords=\"533,221,533,236,574,236,574,221\">'); document.write('2000: Gore     55%,   Bush 42%
1996: Clinton 52%,   Dole  37%
1992: Clinton 44%,   Bush 35\',\'\'));\" shape=poly coords=\"507,132,512,149,519,147,518,144,515,144,513,138\">'); document.write('2000: Gore     55%,   Bush 42%
1996: Clinton 52%,   Dole  37%
1992: Clinton 44%,   Bush 35\',\'\'));\" shape=poly coords=\"533,193,533,208,579,208,579,193\">'); document.write('2000: Gore     48%,   Bush 49%
1996: Clinton 48%,   Dole  42%
1992: Clinton 39%,   Bush 41\',\'\'));\" shape=poly coords=\"398,278,429,275,431,278,464,276,466,277,466,272,472,272,484,297,488,299,487,305,499,322,499,347,491,354,489,353,494,348,487,348,486,343,478,338,475,330,465,323,460,310,461,305,458,296,453,293,446,286,440,287,433,293,427,292,418,285,411,283,407,286,401,287,401,282,398,281\">'); document.write('2000: Gore     43%,   Bush 55%
1996: Clinton 46%,   Dole  47%
1992: Clinton 44%,   Bush 43\',\'\'));\" 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('2000: Gore     56%,   Bush 38%
1996: Clinton 57%,   Dole  32%
1992: Clinton 48%,   Bush 37\',\'\'));\" shape=poly coords=\"94,285,96,287,107,285,149,309,157,322,161,335,182,328,162,303,124,286,104,275\">'); document.write('2000: Gore     28%,   Bush 67%
1996: Clinton 34%,   Dole  52%
1992: Clinton 28%,   Bush 42\',\'\'));\" 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('2000: Gore     55%,   Bush 43%
1996: Clinton 54%,   Dole  37%
1992: Clinton 49%,   Bush 34\',\'\'));\" 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('2000: Gore     41%,   Bush 57%
1996: Clinton 42%,   Dole  47%
1992: Clinton 37%,   Bush 43\',\'\'));\" shape=poly coords=\"379,133,407,127,414,167,410,168,403,180,395,182,391,185,388,185,381,186,382,180,385,173\">'); document.write('2000: Gore     49%,   Bush 48%
1996: Clinton 50%,   Dole  40%
1992: Clinton 43%,   Bush 37\',\'\'));\" shape=poly coords=\"287,118,296,156,340,152,345,148,343,142,352,133,337,113\">'); document.write('2000: Gore     37%,   Bush 58%
1996: Clinton 36%,   Dole  54%
1992: Clinton 34%,   Bush 39\',\'\'));\" shape=poly coords=\"233,165,305,165,305,170,310,175,312,204,287,206,233,206\">'); document.write('2000: Gore     41%,   Bush 56%
1996: Clinton 46%,   Dole  45%
1992: Clinton 45%,   Bush 41\',\'\'));\" 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('2000: Gore     45%,   Bush 53%
1996: Clinton 52%,   Dole  40%
1992: Clinton 46%,   Bush 41\',\'\'));\" 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('2000: Gore     49%,   Bush 44%
1996: Clinton 52%,   Dole  31%
1992: Clinton 39%,   Bush 30\',\'\'));\" 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('2000: Gore     57%,   Bush 40%
1996: Clinton 54%,   Dole  38%
1992: Clinton 50%,   Bush 36\',\'\'));\" shape=poly coords=\"468,143,470,148,484,140,494,150,495,154,506,155,500,141,515,158,514,167,519,149,512,148,506,132\">'); document.write('2000: Gore     57%,   Bush 40%
1996: Clinton 54%,   Dole  38%
1992: Clinton 50%,   Bush 36\',\'\'));\" shape=poly coords=\"533,208,533,221,580,221,580,208\">'); document.write('2000: Gore     60%,   Bush 33%
1996: Clinton 62%,   Dole  28%
1992: Clinton 48%,   Bush 29\',\'\'));\" 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('2000: Gore     60%,   Bush 33%
1996: Clinton 62%,   Dole  28%
1992: Clinton 48%,   Bush 29\',\'\'));\" shape=poly coords=\"533,137,533,152,579,152,579,137\">'); document.write('2000: Gore     51%,   Bush 46%
1996: Clinton 52%,   Dole  39%
1992: Clinton 44%,   Bush 36\',\'\'));\" 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('2000: Gore     48%,   Bush 46%
1996: Clinton 51%,   Dole  35%
1992: Clinton 44%,   Bush 32\',\'\'));\" 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('2000: Gore     41%,   Bush 58%
1996: Clinton 44%,   Dole  49%
1992: Clinton 41%,   Bush 50\',\'\'));\" 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('2000: Gore     47%,   Bush 50%
1996: Clinton 48%,   Dole  41%
1992: Clinton 44%,   Bush 34\',\'\'));\" shape=poly coords=\"298,156,340,152,345,166,357,175,355,181,371,198,372,203,370,206,367,213,360,213,362,208,313,210,311,181,310,174\">'); document.write('2000: Gore     33%,   Bush 58%
1996: Clinton 41%,   Dole  44%
1992: Clinton 38%,   Bush 35\',\'\'));\" 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('2000: Gore     33%,   Bush 62%
1996: Clinton 35%,   Dole  54%
1992: Clinton 29%,   Bush 47\',\'\'));\" 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('2000: Gore     46%,   Bush 50%
1996: Clinton 44%,   Dole  43%
1992: Clinton 37%,   Bush 35\',\'\'));\" shape=poly coords=\"52,115,43,156,93,222,93,206,98,208,101,206,112,127\">'); document.write('2000: Gore     47%,   Bush 48%
1996: Clinton 50%,   Dole  40%
1992: Clinton 39%,   Bush 38\',\'\'));\" shape=poly coords=\"526,41,523,45,526,52,523,56,526,81,538,76,541,71\">'); document.write('2000: Gore     47%,   Bush 48%
1996: Clinton 50%,   Dole  40%
1992: Clinton 39%,   Bush 38\',\'\'));\" shape=poly coords=\"533,124,533,137,575,137,575,124\">'); document.write('2000: Gore     56%,   Bush 40%
1996: Clinton 54%,   Dole  36%
1992: Clinton 43%,   Bush 41\',\'\'));\" shape=poly coords=\"509,107,509,118,515,123,509,131,519,141,523,132,523,118,520,115,520,109\">'); document.write('2000: Gore     56%,   Bush 40%
1996: Clinton 54%,   Dole  36%
1992: Clinton 43%,   Bush 41\',\'\'));\" shape=poly coords=\"533,179,533,193,579,193,579,179\">'); document.write('2000: Gore     48%,   Bush 47%
1996: Clinton 49%,   Dole  42%
1992: Clinton 46%,   Bush 37\',\'\'));\" 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('2000: Gore     60%,   Bush 35%
1996: Clinton 58%,   Dole  30%
1992: Clinton 47%,   Bush 29\',\'\'));\" shape=poly coords=\"522,110,522,114,541,101,536,100,523,108,520,84,507,52,491,58,484,74,485,83,460,95,463,100,456,108,457,113,501,100,508,106\">'); document.write('2000: Gore     43%,   Bush 56%
1996: Clinton 44%,   Dole  49%
1992: Clinton 42%,   Bush 43\',\'\'));\" 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('2000: Gore     33%,   Bush 61%
1996: Clinton 40%,   Dole  47%
1992: Clinton 32%,   Bush 44\',\'\'));\" shape=poly coords=\"221,43,220,84,289,84,281,43\">'); document.write('2000: Gore     46%,   Bush 50%
1996: Clinton 47%,   Dole  41%
1992: Clinton 40%,   Bush 38\',\'\'));\" shape=poly coords=\"407,127,421,125,433,128,436,125,440,125,449,115,454,132,453,148,447,153,446,159,440,168,435,165,429,167,419,165,418,162,414,162\">'); document.write('2000: Gore     38%,   Bush 60%
1996: Clinton 40%,   Dole  48%
1992: Clinton 34%,   Bush 43\',\'\'));\" 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('2000: Gore     47%,   Bush 46%
1996: Clinton 47%,   Dole  39%
1992: Clinton 43%,   Bush 33\',\'\'));\" 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('2000: Gore     51%,   Bush 46%
1996: Clinton 49%,   Dole  40%
1992: Clinton 45%,   Bush 36\',\'\'));\" shape=poly coords=\"449,113,455,109,458,113,500,100,510,106,509,118,515,123,510,130,457,145\">'); document.write('2000: Gore     61%,   Bush 32%
1996: Clinton 60%,   Dole  27%
1992: Clinton 47%,   Bush 29\',\'\'));\" shape=poly coords=\"537,87,538,96,543,94,542,86\">'); document.write('2000: Gore     61%,   Bush 32%
1996: Clinton 60%,   Dole  27%
1992: Clinton 47%,   Bush 29\',\'\'));\" shape=poly coords=\"533,152,533,166,578,166,578,152\">'); document.write('2000: Gore     41%,   Bush 57%
1996: Clinton 44%,   Dole  50%
1992: Clinton 43%,   Bush 47\',\'\'));\" 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('2000: Gore     38%,   Bush 60%
1996: Clinton 43%,   Dole  47%
1992: Clinton 37%,   Bush 41\',\'\'));\" shape=poly coords=\"217,84,214,122,282,125,287,128,287,93,282,83\">'); document.write('2000: Gore     47%,   Bush 51%
1996: Clinton 48%,   Dole  46%
1992: Clinton 47%,   Bush 42\',\'\'));\" shape=poly coords=\"362,227,368,206,384,204,384,201,454,191,451,197,443,202,431,211,427,219\">'); document.write('2000: Gore     38%,   Bush 59%
1996: Clinton 44%,   Dole  49%
1992: Clinton 37%,   Bush 41\',\'\'));\" 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('2000: Gore     27%,   Bush 67%
1996: Clinton 33%,   Dole  54%
1992: Clinton 25%,   Bush 43\',\'\'));\" shape=poly coords=\"113,126,102,194,156,201,161,147,141,143,142,130\">'); document.write('2000: Gore     51%,   Bush 41%
1996: Clinton 53%,   Dole  31%
1992: Clinton 46%,   Bush 30\',\'\'));\" shape=poly coords=\"507,53,524,46,526,51,525,81,520,84\">'); document.write('2000: Gore     51%,   Bush 41%
1996: Clinton 53%,   Dole  31%
1992: Clinton 46%,   Bush 30\',\'\'));\" shape=poly coords=\"533,110,533,123,573,123,573,110\">'); document.write('2000: Gore     45%,   Bush 53%
1996: Clinton 45%,   Dole  47%
1992: Clinton 41%,   Bush 45\',\'\'));\" 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('2000: Gore     50%,   Bush 45%
1996: Clinton 50%,   Dole  37%
1992: Clinton 43%,   Bush 32\',\'\'));\" shape=poly coords=\"29,47,32,15,49,25,49,11,102,27,94,67,77,63,52,63,51,60,39,60,39,52\">'); document.write('2000: Gore     46%,   Bush 52%
1996: Clinton 52%,   Dole  37%
1992: Clinton 48%,   Bush 35\',\'\'));\" 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('2000: Gore     48%,   Bush 48%
1996: Clinton 49%,   Dole  39%
1992: Clinton 41%,   Bush 37\',\'\'));\" shape=poly coords=\"322,90,325,69,339,65,337,69,348,75,366,77,373,91,373,122,342,124,338,111,328,101,322,98\">'); document.write('2000: Gore     28%,   Bush 69%
1996: Clinton 37%,   Dole  50%
1992: Clinton 34%,   Bush 40\',\'\'));\" shape=poly coords=\"147,90,141,144,213,151,215,97\">'); document.write('
'); /* 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,kerry,bush,nader,pdate,source,filename,color,msg,kg,kerry2004,bush2004,nader2004) { if (nader != '') return '
'+state+' ('+ev+' EVs)
'+msg+'
Barack Obama: '+kerry+'%
John McCain: '+bush+'%
Nader: '+nader+'%
Source: '+source+' ('+pdate+')
2004: Kerry     '+kerry2004+'%,   Bush '+bush2004+'%, Nader '+nader2004+'%  
'; else return '
'+state+' ('+ev+' EVs)
'+msg+'
Barack Obama: '+kerry+'%
John McCain: '+bush+'%
Source: '+source+' ('+pdate+')
2004: Kerry     '+kerry2004+'%,   Bush '+bush2004+'%  
'; } 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 = '
'; t_y += ''; if (t_tit) { t_y += '
'; t_y += t_tit + '<\/b><\/font><\/td><\/tr>'; } t_y += '
'; t_y += ''; if (t_fwght == 'bold') t_y += ''; 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>'; t_y += '<\/layer>'; } else { var t_opa = tt_n6? '-moz-opacity:0.85;' : tt_ie? 'filter:Alpha(opacity=85);' : ''; t_y += '
<\/div>'; t_y += '
<\/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>' : '', 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();