/***********************************************
* Image w/ description tooltip- By Dynamic Web Coding (www.dyn-web.com)
* Copyright 2002-2007 by Sharon Paine
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* IMPORTANT: Put script after tooltip div or 
	 put tooltip div just before </BODY>. */

var dom = (document.getElementById) ? true : false;
var ns5 = (!document.all && dom || window.opera) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ie4 && !ie5 && !dom) ? true : false;

var origWidth, origHeight;

// avoid error of passing event object in older browsers
if (nodyn) { event = "nope" }

///////////////////////  CUSTOMIZE HERE   ////////////////////
// settings for tooltip 
// Do you want tip to move when mouse moves over link?
var tipFollowMouse= true;	
// Be sure to set tipWidth wide enough for widest image
var tipWidth= 238;
var offX= 20;	// how far from mouse to show tip
var offY= 12; 
var tipFontFamily= " Tahoma, MS Sans Serif, Thonburi";
var tipFontSize= "10pt";
// set default text color and background color for tooltip here
// individual tooltips can have their own (set in messages arrays)
// but don't have to
var tipFontColor= "#0066CC";
var tipBgColor= "#DDECFF"; 
var tipBorderColor= "#F2F2F2";
var tipBorderWidth= 1;
var tipBorderStyle= "ridge";
var tipPadding= 4;

// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing: 
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip

////////2553/////
messages[104] = new Array('../Files/QSHE/an-2553/01.jpg','Contents [ size 55 KB ]','#003333','white');
messages[105] = new Array('../Files/QSHE/an-2553/02.jpg','Message from the President & CEO  [ size 362 KB ]','#003333','white');
messages[106] = new Array('../Files/QSHE/an-2553/03.jpg','About PTT Group [ size 902 KB ]','#003333','white');
messages[107] = new Array('../Files/QSHE/an-2553/04.jpg','About this Report [ size 316 KB ]','#003333','white');
messages[108] = new Array('../Files/QSHE/an-2553/05.jpg','New Benckmark [ size 543 KB ]','#003333','white');
messages[109] = new Array('../Files/QSHE/an-2553/06.jpg','CSR Governance [ size 1.5 MB ]','#003333','white');
messages[110] = new Array('../Files/QSHE/an-2553/07.jpg','Performance Data [ size 1.0 MB ]','#003333','white');
messages[111] = new Array('../Files/QSHE/an-2553/08.jpg','Operational Excellence for Sustainable Future [ size  2.8 MB ]','#003333','white');
messages[112] = new Array('../Files/QSHE/an-2553/09.jpg','Forging Thai Energy for Sustainable Environment [ size 869 KB ]','#003333','white');
messages[113] = new Array('../Files/QSHE/an-2553/10.jpg','Forging Thai Energy for Sustainable Thai Society [ size 2.9 MB ]','#003333','white');
messages[114] = new Array('../Files/QSHE/an-2553/11.jpg','Recognition for PTT Group [ size 980 KB ]','#003333','white');
messages[115] = new Array('../Files/QSHE/an-2553/12.jpg','GRI Content Index [ size 727 KB ]','#003333','white');

////////2552/////
messages[92] = new Array('../Files/QSHE/an-2552/CSR09-01.jpg','Contents [ size 58 KB ]','#003333','white');
messages[93] = new Array('../Files/QSHE/an-2552/CSR09-02.jpg','Message from the President & CEO  [ size 999 KB ]','#003333','white');
messages[94] = new Array('../Files/QSHE/an-2552/CSR09-03.jpg','PTT Group: Who we are and What we do [ size 724 KB ]','#003333','white');
messages[95] = new Array('../Files/QSHE/an-2552/CSR09-04.jpg','Our Approach to Reporting [ size 759 KB ]','#003333','white');
messages[96] = new Array('../Files/QSHE/an-2552/CSR09-05.jpg','Key Milestones [ size 617 KB ]','#003333','white');
messages[97] = new Array('../Files/QSHE/an-2552/CSR09-06.jpg','Corporate Governance [ size 4.7 MB ]','#003333','white');
messages[98] = new Array('../Files/QSHE/an-2552/CSR09-07.jpg','Our Performance [ size 4.5 MB ]','#003333','white');
messages[99] = new Array('../Files/QSHE/an-2552/CSR09-08.jpg','Sustainable Power for the Environment [ size  1.0 MB ]','#003333','white');
messages[100] = new Array('../Files/QSHE/an-2552/CSR09-09.jpg','Sustainable Power for the Society and Community [ size 652 KB ]','#003333','white');
messages[101] = new Array('../Files/QSHE/an-2552/CSR09-10.jpg','Sustainable Power for Operational Excellence[ size 1.1 MB ]','#003333','white');
messages[102] = new Array('../Files/QSHE/an-2552/CSR09-11.jpg','Recognition for PTT Group [ size 649 KB ]','#003333','white');
messages[103] = new Array('../Files/QSHE/an-2552/CSR09-12.jpg','GRI Content Index [ size 355 KB ]','#003333','white');

////////2551/////
messages[82] = new Array('../Files/QSHE/an-2551/01.jpg','Contents [ size 406 KB ]','#003333','white');
messages[83] = new Array('../Files/QSHE/an-2551/02.jpg','Message from the President & CEO  [ size 134 KB ]','#003333','white');
messages[84] = new Array('../Files/QSHE/an-2551/03.jpg','Company Information [ size 359 KB ]','#003333','white');
messages[85] = new Array('../Files/QSHE/an-2551/04.jpg','Sustainable Development [ size 994 KB ]','#003333','white');
messages[86] = new Array('../Files/QSHE/an-2551/05.jpg','Quality, Safety, Health and Environment Management [ size 1.0 MB ]','#003333','white');
messages[87] = new Array('../Files/QSHE/an-2551/06.jpg','Key Performance [ size 255 KB ]','#003333','white');
messages[88] = new Array('../Files/QSHE/an-2551/07.jpg','Power For Sustainable Future [ size 811 KB ]','#003333','white');
messages[89] = new Array('../Files/QSHE/an-2551/08.jpg','Awards of Great Pride [ size 368 KB ]','#003333','white');
messages[90] = new Array('../Files/QSHE/an-2551/09.jpg','Approach For Preparation of This Report [ size 440 KB ]','#003333','white');
messages[91] = new Array('../Files/QSHE/an-2551/10.jpg','GRI Content Index [ size 175 KB ]','#003333','white');
//messages[80] = new Array('../Files/QSHE/an-2550/11.jpg','QSHE Management Standard Certification in 2007 [ size 84 KB ]','#003333','white');
//messages[81] = new Array('../Files/QSHE/an-2550/12.jpg','Glossary and Abbreviation [ size 55 KB ]','#003333','white');

////////2550/////

messages[70] = new Array('../Files/QSHE/an-2550/01.jpg','Contents [ size 23 KB ]','#003333','white');
messages[71] = new Array('../Files/QSHE/an-2550/02.jpg','The Dawn of Thai Energy for Thais [ size 162 KB ]','#003333','white');
messages[72] = new Array('../Files/QSHE/an-2550/03.jpg','Message from the President [ size 66 KB ]','#003333','white');
messages[73] = new Array('../Files/QSHE/an-2550/04.jpg','Business Profile and Information [ size 920 KB ]','#003333','white');
messages[74] = new Array('../Files/QSHE/an-2550/05.jpg','PTT Group Vision [ size 23 KB ]','#003333','white');
messages[75] = new Array('../Files/QSHE/an-2550/06.jpg','Corporate Governance [ size 519 KB ]','#003333','white');
messages[76] = new Array('../Files/QSHE/an-2550/07.jpg','Operating Results [ size 849 KB ]','#003333','white');
messages[77] = new Array('../Files/QSHE/an-2550/08.jpg','QSHE Management [ size 1.8 MB ]','#003333','white');
messages[78] = new Array('../Files/QSHE/an-2550/09.jpg','Social Responsibility [ size 1.5 MB ]','#003333','white');
messages[79] = new Array('../Files/QSHE/an-2550/10.jpg','Social Responsibility Recognitions in  2007 [ size 202 KB ]','#003333','white');
messages[80] = new Array('../Files/QSHE/an-2550/11.jpg','QSHE Management Standard Certification in 2007 [ size 84 KB ]','#003333','white');
messages[81] = new Array('../Files/QSHE/an-2550/12.jpg','Glossary and Abbreviation [ size 55 KB ]','#003333','white');


////////2549/////

messages[0] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_2.jpg','Contents  [ size 510 KB ]','#003333','white');
messages[1] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_3.jpg','Message from the President [ size 309 KB ]','#003333','white');
messages[2] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_4.jpg','Business Profile and Information [ size 820 KB ]','#003333','white');
messages[3] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_5.jpg','PTT Group Vision [ size 40.3 KB ]','#003333','white');
messages[4] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_6.jpg','Corporate Governance [ size 909 KB ]','#003333','white');
messages[5] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_7.jpg','Operating Results [ size 1.33 MB ]','#003333','white');
messages[6] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_8.jpg','QSHE Management [ size 3.39 MB ]','#003333','white');
messages[7] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_9.jpg','Social Responsibility [ size 4.39 MB ]','#003333','white');
messages[8] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_10.jpg','Social Responsibility Recognitions in  2006 [ size 659 KB ]','#003333','white');
messages[9] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_11.jpg','QSHE Management Standard Certification in 2006  [ size 244 KB ]','#003333','white');
messages[10] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_12.jpg','Continuing Path toward Sustainable [ size 71 KB ]','#003333','white');
messages[11] = new Array('../Files/QSHE/an-2549/ptthi-res_Page_13.jpg','Glossary and Abbreviation [ size 538 KB ]','#003333','white');

////////2548/////

messages[12] = new Array('../Files/QSHE/an-2548/annual_2005_p1.jpg','Contents [ size 209 KB ]','#003333','white');
messages[13] = new Array('../Files/QSHE/an-2548/annual_2005_p2.jpg','Message from the President [ size 1.13 MB ]','#003333','white');
messages[14] = new Array('../Files/QSHE/an-2548/annual_2005_p3.jpg','PTT Vision and Good Corporate Governance [ size 1.64 MB ]','#003333','white');
messages[15] = new Array('../Files/QSHE/an-2548/annual_2005_p4.jpg','Company Profile [ size 1.40 MB ]','#003333','white');
messages[16] = new Array('../Files/QSHE/an-2548/annual_2005_p5.jpg','QSHE Goals in 2005 [ size 176 KB ]','#003333','white');
messages[17] = new Array('../Files/QSHE/an-2548/annual_2005_p6.jpg','QSHE Organization Structure [ size 1.49 MB ]','#003333','white');
messages[18] = new Array('../Files/QSHE/an-2548/annual_2005_p7.jpg','Performance Review [ size 343 KB ]','#003333','white');
messages[19] = new Array('../Files/QSHE/an-2548/annual_2005_p8.jpg','PTT and Environmental Management [ size 6.55 MB ]','#003333','white');
messages[20] = new Array('../Files/QSHE/an-2548/annual_2005_p9.jpg','PTT and Social Responsibility [ size 2.17 MB ]','#003333','white');
messages[21] = new Array('../Files/QSHE/an-2548/annual_2005_p10.jpg','QSHE Recognitions in 2005 [ size 4.65 MB ]','#003333','white');
messages[22] = new Array('../Files/QSHE/an-2548/annual_2005_p11.jpg','Continuing Path toward Sustainable [ size 219 KB ]','#003333','white');
messages[23] = new Array('../Files/QSHE/an-2548/annual_2005_p12.jpg','Glossary and Abbreviation [ size 117 KB ]','#003333','white');

/////2547/////////////
messages[24] = new Array('../Files/QSHE/an-2547/annual_2004_p1.jpg','Contents [ size 230 KB ]','#003333','white');
messages[25] = new Array('../Files/QSHE/an-2547/annual_2004_p2.jpg','Message from the President [ size 1.96 MB ]','#003333','white');
messages[26] = new Array('../Files/QSHE/an-2547/annual_2004_p3.jpg','Corporate Values to Sustainable Development [ size 1.58 MB ]','#003333','white');
messages[27] = new Array('../Files/QSHE/an-2547/annual_2004_p4.jpg','Organization Information [ size 3.05 MB ]','#003333','white');
messages[28] = new Array('../Files/QSHE/an-2547/annual_2004_p5.jpg','QSHE Goals in 2004 [ size 2.47 MB ]','#003333','white');
messages[29] = new Array('../Files/QSHE/an-2547/annual_2004_p6.jpg','QSHE Organization Structure [ size 580 KB ]','#003333','white');
messages[30] = new Array('../Files/QSHE/an-2547/annual_2004_p7.jpg','Bussiness Operation Highlights [ size 706 KB ]','#003333','white');
messages[31] = new Array('../Files/QSHE/an-2547/annual_2004_p8.jpg','PTT and Environmental Management [ size 13.0 MB ]','#003333','white');
messages[32] = new Array('../Files/QSHE/an-2547/annual_2004_p9.jpg','PTT and Social Responsibility [ size 14.1 MB ]','#003333','white');
messages[33] = new Array('../Files/QSHE/an-2547/annual_2004_p10.jpg','QSHE Highlights of Success in 2004 [ size 2.28 MB ]','#003333','white');
messages[34] = new Array('../Files/QSHE/an-2547/annual_2004_p11.jpg','PTT Next Step to Sustainable Development [ size 1.12 MB ]','#003333','white');
messages[35] = new Array('../Files/QSHE/an-2547/annual_2004_p12.jpg','Glossary and Abbreviation [ size 6488 KB ]','#003333','white');

/////2546/////////
messages[36] = new Array('../Files/QSHE/an-2546/annual_2003_p1.jpg','Contents [ size 625 KB ]','#003333','white');
messages[37] = new Array('../Files/QSHE/an-2546/annual_2003_p2.jpg','Message from the President [ size 729 KB ]','#003333','white');
messages[38] = new Array('../Files/QSHE/an-2546/annual_2003_p3.jpg','Corporate Vision [ size 771 MB ]','#003333','white');
messages[39] = new Array('../Files/QSHE/an-2546/annual_2003_p4.jpg','Organization Information [ size 1.00 MB ]','#003333','white');
messages[40] = new Array('../Files/QSHE/an-2546/annual_2003_p5.jpg','QSHE Policy [ size 737 KB ]','#003333','white');
messages[41] = new Array('../Files/QSHE/an-2546/annual_2003_p6.jpg','QSHE Goal in 2003 [ size 663 KB ]','#003333','white');
messages[42] = new Array('../Files/QSHE/an-2546/annual_2003_p7.jpg','QSHE Organization Structure [ size 709 KB ]','#003333','white');
messages[43] = new Array('../Files/QSHE/an-2546/annual_2003_p8.jpg','Operating Results [ size 712 KB ]','#003333','white');
messages[44] = new Array('../Files/QSHE/an-2546/annual_2003_p9.jpg','QSHE Management in 2003 [ size 1.27 MB ]','#003333','white');
messages[45] = new Array('../Files/QSHE/an-2546/annual_2003_p10.jpg','Environmental Performance in 2003 [ size 1.40 MB ]','#003333','white');
messages[46] = new Array('../Files/QSHE/an-2546/annual_2003_p11.jpg','Accident / Incident Records in 2003 [ size 793 KB ]','#003333','white');
messages[47] = new Array('../Files/QSHE/an-2546/annual_2003_p12.jpg','Bold Vision for Sustainable Thailand [ size 962 KB ]','#003333','white');
messages[48] = new Array('../Files/QSHE/an-2546/annual_2003_p13.jpg','Environmental Research and Development [ size 892 KB ]','#003333','white');
messages[49] = new Array('../Files/QSHE/an-2546/annual_2003_p14.jpg','QSHE Highlights of Success in 2003 [ size 768 KB ]','#003333','white');
messages[50] = new Array('../Files/QSHE/an-2546/annual_2003_p15.jpg','PTT Next Step in QSHE Management  [ size 654 KB ]','#003333','white');
messages[51] = new Array('../Files/QSHE/an-2546/annual_2003_p16.jpg','Glossary and Abbreviation [ size 708 KB ]','#003333','white');

/////2545////////
messages[52] = new Array('../Files/QSHE/an-2545/annual_2002_p1.jpg','Contents [ size 125 KB ]','#003333','white');
messages[53] = new Array('../Files/QSHE/an-2545/annual_2002_p2.jpg','PTT Environmental Annual Report 2002 [ size 143 KB ]','#003333','white');
messages[54] = new Array('../Files/QSHE/an-2545/annual_2002_p3.jpg','Message from the President [ size 101 KB ]','#003333','white');
messages[55] = new Array('../Files/QSHE/an-2545/annual_2002_p4.jpg','Corporate Information & Report [ size 101 KB ]','#003333','white');
messages[56] = new Array('../Files/QSHE/an-2545/annual_2002_p5.jpg','Corporate Vision [ size 188 KB ]','#003333','white');
messages[57] = new Array('../Files/QSHE/an-2545/annual_2002_p6.jpg','QSHE Policy Statement [ size 158 KB ]','#003333','white');
messages[58] = new Array('../Files/QSHE/an-2545/annual_2002_p7.jpg','2002 Goal of QSHE Program [ size 123 KB ]','#003333','white');
messages[59] = new Array('../Files/QSHE/an-2545/annual_2002_p8.jpg','QSHE Organization Structure [ size 109 KB ]','#003333','white');
messages[60] = new Array('../Files/QSHE/an-2545/annual_2002_p9.jpg','Business Operations Reviews [ size 274 KB ]','#003333','white');
messages[61] = new Array('../Files/QSHE/an-2545/annual_2002_p10.jpg','QSHE Management in 2002 [ size 104 KB ]','#003333','white');
messages[62] = new Array('../Files/QSHE/an-2545/annual_2002_p11.jpg','Environmental Performance in 2002 [ size 568 KB ]','#003333','white');
messages[63] = new Array('../Files/QSHE/an-2545/annual_2002_p12.jpg','Accident / Incident Records in 2002 [ size 516 KB ]','#003333','white');
messages[64] = new Array('../Files/QSHE/an-2545/annual_2002_p13.jpg','Contribution to Sustainable Society & Environment [ size 261 KB ]','#003333','white');
messages[65] = new Array('../Files/QSHE/an-2545/annual_2002_p14.jpg','Environmental Research & Development [ size 417 KB ]','#003333','white');
messages[66] = new Array('../Files/QSHE/an-2545/annual_2002_p15.jpg','QSHE Recognitions and Awards [ size 432 KB ]','#003333','white');
messages[67] = new Array('../Files/QSHE/an-2545/annual_2002_p16.jpg','PTT Next Step in QSHE Management [ size 294 KB ]','#003333','white');
messages[68] = new Array('../Files/QSHE/an-2545/annual_2002_p17.jpg','Abbreviation & Glossary [ size 103 KB ]','#003333','white');
messages[69] = new Array('../Files/QSHE/an-2545/annual_2002_p18.jpg','Natural Gas Transmission Pipeline System and Future Projects [ size 242 KB ]','#003333','white');




////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

// preload images that are to appear in tooltip
// from arrays above
if (document.images) {
	var theImgs = new Array();
	for (var i=0; i<messages.length; i++) {
  	theImgs[i] = new Image();
		theImgs[i].src = messages[i][0];
  }
}

// to layout image and text, 2-row table, image centered in top cell
// these go in var tip in doTooltip function
// startStr goes before image, midStr goes between image and text
var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td valign="top">';
var endStr = '</td></tr></table>';

////////////////////////////////////////////////////////////
//  initTip	- initialization for tooltip.
//		Global variables for tooltip. 
//		Set styles
//		Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		document.onmousemove = trackMouse;
	}

}

//window.onload = initTip;


/////////////////////////////////////////////////
//  doTooltip function
//			Assembles content for tooltip and writes 
//			it to tipDiv
/////////////////////////////////////////////////
var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function qsheTooltip(evt,num) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	// set colors if included in messages array
	if (messages[num][2])	var curBgColor = messages[num][2];
	else curBgColor = tipBgColor;
	if (messages[num][3])	var curFontColor = messages[num][3];
	else curFontColor = tipFontColor;
	if (ie4||ie5||ns5) {
		var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr;
		tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
	else t1=setTimeout("tipcss.visibility='visible'",100);
}

var mouseX, mouseY;
function trackMouse(evt) {
	standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
	mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
	mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	if (tipOn) positionTip(evt);
}

/////////////////////////////////////////////////////////////
//  positionTip function
//		If tipFollowMouse set false, so trackMouse function
//		not being used, get position of mouseover event.
//		Calculations use mouseover event position, 
//		offset amounts and tooltip width to position
//		tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip(evt) {
	if (!tipFollowMouse) {
		standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
		mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
		mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns5)? window.innerWidth-20+window.pageXOffset: standardbody.clientWidth+standardbody.scrollLeft;
	var winHt = (ns5)? window.innerHeight-20+window.pageYOffset: standardbody.clientHeight+standardbody.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = mouseX-(tpWd+offX)+"px";
	else tipcss.left = mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = winHt-(tpHt+offY)+"px";
	else tipcss.top = mouseY+offY+"px";
	if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}

document.write('<div id="tipDiv" style="position:absolute; visibility:hidden; z-index:100"></div>')

