/*	e-sense Javascript Library
	Function Library
	Author: Jan Graber
	Date: 2006-12-09
*/

//function getScreenSize. Gets size of browser window depending on browser.
function GetScreenSize() {
	if (Browser=="NS4x" || Browser=="W3C") {
		screenWidth=window.innerWidth;
		screenHeight=window.innerHeight;
	}
	else if(Browser=="MS4x") {
		screenWidth=document.body.clientWidth;
		screenHeight=document.body.clientHeight;
	}
}


// Change object window to size of previous or next picture
function changeWindowSize(an,en,num) {

var width=artists[an].elements[en].dimension[num-1].w+150;
var height=artists[an].elements[en].dimension[num-1].h+150;

window.resizeTo(width,height);

}


