

function set()
{
	window.frames['counterwindow'].scrollTo(10,10);
	window.frames['datamain'].scr = 'George-Mango-Property-Listing.html';
	window.frames['datamain'].scrollTo(200,270);
	window.frames['search-listings'].scrollTo(600,10)
	
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function grow(obj) {
   obj.style.width = "850px";
   obj.style.height = "440px";
}

function shrink(obj) {
   obj.style.width = "590px";
   obj.style.height = "440px";
  
}
function growlist(obj) {
   obj.style.width = "850px";
   obj.style.height = "440px";
}

function shrinklist(obj) {
   obj.style.width = "400px";
   obj.style.height = "185px";
  
}


function showElement(layer){
var myLayer = document.getElementById(layer);
if(myLayer.style.display=="none"){
myLayer.style.display="block";
myLayer.backgroundPosition="top";
} else { 
myLayer.style.display="none";
}
}

function hidediv(divid) {
document.getElementById(divid).style.display='none';
}

function searchHome()
{
  iframe = document.getElementById('datamain'); 
  iframe.src = 'George-Mango-Property-Listing.html'; 
  window.setTimeout('ScrollingTo()',2000);
}

function ScrollingTo()
{
  window.frames['datamain'].scrollTo(500,0);
}
  
function reloadListings() { 
  // perform some tests here 
   iframe = document.getElementById('datamain'); 
  iframe.src = 'George-Mango-Property-Listing.html'; 
  window.setTimeout('ScrollTo()',2000);
  // iframe.reload(true);  <-- even tried that 
} 

function ScrollTo()
{
window.frames['datamain'].scrollTo(200,270);
}
