document.writeln ('<div ' + 'id="t4" class="detailsToolTip" nowrap="no">' + '<\/div>');

var DH = 0;var an = 0;var al = 0;var ai = 0;
if (document.getElementById) {ai = 1; DH = 1;}
else {
	if (document.all) 
	{
		al = 1; DH = 1;
	} else { 
		browserVersion = parseInt(navigator.appVersion);
		if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) 
		{
			an = 1; DH = 1;
		}
		}
	} 
function fd(oi, wS) {
	if (ai) return wS ? document.getElementById(oi).style:document.getElementById(oi);
	if (al) return wS ? document.all[oi].style: document.all[oi]; if (an) return document.layers[oi];
	}
function pw() {
		return window.innerWidth != null? window.innerWidth: document.body.clientWidth != null? document.body.clientWidth:null;
	}
function mouseX(evt) {
	if (evt.pageX) return evt.pageX; 
	else if (evt.clientX)return evt.clientX + (document.documentElement.scrollLeft ?  document.documentElement.scrollLeft : document.body.scrollLeft); 
	else return null;
	}
function mouseY(evt) {
	if (evt.pageY) return evt.pageY; 
	else if (evt.clientY)return evt.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop); 
	else return null;
	}
function showDetails(evt,oi,headertext,tip1,tip2,tip3,tip4,tip5,fromPage) {
	document.getElementById(oi).innerHTML='';
	
 	if (DH) {
			var wp = pw(); 
			ds = fd(oi,1);
			dm = fd(oi,0); 
			st = ds.visibility; 
			if (dm.offsetWidth) 
				ew = dm.offsetWidth;
			else if (dm.clip.width) 
				ew = dm.clip.width; 
			if(fromPage=='index')
			{
				tv = mouseY(evt) + 175;
				lv = mouseX(evt) - 80;
			} else {
				tv = mouseY(evt) + 100;
				lv = mouseX(evt) - 180;
			}
			if (lv < 2) lv = 2; 
			else if (lv + ew > wp) 
			lv -= ew/2; 
			if (!an) {
				lv += 'px';
				tv = tv - (tv/4);
				tv += 'px';
				}
			ds.left = lv; 
			ds.top = tv; 
			formatMsg(oi,headertext,tip1,tip2,tip3,tip4,tip5);
			ds.visibility = "visible";
			} 	
}

function hideDetails(evt,oi,headertext,tip1,tip2,tip3,tip4,tip5,fromPage) {
	document.getElementById(oi).innerHTML='';
	
 	if (DH) {
			var wp = pw(); 
			ds = fd(oi,1);
			dm = fd(oi,0); 
			st = ds.visibility; 
			if (dm.offsetWidth) 
				ew = dm.offsetWidth;
			else if (dm.clip.width) 
				ew = dm.clip.width; 
			if (st == "visible" || st == "show") 
				{
					ds.visibility = "hidden"; 
				} else	{
					if(fromPage=='index')
					{
						tv = mouseY(evt) + 175;
						lv = mouseX(evt) - 80;
					} else {
						tv = mouseY(evt) + 100;
						lv = mouseX(evt);
					}
				if (lv < 2) lv = 2; 
				else if (lv + ew > wp) 
				lv -= ew/2; 
				if (!an) {
					lv += 'px';
					tv = tv - (tv/4);
					tv += 'px';
					}
				ds.left = lv; 
				ds.top = tv; 
				formatMsg(oi,headertext,tip1,tip2,tip3,tip4,tip5);
				ds.visibility = "visible";
				}
			}
 	
}

function formatMsg(oi,headertext,tip1,tip2,tip3,tip4,tip5){

document.getElementById(oi).innerHTML += '<table border="0" width="100%" cellpadding="0" cellspacing="0">'
		+'<tr style="background-color:#CCCCCC;"><td><b>' + headertext + '<\/b><\/td><td valign="top"><img src="images\/icon-exit.gif" alt="" align="right" style="cursor:pointer;" onclick="hideDetails(event,\'t4\',\'\',\'\',\'\',\'\',\'\',\'\');"\/><\/td><\/tr>'
		+'<tr><td colspan="2"><\/td><\/tr>'
		+'<tr><td colspan="2">' + tip1 +'<\/td><\/tr>'
		+'<tr><td colspan="2">' + tip2 +'<\/td><\/tr>'
		+'<tr><td colspan="2">' + tip3 +'<\/td><\/tr>'
		+'<tr><td colspan="2">' + tip4 +'<\/td><\/tr>'
		+'<tr><td colspan="2">' + tip5 +'<\/td><\/tr>'
		+'<tr><td colspan="2"><\/td><\/tr>'
		+'<\/table>';	
 }