//???λ????
//???document.write ("<script src=\'/x//x/bbstop760120.js\'></scr"+"ipt>");
var appVar=new String(navigator.appVersion);
var st=appVar.substr(appVar.indexOf("MSIE")+5,3);
st=parseInt(st);
if(st*10<55)
	var IE	=5;
else
	var IE  =6;
function tran()
{
	tranPhoto.filters.item(0).Apply();
	tranPhoto.style.visibility="";
	tranPhoto.filters.item(0).Play(1);
}
var delay1	=7000;
var delay2	=0000;
var nowID=0;
function changePhoto()
{
	if(IE==6)	tranPhoto.filters[0].apply();
	tranPhoto.src	=photo[nowID][0];
	oLink.href	 	=photo[nowID][1];
	if(IE==5){
		if(nowID==0)
			setTimeout("tranPhoto.style.visibility=\'hidden\';changePhoto()",delay1);
		else
			setTimeout("tranPhoto.style.visibility=\'hidden\';changePhoto()",delay2);
	}
	else
	{
		tranPhoto.filters[0].play();
		if(nowID==0)
			setTimeout("changePhoto()",delay1);
		else
			setTimeout("changePhoto()",delay2);
	}
	nowID++;
	if(nowID>(photo.length-1))
	{
		nowID=0;
	}
}

/*????????С*/
function chkImgSize(obj)
{
    var maxWidth = 600;
    if(obj.width > maxWidth)
    {
        obj.outerHTML="<a title=\'???????\' href=\'"+obj.src+"\' target=\'_blank\'><img src=\'"+obj.src+"\' width="+maxWidth+" border=\'0\'></a>";
    }
}

//???λ?? show_banner
function show_banner()
{
	//document.write ("<script src=\'/x/bbstop760120.js\'></scr"+"ipt>");
	//?????????j
	//document.write ("<script src=\'/x/bbsduilian105240.js\'></scr"+"ipt>");
	document.write ('<IFRAME align=center marginWidth=0 marginHeight=0 src="http://bbs.17173.com/x/bbstop760120.htm" frameBorder=0 width=600 scrolling=no height=80></IFRAME>');
}
//???λ?????

//??????????
document.write ("<script src=\'http://bbs.17173.com/x/bbsbutton28084.js\'></scr"+"ipt>");
//???λ?? show_top
function show_top()
{
	document.write ("<table align=\"center\" width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"unnamed4\">\n") ;
	document.write ("  <tr valign=\"top\">\n") ;
	document.write ("<td width=\"10%\"></td>\n") ;
	document.write ("<td width=\"26%\">\n") ;
	if (bbsTpAD[0][0].indexOf(".swf")!=-1){
		document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="280" height="80"><param name="movie" value="'+bbsTpAD[0][0]+'"><param name="quality" value="high"><embed src="'+bbsTpAD[0][0]+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="80"></embed></object>');
	}else{
		document.write ("<a href=\'"+bbsTpAD[0][1]+"\' target=\'_blank\'><img src=\'"+bbsTpAD[0][0]+"\' border=0></a>");
	}
	document.write ("</td>\n") ;
	document.write ("<td width=\"10%\"></td>\n") ;
	document.write ("<td width=\"14%\">\n") ;
	document.write ("<a href=\'"+bbsTpAD[1][1]+"\' target=\'_blank\'><img src=\'"+bbsTpAD[1][0]+"\' border=0></a>");
	document.write ("</td>\n") ;
	document.write ("<td>&nbsp;</td>\n") ;
	document.write ("  </tr>\n") ;
	document.write ("</table>\n");
}
//???λ?????

//???λ?? show_top_list
function show_top_list()
{
	document.write ("<table align=\"center\"  border=\"0\" cellpadding=\"2\" cellspacing=\"0\" class=\"unnamed4\">\n") ;
	document.write ("  <tr valign=\"top\">\n") ;
	document.write ("<td>\n") ;
	if (bbsTpAD[0][0].indexOf(".swf")!=-1){
		document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="280" height="80"><param name="movie" value="'+bbsTpAD[0][0]+'"><param name="quality" value="high"><embed src="'+bbsTpAD[0][0]+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="80"></embed></object>');
	}else{
		document.write ("<a href=\'"+bbsTpAD[0][1]+"\' target=\'_blank\'><img src=\'"+bbsTpAD[0][0]+"\' border=0></a>");
	}
	document.write ("</td>\n") ;
	document.write ("  </tr>\n") ;
	document.write ("</table>\n");
}
//???λ?????

//?????????

//?????? show_bottom
function show_bottom(){
	document.write ('<IFRAME align=center marginWidth=0 marginHeight=0 src="http://bbs.17173.com/x/bbs3jibanner260180.htm" frameBorder=0 width=260 scrolling=no height=180></IFRAME>');
}
//?????????

//?????? show_bottom_list
function show_bottom_list(){
	document.write ("<table width=\"960\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n");
	document.write ("  <tr> \n");
	document.write ("  <td width=1 bgcolor=\"#FFFFFF\" align='center'><IFRAME align=center marginWidth=0 marginHeight=0 src=\"http://bbs.17173.com/x/bbsbottom96060.htm\" frameBorder=0 width=960 scrolling=no height=60></IFRAME></td>");
	document.write ("  </tr>\n");
	document.write ("</table>\n");
	//changePhoto();
}
document.write ('<script type="text/javascript" src="http://www.sohu.com/sohuflash_1.js"></scr'+'ipt>');
//?????????
