<!--

	MacBrws = (navigator.appVersion.indexOf("Mac") != -1);
	var brwSafari = (navigator.appVersion.indexOf("Safari") != -1);	
	MacNets = (navigator.appName.indexOf("Netscape") != -1);
	var brwFirefox = (navigator.userAgent.indexOf("Firefox") != -1);


function writePick() {

var akamaiImgs = 'http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com';

document.writeln('<!-- find a trade show -->');
document.writeln('<form name="tradeshow" method="post" action="http://tradeshowcalendar.globalsources.com/tscal/gsol/pex/en/tscal/jsp/search.jsp">');
document.writeln('<table width="145" border="0" cellpadding="0" cellspacing="0"><tr><td height="5" COLSPAN=2></td></tr><tr><td bgcolor="#990000" width=119>&nbsp;<font face="arial,verdana,helvetica" size=2 color=#ffffff><b>Find a Show</b></font></td><td align=right><img SRC="'+akamaiImgs+'/TRADESHOW/IMAGES/FINDSHOW.GIF" width="26" height="26" alt="" border="0"></td></tr></table>');

document.writeln('<table cellpadding="0" cellspacing="0" border="0"><tr><td width=145>');
document.writeln('	<table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc" width=145> <tr><td width=100%>');
document.writeln('			<table cellpadding="2" cellspacing="0" border="0" bgcolor="#ffffff" width=100%>');
document.writeln('			<tr><td>&nbsp;<font face="verdana,arial,helvetica" size="1"><b>Select:</b></font><br><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="2" border="0"><br></td></tr>');
document.writeln('			<tr><td><font face="verdana,arial,helvetica" size="1">');
document.writeln('			&nbsp;<select name="event_country" size="1" class="footer">');
document.writeln('			<option value="" selected>All Regions</option>');

document.writeln('			<option value="DZ">Algeria</option>');
document.writeln('   		<option value="AR">Argentina</option>');
document.writeln('			<option value="AU">Australia</option>');
document.writeln('			<option value="AT">Austria</option>');
document.writeln('			<option value="BH">Bahrain</option>');
document.writeln('   		<option value="BD">Bangladesh</option>');
document.writeln('   		<option value="BE">Belgium</option>');
document.writeln('			<option value="BR">Brazil</option>');
document.writeln('   		<option value="BG">Bulgaria</option>');
document.writeln('			<option value="CA">Canada</option>');
document.writeln('			<option value="CN">China (mainland)</option>');
document.writeln('			<option value="CZ">Czech Republic</option>');
document.writeln('			<option value="DK">Denmark</option>');
document.writeln('			<option value="EG">Egypt</option>');
document.writeln('			<option value="FI">Finland</option>');
document.writeln('			<option value="FR">France</option>');
document.writeln('			<option value="GA">Gabon</option>');
document.writeln('			<option value="DE">Germany</option>');
document.writeln('			<option value="HK">Hong Kong SAR</option>');
document.writeln('			<option value="IN">India</option>');
document.writeln('   		<option value="ID">Indonesia</option>');
document.writeln('			<option value="IE">Ireland</option>');
document.writeln('   		<option value="IT">Italy</option>');
document.writeln('			<option value="JP">Japan</option>');
document.writeln('			<option value="JO">Jordan</option>');
document.writeln('			<option value="KZ">Kazakhstan</option>');
document.writeln('  		<option value="KE">Kenya</option>');
document.writeln('			<option value="KW">Kuwait</option>');
document.writeln('   		<option value="LB">Lebanon</option>');
document.writeln('			<option value="LT">Lithuania</option>');
document.writeln('			<option value="MY">Malaysia</option>');
document.writeln('			<option value="MX">Mexico</option>');
document.writeln('   		<option value="NZ">New Zealand</option>');
document.writeln('			<option value="PK">Pakistan</option>');
document.writeln('   		<option value="PE">Peru</option>');
document.writeln('			<option value="PH">Philippines</option>');
document.writeln('			<option value="PL">Poland</option>');
document.writeln('   		<option value="PT">Portugal</option>');
document.writeln('			<option value="PR">Puerto Rico</option>');
document.writeln('   		<option value="QA">Qatar</option>');
document.writeln('			<option value="RU">Russian</option>');
document.writeln('			<option value="RU">&nbsp;&nbsp;Federation</option>');
document.writeln('  		<option value="SA">Saudi Arabia</option>');
document.writeln('			<option value="SG">Singapore</option>');
document.writeln('   		<option value="ZA">South Africa</option>');
document.writeln('			<option value="KR">South Korea</option>');
document.writeln('			<option value="ES">Spain</option>');
document.writeln('			<option value="SE">Sweden</option>');
document.writeln('			<option value="CH">Switzerland</option>');
document.writeln('			<option value="SY">Syria</option>');
document.writeln('			<option value="TW">Taiwan</option>');
document.writeln('			<option value="TH">Thailand</option>');
document.writeln('			<option value="TR">Turkey</option>');
document.writeln('			<option value="UA">Ukraine</option>');
document.writeln('			<option value="AE">United</option>');
document.writeln('			<option value="AE">&nbsp;&nbsp;Arab Emirates</option>');
document.writeln('			<option value="GB">United Kingdom</option>');
document.writeln('			<option value="US">United States</option>');
document.writeln('			<option value="UZ">Uzbekistan</option>');
document.writeln('			<option value="VN">Vietnam</option>');

	if ((MacBrws) && (brwSafari))
	{ document.writeln('	<option value="">---------------</option>'); }// ok with mac safari
	else if ((MacBrws) && (brwFirefox))
	{ document.writeln('	<option value="">---------------------</option>'); }// ok with mac firefox
	else 
	{ document.writeln('	<option value="">---------------------</option>'); } 	// this one is ok with mac firefox, ie
document.writeln('			</select></font>');
document.writeln('			</td></tr>');			
document.writeln('			<tr><td HEIGHT=4></td></tr>');
document.writeln('			<tr><td><font face="verdana,arial,helvetica" size="1">');
document.writeln('			&nbsp;<select name="event_industry" size="1" class="footer">');
document.writeln('			<option value="" selected>All Industries</option>');
document.writeln('			<option value="APA">Auto Parts &</option>');
document.writeln('			<option value="APA">&nbsp;&nbsp;Accessories</option>');						
document.writeln('			<option value="BCP">Baby & Children\'s</option>');
document.writeln('			<option value="BCP">&nbsp;&nbsp;Products</option>');			
document.writeln('			<option value="CP">Computer</option>');
document.writeln('			<option value="CP">&nbsp;&nbsp;Products</option>');			
document.writeln('			<option value="EC">Electronic</option>');
document.writeln('			<option value="EC">&nbsp;&nbsp;Components</option>');
document.writeln('			<option value="ELEC">Electronics</option>');
document.writeln('			<option value="FA">Fashion</option>');
document.writeln('			<option value="FA">&nbsp;&nbsp;Accessories</option>');
document.writeln('			<option value="GAT">Garments</option>');						
document.writeln('			<option value="GAT">&nbsp;&nbsp;& Textiles</option>');	
document.writeln('			<option value="GH">Gifts &</option>');						
document.writeln('			<option value="GH">&nbsp;&nbsp;Premiums</option>');	
document.writeln('			<option value="HP">Home Products</option>');
document.writeln('			<option value="HW">Hardware</option>');
document.writeln('			<option value="HW">&nbsp;&nbsp;& DIY</option>');			
document.writeln('			<option value="MACH">Machinery</option>');
document.writeln('			<option value="SP">Security Products</option>');		
document.writeln('			<option value="SP">&nbsp;&nbsp;Products</option>');			
document.writeln('			<option value="SL">Sports &</option>');
document.writeln('			<option value="SL">&nbsp;&nbsp;Leisure</option>');					
document.writeln('			<option value="TS">Telecom Products</option>');
	if ((MacBrws) && (brwSafari))
	{ document.writeln('	<option value="">---------------</option>'); }// ok with mac safari
	else if ((MacBrws) && (brwFirefox))
	{ document.writeln('	<option value="">---------------------</option>'); }// ok with mac firefox
	else 
	{ document.writeln('	<option value="">---------------------</option>'); } 	// this one is ok with mac firefox, ie			
document.writeln('			</select></font>');
document.writeln('			</td></tr>');
document.writeln('			<tr><td HEIGHT=4></td></tr>');
document.writeln('			<tr><td><font face="verdana,arial,helvetica" size="1">');
document.writeln('			&nbsp;<select name="event_month" size="1" class="footer">');
document.writeln('			<option value="" selected>All Months</option>');

//document.writeln('			<option value="">&nbsp;</option>');
document.writeln('			<option value="Jan-2011">Jan 2011</option>');
document.writeln('			<option value="Feb-2011">Feb 2011</option>');
document.writeln('			<option value="Mar-2011">Mar 2011</option>');
document.writeln('			<option value="Apr-2011">Apr 2011</option>');
document.writeln('			<option value="May-2011">May 2011</option>');
document.writeln('			<option value="Jun-2011">Jun 2011</option>');
document.writeln('			<option value="Jul-2011">Jul 2011</option>');
document.writeln('			<option value="Aug-2011">Aug 2011</option>');
document.writeln('			<option value="Sep-2011">Sep 2011</option>');
document.writeln('			<option value="Oct-2011">Oct 2011</option>');
document.writeln('			<option value="Nov-2011">Nov 2011</option>');
document.writeln('			<option value="Dec-2011">Dec 2011</option>');

document.writeln('			<option value="">&nbsp;</option>');
document.writeln('			<option value="Jan-2012">Jan 2012</option>');


	if ((MacBrws) && (brwSafari))
	{ document.writeln('	<option value="">---------------</option>'); }// ok with mac safari
	else if ((MacBrws) && (brwFirefox))
	{ document.writeln('	<option value="">---------------------</option>'); }// ok with mac firefox
	else 
	{ document.writeln('	<option value="">---------------------</option>'); } 	// this one is ok with mac firefox, ie			 
document.writeln('			</select></font>');
document.writeln('			</td></tr>');

document.writeln('			<tr><td>&nbsp;<font face="verdana,arial,helvetica" size="1"><b>Enter keyword:</b><br>');
document.writeln('			&nbsp;(Optional)</font><br>&nbsp;<input type="text" size=17 name="keyword" style="width: 129px;"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="2" border="0"><br>');
//document.writeln('			&nbsp;&nbsp;(Optional)</font><br>&nbsp;<input type="text" size=16 name="keyword"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="2" border="0"><br>');
document.writeln('			</td></tr>');
			
document.writeln('			<tr><td height=2 align="center"><input type="image" src="http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com/gsol/en/clean/images/I_GO.GIF" border="0" align="top" alt="Search"></td></tr>');
			
document.writeln('			<tr><td height=2><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td bgcolor="#cccccc"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="1" border="0"></td></tr></table></td></tr>');
document.writeln('						<tr><td height=2><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="2" border="0"></td></tr>');
document.writeln('			<tr><td><font face="verdana,arial,helvetica" size="1">');
document.writeln('            &nbsp;<b>Go to:</b><br><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="2" border="0"><br>');
			
document.writeln('			&nbsp;Featured Trade Shows<br><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" 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>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/EAST-CHINA-FAIR/HOME.HTM\">East China Fair</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/ELECTRONICA-PRODUCTRONICA-CHINA/HOME.HTM\">electronica &</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/ELECTRONICA-PRODUCTRONICA-CHINA/HOME.HTM\">&nbsp;&nbsp;Productronica China</option>");
//document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CEF-SHENZHEN/HOME.HTM\">China Electronics Fair</option>");
document.writeln("		    <option value=\"http://tradeshow.globalsources.com/TRADESHOW/CEF-SHANGHAI/HOME.HTM\">China Electronics Fair</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CIFF/HOME.HTM\">China Int'l</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CIFF/HOME.HTM\">&nbsp;&nbsp;Furniture Fair</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CANTONFAIR/HOME.HTM\">Canton Fair</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/AUTO-BEIJING/HOME.HTM\">Auto Beijing</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/TAISPO/HOME.HTM\">TaiSPO</option>");
//document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/TAIPEI-CYCLE/HOME.HTM\">Taipei CYCLE</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/HKELECTRONICSFAIR/HOME.HTM\">Hong Kong</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/HKELECTRONICSFAIR/HOME.HTM\">&nbsp;&nbsp;Electronics Fair</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/HK-INTL-LIGHTING/HOME.HTM\">Hong Kong Int'l</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/HK-INTL-LIGHTING/HOME.HTM\">&nbsp;&nbsp;Lighting Fair</option>");
//document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/TAIPEI-AMPA/HOME.HTM\">Taipei AMPA</option>");
//document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/PHOTONICS/HOME.HTM\">Photonics Festival</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CHINA-HI-TECH-FAIR/HOME.HTM\">China Hi-Tech Fair </option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/FASHION-SHANGHAI/HOME.HTM\">Fashion Shanghai </option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CHINA-INTL-HARDWARE-SHOW/HOME.HTM\">China Int'l</option>");
document.writeln("			<option value=\"http://tradeshow.globalsources.com/TRADESHOW/CHINA-INTL-HARDWARE-SHOW/HOME.HTM\">&nbsp;&nbsp; Hardware Show </option>");
	if ((MacBrws) && (brwSafari))
	{ document.writeln('			<option value="javascript:location.reload()">---------------</option>'); } 
	else if ((MacBrws) && (brwFirefox))
	{ document.writeln('			<option value="javascript:location.reload()">---------------------</option>'); } 	
	else 
	{ document.writeln('			<option value="javascript:location.reload()">---------------------</option>'); }			
document.writeln('			</select><br>');

document.writeln('			<img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="4" border="0"><br>&nbsp;or<br>');
document.writeln('			<img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="4" border="0"><br>');
document.writeln('			&nbsp;Global Sources Events<br><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" 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;</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>");			

	if ((MacBrws) && (brwSafari))
	{ document.writeln('			<option value="javascript:location.reload()">---------------</option>'); } 
	else if ((MacBrws) && (brwFirefox))
	{ document.writeln('			<option value="javascript:location.reload()">---------------------</option>'); } 	
	else 
	{ document.writeln('			<option value="javascript:location.reload()">---------------------</option>'); }			
document.writeln('			</select></font>');
document.writeln('			</td></tr>');	
document.writeln('			<tr><td><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" 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"><font face="verdana,arial,helvetica" size="1">All Trade Shows</font></a></td></tr>');
document.writeln('			<tr><td><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/BLANK.GIF" width="1" height="5" border="0"></td></tr>');
document.writeln('			</table>');
document.writeln('	</td></tr>');
document.writeln('	</table>');
document.writeln('</td></tr>');
document.writeln('</table>');
document.writeln('</form>');
document.writeln('<!-- /find a trade show -->');
}   

function searchDropdown() {
	  	document.writeln("<option value=\"P\" selected>Products");
		document.writeln("<option value=\"S\">Suppliers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		document.writeln("</select></font>");
}  



// -->
