function shiftLeft(div_id){

}

function shiftRight(div_id){
	obj = document.getElementById(div_id);
	if(parseInt(obj.style.width)+parseInt(obj.style.left) < 700){
		obj.style.left='97px';
	}else{
		obj.style.left=parseInt(obj.style.left)-107+"px";
	}
}

function showPreview(obj){
	if(staticObj){
		staticObj.parentNode.className = staticObj.parentNode.className.replace(" on","");
	}
	obj.parentNode.className = obj.parentNode.className + " on";
	staticObj=obj;
	id=obj.id.replace("dhtml_","");
	document.getElementById('expert_box').innerHTML = document.getElementById('GB'+id).innerHTML;
	document.getElementById('expert_button').href=obj.attributes['link'].value;
}
function changeImage(img,thumb){
		document.getElementById(img).src=thumb;
}

function changetext(objid,text){
		document.getElementById(objid).innerHTML=text;
}

function changehref(objid,ref){
		document.getElementById(objid).href=ref;
}

function changeToOn(obj){
	if(staticObj){
		staticObj.className = staticObj.className.replace(" on","");
	}
	//obj = document.getElementById(objID);
	obj.className = obj.className + " on";
	staticObj=obj;
}
staticObj=null;
