// JavaScript functions common to all gallery displays
// commented out for now - messes up use of static galleries ? REMOVE (16/10/06)
/*function lowResScreenRedirector() {		// used to decide whether to show 3 rows or 4 (but now always shows 3)
	var sw = screen.width;
	var sh = screen.height;
	var thisUrl = document.location.toString();
	// Note: setscreen=1 prevents the infinite loop in the case of disabled cookies...
	if ( !getCookie( "screen" ) && thisUrl.indexOf( "setscreen=1" ) == -1 && sw >= 800 && sh >= 600 ) {
 		setCookie( "screen", sw + "x" + sh );
		window.location = thisUrl + "&setscreen=1";
	} 
}
*/