<!-- 

// 图片缩放脚本
var flag=true; 
function DrawImage(ImgD){ 
    var image=new Image(); 
    image.src=ImgD.src; 
    if(image.width>0 && image.height>0){ 
        flag=true; 
        if(image.width>=400){ 
            ImgD.width=400; 
            ImgD.height=(image.height*400)/image.width; 
        }else{ 
            ImgD.width=image.width; 
            ImgD.height=image.height; 
        }  
    } 
} 
// 图片缩放脚本
var flag=true; 
function DownImage(ImgD){ 
    var image=new Image(); 
    image.src=ImgD.src; 
    if(image.width>0 && image.height>0){ 
        flag=true; 
        if(image.width>=300){ 
            ImgD.width=300; 
            ImgD.height=(image.height*300)/image.width; 
        }else{ 
            ImgD.width=image.width; 
            ImgD.height=image.height; 
        }  
    } 
} 

// 滚动脚本
var rollspeed=30
var myInter;
function MarqueeV(){
	var ooRollV=document.getElementById("oRollV");
	var ooRollV1=document.getElementById("oRollV1");
	var ooRollV2=document.getElementById("oRollV2");
	if(ooRollV2.offsetTop-ooRollV.scrollTop<=0) {
		ooRollV.scrollTop-=ooRollV1.offsetHeight;
	}else{
		ooRollV.scrollTop++;
	}
}

// 图片脚本--------------------------
function GaobeiPic(img,url,alt,blank)
{
	if (blank==null)
		blank=false;
	with(document){
		write("<table class='GaobeiPic'>");
		write("<tr><td>");
		write("<a href='");
		write(url);
		if (blank)
			write("' >"); // 添加onClick='return newpage(this.href);'为跳窗脚本
		else
			write("' target='_blank'>");
		write("<img class=img width='120' height=90 border=0 src='"); //  在width='150'后面添加height='高度'为图片固定大小
		write(img);
		write("' title='");
		write(alt);
		write("' ");
		write("></a></td></tr></table>");
	}
}



    //双击滚屏
    var currentpos,timer;
    function initialize()
    { 
    timer=setInterval("scrollwindow()",30); 
    } 
    function sc(){
    clearInterval(timer);
    }
    function scrollwindow()
    {
    currentpos=document.body.scrollTop;
    window.scroll(0,++currentpos);
    if (currentpos != document.body.scrollTop)
    sc();
    } 
    document.onmousedown=sc
    document.ondblclick=initialize









// -->
