function scrollPic(pic, widths, heights){

	var divee = div();
	divee.id = "xue";
	divee.style.width = widths + "px";
	divee.style.height = heights + "px";
	divee.style.overflow = "hidden";
	
	var dive = div();
	dive.id = "zhangxueneng";
	

	var zhang = listArray(pic); //图片裁分
	for(var i = 0; i < zhang.length; i++){
		var picc = "images/" + zhang[i];
		var imgs = img(picc)
		dive.appendChild(imgs);
	}
	
	divee.appendChild(dive);
	divee.appendChild(dive.cloneNode(true));
	document.getElementById("display").appendChild(divee);
	setInterval('scrollUp()', 25);
}

function scrollUp(){
	var sese = document.getElementById("xue").scrollHeight/2;
	document.getElementById("xue").scrollTop += 1;
	if(sese == document.getElementById("xue").scrollTop){
		document.getElementById("xue").scrollTop = 0;
	}

}	

function img(s){
	var img = document.createElement("IMG");
	img.src = s;
	return img;
} 

function div(){
	var div = document.createElement("DIV");
	return div;
}

function listArray(Str){
	var pics = Str.split("/");
	return pics;
}

function copyright(){

var copyright = "<p>www.sjrc.com.cn　版权所有 本网所有招聘信息及作品，未经书面授权不得转载 </p>";

document.getElementById("foot").innerHTML = copyright;
}

function cell(s){
	var cell = document.createTextNode(s);
	return cell;
}

function scopyright(){
	document.write("<p>www.sjrc.com.cn　版权所有 本网所有招聘信息及作品，未经书面授权不得转载 </p>");

}


