//***********Resolution*************************************//
var wide = screen.width;
var high = screen.height;

var res;  	// Variable for monitor-resolution with 3 values:
			// 0 = lower than 1024x768
			// 1 = 1024x768
			// 2 = 1400x1050
			// 3 = anything else

if(wide < 1024 && high < 768)
	res = 0;
else if(wide == 1024 && high == 768)
	res = 1;
else if(wide == 1400 && high == 1050)
	res = 2;
else
	res = 3;

//*********** Real Resolution Available ********************//
	
var scrh = screen.availHeight; 	// actual monitor height
var scrw = screen.availWidth;   // actual monitor width:
			
//*********** Various Variables for use on pages **********//

var hor_center = scrw / 2; // exact horizontal center of page
var ver_center = scrh / 2; // exact vertical center of page
