function jsChangeHtml(a,b){
	var flash_id_html = "", title = [], fpic = document.getElementById("flashid").getElementsByTagName("img"), controlSize = document.getElementById("flash_control"), temp, switcher = [], CurScreen = 0, refreshSwitchTimer, nav = document.getElementById("SwitchNav"), strTemp = "", info = document.getElementById("SwitchTitle"), stime;
	controlSize.style.width = a + "px"; controlSize.style.height = b + "px";

	for(var i = 0; i < fpic.length; i++){
		flash_id_html += ((i > 0) ? "<div id=\"switch_" + (i + 1) + "\" style=\"display:none;\" >" : "<div id=\"switch_" + (i + 1) + "\">") + "<a href=" + fpic[i].parentNode.href + " target=\"_blank\"><img src=\"" + fpic[i].src + "\" title=\"" + fpic[i].title + "\" ><\/a><\/div>";
		temp = fpic[i].title.split("。");
		switcher.push({ url:fpic[i].parentNode.href, title:temp[0], stitle:(temp.length == 1) ? " " : temp[1] });
		strTemp += "<li class=\"" + i + "\"><a href=\"javascript:;\" target=\"_self\">" + (i + 1) + "<\/a><\/li>";
	}
	nav.innerHTML = strTemp;
	document.write(flash_id_html);

	var divs = [], time, lis = document.getElementById("SwitchNav").getElementsByTagName("a");
	for(var i = 0; i < fpic.length; i++){
		divs.push(document.getElementById("switch_" + (i + 1)));
		lis[i].onmouseover = limouseover;
		lis[i].onmouseout = mouseout;
	}
	temp = divs[0];strTemp = lis[0];strTemp.className = "sel"
	function switchPic(){
		temp.style.display = "none"; strTemp.className = "";
		temp = divs[CurScreen];strTemp = lis[CurScreen];
		temp.style.display = "block";strTemp.className = "sel";
		info.innerHTML = "<h3><a href=\"" + switcher[CurScreen].url + "\" target=\"_blank\">" + switcher[CurScreen].title + "<\/a><p><a href=\"" + switcher[CurScreen].url + "\" target=\"_blank\">" + switcher[CurScreen].stitle + "<\/a><\/p><\/h3>";
		CurScreen = (++CurScreen == fpic.length) ? 0 : CurScreen;
		time = setTimeout(switchPic, 4000);
	}switchPic();
	info.onmouseover = mouseover; info.onmouseout = mouseout;
	function mouseover(){ clearTimeout(time); clearTimeout(stime); }
	function limouseover(){ clearTimeout(time); clearTimeout(stime); CurScreen = this.parentNode.className; switchPic(); clearTimeout(time); }
	function mouseout(){ clearTimeout(stime); stime = setTimeout(switchPic, 4000); }
}