<!--

var akamaiImgs = 'http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com';
var akamaiBlank = 'http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com/SITE/I/0.GIF';	
var akamaiTNW = 'http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com/SITE/I/T';		

//new for TSC picklist - dynamic event Cal
function searchFeaturedShows(form) {
var myindex=document.tradeshow.event_FeaturedShows.selectedIndex;
if (document.tradeshow.event_FeaturedShows.selectedIndex>0) {
self.location=document.tradeshow.event_FeaturedShows.options[myindex].value;
}}

function searchGSEvents(form) {
var myindex=document.tradeshow.gsevents.selectedIndex;
if (document.tradeshow.gsevents.selectedIndex>0) {
self.location=document.tradeshow.gsevents.options[myindex].value;
}}
// end new for TSC picklist - dynamic event Cal

function writePickFeaturedShow() {
			//155 -> 165, 153 -> 163, 147 ->157
			
			document.write('<table width="165" border="0" cellspacing="0" cellpadding="0"><tr><td background="'+akamaiTNW+'L.GIF"><img src="'+akamaiBlank+'" height="1" width="4"></td><td width="100%" height="17" background="'+akamaiTNW+'B.GIF" class="sidebarhdr" align=center><b>&nbsp;&nbsp;More Trade Shows</b></td><td align="right" background="'+akamaiTNW+'R1.GIF"><img src="'+akamaiTNW+'R1.GIF" width="5" height="17"></td></tr><tr><td height="3" colspan="3"></td></tr></table>');		
					
			document.write('<!-- start graybox rytnav -->');
			document.write('<table border="0" cellpadding="1" cellspacing="0" width="165">');
	        document.write('<tr><td bgcolor="#e6e6e6">');
			document.write('	<table align="center" bgcolor="#ffffff" border="0" cellpadding="1" cellspacing="0" width="163">');
	        document.write('    <tr><td><img src="http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com/SITE/I/0.GIF" border="0" height="1" width="1"></td>');
			document.write('		<td>');
			
			writeItems();
			
			document.write('		</td>');
			document.write('		<td><img src="http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com/SITE/I/0.GIF" border="0" height="1" width="1"></td>');
			document.write('	</tr>');
			document.write('	</table>');
			document.write('	</td></tr>		');
			document.write('	<tr><td colspan="3"><img src="http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com/SITE/I/0.GIF" border="0" height="1" width="1"></td></tr>');
			document.write('	</table>');
			document.write('	<!-- end graybox rytnav -->');
}  


function writeItems(dirname) {
	document.writeln('<!-- FeaturedShow -->');
	document.writeln('<form name="tradeshow" method="post">');
	document.writeln('			<table cellpadding="2" cellspacing="0" border="0" bgcolor="#ffffff" width=100%>');
	document.writeln('			<tr><td class="footer"><div id="height15"></div>');
	document.writeln('            &nbsp;<b>Go to:</b><br><img src="'+akamaiBlank+'" width="1" height="2" border="0"><br>');
				
	document.writeln('			&nbsp;Featured Trade Shows<br><img src="'+akamaiBlank+'" width="1" height="2" border="0"><br>');						
	document.writeln('			&nbsp;<select name="event_FeaturedShows" size="1" onChange="searchFeaturedShows()" class="footer">');
	document.writeln('			<option selected>Select one</option>');				
	document.writeln("			<option value=\"http://www.chinasourcingfair.com\">China Sourcing</option>");
	document.writeln("			<option value=\"http://www.chinasourcingfair.com\">&nbsp;&nbsp;Fairs</option>");
		
		if (dirname != 'AAPEX')								{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/AAPEX/HOME.HTM\">AAPEX</option>");}
		if (dirname != 'CHINA-INTL-HARDWARE-SHOW')			{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CHINA-INTL-HARDWARE-SHOW/HOME.HTM\">China International</option>");}
		if (dirname != 'CHINA-INTL-HARDWARE-SHOW')			{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CHINA-INTL-HARDWARE-SHOW/HOME.HTM\">&nbsp;&nbsp;Hardware Show</option>");}
		if (dirname != 'ELECTRONIC-INDIA')					{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/ELECTRONIC-INDIA/HOME.HTM\">electronicIndia 2009</option>");}
		if (dirname != 'EMEX-SUZHOU')						{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/EMEX-SUZHOU/HOME.HTM\">eMEX Suzhou</option>");}
		if (dirname != 'GITEX')								{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/GITEX/HOME.HTM\">GITEX</option>");}
		if (dirname != 'HK-INTL-LIGHTING')					{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/HK-INTL-LIGHTING/HOME.HTM\">Hong Kong Int'l</option>");}
		if (dirname != 'HK-INTL-LIGHTING')					{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/HK-INTL-LIGHTING/HOME.HTM\">&nbsp;&nbsp;Lighting Fair</option>");}
		if (dirname != 'KOREA-ELECTRONICS-SHOW')			{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/KOREA-ELECTRONICS-SHOW/HOME.HTM\">Korea Electronics</option>");}
		if (dirname != 'KOREA-ELECTRONICS-SHOW')			{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/KOREA-ELECTRONICS-SHOW/HOME.HTM\">&nbsp;&nbsp;Show</option>");}		
		if (dirname != 'MAGIC-SHOW')						{document.writeln("		<option value=\"http://tradeshow.globalsources.com/TRADESHOW/MAGIC-SHOW/HOME.HTM\">MAGIC Show</option>");}
	
	document.writeln('			<option value="javascript:location.reload()">----------------------</option>');			
	document.writeln('			</select><br>');
	document.writeln('			<div id="height15"></div>&nbsp;or<br>');
	document.writeln('			<div id="height4"></div>');
	document.writeln('			&nbsp;Global Sources Events<br><img src="'+akamaiBlank+'" width="1" height="2" border="0"><br>');
	document.writeln('			&nbsp;<select name="gsevents" size="1" onChange="searchGSEvents()" class="footer">');
	document.writeln('			<option selected>Select one</option>');				
	document.writeln("			<option value=\"http://www.chinasourcingfair.com/\">China Sourcing</option>");
	document.writeln("			<option value=\"http://www.chinasourcingfair.com/\">&nbsp;&nbsp;Fairs</option>");	
	document.writeln("			<option value=\"http://www.english.ecp.iicexpo.com/\">Components Zone</option>");			
	document.writeln("			<option value=\"http://www.english.ecp.iicexpo.com/\">&nbsp;&nbsp;(at IIC-China)</option>");																				
	document.writeln("			<option value=\"http://www.english.chinafall.iicexpo.com\">IIC-China</option>");			
	document.writeln('			<option value="javascript:location.reload()">----------------------</option>');	
	document.writeln('			</select></font>');
	document.writeln('			</td></tr>');	
	document.writeln('			<tr><td><img src="'+akamaiBlank+'" width=1 height=1 alt="" border="0"></td></tr>');
	document.writeln('			<tr><td align="center"><a href="http://tradeshowcalendar.globalsources.com/TRADE-SHOW/ALL-TRADE-SHOWS.HTM" class="footer">All Trade Shows</font></td></tr>');
	document.writeln('			<tr><td><img src="'+akamaiBlank+'" width="1" height="2" border="0"></td></tr>');
	
		//to solve netscape spacing
			netscapeBrwsr = (navigator.userAgent.indexOf("Netscape") != -1);
			if (netscapeBrwsr) 
			{ document.writeln('<tr><td><img SRC="'+akamaiBlank+'" width=1 height=12 border=0></td></tr>'); } 
		//end -- to solve netscape spacing		
	document.writeln('			</table>');
	document.writeln('</form>');
	document.writeln('<!-- /FeaturedShow -->'); 
}


// -->