function gohome()
{
	document.location="../";
}

function gomain(a)
{
    switch (a)
	{
	case 01:
	document.location="index.asp";break;//首页1
	case 02:
	document.location="aboutus.asp?title=公司简介";break;//关于苏美2
	case 03:
	document.location="Conews.asp";break;//新闻中心3
	case 04:
	document.location="Product.asp";break;//产品专区4
	case 05:
	document.location="Brand.asp";break;//品牌展示5
	case 06:
	document.location="JoinUsDes.asp";break;//加盟中心6
	case 07:
	document.location="HrDemand.asp";break;//人才招聘7
	case 08:
	document.location="bbs/Forums.asp?Fid=13";break;//互动地带8
	}
}

function gomenu(a)
{
	switch (a)
	{
	case 11:
		document.location="index.asp";break;
	case 12:
		document.location="";break;
	case 13:
		document.location="";break;
	case 14:
		document.location="";break;
	case 15:
		document.location="";break;
	case 21:
		document.location="aboutus.asp?title=公司简介";break;
	case 22:
		document.location="aboutus.asp?title=企业荣誉";break;
	case 23:
		document.location="aboutus.asp?title=联系我们";break;
//	case 24:
//		document.location="";break;
	case 31:
		document.location="NewsClass.asp?BigClass=公司新闻";break;
	case 32:
		document.location="NewsClass.asp?BigClass=苏美大事记";break;
	case 33:
	    document.location="NewsClass.asp?BigClass=市场快讯";break;
	case 41:
		document.location="product.asp";break;
	case 42:
		document.location="Newproduct.asp";break;
	case 43:
		document.location="Orderdescription.asp";break;
	case 44:
		document.location="#";break;
	case 45:
		document.location="#";break;
	case 51:
		document.location="Brand.asp?brand=vinistyle";break;
	case 52:
		document.location="Brand.asp?brand=itsskin";break;
	case 53:
		document.location="Brand.asp?brand=vinistyle";break;
	case 61:
		document.location="JoinUsDes.asp";break;
	case 62:
		document.location="FeedBack.asp";break;
	case 63:
		document.location="ShowShop.asp";break;
	case 64:
		document.location="#";break;
	case 71:
		document.location="HrDemand.asp";break;
	case 72:
		document.location="HrPolicy.asp";break;
	case 73:
		document.location="HrDemandAccept.asp";break;
	case 81:
		document.location="bbs/Forums.asp?Fid=3";break;
	case 82:
		document.location="bbs/Forums.asp?Fid=9";break;
	case 83:
		document.location="bbs/Forums.asp?Fid=12";break;

	}
}

/*
*/
function shopmap(a)
{
	switch (a)
	{
	case 01:
		document.location="";break;
	case 02:
		document.location="";break;
	case 03:
		document.location="";break;
	case 04:
		document.location="";break;
	case 05:
		document.location="";break;
	case 06:
		document.location="";break;
	case 07:
		document.location="";break;
	case 08:
		document.location="";break;
	case 09:
		document.location="";break;
	case 10:
		document.location="";break;
	case 11:
		document.location="";break;
	case 12:
		document.location="";break;
	case 13:
		document.location="";break;
	case 14:
		document.location="";break;
	case 15:
		document.location="";break;
	case 16:
		document.location="";break;
	
	}
}
function flash(ur,w,h)
{ 
document.write('<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="'+w+'" height="'+h+'">'); 
document.write('<param name="movie" value="'+ur+'">'); 
document.write('<param name="quality" value="high"> '); 
document.write('<param name="wmode" value="transparent"> '); 
document.write('<param name="menu" value="false"> '); 
document.write('<embed src="'+ur+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="'+w+'" height="'+h+'" quality="High" wmode="transparent">'); 
document.write('</embed>'); 
document.write('</object>'); 
} 
function YMD()
{today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i]  }
var d=new initArray(
" 星期日",
" 星期一",
" 星期二",
" 星期三",
" 星期四",
" 星期五",
" 星期六");
document.write(
"<font color=#000000 style='font-size:11px;font-family: verdana'> ",
today.getYear(),"年",
today.getMonth()+1,"月",
today.getDate(),"日","<br>",
d[today.getDay()+1],
"</font>" ); 
	}