this.Prev = function(){
	marginx = -20;
	marginy = 10;
	imagex  = 140;
	$("a.imgprev").hover(function(e){
		this.ttl = this.title;
		this.title = "";
		var path = (this.ttl != "") ? "" + this.ttl : "";
		if(this.name != ""){
			$("body").append("<p id='imgprev'><img src='"+ this.name +"' alt='' />"+ path +"</p>");
			sleep(400);
			winheight = $(window).height();
			scrollplus = $(window).scrollTop();
			topsize = e.pageY - marginx;
			/*if(winheight + scrollplus < e.pageY + imagex){*/
			if(winheight < e.pageY + imagex){
				topsize = topsize - imagex;
			}
			$("#imgprev")
				.css("position", "absolute")
				.css("top",topsize + "px")
				.css("left",(e.pageX + marginy) + "px")
				.css("border", "1px solid #999999")
				.fadeIn("fast");
		}
	},
	function(){
		this.title = this.ttl;
		$("#imgprev").remove();
	});
	$("a.imgprev").mousemove(function(e){
		winheight = $(window).height();
		scrollplus = $(window).scrollTop();
		topsize = e.pageY - marginx;
		if(winheight + scrollplus < e.pageY + imagex){
			topsize = topsize - imagex;
		}
		$("#imgprev")
			.css("top",(topsize) + "px")
			.css("left",(e.pageX + marginy) + "px");
	});
};
$(document).ready(function(){
	Prev();
});
function sleep(msec) {
	var date = new Date();
	var curDate = null;
	do { curDate = new Date(); }
	while(curDate-date < msec);
}

