// tool tips for room type
function showRTF(This, val, type, event) {
   if ($('popUps'))$('popUps').remove();
   elm = document.createElement('div');
   document.body.appendChild(elm);
   $(elm).addClassName('popUp');
   $(elm).id = 'popUps';
  // Element.writeAttribute($(elm),{class:'popUp',id:'popUps'});
   // find position where to show i.e find the source element and then find source element position
   pos = $(This).cumulativeOffset();
   posX = Event.pointerX(event);
   posY = Event.pointerY(event);
   //alert(posX)
   $(elm).setStyle({left:posX+'px',top:posY+15+'px',zIndex:0,position:'absolute'});
   $(elm).innerHTML = '<div class="popUpBottom"><div class="popBG"><div class="topPart">Facilities Of This Room</div><div class="facPart">'+val+'</div><div class="topPart">Accomodation Capability</div><div>'+type+'</div></div></div>';
   $(elm).show(); 
}
function moveCur (event) {
   posX = Event.pointerX(event);
   posY = Event.pointerY(event);
   $('popUps').setStyle({left:posX+'px',top:posY+15+'px'});
}
function showRating(This,event, val) {
   elm = document.createElement('div');
   document.body.appendChild(elm);
   $(elm).addClassName('popUp');
   $(elm).id = 'popUps';
  // Element.writeAttribute($(elm),{class:'popUp',id:'popUps'});
   // find position where to show i.e find the source element and then find source element position
   // find position where to show i.e find the source element and then find source element position
   pos = $(This).cumulativeOffset();
   posX = Event.pointerX(event);
   posY = Event.pointerY(event);
   $(elm).setStyle({left:posX+'px',top:posY+25+'px',zIndex:0,position:'absolute',overflow:'hidden'});
   $(elm).innerHTML = '<div class="box popup formArea pad"><strong class="hdrtxt">Rating Details</strong><br />'+val+'</div>';
   $(elm).show(); 
	 
}
function rmvRTF() {
  if ($('popUps')) { $('popUps').remove(); }
}
