var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;
var origWidth, origHeight;
if (ns4) 
{
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}
if (nodyn) { event = "nope" }
var DescriptionFollowingMouse= true;
var DescriptionWidth= 250;
var offX= 33;
var offY= -15;
var DescriptionFontFamily= "Verdana, arial, helvetica, sans-serif";
var DescriptionFontSize= "8pt";
var DescriptionFontColor= "#000000";
var DescriptionBkgColor= "#8ABECD";
var DescriptionBorderColor= "#000000";
var DescriptionBorderWidth= 1;
var DescriptionBorderStyle= "ridge";
var DescriptionPadding= 9;
var DescriptionLineHeight= 15;
var mybgcolor="#dfefff";
var str=location.href.toLowerCase();
if (str.indexOf("webservices")>0)
{	
	mybgcolor="#CFDBFF";
}
else if (str.indexOf("embedded")>0)
{	
	mybgcolor="#def0ef";
}
else if (str.indexOf("searchengine")>0)
{	
	mybgcolor="#fffcfc";
}
else if (str.indexOf("friends")>0)
{	
	mybgcolor="#ddffff";
}
else if (str.indexOf("models")>0)
{	
	mybgcolor="#ffefff";
}
else if (str.indexOf("actors")>0)
{	
	mybgcolor="#fff3ee";
}
else if (str.indexOf("performing")>0)
{	
	mybgcolor="#ffffdd";
}
else 
{	
	mybgcolor="#dfefff";
}
var messages = new Array();
messages[0] = new Array('','<b>2005 e-Financial <i><font color=#ff0000>World</font>Expo</i></b><br><br>The global event on IT for banks, insurance and other financial institutions.',"#dfefff");
messages[1] = new Array('','<b>2005 Wireless & Mobile <i><font color=#ff0000>World</font>Expo</i></b><br><br>Leading global event for wireless & mobile enterprise solutions.',"#dfefff");
messages[2] = new Array('','<b>2005 IT <i><font color=#ff0000>World</font>Expo</i></b><br><br>THE Global Event on Information Technologies.',"#dfefff");
messages[3] = new Array('','<b>Web Services Portal</b><br><br>Features the latest news for IT professionals and executives working with web services and application integration. Take advantage of our services and stay on the cutting edge.',"#CFDBFF");
messages[4] = new Array('','<b>Embedded Systems Portal</b><br><br>Featuring the latest news for IT professionals working with embedded software development. Take advantage of our services and stay on the cutting edge.',"#def0ef");
messages[5] = new Array('','<b>Search Engine and Toolbar</b><br><br><i><font color=#ff0000>Wow</font>Gao</i> search engine and toolbar feature comprehensive web search along with UDDI, news, blog, music, and products search.',"#fffcfc");
messages[6] = new Array('','<b>Friends Social Network</b><br><br>A fast growing online community that connects people for socializing and dating by employing the latest research results of the modern behavior sciences.',"#ddffff");
messages[7] = new Array('','<b>Models</b><br><br>With free membership, become a member model to upload your portfolio and stats, and access job postings to start working on exciting and glamorous modeling assignments.',"#ffefff");
messages[8] = new Array('','<b>Actors</b><br><br>With free membership, become a member actor to access job postings to start working on exciting and glamorous acting assignments.',"#fff3ee");
messages[9] = new Array('','<b>Performing Artists</b><br><br>With free membership, become a member artist to access job postings to start working on exciting and glamorous performing assignments.',"#ffffdd");
messages[10] = new Array('','<b>UrScouted.com</b><br><br>Models.WowGao.com, Actors.WowGao.com and PerformingArtists.WowGao.com have received additional funding and spun out as an independent business entity, UrScouted.com, as a result of their successes.',"#dfefff");
messages[11] = new Array('','<b>2004 e-Financial <i><font color=#ff0000>World</font>Expo</i></b><br><br>THE Global Event on IT for Banks, Insurance and other Financial Institutions.',"#dfefff");
messages[12] = new Array('','<b>2005 Government & Health Technologies Forum</b><br><br>The leading IT event for government and health sectors',"#dfefff");
messages[13] = new Array('','<b>MultiMedia Shanghai 2005</b><br><br>The most anticipated multimedia technology event in Asia.',"#dfefff");
messages[14] = new Array('','<b>CISIS 2005</b><br><br>The biggest international software & information service fair in China.',"#dfefff");
messages[15] = new Array('','<b>CON4</b><br><br>Digital Media Convergence - the business exhibition for digital content',"#dfefff");
messages[16] = new Array('','<b>2006 Government & Health Technologies Conference & Expo</b><br><br>The leading IT event for government and health sectors',"#dfefff");
messages[17] = new Array('','<b>2006 Wireless and Mobile Expo and Conference</b><br><br>The leading global event for wireless & mobile solutions',"#dfefff");
messages[18] = new Array('','<b>2006 e-Financial <i><font color=#ff0000>World</font>Expo</i></b><br><br>The annual global technology event for the financial industry',"#dfefff");
messages[19] = new Array('','<b>2006 RFID Forum</b><br><br>The leading IT event for RFID solutions',"#dfefff");
//Tina
messages[20] = new Array('','<b>2007 Wireless and Mobile Expo and Conference</b><br><br>The leading annual global event for wireless and mobile solutions',"#dfefff");
messages[21] = new Array('','<b>2007 Government Technologies Conference and Expo</b><br><br>The premier annual IT event for government sectors',"#dfefff");
messages[22] = new Array('','<b>2007 RFID Forum</b><br><br>The annual leading IT event for RFID solutions',"#dfefff");
messages[23] = new Array('','<b>2004 e-Financial <i><font color=#ff0000>World</font>Expo</i></b><br><br>The global event on IT for banks, insurance and other financial institutions.',"#dfefff");
messages[24] = new Array('','<b>2004 Wireless & Mobile <i><font color=#ff0000>World</font>Expo</i></b><br><br>Leading global event for wireless & mobile enterprise solutions.',"#dfefff");
//The global event for exciting leading edge technologies that are revolutionizing the global information technology industry
messages[25] = new Array('','<b>2003 Web Services/XML Conference & Expo</b><br><br>The global event for exciting leading edge technologies that are revolutionizing the global information technology industry',"#dfefff");
messages[26] = new Array('','<b>2007 Health Technologies Conference and Expo</b><br><br>The premier annual IT event for health sectors',"#dfefff");
//Wowgao Blogs
messages[27] = new Array('','<b>RFID Blog</b><br><br>Blog on application and implementation of RFID technologies',"#dfefff");
//2007 Financial Services Technology Forum
messages[28] = new Array('','<b>2007 Financial Services Technology Forum</b><br><br>The Annual Global Technology Event for the Financial Industry',"#dfefff");
// 2008 gov
messages[29] = new Array('','<b>2008 Government Technologies Conference and Expo</b><br><br>The premier annual IT event for government sectors',"#dfefff");
// 2008 health
messages[30] = new Array('','<b>2008 Health Technologies Conference and Expo</b><br><br>The premier annual IT event for health sectors',"#dfefff");
// 2008 WM
messages[31] = new Array('','<b>2008 Wireless and Mobile Expo and Conference</b><br><br>The leading annual global event for wireless and mobile solutions',"#dfefff");
// 2008 rfid
messages[32] = new Array('','<b>2008 RFID Forum</b><br><br>The annual leading  IT event for RFID solution',"#dfefff");
// 2008 e-financial
messages[33] = new Array('','<b>2008 Financial Services Technology Forum',"#dfefff");

// 2009 gov
messages[34] = new Array('','<b>2009 Government Technologies Conference and Expo</b><br><br>The premier annual IT event for government sectors',"#dfefff");

// 2009 health
messages[35] = new Array('','<b>2009 Health Technologies Conference and Expo</b><br><br>The premier annual IT event for health sectors',"#dfefff");

// 2008 WM
messages[36] = new Array('','<b>2009 Wireless and Mobile Expo and Conference</b><br><br>The leading annual global event for wireless and mobile solutions',"#dfefff");
// 2008 rfid
messages[37] = new Array('','<b>2009 RFID Forum</b><br><br>The annual leading  IT event for RFID solution',"#dfefff");

// 2009 e-financial



if (document.images) 
{
	var theImages = new Array();
	for (var i=0; i<messages.length; i++) 
	{
  		theImages[i] = new Image();
		theImages[i].src = messages[i][0];
    }
}
var strtStg = '<table width="' + DescriptionWidth + '">';
var mdStg = '<tr><td valign="top">';
var edStg = '</td></tr></table>';
var toolDescription, Descriptioncss;
function initDescription() 
{
	if (nodyn) return;
	toolDescription = (ns4)? document.DescriptionDiv.document: (ie4)? document.all['DescriptionDiv']: (ie5||ns5)? document.getElementById('DescriptionDiv'): null;
	Descriptioncss = (ns4)? document.DescriptionDiv: toolDescription.style;
	if (ie4||ie5||ns5) 
	{	
		Descriptioncss.width = DescriptionWidth+"px";
		Descriptioncss.fontFamily = DescriptionFontFamily;
		Descriptioncss.fontSize = DescriptionFontSize;
		Descriptioncss.color = DescriptionFontColor;
		Descriptioncss.backgroundColor = DescriptionBkgColor;
		Descriptioncss.borderColor = DescriptionBorderColor;
		Descriptioncss.borderWidth = DescriptionBorderWidth+"px";
		Descriptioncss.padding = DescriptionPadding+"px";
		Descriptioncss.borderStyle = DescriptionBorderStyle;
	}

	if (toolDescription&&DescriptionFollowingMouse) 
	{
		if (ns4) document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = trackMouse;
	}
}

function addEvent(obj, evType, fn, useCapture)
{
  if (obj.addEventListener)
  {
    obj.addEventListener(evType, fn, useCapture);
    return true;
  } 
  else if (obj.attachEvent)
  {
    var r = obj.attachEvent("on"+evType, fn);
    return r;
  } 
  else 
  {
    alert("Handler could not be attached");
  }
} 

addEvent(window, 'load', initDescription,false);
//window.onload = initDescription;

var t1,t2;
var DescriptionOn = false;
function dotoolDescription(evt,num)
{
	//alert(num);
	if (!toolDescription) return;
	if(t1) clearTimeout(t1);	
	if(t2) clearTimeout(t2);
	DescriptionOn = true;
	if (messages[num][2])	
		var curBgColor = mybgcolor;
	else 
		curBgColor = DescriptionBkgColor;	
	//curBgColor = DescriptionBkgColor;  //Jack Fan
	if (messages[num][3])	
		var curFontColor = messages[num][3];
	else 
		curFontColor = DescriptionFontColor;	
	curFontColor = DescriptionFontColor;
	if (ns4) 
	{  
		var Description = '<table bgcolor="red" width="' + DescriptionWidth + '" cellspacing="0" cellpadding="' + DescriptionBorderWidth + '" border="0"><tr><td><table bgcolor="' + curBgColor + '" width="100%" cellspacing="0" cellpadding="' + DescriptionPadding + '" border="0"><tr><td>'+ strtStg + messages[num][0] + mdStg + '<span style="font-family:' + DescriptionFontFamily + '; font-size:' + DescriptionFontSize + '; color:' + curFontColor + '; line-height:' + DescriptionLineHeight + 'px">' + messages[num][1] + '</span>' + edStg + '</td></tr></table></td></tr></table>';
		toolDescription.write(Description);
		toolDescription.close();
	} 
	else if (ie4||ie5||ns5) 
	{	
		 
		var Description =strtStg + messages[num][0] + mdStg + '<span style="font-family:' + DescriptionFontFamily + '; font-size:' + DescriptionFontSize + '; color:' + curFontColor + ';  line-height:' + DescriptionLineHeight + 'px ">' + messages[num][1] + '</span>' + edStg;
		Descriptioncss.backgroundColor = curBgColor;
		toolDescription.innerHTML = Description;
	}
	if (!DescriptionFollowingMouse) 
		positionDescription(evt);
	else 
		t1=setTimeout("Descriptioncss.visibility='visible'",100);
}



var mouseX, mouseY;
function trackMouse(evt) 
{
	mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	if (DescriptionOn) positionDescription(evt);
}

function positionDescription(evt) 
{
	if (!DescriptionFollowingMouse) 
	{
		mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
		mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	}
	var dsWd = (ns4)? toolDescription.width: (ie4||ie5)? toolDescription.clientWidth: toolDescription.offsetWidth;
    var dsHt = (ns4)? toolDescription.height: (ie4||ie5)? toolDescription.clientHeight: toolDescription.offsetHeight;
    var windWd = (ns4||ns5)? window.innerWidth-20+window.pageXOffset: document.body.clientWidth+document.body.scrollLeft;
    var windHt = (ns4||ns5)? window.innerHeight-20+window.pageYOffset: document.body.clientHeight+document.body.scrollTop;
    if ((mouseX+offX+dsWd)>windWd)
		Descriptioncss.left = (ns4)? mouseX-(dsWd+offX): mouseX-(dsWd+offX)+"px";
	else Descriptioncss.left = (ns4)? mouseX+offX: mouseX+offX+"px";
	if ((mouseY+offY+dsHt)>windHt)
		Descriptioncss.top = (ns4)? windHt-(dsHt+offY): windHt-(dsHt+offY)+"px";
	else Descriptioncss.top = (ns4)? mouseY+offY: mouseY+offY+"px";
	if (!DescriptionFollowingMouse) t1=setTimeout("Descriptioncss.visibility='visible'",100);
}

function hideDescription() 
{
	if (!toolDescription) return;
	t2=setTimeout("Descriptioncss.visibility='hidden'",100);
	DescriptionOn = false;
}