function loadMapFunctionalities(src,latitude,longitude,zoomlevel,description,link,price,area,bedroom,bathroom,price_per_unit_area)
{
	var mapNode, linkNode, title="99acres.com Property Location on Map", 
	    lyr;
	var linkNode1 = "<table width='100%' border=0><tr><td align=left><a href='"+link+"' target='_blank'><b>"+description+"</b></a></td><td style='text-align:right'><a href='"+link+"' target='_blank'>View Complete Details<a></td></tr></table>";
	var tmpHtml = '<div id="mapWk" style="font-family: Arial,Helvetica,Freesans; font-weight: bold; text-align: center; padding-top: 160px;position:absolute;"><img width="50px" height="48px" src="/images/icons/working.gif" style="vertical-align: middle;"/>Loading... Please Wait.</div>', ht = 400;
	if(src=='search')
		ht = 420;

	lyr =  pg.openModalLayer({id:'modal1',ttl:title,size:{w:620,h:ht,h1:"auto"},html:tmpHtml});
	var lyrbody = lyr[CHN][1];
	mapNode = F_CR("IFRAME", {marginheight:0, marginwidth:0, id:"mapNode", scrolling:"no", height:"400",width:"610"},{});
	mapNode.setAttribute("src","/property/loadMapsAndFunctionalities.php?src="+src+"&latitude="+latitude+"&longitude="+longitude+"&zoomlevel="+zoomlevel+"&description='"+description+"'&price='"+price+"'&area='"+area+"'&bedroom="+bedroom+"&link="+link);
	mapNode.setAttribute("frameborder","0");		

	linkNode=  F_CR("DIV",{id:"linkNode"});
	linkNode[IH] = linkNode1;

	if(src=='search')
		F_APP(linkNode,lyrbody);
	F_APP(mapNode,lyrbody);
	return false;
}

function linkIH()
	{
		document.getElementById('mapWk').innerHTML = '';
		document.getElementById('mapWk').style.display = 'none';
	}
