﻿today=new Date();
jran=today.getTime();

function rnd() {

    ia=9301;
    ic=49297;
    im=233280;

    jran = (jran*ia+ic) % im;
    return jran/(im*1.0);
};
function rand(number) {

    return Math.ceil(rnd()*number);
};


	var myNum=(rand(7)); //改成你要随机显示的图片数；
	if(myNum == 1) document.write("<A href='./product/sub_d310.aspx'><img src= images/D310.jpg width='221' height='226' border='0'></A>"); 
	//if(myNum == 2) document.write("<A href='./product/sub_206.aspx'><img src= images/Biaozhi206.jpg width='221' height='226' border='0'></A>"); //图片路径，可用http://
	if(myNum == 2) document.write("<A href='http://www.spirior.com.cn/spirior_index.html'><img src= images/Spirior.gif width='221' height='226' border='0'></A>"); 
	if(myNum == 3) document.write("<A href='http://408.peugeot.com.cn/'><img src= images/408_New.jpg width='221' height='226' border='0'></A>"); 
	if(myNum == 4) document.write("<A href='./product/sub_tianlai.aspx'><img src= images/XinTianLai.jpg width='221' height='226' border='0'></A>"); 
	if(myNum == 5) document.write("<A href='http://s30.dfpv.com.cn' target='_blank'><img src= images/DFPVS30.gif width='221' height='226' border='0'></A>");
	if(myNum == 6) document.write("<A href='http://www.dfpv.com.cn/index.html' target='_blank'><img src= images/H30.gif width='221' height='226' border='0'></A>");  
	if(myNum == 7) document.write("<A href='http://www.c5.citroen.com.cn/' target='_blank'><img src= images/C5_New.jpg width='221' height='226' border='0'></A>");  