			var flashvars = {};
			var params = {};
			params.quality = "high";
			params.bgcolor = "#006784";
			params.allowscriptaccess = "sameDomain";
			var attributes = {};
			attributes.align = "middle";
			attributes.id = "myproduct";
			swfobject.embedSWF("sbp_header_home_960.swf", "myAlternativeContent1", "960", "184", "6.0.0", false, flashvars, params, attributes);



// Income Properties
var URL_1='http://matrix.gsbrmls.net/matrix/public/email.aspx?ID=1003841077';
// Residential Properties
var URL_2='http://matrix.gsbrmls.net/Matrix/Listings/SBOTESTA016/MyOfficeActives.mls';
// Showcase Properties
var URL_3='http://matrix.gsbrmls.net/matrix/public/email.aspx?ID=1003845432';

var URLStr='';
var popUpWin=0;
var left=0;
var top=0;
var width=750;
var height=700;
var x=0;
function popUpWindow(x)
{
switch (x)
{
case 1:
URLStr=URL_1;
break
case 2:
URLStr=URL_2;
break
case 3:
URLStr=URL_3;
break
}
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }

  if (navigator.appVersion.indexOf('4') != -1) {
 // Vars for centering the new window on Version 4 Browsers
 left = screen.width/2 - (width/2);
 top = screen.height/2 - (height/2);
 popUpWin = open(URLStr,'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top+'');
 } else {
 left =150;
 top = 200;
 popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
 }
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(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 resize_iframe()
{

	var height=window.innerWidth;//Firefox
	if (document.body.clientHeight)
	{
		height=document.body.clientHeight;//IE
	}
	//resize the iframe according to the size of the
	//window (all these should be on the same line)
	document.getElementById("glu").style.height=parseInt(height-
	document.getElementById("glu").offsetTop-8)+"px";
}

// this will resize the iframe every
// time you change the size of the window.
window.onresize=resize_iframe; 

//Instead of using this you can use: 
//	<BODY onresize="resize_iframe()">


