function makeMenuObj(obj,nest){
	nest=(!nest) ? "":'document.'+nest+'.'
	this.evnt = document.getElementById?document.getElementById(obj):document.all?document.all[obj]:document.layers?eval(nest+'document.'+obj):0;	
	this.css = this.evnt.style?this.evnt.style:this.evnt;										
	this.ref=document.layers?this.evnt.document:document;		
	this.x=this.css.left||this.evnt.offsetLeft;
	this.y=this.css.top||this.evnt.offsetTop;		
	this.hideIt=b_hideIt; this.showIt=b_showIt;
	return this
}
function b_showIt(){this.css.visibility="visible"; this.status=1}
function b_hideIt(){this.css.visibility="hidden"; this.status=0}

var msgLower,msgHigher;
function init(){
	msgLower = new makeMenuObj('msgLower');
	msgHigher = new makeMenuObj('msgHigher');
	
	msgLower.hideIt();
	msgHigher.hideIt();
	
	resTest();
}


function resTest(){
	if ((screen.width>1024) && (screen.height>768)){
 		msgHigher.showIt();
	}else if((screen.width<800) && (screen.height>600)){
  		msgLower.showIt();
	}
	setTimeout('msgHigher.hideIt()',3000);
}
