$mm4images = "../images/mm4";

dojo.byId('expandcollapseimg').src="<?php echo $themecolormm4images;?>/expand_All.jpg";
I need to convert the above code into JSP.