<!--#include file="conn.asp"-->

<!--#include file="inc/noip.asp"--> 
<% 
set rs=server.createobject("adodb.recordset")
sql="select * from newpic where id=id"
rs.open sql,conn,1,3
pic1=rs("pic1")
pic2=rs("pic2")
pic3=rs("pic3")
pic4=rs("pic4")
pic5=rs("pic5")
movie1=rs("movie1")
movie2=rs("movie2")
movie3=rs("movie3")
movie4=rs("movie4")
movie5=rs("movie5")
rs.close
set rs=nothing
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
 // var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  for(count=1;count<=5;count++)
  {
	document.getElementById("Image27"+count).src="ads/images/banner_s_"+count+".gif";
  }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null)
	  {		
		  //lastObj = x;
	      //document.MM_sr[j++]=x; 
		  /*if(!x.oSrc)
		  	  x.oSrc=x.src;*/ 
		  x.src=a[i+2];
	  }
}

//´ò¿ªÐÂ´°¿Ú
function openWindow(theURL,winName,features)
{ 
window.open(theURL,winName,features);
}
function HelpArray(len)
{
this.length=len;
}

ScriptText = new HelpArray(6);

effectArr = new HelpArray(6);
effectArr[0] = "progid:DXImageTransform.Microsoft.Wheel(duration=2)";
effectArr[1] = "progid:DXImageTransform.Microsoft.RandomDissolve(Duration=2)";
effectArr[2] = "progid:DXImageTransform.Microsoft.Pixelate(maxsquare=3)";
effectArr[3] = "progid:DXImageTransform.Microsoft.Blinds(Duration=2)";
effectArr[4] = "progid:DXImageTransform.Microsoft.Wipe(duration=2, gradientsize=0.25,motion=reverse )"

ScriptText2 = new HelpArray2(6);
var i = 0;
function playHelp()
{
	var str = effectArr[i%5==-1?3:i%6]
	document.all.div_X2.style.filter = str//+
	
	//FILTER: progid:DXImageTransform.Microsoft.Wheel(duration=2)
	//RandomDissolve(Duration=2)
	//Fade(duration=2,overlap=0)
	//Blinds(Duration=2)
	//Pixelate(maxsquare=3)
	if (i >= 4) 	
		i=0;
	else
		i++;
	var div_X1 = parent.divWord;
	if(div_X1!=null)
	{
		div_X1.filters[0].apply();	
		div_X1.innerHTML = wordArr[i];
		div_X1.filters[0].play();
	}

	div_X2.filters[0].apply();	
	div_X2.innerHTML = HelpText2[i];
	div_X2.filters[0].play();
	var g = i+1;
	MM_swapImgRestore();
	MM_swapImage('Image27'+g,'','ads/images/banner_s_'+g+'.gif',1,1);	
	clearTimeout(mytimeout);
	mytimeout = setTimeout('playHelp()',8000);
	
}
function HelpArray(len) 
{	
	this.length=len;
}
function HelpArray2(len) 
{
	this.length=len;
}
var mytimeout;

</SCRIPT>
</head>



<table border="0" cellpadding="0" cellspacing="0" width="670" height="165">
	<tr>
		<td>
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td width="15">
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td height="33"><a  href="javascript:flag1=true;i=88;playHelp()">
						<img name="Image271" id="Image271" border="0" src="ads/images/banner_s_1.gif" width="15" height="33"></a></acronym></td>
					</tr>
					<tr>
						<td height="33"><a  href="javascript:flag1=true;i=0;playHelp()">
						<img name="Image272" id="Image272" border="0" src="ads/images/banner_s_2.gif" width="15" height="33"></a></td>
					</tr>
					<tr>
						<td height="33"><a  href="javascript:flag1=true;i=1;playHelp()">
						<img name="Image273" id="Image273" border="0" src="ads/images/banner_s_3.gif" width="15" height="33"></a></td>
					</tr>
					<tr>
						<td height="33"><a  href="javascript:flag1=true;i=2;playHelp()">
						<img name="Image274" id="Image274" border="0" src="ads/images/banner_s_4.gif" width="15" height="33"></a></td>
					</tr>
					<tr>
						<td height="33"><a  href="javascript:flag1=true;i=3;playHelp()">
						<img name="Image275" id="Image275" border="0" src="ads/images/banner_s_5.gif" width="15" height="33"></a></td>
					</tr>
				</table>
				</td>
				<td width="655"><div id=div_X2 style="FILTER: progid:DXImageTransform.Microsoft.Wipe(duration=2, gradientsize=0.25,motion=reverse ); WIDTH: 655px"></div></td>
			</tr>
		</table>
		</td>
	</tr>
</table>

</body>

</html>
<script language=javascript>
			var lastObj,lastSrc; 
		    var flag1 = false;
			var imgStr = "<%=pic1%>;<%=pic2%>;<%=pic3%>;<%=pic4%>;<%=pic5%>";
			var imgArr = new Array(6);
			imgArr = imgStr.split(";");
			var Link = new Array(6);
			var linkStr = "<%=movie1%>;<%=movie2%>;<%=movie3%>;<%=movie4%>;<%=movie5%>";
			Link = linkStr.split(";");
			HelpText2  = new HelpArray2(6);
for(var i=0;i<=HelpText2.length;i++)
{
	HelpText2[i]="<img border='0' src='"+imgArr[i]+"' class='picborld3' alt='' onClick=javascript:openWindow('"+ Link[i] +"','',''); style='cursor:hand;'>";//A21
}
			i=-1;MM_swapImgRestore();MM_swapImage('Image271','',imgArr[0],1);playHelp();
</script>