var tmpseq; 
function changeimg(obj,seq,imgname){
	tmpsrc = obj.src;
	$("#imgname").val(imgname);
	if(tmpsrc.search('image.php')!=-1){
	  tmpsrc_len = tmpsrc.length-30;
	  tmpsrc_str = tmpsrc.substr(0,tmpsrc_len);
	  tmpsrc_tmp = tmpsrc_str+"&width=200&height=280&quality=80";
	}else{
	  tmpsrc_tmp = tmpsrc;
	}
	document.getElementById("main_img").src=tmpsrc_tmp;

	//my add.
	$(document.getElementById("main_img")).addClass("auto_height");


	$("#tmpcss"+seq).addClass("here");
	$("#tmpcss"+tmpseq).removeClass();
}

function remove(obj,seq){
	tmpseq=seq;

	//my add.
	$(document.getElementById("main_img")).removeClass();
}

var speed = 1;
var spec = 1; 
$(function(){var MyMar;
document.getElementById("goleft").onmouseover = function() {MyMar=setInterval(goleft,speed);};
document.getElementById("goleft").onmouseout =  function() { clearInterval(MyMar);};
document.getElementById("goright").onmouseover =  function() { MyMar=setInterval(goright,speed);};
document.getElementById("goright").onmouseout =  function() {clearInterval(MyMar);};
$("#ulwidth").css("width",596);});
function goleft() {document.getElementById('showArea').scrollLeft-=spec; }
function goright() {document.getElementById('showArea').scrollLeft+=spec;}
