function confirmDelete(){
	var agree=confirm("<? echo $lang[are_you_sure_you_want_to_delete] ?>");
	if (agree)
		return true ;
	else
		return false ;
}

function scrollit_r2l(seed) {

	mymsg = 'Probitas Realty, Inc. - Real People, Real Values, Real Service!  We go the extra mile to help you achieve your goals. CALL Probitas Realty, Inc. TODAY at (850) 893-9300';
	var out = " ";
	var c   = 1;
	if (seed > 100) {
		seed--;
		var cmd="scrollit_r2l(" + seed + ")";
		timerTwo=window.setTimeout(cmd,100);
	} 
	else if (seed <= 100 && seed > 0) {
		for (c=0 ; c < seed ; c++) {
			out+=" "; 
		}
		out+=mymsg;
		seed--;
		var cmd="scrollit_r2l(" + seed + ")";
		window.status=out;
		timerTwo=window.setTimeout(cmd,100);
	} 
	else if (seed <= 0) {
		if (-seed < mymsg.length) {
			out+=mymsg.substring(-seed,mymsg.length);
			seed--;
			var cmd="scrollit_r2l(" + seed + ")";
			window.status=out;
			timerTwo=window.setTimeout(cmd,100);
		} 
		else {
			window.status=" ";
			timerTwo=window.setTimeout("scrollit_r2l(100)",75);
		}
	}
}

function Netphiles_openBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) {
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=420,height=515');");
}

function Netphiles_goToURL() { //v3.0
  var i, args=Netphiles_goToURL.arguments; document.Netphiles_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function Netphiles_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.Netphiles_pgW=innerWidth; document.Netphiles_pgH=innerHeight; onresize=Netphiles_reloadPage; }}
  else if (innerWidth!=document.Netphiles_pgW || innerHeight!=document.Netphiles_pgH) location.reload();
}
Netphiles_reloadPage(true);