//
// begin variable to assign a custom banner to 1
var customReports = 1;
// end variable to assign a custom banner to 1

// begin set vars per client
var map = 'http://maps.yahoo.com/py/maps.py?BFCat=&Pyt=Tmap&newFL=Use+Address+Below&addr=19104+ABERCORN+PL&csz=Lutz+FL+33549&Country=us&Get%A0Map=Get+Map';

var propAdd = '19104 Abercorn PL Lutz 33549';
var propTour = 'http://media.homestore.com/ERA/HSWYQAKA.htm';

var agentName ='John Drinkard';
//var agentEmail = 'imhof@esencia-inc.com';
var agentEmail = 'jd@drinkardcompany.com';
var agentBanner = 'http://www.drinkardcompany.com/images/drinkardnewsback1.jpg';
var agentWeb = 'http://www.drinkardcompany.com/';
var agentWeb2 = 'http://www.drinkardcompany.com/';
var agentCompany = 'Drinkard & Company';
var agentAdd1 = '4615 North A Street';
var agentAdd2 = 'Tampa FL 33609';
var agentPhone = '(813) 404-6027';
var agentFax = '(813) 261-5194';
var agentNewsList = 'eNewsDrinkard';
var agentReturnPage = 'http://www.esencia-inc.net/drinkardcompanycom/thanksforcontactingus.htm';




// end set vars per client

// begin map link function
function mapLinkImage(){
	document.write('<a target="_blank" href="'+ map + '"><img src="images/map_19x19.gif" width="19" height="19" border="0"></a>');
}
function mapLinkText(){
	document.write('<a target="_blank" href="'+ map	+ '">Map This Property</a>');
}
// end map link function



// begin map tour function
function showTourImage(){
document.write('<a href="javascript:safepop(\'' + propTour + '\',\'500\',\'475\')"><img src="images/vt_19x19.gif" width="19" height="19" border="0"></a>');
}
function showTourText(){
	document.write('<a href="javascript:safepop(\'' + propTour + '\',\'500\',\'475\')">Take a Virtual Tour</a>');
}
// end map tour function












// begin allformdata function

function theFormData(){

document.write('<input type="hidden" name="thisAgentName" value="' + agentName + '">');
document.write('<input type="hidden" name="thisAgentEmail" value="' + agentEmail + '">');

// custom banners etc - set above to 1 if true
	if (customReports) {
	document.write('<input type="hidden" name="thisAgentBanner" value="' + agentBanner + '">');
	document.write('<input type="hidden" name="thisAgentWeb" value="' + agentWeb + '">');
	document.write('<input type="hidden" name="thisAgentWeb2" value="' + agentWeb2 + '">');
	}

document.write('<input type="hidden" name="thisAgentCompany" value="' + agentCompany + '">');
document.write('<input type="hidden" name="thisAgentAdd1" value="' + agentAdd1 + '">');
document.write('<input type="hidden" name="thisAgentAdd2" value="' + agentAdd2 + '">');
document.write('<input type="hidden" name="thisAgentPhone" value="' + agentPhone + '">');
document.write('<input type="hidden" name="thisAgentFax" value="' + agentFax + '">');

document.write('<input type="hidden" name="thisReturnPage" value="' + agentReturnPage + '">');



}
// end allformdata function



// begin agent specif functions

function disAgentNewsData(){
document.write('<input type="hidden" name="group1" value="' + agentNewsList + '">');

}





function disAgentName(){
document.write(agentName);
}

function disAgentPhone(){
document.write(agentPhone);
}

function disAgentFax(){
document.write(agentFax);
}
function disAgentEmail(){
document.write('<a href="mailto:' + agentEmail + '">Email</a>');

}




function disAgentComp(){
document.write(agentCompany);
}

function disAgentAdd(){
document.write(agentAdd1);
}


function disAgentAdd2(){
document.write(agentAdd2);
}
// end agent specif functions

// begin prop specif functions
function disPropAdd(){
document.write(propAdd);
}

function disPropTour(){
document.write(propAdd);
}
// end prop specif functions








//-->