var CurrentTabID;
CurrentTabID = "";/// this is only used on the floorplan_detail.php page
function ahpOnHover(obj,pic){
	obj.src = '/graphics/nav/'+pic+'_over.png';
}
function ahpOffHover(obj,pic){
	///alert('-'+CurrentTabID+'-'+pic+'-')
	if(CurrentTabID == pic){
		return;
	}
	obj.src = '/graphics/nav/'+pic+'_off.png';
}
function ahpOnLoad(){
	///alert('page is loaded');
	return true;
	
}
function irate(){
ratewin = window.open('irate.html', 'ratewin', 'width=320,height=250');
}
function ahpResize(){
	return true;
}
function ahpNavOver(obj){
	obj.style.borderBottomStyle='inset';
	obj.style.borderBottomWidth='2pt';
	obj.style.borderBottomColor='#A0AECE';
	obj.style.backgroundColor='#FBF8EF';
}
function ahpNavOut(obj){
	obj.style.borderBottomStyle='inset';
	obj.style.borderBottomWidth='2pt';
	obj.style.borderBottomColor='#A9A491';		
	obj.style.backgroundColor='#EDE7DB';	
}
function expand(thistag) {
   styleObj = document.getElementById(thistag).style;
   if (styleObj.display=='none') {styleObj.display = '';}
   else {styleObj.display = 'none';}
    }
function favorite(x,y){
	if (document.all){
		window.external.AddFavorite(x,y)
	}else{
		alert('Netscape users please hit Ctrl+D together to bookmark this page.');
	}
}
function mo(z){
	z.backgroundColor='#C3D6E8';///#FFFFCC
}
function mu(x,y){
	y.backgroundColor=x;
}
function textlimitProfile2(max) {
	var taObj=event.srcElement;
	if(taObj.value.length >= max){
		return false
	}
}
function textlimitProfile(x,max) {
	var taObj=event.srcElement;
	document.getElementById(x).innerText = max-(taObj.value.length)
}
