<!--
function confirmAction() { 
return confirm ("If you are sure you want to DELETE, click OK...or...click CANCEL to stop deletion request!"); 
}




var Roll=new Array();


Roll["a"] = new RollOver("images/on_01.gif");
Roll["b"] = new RollOver("images/on_02.gif");
Roll["c"] = new RollOver("images/on_03.gif");
Roll["d"] = new RollOver("images/on_04.gif");
Roll["e"] = new RollOver("images/on_06.gif");
Roll["f"] = new RollOver("images/on_07.gif");
Roll["g"] = new RollOver("images/on_08.gif");

function RollOver(on_url)
{       this.on        = new Image();
        this.on.src    = on_url;
}

function flip ()
{       if(arguments.length==1) arguments[1]=arguments[0];
        for(i=0 ; i<arguments.length ; i+=2){
                temp = document.images[arguments[i]].src;
                document.images[arguments[i]].src  = Roll[arguments[i+1]].on.src;
                Roll[arguments[i+1]].on.src = temp;
        }
}


function buyerSignup()
{
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}

	return (true);
} 

function buyerSignup2()
{
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	if (document.form.passwordber.value.length == 0)
	{
		alert('You must enter A PASSWORD to continue.');
		document.form.password.focus();
		return(false);
	}

	return (true);
} 
function sellerSignup()
{
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
if (document.form.verify.checked == false)
	{
		alert('You must check the box TO VERIFY THAT YOU HAVE READ THE IMPORTANT NOTICE to continue.');
		document.form.verify.focus();
		return(false);
	}

	return (true);
} 
function sellerSignup2()
{
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	if (document.form.password.value.length == 0)
	{
		alert('You must enter A PASSWORD to continue.');
		document.form.password.focus();
		return(false);
	}

	return (true);
} 
function buyerProfile()
{
	if (document.form.name.value.length == 0)
	{
		alert('You must enter YOUR FIRST NAME to continue.');
		document.form.name.focus();
		return(false);
	}
		if (document.form.lname.value.length == 0)
	{
		alert('You must enter YOUR LAST NAME to continue.');
		document.form.lname.focus();
		return(false);
	}
	if (document.form.address.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.form.address.focus();
		return(false);
	}
	if (document.form.city.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.form.city.focus();
		return(false);
	}
	if (document.form.state.value.length == 0)
	{
		alert('You must enter YOUR STATE to continue.');
		document.form.state.focus();
		return(false);
	}
	if (document.form.zip.value.length == 0)
	{
		alert('You must enter YOUR ZIP CODE to continue.');
		document.form.zip.focus();
		return(false);
	}
	if (document.form.country.value.length == 0)
	{
		alert('You must enter YOUR COUNTRY to continue.');
		document.form.country.focus();
		return(false);
	}
	if (document.form.phone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.form.phone.focus();
		return(false);
	}
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	

   return (true);
} 

function sellerProfile()
{
	if (document.form.name.value.length == 0)
	{
		alert('You must enter YOUR FIRST NAME to continue.');
		document.form.name.focus();
		return(false);
	}
	if (document.form.lname.value.length == 0)
	{
		alert('You must enter YOUR LAST NAME to continue.');
		document.form.lname.focus();
		return(false);
	}
	
	if (document.form.address.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.form.address.focus();
		return(false);
	}
	if (document.form.city.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.form.city.focus();
		return(false);
	}if (document.form.state.value.length == 0)
	{
		alert('You must enter YOUR STATE to continue.');
		document.form.state.focus();
		return(false);
	}
	if (document.form.zip.value.length == 0)
	{
		alert('You must enter YOUR ZIP CODE to continue.');
		document.form.zip.focus();
		return(false);
	}
	if (document.form.phone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.form.phone.focus();
		return(false);
	}
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}

   return (true);
} 



function makePayment()
{
	if (document.form.nameoncard.value.length == 0)
	{
		alert('You must enter NAME ON CARD to continue.');
		document.form.nameoncard.focus();
		return(false);
	}
	if (document.form.billingaddress.value.length == 0)
	{
		alert('You must enter CARD BILLING ADDRESS to continue.');
		document.form.billingaddress.focus();
		return(false);
	}
	if (document.form.billingcity.value.length == 0)
	{
		alert('You must enter CARD BILLING CITY to continue.');
		document.form.billingcity.focus();
		return(false);
	}
	if (document.form.billingstate.value.length == 0)
	{
		alert('You must enter CARD BILLING STATE to continue.');
		document.form.billingstate.focus();
		return(false);
	}
	if (document.form.billingzip.value.length == 0)
	{
		alert('You must enter CARD BILLING ZIP to continue.');
		document.form.billingzip.focus();
		return(false);
	}
	if (document.form.cardNumber.value.length == 0)
	{
		alert('You must enter CARD NUMBER to continue.');
		document.form.cardNumber.focus();
		return(false);
	}
	if (document.form.cardExpDate1.value.length == 0)
	{
		alert('You must enter CARD EXP DATE to continue.');
		document.form.cardExpDate1.focus();
		return(false);
	}
	if (document.form.cvv2.value.length == 0)
	{
		alert('You must enter CARD 3 DIGIT CVV2 CODE FROM BACK OF CARD to continue.');
		document.form.cvv2.focus();
		return(false);
	}



   return (true);
} 


function makePaymentbuyer()
{
	if (document.form.nameoncard.value.length == 0)
	{
		alert('You must enter NAME ON CARD to continue.');
		document.form.nameoncard.focus();
		return(false);
	}
	if (document.form.billingaddress.value.length == 0)
	{
		alert('You must enter CARD BILLING ADDRESS to continue.');
		document.form.billingaddress.focus();
		return(false);
	}
	if (document.form.billingcity.value.length == 0)
	{
		alert('You must enter CARD BILLING CITY to continue.');
		document.form.billingcity.focus();
		return(false);
	}
	if (document.form.billingstate.value.length == 0)
	{
		alert('You must enter CARD BILLING STATE to continue.');
		document.form.billingstate.focus();
		return(false);
	}
	if (document.form.billingzip.value.length == 0)
	{
		alert('You must enter CARD BILLING ZIP to continue.');
		document.form.billingzip.focus();
		return(false);
	}
	if (document.form.cardNumber.value.length == 0)
	{
		alert('You must enter CARD NUMBER to continue.');
		document.form.cardNumber.focus();
		return(false);
	}
	if (document.form.cardExpDate1.value.length == 0)
	{
		alert('You must enter CARD EXP DATE to continue.');
		document.form.cardExpDate1.focus();
		return(false);
	}
	if (document.form.cvv2.value.length == 0)
	{
		alert('You must enter CARD 3 DIGIT CVV2 CODE FROM BACK OF CARD to continue.');
		document.form.cvv2.focus();
		return(false);
	}



   return (true);
} 

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*((screen.width-w)-75)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){
		LeftPosition=0;
		TopPosition=20}

	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
	win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}}
	
		function Validate_Form()
{
	if (document.form.strContactPerson.value.length == 0)
	{
		alert('You must enter A CONTACT PERSON to continue.');
		document.form.strContactPerson.focus();
		return(false);
	}
	if (document.form.strPhoneNumber.value.length == 0)
	{
		alert('You must enter A PHONE NUMBER to continue.');
		document.form.strPhoneNumber.focus();
		return(false);
	}
	if (document.form.strEmailAddress.value.length == 0)
	{
		alert('You must enter AN E-MAIL ADDRESS to continue.');
		document.form.strEmailAddress.focus();
		return(false);
	}
	if (document.form.strRequest.value.length == 0)
	{
		alert('You must enter A REQUEST to continue.');
		document.form.strRequest.focus();
		return(false);
	}
	return (true);
}
	
	function displayPopup(url, height, width) {
properties = "toolbar=0,location=0,scrollbars=0,height=" + height;
properties = properties + ",width=" + width;
properties = properties + ",left=0,top=0";
popupHandle = open(url, "Upload_Image", properties);

}

	function comContact2()
{
    if (document.form.fName.value.length == 0)
	{
		alert('You must enter YOUR FIRST NAME to continue.');
		document.form.fName.focus();
		return(false);
	}
	if (document.form.lName.value.length == 0)
	{
		alert('You must enter YOUR LAST NAME to continue.');
		document.form.lName.focus();
		return(false);
	}
	if (document.form.phone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.form.phone.focus();
		return(false);
	}
	if (document.form.email.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.email.focus();
		return(false);
	}
	if (document.form.title.value.length == 0)
	{
		alert('You must enter A TITLE to continue.');
		document.form.title.focus();
		return(false);
	}
	if (document.form.message.value.length == 0)
	{
		alert('You must enter A MESSAGE to continue.');
		document.form.message.focus();
		return(false);
	}
	return (true);
} 
	function comContact()
{
	if (document.form.email.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.email.focus();
		return(false);
	}
	if (document.form.title.value.length == 0)
	{
		alert('You must enter A TITLE to continue.');
		document.form.title.focus();
		return(false);
	}
	if (document.form.message.value.length == 0)
	{
		alert('You must enter A MESSAGE to continue.');
		document.form.message.focus();
		return(false);
	}
	return (true);
} 

	function createListing()
{

	if (document.form.price.value.length == 0)
	{
		alert('You must enter A PRICE to continue.');
		document.form.price.focus();
		return(false);
	}
	if (document.form.headline.value.length == 0)
	{
		alert('You must enter A HEADLINE to continue.');
		document.form.headline.focus();
		return(false);
	}
	if (document.form.description.value.length == 0)
	{
		alert('You must enter A DESCRIPTION to continue.');
		document.form.description.focus();
		return(false);
	}
	if (document.form.market.value.length == 0)
	{
		alert('You must enter A MARKET DESCRIPTION to continue.');
		document.form.market.focus();
		return(false);
	}
	if (document.form.leaseorrealestate.value.length == 0)
	{
		alert('You must enter LEASING OR REAL ESTATE INFORMATION to continue.');
		document.form.leaseorrealestate.focus();
		return(false);
	}
	if (document.form.cashflow.value.length == 0)
	{
		alert('You must enter NET PROFIT/DISCRETIONARY CASH to continue.');
		document.form.cashflow.focus();
		return(false);
	}


	return (true);
} 

function Validate_FormFran()
{
	if (document.formfran.strContactPerson.value.length == 0)
	{
		alert('You must enter YOUR NAME to continue.');
		document.formfran.strContactPerson.focus();
		return(false);
	}
	if (document.formfran.strPhoneNumber.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.formfran.strPhoneNumber.focus();
		return(false);
	}
	if (document.formfran.strEmailAddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.formfran.strEmailAddress.focus();
		return(false);
	}
	if (document.formfran.strRequest.value.length == 0)
	{
		alert('You must enter A REQUEST to continue.');
		document.formfran.strRequest.focus();
		return(false);
	}
	return (true);
}




// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 12;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!
Picture[1]  = 'images/fader1.jpg';
Picture[2]  = 'images/fader2.jpg';
Picture[3]  = 'images/fader3.jpg';
Picture[4]  = 'images/fader4.jpg';
Picture[5]  = 'images/fader5.jpg';
Picture[6]  = 'images/fader6.jpg';
Picture[7]  = 'images/fader7.jpg';
Picture[8]  = 'images/fader8.jpg';
Picture[9]  = 'images/fader9.jpg';
Picture[10]  = 'images/fader10.jpg';





// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "This is the first caption.";
Caption[2]  = "This is the first caption.";
Caption[3]  = "This is the first caption.";
Caption[4]  = "This is the first caption.";
Caption[5]  = "This is the first caption.";
Caption[6]  = "This is the first caption.";
Caption[7]  = "This is the first caption.";
Caption[8]  = "This is the first caption.";
Caption[9]  = "This is the first caption.";
Caption[10]  = "This is the first caption.";






// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;

if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
	
//-->



















































