// 	RonmSeffLtd.com General API(JavaScript)
// 	Author : EJFIIIWebDesign.com

//	Browser Brand Determination
	var isIE=false; var isNN=false; var isOP=false; isFF=false; isiP=false;
	if (navigator.userAgent.indexOf("Opera")!=-1) isOP=true;
	if ((navigator.appName.indexOf("Microsoft")!=-1) && (navigator.userAgent.indexOf("Opera")==-1)) isIE=true;
	if (navigator.userAgent.indexOf("Firefox")!=-1) isFF=true;
	if ((navigator.appName.indexOf("Netscape")!=-1) && (navigator.userAgent.indexOf("Firefox")==-1)) isNN=true;
	if ((navigator.userAgent.indexOf('iPhone')!=-1) || (navigator.userAgent.indexOf('iPad') != -1)) isiP=true;


//	Reposition Content for Window Containers set Smaller than Content
// 	Necessary to prevent non-scrollable off screen content with negative margin style sheet centering method
	function checkVerticalPosition() {
	var viewHeight = 0, contentHeight = 610; thresholdHeight = 600;

	// 	Determine Available Window Size
  		if (isIE) {viewHeight = document.documentElement.clientHeight;}
		else{viewHeight = window.innerHeight;} 

	// 	Set Content Window Coordinates
		if (viewHeight < thresholdHeight) {
			document.getElementById('outer_shell').style.top = 320+"px";
			}
		}

// Set iPad & iPhone Specific Styles
//	if (isiP) {document.write("<style type='text/css' />#address{position: relative; top: -21px;}</style>");}
	
		
// Set Default Window.Status Message
	window.defaultStatus="Thomas Gallery, Ltd. - 20th Century European Decorative Arts.";
