// JavaScript Document

function translate()
{  
	var url;
	url = window.location.href;
	document.write("<a style='margin-right:5px;' href=http://translate.google.cn/translate?u="+url+"&sl=en&tl=ru&hl=zh-CN&ie=UTF-8><img src=/images/country/Russian.jpg alt=Russian width=20px height=12px border=0 /></a><a style='margin-right:5px;' href=http://translate.google.cn/translate?u="+url+"&sl=en&tl=de&hl=zh-CN&ie=UTF-8><img src=/images/country/German.JPG alt=German width=20px height=12px border=0 /></a>"+'<a style="margin-right:5px;"  href="http://translate.google.cn/translate?u='+url+'&sl=en&tl=fr&hl=zh-CN&ie=UTF-8"><img src="/images/country/French.JPG" alt="French" width="20" height="12" border="0"/></a><a style="margin-right:5px;"  href="http://translate.google.cn/translate?u='+url+'&sl=en&tl=ar&hl=zh-CN&ie=UTF-8/"><img src="/images/country/albo.gif" alt="Arabia" width="20" height="12"  border="0"/></a><a style="margin-right:5px;"     href="http://translate.google.cn/translate?u='+url+'&sl=en&tl=es&hl=zh-CN&ie=UTF-8"><img src="/images/country/Spainish.JPG" alt="Spainish" width="20" height="12" border="0"/></a><a  style="margin-right:5px;"  href="http://www.ejetgroup.com"><img src="/images/country/English.jpg"  alt="English" width="20" height="12" border="0"/></a>'																			
			);
}
function  imgs()
{
	var focus_width=198
	var focus_height=227
	var text_height=0
	var swf_height = focus_height+text_height
	var pics='products/1.jpg|products/2.jpg|products/3.jpg|products/4.jpg|products/5.jpg|products/6.jpg'
	var links='yiwu-factory/|yiwu-factory/|yiwu-factory/|yiwu-factory/|yiwu-factory/|yiwu-factory/|'
	var texts='yiwu market|INTERNATIONAL TRADE CITY|BINWANG MARKET|COSMETIC MARKET|KNITTING MARKET|HUANGYUAN MARKET|'
	document.write('<object ID="focus_flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="products/t_c_0.swf"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
	document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
	document.write('<embed ID="focus_flash" src="products/t_c_0.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');		document.write('</object>');	
}

function showp(id)
{
	for (i=0;i<=5;i++)
	{
		if (i==id)
		{
			document.getElementById("fl"+i).className='lef1_1';
			document.getElementById("product"+i).style.display="";
			
		}
		else
		{
			document.getElementById("fl"+i).className='lef1_3';
			document.getElementById("product"+i).style.display="none";
		}
	}
}
