﻿// JScript 文件
				//获取url
function Request(strName)
{
var strHref = window.location.href;
var intPos = strHref.indexOf("?");
var strRight = strHref.substr(intPos + 1);

var arrTmp = strRight.split("&");
for(var i = 0; i < arrTmp.length; i++)
{
var arrTemp = arrTmp[i].split("=");

if(arrTemp[0].toUpperCase() == strName.toUpperCase()) return arrTemp[1];
}
return "";

}

function AddAd(tag, key, flash) {
	var ad = tag.innerHTML;
	if (ad.indexOf(key) == -1) {
		tag.innerHTML += flash;
	}
}

//广告
	var xhdq = unescape(Request("city"));
	var province = unescape(Request("Province"));
function topAdvertisement()
{
    var topAd=document.getElementById("topAd");
    topAd.innerHTML="";
	if( xhdq=="" && province=="" )
	{
			   
				if(document.sv)
				{
				
					switch(Request("sv"))
					{
					case "%e6%99%ae%e7%a2%b3%e4%b8%ad%e6%9d%bf":
					case "%e9%ab%98%e5%bc%ba%e5%ba%a6%e6%9d%bf":
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                      topAd.innerHTML += "<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	                      break;

	                     case "%e9%ab%98%e5%bc%ba%e6%9d%":
	                     	topAd.innerHTML += "<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                     	break;
					}
				
				}
				else
				{
					switch (Request("sv")) {
						case "%e9%ab%98%e5%bc%ba%e6%9d%bf":
						case "%e6%99%ae%e7%a2%b3%e4%b8%ad%e6%9d%bf":
							topAd.innerHTML += "<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
							break;
						default:
							//alert(Request("sv"));
							topAd.innerHTML += "<embed wmode=transparent src=flash\/hn_anye_750_65.swf quality=high type=application\/x-shockwave-flash width=750 height=65><\/embed><img src='images\/0327.jpg' \/>";
							break;
					}
					//topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
					//topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
					//topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
				}

	}
	else if( xhdq!=""  )
	     {
	         switch (xhdq)
	         {
	             case "邯郸":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "郑州":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "南京":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "洛阳":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "聊城":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "浙江":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "湖北":
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                     topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
	             case "安阳":
					 
					 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
					 topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
				 case "上海":
                      topAd.innerHTML +="<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
                      topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	                  break;
	             default:
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                 <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                 topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
	             break;
	         } 
	     }
	     else if ( province != "")
	          {
	              switch (province)
	              {
	                  case "河北":
	                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/xiaguang1.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                     <!-- topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
						  break;
					  case "山东":
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
						  break;
					   case "江苏":
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
						  break;
					   case "山西":
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/yonghe.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/gangsheng.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
						  break;
	                  default:
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/zhongtong.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";
	                      <!--topAd.innerHTML +="<embed wmode=transparent src=flash\/hengchun.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed><img src='images\/0327.jpg' \/>";-->
	                      topAd.innerHTML +="<embed wmode=transparent src=flash\/shengan.swf quality=high type=application\/x-shockwave-flash width=250 height=64><\/embed>";
						  break;
	              }
	          }
}


//右侧的广告
function rightAdvertisment()
{
    var overAd = document.all.overAd;
    if (province=="")
    {
		switch (xhdq)
		{
		    case "":
		   
				if(document.sv)
				{
			
					break;
				}
				
				
				     overAd.innerHTML="";

                /*overAd.innerHTML +="<embed wmode=transparent src=flash\/fuliu198x140.swf quality=high type=application\/x-shockwave-flash width=198 height=140><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/jieao.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/angang1.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/guoyuan.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/daguang.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/wg_pengwei_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/wg_jinshi_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML +="<embed wmode=transparent src=flash\/ly_jvxinyuan_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				overAd.innerHTML += "<embed wmode=transparent src=flash\/hn_haobaogang_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";*/

				AddAd(overAd, "fuliu198x140.swf", "<embed wmode=transparent src=flash\/fuliu198x140.swf quality=high type=application\/x-shockwave-flash width=198 height=140><\/embed>");
				AddAd(overAd, "jieao.swf", "<embed wmode=transparent src=flash\/jieao.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "angang1.swf", "<embed wmode=transparent src=flash\/angang1.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				<!--AddAd(overAd, "guoyuan.swf", "<embed wmode=transparent src=flash\/guoyuan.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
				AddAd(overAd, "daguang.swf", "<embed wmode=transparent src=flash\/daguang.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "wg_pengwei_198_60.swf", "<embed wmode=transparent src=flash\/wg_pengwei_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "wg_jinshi_198_60.swf", "<embed wmode=transparent src=flash\/wg_jinshi_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "ly_jvxinyuan_198_60.swf", "<embed wmode=transparent src=flash\/ly_jvxinyuan_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "hn_haobaogang_198_60.swf", "<embed wmode=transparent src=flash\/hn_haobaogang_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "hd_yanjun_198_60.swf", "<embed wmode=transparent src=flash\/hd_yanjun_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "zz_tianhu_198_60.swf", "<embed wmode=transparent src=flash\/zz_tianhu_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				AddAd(overAd, "wg_rongwei_198_60.swf", "<embed wmode=transparent src=flash\/wg_rongwei_198_60.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
				break;
		    case "邯郸":
		       overAd.innerHTML="";
 
		    	//overAd.innerHTML +="<embed wmode=transparent src=flash\/chaoqian.swf quality=high type=application\/x-shockwave-flash width=198 height=140><\/embed> ";
				//overAd.innerHTML +="<embed wmode=transparent src=flash\/boxin.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				//overAd.innerHTML +="<embed wmode=transparent src=flash\/zhengda.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
				//overAd.innerHTML +="<embed wmode=transparent src=flash\/tongyun.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
		    	AddAd(overAd, "chaoqian.swf", "<embed wmode=transparent src=flash\/chaoqian.swf quality=high type=application\/x-shockwave-flash width=198 height=140><\/embed>");
		    	<!--AddAd(overAd, "boxin.swf", "<embed wmode=transparent src=flash\/boxin.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
		    	<!--AddAd(overAd, "zhengda.swf", "<embed wmode=transparent src=flash\/zhengda.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
		    	<!--AddAd(overAd, "tongyun.swf", "<embed wmode=transparent src=flash\/tongyun.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
				break;
			case "舞钢":
		      overAd.innerHTML="";

		    	//overAd.innerHTML += "<embed wmode=transparent src=flash\/ayzihui.swf quality=high type=application\/x-shockwave-flash width=198 height=120<\/embed> ";

		    	AddAd(overAd, "ayzihui.swf", "<embed wmode=transparent src=flash\/ayzihui.swf quality=high type=application\/x-shockwave-flash width=198 height=120><\/embed>");

		        break;
		}
    }
    else if(province!="")
         {
       overAd.innerHTML=""; 
         
             switch (province)
             {
             	case "河北":
             		/*overAd.innerHTML += "<embed wmode=transparent src=flash\/guishun.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/deyang.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/jindu.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/longrunxh.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/chengyun.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/depaiqi.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/youdai.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed> ";
             		overAd.innerHTML += "<embed wmode=transparent src=flash\/shuaiyu.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>";
					*/

             		<!--AddAd(overAd, "guishun.swf", "<embed wmode=transparent src=flash\/guishun.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
             		<!--AddAd(overAd, "deyang.swf", "<embed wmode=transparent src=flash\/deyang.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
             		<!--AddAd(overAd, "jindu.swf", "<embed wmode=transparent src=flash\/jindu.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
<!--             		AddAd(overAd, "longrunxh.swf", "<embed wmode=transparent src=flash\/longrunxh.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
             		<!--AddAd(overAd, "chengyun.swf", "<embed wmode=transparent src=flash\/chengyun.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
             		<!--AddAd(overAd, "depaiqi.swf", "<embed wmode=transparent src=flash\/depaiqi.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->-->
             		<!--AddAd(overAd, "youdai.swf", "<embed wmode=transparent src=flash\/youdai.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
             		<!--AddAd(overAd, "shuaiyu.swf", "<embed wmode=transparent src=flash\/shuaiyu.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");-->
             		break;
             }
         }

                 switch (Request("sv")) {
                 	case "%e6%99%ae%e7%a2%b3%e4%b8%ad%e6%9d%bf":
                 	case "%e9%ab%98%e5%bc%ba%e5%ba%a6%e6%9d%bf":
                 		//overAd.innerHTML += "<embed wmode=transparent src=\/supply\/flash\/jinhe.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>";
                 		AddAd(overAd, "jinhe.swf", "<embed wmode=transparent src=\/supply\/flash\/jinhe.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
                 		break;


                 	case "%e8%a7%92%e9%92%a2":
                 		//overAd.innerHTML += "<embed wmode=transparent src=\/flash\/tanggang198.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>";
                 		AddAd(overAd, "tanggang198.swf", "<embed wmode=transparent src=\/flash\/tanggang198.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
                 		break;

                	case "%e8%9e%ba%e7%ba%b9%e9%92%a2":
                		//overAd.innerHTML += "<embed wmode=transparent src=\/flash\/jinhai.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>";
                		AddAd(overAd, "jinhai.swf", "<embed wmode=transparent src=\/flash\/jinhai.swf quality=high type=application\/x-shockwave-flash width=198 height=60><\/embed>");
                		break;
                 }

}

//if (document.sv) {
//}

