/* Copyright 2002 by edwin@adex-japan.com for Mitsubishi Electric Website's Company Briefs Project
	
	Function "rollIt" is for the mouseovers.
	
	Function "openSesame" is for the main articles' pictures. Clicking on a picture triggers this script.
	It "dynamically writes" a new window that automatically closes when "hidden" underneath other browser windows.
	
	Last Updated: 020206Wed 1033 */

	function rollIt(imgField,newImage) {
	    if (document.images) {
	        document[imgField].src = eval(newImage+".src")
		return true
	    }
	}
	function openSesame(dPicture,dWidthNdHeight) {
		dPictureWindow = window.open('','dPic2',dWidthNdHeight)
		dPictureWindow.document.write("<html><head><title>Bigger picture<\/title><\/head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onBlur=\"window.close()\"><img src="+dPicture+">")
		dPictureWindow.document.write("<\/body><\/html>")
		dPictureWindow.document.close()
	}


