document.writeln('');
function popimg(id,seg){
        window.open("http://www.trends.com.cn/article/imgpg_"+id+"_"+seg+".htm","_artimg1","width=400,height=420");
}
function chkfm(par){
	if(par.elements[0].value == "" && par.elements[1].value == ""){
		window.alert("请输入要查询的内容");
		return false;
		}
	else
		return true;
}
function mJump(par){
   var mg_url = new Array('','cosmopolitan/','esquire/','trendshome/','trendshealth/','traveler/','bazaar/','cosmogirl/','goodhousekeeping/','menshealth/','timesquare/','cultural/','autostyle/','trendshouse/','fhm/','foodandwine/','cosmobride/');
	list=par.mpid.options[par.mpid.selectedIndex].value;
	if(list > 0 )
	window.open('http://www.trendsmag.com/trendsmag/'+mg_url[list],'','');
	return false;
}



