// JavaScript Document
	//var site_url='http://192.168.1.191/ourmalayal_final';   //LOCAL
		var site_url='http://www.keralarealinfo.com';   //LOCAL
function showAuto()
{
	document.getElementById("realestate").style.display='none';
	document.getElementById("automotive").style.display='';
}
function showReal()
	{
		document.getElementById("automotive").style.display='none';
		document.getElementById("realestate").style.display='';
	}

function mmLoadMenus() {
  if (window.mm_menu_0925134858_0) return;
  window.mm_menu_0925134858_0 = new Menu("root",135,20,"Arial, Helvetica, sans-serif",11,"#808042","#FFFFFF","#DFDEBF","#C8C78C","left","middle",3,0,1000,-5,7,true,false,true,0,false,false);
  mm_menu_0925134858_0.addMenuItem("Sell");
  mm_menu_0925134858_0.addMenuItem("Want");
  mm_menu_0925134858_0.addMenuItem("Lease");
  mm_menu_0925134858_0.addMenuItem("Rentals");
   mm_menu_0925134858_0.hideOnMouseOut=true;
   mm_menu_0925134858_0.bgColor='#D2D1A6';
   mm_menu_0925134858_0.menuBorder=0;
   mm_menu_0925134858_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0925134858_0.menuBorderBgColor='#C8C992';

        window.mm_menu_0925135404_0 = new Menu("root",135,20,"Arial, Helvetica, sans-serif",11,"#808042","#FFFFFF","#DFDEBF","#CCCC99","left","middle",3,0,1000,-5,7,true,true,true,0,false,false);
  mm_menu_0925135404_0.addMenuItem("Sell");
  mm_menu_0925135404_0.addMenuItem("Want");
  mm_menu_0925135404_0.addMenuItem("Lease");
  mm_menu_0925135404_0.addMenuItem("Rentals");
   mm_menu_0925135404_0.hideOnMouseOut=true;
   mm_menu_0925135404_0.bgColor='#BFBE80';
   mm_menu_0925135404_0.menuBorder=1;
   mm_menu_0925135404_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0925135404_0.menuBorderBgColor='#BEBF80';
  
      window.mm_menu_0925140139_0 = new Menu("root",160,20,"Arial, Helvetica, sans-serif",11,"#787C3F","#FFFFFF","#DFDEBF","#D0CE9F","left","middle",3,0,1000,-5,7,true,true,true,0,false,false);
  	mm_menu_0925140139_0.addMenuItem("Properties for Sell","location='"+site_url+"/kerala-real-estate/properties-for-sell'");
 	mm_menu_0925140139_0.addMenuItem("Wanted Properties","location='"+site_url+"/kerala-real-estate/properties-for-want'");
	mm_menu_0925140139_0.addMenuItem("Properties want for Lease","location='"+site_url+"/kerala-real-estate/properties-want-for-lease'");
	mm_menu_0925140139_0.addMenuItem("Properties giving for Lease","location='"+site_url+"/kerala-real-estate/properties-giving-for-lease'");
	mm_menu_0925140139_0.addMenuItem("Properties want for Rent","location='"+site_url+"/kerala-real-estate/properties-want-for-rent'");
	mm_menu_0925140139_0.addMenuItem("Properties giving for Rent","location='"+site_url+"/kerala-real-estate/properties-giving_for-rent'");
   mm_menu_0925140139_0.hideOnMouseOut=true;
   mm_menu_0925140139_0.bgColor='#C2C185';
   mm_menu_0925140139_0.menuBorder=1;
   mm_menu_0925140139_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0925140139_0.menuBorderBgColor='#C2C185';

    window.mm_menu_0926122741_0 = new Menu("root",130,20,"Arial, Helvetica, sans-serif",11,"#787C3F","#FFFFFF","#DFDEBF","#D0CE9F","left","middle",3,0,1000,-5,7,true,true,true,0,false,false);
  mm_menu_0926122741_0.addMenuItem("Vehicles for Sell","location='index.php?page=autoAds&no=1'");
  mm_menu_0926122741_0.addMenuItem("Vehicles Wanted","location='index.php?page=autoAds&no=2'");
  mm_menu_0926122741_0.addMenuItem("Vehicles want for Lease","location='index.php?page=autoAds&no=3'");
  mm_menu_0926122741_0.addMenuItem("Vehicles giving for Lease","location='index.php?page=autoAds&no=4'");
  mm_menu_0926122741_0.addMenuItem("Vehicles want for Rent","location='index.php?page=autoAds&no=5'");
  mm_menu_0926122741_0.addMenuItem("Vehicles giving for Rent","location='index.php?page=autoAds&no=6'");
   mm_menu_0926122741_0.hideOnMouseOut=true;
   mm_menu_0926122741_0.bgColor='#C2C185';
   mm_menu_0926122741_0.menuBorder=1;
   mm_menu_0926122741_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0926122741_0.menuBorderBgColor='#C2C185';

mm_menu_0926122741_0.writeMenus();
} // mmLoadMenus()

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function dis()
{
	//alert("hi");
}
function home_page_search(){
	document.realsearch.submit();
}
function Trim(TRIM_VALUE)
	{
	if(TRIM_VALUE.length < 1){
	return"";
	}
	TRIM_VALUE = RTrim(TRIM_VALUE);
	TRIM_VALUE = LTrim(TRIM_VALUE);
	if(TRIM_VALUE==""){
	return "";
	}
	else{
	return TRIM_VALUE;
	}
	} //End Function
	
	function RTrim(VALUE){
	var w_space = String.fromCharCode(32);
	var v_length = VALUE.length;
	var strTemp = "";
	if(v_length < 0){
	return"";
	}
	var iTemp = v_length -1;
	
	while(iTemp > -1){
	if(VALUE.charAt(iTemp) == w_space){
	}
	else{
	strTemp = VALUE.substring(0,iTemp +1);
	break;
	}
	iTemp = iTemp-1;
	
	} //End While
	return strTemp;
	
	} //End Function
	
	function LTrim(VALUE){
	var w_space = String.fromCharCode(32);
	if(v_length < 1){
	return"";
	}
	var v_length = VALUE.length;
	var strTemp = "";
	
	var iTemp = 0;
	
	while(iTemp < v_length){
	if(VALUE.charAt(iTemp) == w_space){
	}
	else{
	strTemp = VALUE.substring(iTemp,v_length);
	break;
	}
	iTemp = iTemp + 1;
	} //End While
	return strTemp;
	} //End Function
