<!--

var akamaiImgs = 'http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/static.globalsources.com'; 
var tradeshowUrL = 'http://tradeshow.globalsources.com'; 

// start function writeCSFPromoBox
function writeCSFPromoBox(showClass)  { 
	 //if ((showClass == 'ALL') || (showClass == 'APR')) {writeAll();}
	 //if ((showClass == 'ALL') || (showClass == 'OCT')) {writeAll();}
	 //if ((showClass == 'ALL') || (showClass == 'OCT')) {writeIndividual('csfgh');}
	 if (showClass == 'ALL') {writeAll();}
	 if ((showClass == 'APR') || (showClass == 'OCT'))  { document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td></tr></table>'); }
	
	 // individual shows
	 //if (showClass == 'EC') { writeIndividual('csfec');	}
	 if (showClass == 'EC') { document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td></tr></table>'); }
	
	 //if (showClass == 'FA') { writeIndividual('csffa');	}
	 if (showClass == 'FA') { document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td></tr></table>'); }
	 
	 //if (showClass == 'GH') { writeIndividual('csfgh');	}
	 if (showClass == 'GH') { document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td></tr></table>'); }
	 
	 if (showClass == 'HW') { document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td></tr></table>'); }
	 //if (showClass == 'HW') { writeIndividual('pwhk');	}
	 
	  // /individual shows 
	  
	
}
// end function writeCSFPromoBox
 
// start function writeAll
function writeAll()
{
	document.writeln('<!-- csf -->');
	document.writeln('<table border="0" cellspacing="0" cellpadding="1" width="415" align=center bgcolor="#000000">');
	document.writeln('<tr><td>');
		document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="414" align=center bgcolor="#ffffff">');
		document.writeln('<tr><td bgcolor="#cc0000" align=center height=20><font face="arial, verdana" size="2" color="#ffffff"><b>China Sourcing Fairs at AsiaWorld-Expo, Hong Kong</b></font></td></tr>');
		document.writeln('<tr><td height=7 bgcolor="#ffffff"></td></tr>');						
		document.writeln('<tr><td>');
				document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%">');			
				document.writeln('<tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="18" height="1"></td>');
					document.writeln('<!-- EC -->');
					document.writeln('<td valign=top>');
						document.writeln('<table  border="0" cellspacing="0" cellpadding="0"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="12" height="1"></td><td><font class=footer2><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS.HTM?source=EVENTCAL_CSFPROMOBOX_showText"><b>Electronics &<br>Components</b></a></font><br><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="6"><br></td></tr></table>');
						document.writeln('<table border="0" cellspacing="0" cellpadding="0">									');
						document.writeln('<tr><td><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CAL_CSFPROMO_EC.GIF" border="0" alt="China Sourcing Fair: Electronics & Components: trade fair in Hong Kong 2009" title="China Sourcing Fair: Electronics & Components: trade fair in Hong Kong 2009"></a></td>');
							document.writeln('<td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td>');
							document.writeln('<td valign=top><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="7"><br>');
							document.writeln('<font class="regtxt"><b>April<br>12-15<br>2010</b></font><br><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="4"><br>');
							//document.writeln('<font class=footer2><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a><br><a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003264&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font><br>');
							
							document.writeln('</td>');
						document.writeln('</tr>');
						document.writeln('</table>'); 
					document.writeln('</td>');
					document.writeln('<!-- /EC -->');
					document.writeln('<td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="20" height="1"></td>');
					document.writeln('<!-- GH -->');
					document.writeln('<td valign=top>');
						document.writeln('<table  border="0" cellspacing="0" cellpadding="0"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="12" height="1"></td><td><font class=footer2><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-GIFTSPREMIUMS.HTM?source=EVENTCAL_CSFPROMOBOX_showText"><b>Gifts &<br>Premiums</b></a></font><br><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="6"><br></td></tr></table>');										
						document.writeln('<table border="0" cellspacing="0" cellpadding="0">');
						document.writeln('<tr><td><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-GIFTSPREMIUMS.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="http://akamai.globalsources.com.edgesuite.net/f/593/3445/5d/staticeh.globalsources.com/ST/i/CAL_CSFPROMO_GP.GIF" border="0" alt="China Sourcing Fair: Gifts & Premiums: trade fair in Hong Kong 2009" title="China Sourcing Fair: Gifts & Premiums: trade fair in Hong Kong 2009"></a></td>');
							document.writeln('<td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td>');
							document.writeln('<td valign=top><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="7"><br>');
							document.writeln('<font class="regtxt"><b>April<br>20-23<br>2010</b></font><br><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="4"><br>');
							//document.writeln('<font class=footer2><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-GIFTSPREMIUMS/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a><br><a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003306&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font><br>');
							document.writeln('</td>');
						document.writeln('</tr>');
						document.writeln('</table>');
					document.writeln('</td>');
					document.writeln('<!-- /GH -->	');
					document.writeln('<td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="5" height="1"></td>');
					document.writeln('<!-- FA -->');
					document.writeln('<td valign=top>');
						document.writeln('<table  border="0" cellspacing="0" cellpadding="0"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="12" height="1"></td><td><font class=footer2><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-FASHION.HTM?source=EVENTCAL_CSFPROMOBOX_showText"><b>Fashion<br>Accessories</b></a></font><br><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="6"><br></td></tr></table>');
						document.writeln('<table border="0" cellspacing="0" cellpadding="0">');
						document.writeln('<tr><td><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-FASHION.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CAL_CSFPROMO_FA.GIF" border="0" alt="China Sourcing Fair: Fashion Accessories: trade fair in Hong Kong 2009" title="China Sourcing Fair: Fashion Accessories: trade fair in Hong Kong 2009"></a></td>');
							document.writeln('<td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="1"></td>');
							document.writeln('<td valign=top><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="7"><br>');
							document.writeln('<font class="regtxt"><b>April<br>20-23<br>2010</b></font><br><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="4"><br>');
							
							//document.writeln('<font class=footer2><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-FASHION/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a><br><a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003280&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font><br>');
							document.writeln('</td>');
						document.writeln('</tr>');
						document.writeln('</table>');
					document.writeln('</td>');
					document.writeln('<!-- /FA -->');
					document.writeln('<td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="5" height="1"></td>');
				document.writeln('</tr>');
				document.writeln('</table>');
		document.writeln('</td></tr>');
		document.writeln('<tr><td height=7 bgcolor="#ffffff"></td></tr>');
		document.writeln('</table>');
	document.writeln('</td></tr>');
	document.writeln('</table>');
	document.writeln('<!-- /csf-->');
	document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="25"></td></tr></table>');				
} 
// end function writeAll


// start writeIndividual
function writeIndividual(individualShow)
{
	document.writeln('<!-- csf promo box -->');
	document.writeln('<table border="0" cellspacing="0" cellpadding="1" width="420" align=center bgcolor="#000000">');
	document.writeln('<tr><td>');
		document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="419" align=center>');
		//document.writeln('<tr><td bgcolor="#cc0000" align=center height=20><font face="arial, verdana" size="2" color="#ffffff"><b>China Sourcing Fair: Electronics & Components</b></font></td></tr>');
		
		if (individualShow == 'csfec') { document.writeln('<tr><td bgcolor="#cc0000" align=center height=20><font face="arial, verdana" size="2" color="#ffffff"><b>China Sourcing Fair: Baby & Children\'s Products</b></font></td></tr>'); }
		if (individualShow == 'csffa') { document.writeln('<tr><td bgcolor="#cc0000" align=center height=20><font face="arial, verdana" size="2" color="#ffffff"><b>China Sourcing Fair: Fashion Accessories</b></font></td></tr>'); }
		if (individualShow == 'csfgh') { document.writeln('<tr><td bgcolor="#cc0000" align=center height=20><font face="arial, verdana" size="2" color="#ffffff"><b>China Sourcing Fair: Gifts & Home Products</b></font></td></tr>'); }
		//if (individualShow == 'pwhk') { document.writeln('<tr><td bgcolor="#cc0000" align=center height=20><font face="arial, verdana" size="2" color="#ffffff"><b>Practical World Hong Kong</b></font></td></tr>'); }		
		
		document.writeln('<tr><td height=2 bgcolor="#ffffff"></td></tr>');
		document.writeln('<tr><td><!-- inner table -->');
				document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%">');			
				document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="2" height="1"></td>');
					document.writeln('<!-- ICON left col -->');
					//document.writeln('<td valign=middle align=center bgcolor="#ffffff"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFEC77_97.JPG" border="0"></a></td>');
					if (individualShow == 'csfec') { document.writeln('<td valign=middle align=center bgcolor="#ffffff"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFEC77_97.JPG" border="0"></a></td>'); }
					if (individualShow == 'csffa') { document.writeln('<td valign=middle align=center bgcolor="#ffffff"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-FASHION.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFFA77_97.JPG" border="0"></a></td>'); }
					if (individualShow == 'csfgh') { document.writeln('<td valign=middle align=center bgcolor="#ffffff"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-GIFTSPREMIUMS.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFGH77_97.JPG" border="0"></a></td>'); }
					//if (individualShow == 'pwhk') { document.writeln('<td valign=middle align=center bgcolor="#ffffff"><a href="'+tradeshowUrL+'/TRADESHOW/PRACTICALWORLDHK.HTM?source=EVENTCAL_CSFPROMOBOX_showIcon"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/PWHK95_97.JPG" border="0"></a></td>'); }
					
					document.writeln('<!-- /ICON left col -->');
					document.writeln('<!-- details right col -->');
					document.writeln('<td bgcolor="#eeeedd" valign=top>');
						document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%">');
						document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="2"></td></tr>');						
						//document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFPROMOBOX_REDHEADER.GIF_EC" border="0"></td></tr>');
						if (individualShow == 'csfec') { document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFPROMOBOX_REDHEADER_EC.GIF" border="0"></td></tr>'); }
						if (individualShow == 'csffa') { document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFPROMOBOX_REDHEADER_FA.GIF" border="0"></td></tr>'); }
						if (individualShow == 'csfgh') { document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFPROMOBOX_REDHEADER_GH.GIF" border="0"></td></tr>'); }
						//if (individualShow == 'pwhk') { document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/TRADESHOW/IMAGES/CSFPROMOBOX_REDHEADER_PWHK.GIF" border="0"></td></tr>'); }
						
						document.writeln('<tr><td bgcolor="#ffffff"><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="3"></td></tr>');						
						document.writeln('<tr><td>');
							document.writeln('<!-- biscuit bg -->');
							document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#eeeedd">	');
							document.writeln('<tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="4" height="4"></td><td bgcolor="#eeeedd"></td></tr>');
							
							//document.writeln('<tr><td></td><td class=regtxt><b>October 11-14, 2006<br>AsiaWorld-Expo, Hong Kong</b></td></tr>');								
							if ((individualShow == 'csfec') || (individualShow == 'csffa')) { document.writeln('<tr><td></td><td class=regtxt><b>April 12-15, 2009<br>AsiaWorld-Expo, Hong Kong</b></td></tr>'); }
							//if ((individualShow == 'csfgh') || (individualShow == 'pwhk')) { document.writeln('<tr><td></td><td class=regtxt><b>October 19-22, 2006<br>AsiaWorld-Expo, Hong Kong</b></td></tr>'); }
							if (individualShow == 'csfgh') { document.writeln('<tr><td></td><td class=regtxt><b>October 20-23, 2008<br>AsiaWorld-Expo, Hong Kong</b></td></tr>'); }
							
							document.writeln('<tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="2"></td></tr>');													
							//document.writeln('<tr><td></td><td><font face="verdana, arial" size="1"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a> | <a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003264&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font></td></tr>');
							
							if (individualShow == 'csfec') { document.writeln('<tr><td></td><td><font face="verdana, arial" size="1"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-ELECTRONICS/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a> | <a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003264&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font></td></tr>'); }
							if (individualShow == 'csffa') { document.writeln('<tr><td></td><td><font face="verdana, arial" size="1"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-FASHION/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a> | <a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003280&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font></td></tr>'); }
							if (individualShow == 'csfgh') { document.writeln('<tr><td></td><td><font face="verdana, arial" size="1"><a href="'+tradeshowUrL+'/TRADESHOW/HONGKONG-GIFTSPREMIUMS/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a> | <a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003306&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font></td></tr>'); }
							
							//if (individualShow == 'pwhk') { document.writeln('<tr><td></td><td><font face="verdana, arial" size="1"><a href="'+tradeshowUrL+'/TRADESHOW/PRACTICALWORLDHK/SHOWN1.HTM?source=EVENTCAL_CSFPROMOBOX_showPrev" class=defblucol><font color=0000ff>Show preview</font></a> | <a href="javascript:winPop2(\'http://tradeshow.globalsources.com/trdshw/gsol/pex/en/bondat/jsp/common/visreg.jsp?tsid=2808800003751&source=EVENTCAL_CSFPROMOBOX\',450,600,\'\',\'yes\',\'yes\',\'yes\',\'yes\',\'yes\')" class=defblucol><font color=0000ff>Register now</font></a></font></td></tr>'); }
							
							document.writeln('</table>');
							document.writeln('<!-- /biscuit bg -->');							
						document.writeln('</td></tr>');
						document.writeln('</table>');					
					document.writeln('</td>');
					document.writeln('<!--/details right col -->');					
				document.writeln('</tr>');
				document.writeln('</table>');
				document.writeln('<!-- /inner table -->');
		document.writeln('</td></tr>');
		document.writeln('</table>');
	document.writeln('</td></tr>');
	document.writeln('</table>');
	document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><img src="'+akamaiImgs+'/STANDARD_IMAGES/BLANK.GIF" border="0" width="1" height="25"></td></tr></table>');			
	document.writeln('<!-- /csf promo box -->	');
	
	
	/*if (individualShow == 'csfec') { alert ("EC")}
	if (individualShow == 'csffa') { alert ("FA")}	
	if (individualShow == 'csfgh') { alert ("GH")}
	if (individualShow == 'pwhk') { alert ("PWHK")}			
	*/
}
// end writeIndividual

 
// -->