// JavaScript Document

/***********************************************
* Fixed ToolTip script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
		
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= 379;
var offX= 20;	// how far from mouse to show tip
var offY= 12; 
var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "8pt";
// 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= "#000000";
var tipBgColor= "#327848"; 
var tipBorderColor= "#0984bd";
var tipBorderWidth= 2;
var tipBorderStyle= "solid";
var tipPadding= 2;

// 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
messages[0] = new Array('images/img-logo-01.gif','Agile Financial Technologies (Agile FT) is set up by seasoned financial management software professionals. The companys portfolio of products and services are a result of mergers and acquisition of leading software technology companies that offered products and solutions including BPO and Knowledge Process Outsourcing (KPO) for the banking, financial services and insurance (BFSI) sector. They are structured to offer a blend of software applications and services as one integrated offering. Agile FTs software applications are used extensively by leading financial institutions in India, ME & South East Asia. ','#ffffff');
messages[1] = new Array('images/img-logo-02.gif','Al Faraa Group founded in 1980 with a presence of 3 decades in the UAE, 10 group companies and having strength of 20,000 workforce is a leading engineering, procurement and contracting (EPC) group. They provide a vast range of services, comprising construction, aluminium and glass manufacturing and installation, ready mix, electro mechanical services and interiors.<br><br>Al Faraa offers its clients and partners integrated, multi-disciplinary solutions delivered by specialist teams and companies. They have a vast infrastructure of in-house resources in fabrication, design, manufacturing and other related services.<br><br>The Al Faraa project portfolio includes hospitals, bridges, heritage sites, towers, multiplexes, malls and residential villas.<br><br>Managed with an uncompromising dedication to quality and safety, the Groups companies carry ISO 9001, ISO 14001 and OHSAS 18001 certification.',"#ffffff");
messages[2] = new Array('images/img-logo-03.gif','One of the largest manufacturing, engineering, trading, marketing, distribution, contracting and service industries conglomerates in the Arabian Gulf','#ffffff');
messages[3] = new Array('images/img-logo-04.gif','Columbus IT is a global technology consulting and software development company. specializing in ERP-, BI- og CRM-solutions. IToperates in 30 countries, has over 1100 employees, provide 6,000 customers hours every day. It comes with the best track record in the industry, with over 5,000 successful implementations in 101 countries.<br><br>The foundation of Columbus Middle East is based on joint venture between Columbus IT and Algosaibi Information Systems, AGIS (which is part of Khalifa A. Algosaibi Holding Company, with annual Turnover $600M and 3500 employees), is a leading provider of IT solutions throughout the Middle East and North Africa','#ffffff');
messages[4] = new Array('images/img-logo-05.gif','Eros Group, established in 1967, comprises of over 10 companies, each known for its consistency and reliability,markets products and services of highest quality. Eros Group is distributors for Samsung, Hitachi, Benq, Taurus and other internationally renowned brands for UAE, parts of Middle East and Africa. Eros also handles brands such as Nokia and Sony Ericsson through their retail. The group, with an annual turnover of 1.5 billion Dirhams, also has a major presence in retail, with 23 retail showrooms.<br><br>Eros Group was initially launched as an agency for the Hitachi range of products and over the years the company diversified and today, in addition to marketing Hitachi range of electronic and home appliances, it markets Samsung mobile phones and digital products, Lennox air conditioning products, Aiphone intercoms and security systems, Taurus brand of kitchen appliances and personal care products and has recently added BenQs digital products to its product portfolio.<br><br>Eros consistently high quality sales and services of products is a testimony to groups excellence in business process and employee involvement. It is also reflected in the groups accreditation to the ISO 9001:2000 Quality Systems.','#ffffff');
messages[5] = new Array('images/img-logo-06.gif','Global Process Systems (GPS) is a global provider technology-based "design and build" process facilities solutions for the upstream oil & gas industry. Founded in 1999, GPS as a reputed and reliable supplier of oil & gas equipment has capability to provide complete turnkey solutions in all areas of process equipment and plant supply from integrated design (FEED) through to engineering, fabrication and testing.<br><br>GPSs business within the process equipment market can be grouped into two major divisions (LOM and EPC),ie, Engineering, Procurement and Construction (EPC) contract or a tailored "lease operate and maintain" (LOM) structure. This offers clients more flexibility & choice to develop their facilities or fields.<br><br>Through its strategically placed offices GPS offers a unique blend of in-house design and fabrication skills. This is supplemented by support and facilities access through its major shareholder Al Jaber Energy Services (80% pre-IPO). GPS operates from three strategically located main offices in Dubai- UAE, Kuala Lumpur-Malaysia and Singapore. In addition the business also carries out sales and procurement activity from smaller representative offices in Houston, Amsterdam, Calgary and Tehran','#ffffff');
messages[6] = new Array('images/img-logo-07.gif','Accel Frontline, Ltd. engages in the provision of system integration solutions comprising network design, hardware, software, and Web site development, as well as in the sale and implementation of customized software products in India and internationally.<br><br>The company also provides information technology (IT) infrastructure management solutions and after sales services support relating to asset maintenance services for its own and third party products. Its principal services include datacenter solutions, helpdesk services, facility management, ERP consulting and implementation, banking software implementation, warranty management services, and IT outsourcing.<br><br>It also provides services around its software intellectual properties for the banking, education, and manufacturing verticals.Accel Frontline’s product portfolio comprises BI 360, a business intelligence and MIS solution for the banking industry to extract management information from various banking applications to be used as a decision support tool; iSMART, an online report delivery tool used with banking applications; GBM, a suite of software products that address government business accounting by the banking segment; and Prodigy and Accel UMS, products for the education segment. It has strategic partnerships with various international technology providers, such as Sun Microsystems, Oracle, IBM, and Microsoft.<br><br>The company, formerly known as Accel ICIM Frontline Limited, was founded in 1991 and is headquartered in Chennai, India. Accel Frontline Ltd. operates as a subsidiary of BT Frontline','#ffffff');
messages[7] = new Array('images/img-logo-08.gif','3i Infotech Limited, a SEI CMM Level 5 company, is a leading provider of information technology products and services. It has a comprehensive set of solutions for the banking, finance, insurance, manufacturing, retail, distribution and contracting sectors.<br>Promoted by the US$ 25-billion NYSE-listed ICICI Bank, 3i Infotech serves customers in 30 countries and has presence across 4 continents. <br><br>3i Infotech Limited and its subsidiaries sell software products; and provide software development and consulting services, information technology (IT) enabled managed solutions, and business process outsourcing services.','#ffffff');
messages[8] = new Array('images/img-logo-09.gif','Aujan Industries, established in 1905, AUJAN Industries Co., L.L.C is a privately-owned, independent soft drink manufacturer and direct distributor in the Middle East. Today, Aujan Industries has operations in 12 regional locations, with more than 2200 employees and brand presence in over 25 countries within the GCC, North Africa, Iran, Iraq, Levant, and Central Asia. <br><br>AUJAN Industries Co. is one of the first company started producing mass beverages in the Middle East It carries a portfolio of brands including Vimto, Rani, Barbican and Hani Saudi Arabia. It has strategic alliances with Wrigleys Tominaga Boeki and Unilever.','#ffffff');
messages[9] = new Array('images/img-logo-10.gif','Ruwaad is a wholly owned subsidiary of the Dubai 9 Group, a UAE-based investment company with holdings in more than a dozen countries across four continents. The companys main activities are spread across two divisions: Ruwaad Destinations and Signature Properties.<br><br>Ruwaad is basically real estate, hospitality, and tourism investment and development company. Established in 2006, Ruwaad creates unique, high-end developments across United Arab Emirates, the Middle East, Africa and Asia in close collaboration with a number of leading global brands','#ffffff');
messages[10] = new Array('images/img-logo-11.gif','ETA Ascon, established in 1973 as a joint venture between the Al Ghurair Group and Amana Investment Hong Kong, Ltd., is headquartered in the Dubai, United Arab Emirates. It’s a diversified organization with activities covering 16 broad industry verticals such as Engineering and Construction, Trading and Shipping, Property Development, Retail, Healthcare and more.<br><br>ETA Ascon encompasses of 140 branches and associate offices in 22 countries employing over 72,000 people. The Consolidated Group turnover exceeds US$ 5 Billion.','#ffffff');
messages[11] = new Array('images/img-logo-12.gif','Founded In 1962 The M.H. Group has all along specialized in the food trade and although it is involved today in several activities, food service, distribution and wholesale remain its core business.<br><br>M.H. Enterprises was incorporated as a Limited Liability Company (LLC) and ranks today among the leaders in the food trade in the UAE. It has achieved its success primarily through the efforts of its dedicated employees, several of whom have been with the company since its inception','#ffffff');
messages[12] = new Array('images/img-logo-13.gif','The Al Rostamani Group is one of the largest and the oldest business conglomerates in the United Arab Emirates.Founded in 1957 with the late Mr. Abdullah Hassan Al Rostamani as Chairman,the group has grown steadfastly and conscientiously over the last 50 years with the guiding principles of commitment, care and vision with a geniune concern for the community.<br><br>The Al Rostamani group has a diversified portfolio of businesses in such high growth area as automobiles and heavy equipment, spare parts and services, travel related products, foreign exchange, financial services, real estate, land development, building industry related products, infrastructure development, electronic communications, general trading,IT, and recently recycling. The group is financially strong with hardly any loan commitments for its normal operations.<br><br>The success of the group is also due to its ability to forge long standing alliances, joint ventures,dealerships and licence arrangements with leading worldwide organisations such as Michelin, Castrol, Suzuki, Renault, Nissan Diesel, NEC, Avaya and Alcatel Lucent to name a few. These relationships have been carefully nurtured so that the Al Rostamani Group now touches the lives of people in the UAE and beyond in many different ways.<br><br>Investment in several European countries and relationships with Japanese, French, German, Dutch and Indian companies are steps to spreading its influence further afield.<br><br>The net assets are in excess of US$ 1 billion and the group employs more than 4000 people.','#ffffff');
messages[13] = new Array('images/img-logo-14.gif','Founded in 1996, Charleston Marine Containers Inc. is a wholly owned subsidiary of Gichner Systems Group, Inc. with solid background in the shipping and container industries which gives CMCI a leading edge in design and production of intermodal solutions for our military and commercial customers.<br><br> CMCI’s commitment to quality, rigorous testing and after-sales back up is reflected in their results. The business has grown by more than 30 per cent in each of the past three years (2003-05) and CMCI were named South Carolina Small Manufacturer of the Year in 2003.<br><br>Being one of America’s leading manufacturer of intermodal, modular intermodal, and specialty container systems.  At our South Carolina facility, CMCI designs and produces tough, flexible logistics solutions for the US Military and commercial customers nationwide.','#ffffff');
messages[14] = new Array('images/img-logo-15.gif','Ali Bin Ali Group established since 1945, is Qatars leading FMCG distributor and premier luxury goods retailer.<br><br> The Groups diverse business interests also include Medical, and Travel, Printing, Property, Imaging, Restaurants In addition to various joint ventures with a range of global partners. The Group Is a market leader with an impressive portfolio and a reputation for quality products. and exceptional service.','#ffffff');
messages[15] = new Array('images/img-logo-16.gif','Barcode Gulf, established since 2000 have been performing consistently with a healthy 30% annual growth on turnover. <br><br>Barcode Gulf is one of the leading Auto-ID & Mobility Solutions Providers in the Middle East region with 2 offices in Dubai, customers spread across Middle East and Africa.','#ffffff');
messages[16] = new Array('images/img-logo-17.gif','Epicor is a global leader dedicated to providing integrated enterprise resource planning (ERP), customer relationship management (CRM), supply chain management (SCM), Point of Sale (POS), distribution, and professional service automation (PSA) software solutions to midmarket companies and divisions of the Global 1000. <br><br> Founded in 1984, Epicor serves over 20,000 customers in more than 140 countries, providing solutions in over 30 languages.  Employing innovative service-oriented architecture (SOA) and Web services technology.','#ffffff');
messages[17] = new Array('images/img-logo-18.gif','Gulf Business Machines (GBM) is one of the largest IT solutions and service providers in the region, satisfying the technology requirements of local, regional and international businesses.<br><br>The company provides services and support to IBM distributors throughout the region. With an historical presence that began in 1990, Gulf Business Machines today offers through its branches an extensive range of services from consulting to deployment, and integretion to support, for a growing customer base throughout the Gulf.','#ffffff');
messages[18] = new Array('images/img-logo-19.gif','Global Process Systems (GPS) is a global provider technology-based "design and build" process facilities solutions for the upstream oil & gas industry.<br><br>GPS operates from three strategically located main offices in Dubai,UAE, Kuala Lumpur, Malaysia and Singapore.<br><br> In addition the business also carries out sales and procurement activity from smaller representative offices in Houston, Amsterdam, Calgary and Tehran.','#ffffff');
messages[19] = new Array('images/img-logo-20.gif','Hanscomb: Quantity Surveying Consultants into Cost planning and control services to the design and development industry, including quantity surveying, value management and project management.<br><br>With eight offices located from coast to coast across Canada and with four more located in three countries in the Middle East, Hanscomb has the local experience and the worldwide presence.','#ffffff');
messages[20] = new Array('images/img-logo-21.gif','L&T Infotech, a 100% subsidiary of the US$ 7 billion plus, Forbes Global 2000 and Business Week Asia Top 50 technology-driven engineering and construction major, Larsen & Toubro Limited, offers comprehensive, end-to-end software solutions and services.<br><br> Leveraging the heritage and domain expertise of the parent company, its services encompass a broad technology spectrum, catering to leading international companies across the globe.','#ffffff');
messages[21] = new Array('images/img-logo-22.gif','Microland is a leading specialist IT infrastructure services provider, offering a comprehensive range of services to clients across the globe. <br><br>A pioneer of the remote infrastructure management concept, Microland has its operations hub in India and global presence across USA, UK and Middle East. Incorporated in 1989, Microland has deep and broad expertise in all areas of technology infrastructure set up, management and optimization.','#ffffff');
messages[22] = new Array('images/img-logo-23.gif','MindTree Consulting is an international IT consulting company that delivers affordable business and technology solutions through global software development.<br><br> Co-headquartered in Somerset, New Jersey, Bangalore & Hyderabad India, the companys seasoned management team and employees skilled in technology, business analysis and project management approach technology initiatives in a business context.<br><br> MindTree develops applications to help companies enhance their enterpriseoperations.MindTree is the youngest company in the world to combine Level 5 in both CMMi and PCMM. ','#ffffff');
messages[23] = new Array('images/img-logo-24.gif','OCS Infotech is an Information Technology company specialized in providing consulting and technology services in the areas of Business intelligence, collaboration, portals and Performance Management domain.<br><br> OCS takes forward a legacy of over 28 years of outstanding contribution in Information Technology. OCS has a successful track record of creating world class software products and of offering software services inthe niche domain and technology areas. <br><br>OCS with its headquarters in Pune, one of Indias major IT hubs operate out of three countries OCS offices are equipped with state of the art infrastructure, hardware and software.','#ffffff');
messages[24] = new Array('images/img-logo-25.gif','Petrofac is an international provider of facilities solutions to the oil & gas production and processing industries with a diverse client portfolio including many of the worlds leading integrated, independent and national oil & gas companies.<br><br>Through its three divisions, Engineering & Construction, Operations Services and Resources, Petrofac designs and builds oil & gas facilities; operates or manages facilities and trains personnel; and, where synergies are identified, co-invests to provide additional alignment.<br><br>Petrofac is a people business, with approximately 8,000 employees worldwide, spanning many cultures and disciplines but possessing the same drive and determination to meet the needs and expectations of its customers.','#ffffff');
messages[25] = new Array('images/img-logo-26.gif','Shipcom Wireless, Inc. provides supply chain execution software solutions focusing on the radio frequency identification and enterprise mobility markets in the United States.<br><br> The company provides solutions, such as supply chain visibility, manufacturing traceability and pedigree, compliance management, warehouse management, anti counterfeiting, airline baggage tracking, manufacturing execution, and freight transportation. Shipcom Wireless, Inc. serves oil and gas, pipelines, crude oil refining, chemical and petrochemical, energy and utilities, airline and cargo, life sciences/pharma, defense, hi-tech, and medical instruments sectors, as well as CPG, retail, and premium brands.<br><br> The company was founded in 1997 and is based in Houston, Texas.','#ffffff');
messages[26] = new Array('images/img-logo-27.gif','United Business Group (UBG) established in 2000 is a leading IT Infrastructure Management and technical support services company in Kuwait, engages globally with large and medium enterprises and service providers to reduce their total cost of ownership using a combination of onsite and remote services.<br><br> UBG brings a fresh and innovative approach to IT services management at both the hardware and software levels.','#ffffff');
messages[27] = new Array('images/img-logo-28.gif','Voltas is among Indias leading air-conditioning, refrigeration and engineering services companies. Set up in 1954, its core competencies lie in air conditioning and cooling appliances and services.<br><br>Part of Tata Group, Voltas is Indias largest supplier of engineering products and services for the textile machinery sector and is a major manufacturer of forklift trucks.<br><br>The company has ISO 9001-2000 certification and has executed projects in the Middle East, Southeast Asia, Central Asia, Africa and Europe.<br><br>Voltas has its head office in Mumbai and regional offices in several major cities in India. Its overseas offices are in Abu Dhabi (UAE), Hong Kong and Singapore.','#ffffff');
messages[28] = new Array('images/img-logo-29.gif','WorleyParsons is a leading provider of professional services to the resources & energy sectors and complex process industries.<br><br>WorleyParsons is one of the youngest and fastest growing EPCM global companys whose reputation as a provider of quality engineering and project services to the Energy, Resource and Process industries is second to none. <br><br>With 32,200 employees and over 118 offices in 37 countries worldwide, WorleyParsons prides itself on being able to provide safe and high-quality services that exceed our clients expectations.','#ffffff');
messages[29] = new Array('images/img-logo-30.gif','Al Wathba Company for Central Services (AWCCS) provides a diverse customer base with a full range of vehicle, plant and equipment solutions underpinned by three core products, Rental, Leasing and Outsourced Services.<br><br>The Reorganization and Privatization of the water and electricity sector in the emirate of Abu Dhabi, under Law No. 2 of 1998, resulted in the establishment of Al WathbaCompany for Central Services (AWCCS) in the same year. AWCCS, a fully owned subsidiary of Abu-Dhabi Water & Electricity Authority (ADWEA), commenced business in 1999 by providing exclusive Fleet and HVAC related services to ADWEA.<br><br>On 1st May 2005, Abu-Dhabi Investment Company (ADIC) acquired 51% of AWCCS shares, allowing both shareholders to define a new direction for AWCCS. AWCCS has embarked on an aggressive growth strategy and positioned itself as a leading vehicle and equipment solutions provider to government, semi-government and private sector organizations.','#ffffff');
messages[30] = new Array('images/img-logo-31.gif','Gulf Warranties, a leading provider of extended warranty services in the Middle East, is a joint venture between Arab Insurance Group (ARIG), Bahrain and Oman National Investment Corporation, Oman. An ISO certified company, it assures the best combination of protection, price and customer service standards.<br><br>With a track record of consistent growth, Gulf Warranties is headquartered in UAE and operate through a network of branch offices in Bahrain, Kuwait, Qatar, Oman, Saudi Arabia and Lebanon, with future plans of expanding into North Africa and the Asian subcontinent. <br><br>Regionally, Gulf Warranties provides a range of warranty products in conjunction with the leading insurance companies, Oman Insurance Company in UAE, Gulf Insurance Company in Kuwait, Bahrain Kuwait Insurance Company in Bahrain, Al Madina Gulf Insurance Company in Oman, Doha Insurance Company in Qatar and other insurance companies in respective markets, with the re-insurance support from the regions largest re-insurer, ARIG.','#ffffff');
messages[31] = new Array('images/img-logo-32.gif','Jumbo is one of the leading names in the field of consumer electronics, information technology, telecommunications, home appliances, office automation and entertainment in the United Arab Emirates and is amongst the first transnational corporations with a well spread out network of 29 retail stores and 9 service centres across the Emirates.<br><br>The flagship company of the Jumbo Group, Jumbo Electronics Company Ltd. (LLC) was founded in 1974.<br><br>Jumbos presence in the UAE encompasses the seven Emirates of Dubai, Sharjah, Abu Dhabi, Umm Al Quwain, Ras Al Khaimah, Fujairah and Ajman.<br><br>Jumbo is ISO 9001 certified with established systems and procedures which are constantly tested and improved upon to best serve customer needs.','#ffffff');
messages[32] = new Array('images/img-logo-33.gif','D&B is the worlds leading provider of global business information, knowledge and insight. Operating since 1841 in the US. Manages the worlds most comprehensive commercial database with information on over 140 million business entities. 11,000 employees. 150,000 customers. Servicing 90% of the Business Week Global 1,000. Network of branches covering 240 countries. Handling 186 monetary currencies. Covering 95 languages or dialects. D&B database is updated over 1.5 million times a day.<br><br>Headquartered in Dubai- UAE, D&B South Asia Middle East Ltd. is responsible for the Dun & Bradstreet business in the Middle East, South Asia, Africa and the Indian Ocean/Pacific Islands regions.','#ffffff');


////////////////////  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"><div align="justify">';
var endStr = '</div></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 doTooltip(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>')

