function testemail(emailbox){
	 var str = emailbox.value;
    regexString = "^[a-z0-9]([a-z0-9\+\._-]*[a-z0-9])*@([a-z0-9]([a-z0-9-]*[a-z0-9])?\.)+(AD|AE|AF|AG|AI|AL|AM|AN|AO|AQ|AR|AS|AT|AU|AW|AZ|BA|BB|BD|BE|BF|BG|BH|BI|BJ|BM|BN|BO|BR|BS|BT|BV|BW|BY|BZ|CA|CC|CF|CG|CH|CK|CL|CM|CN|CO|CR|CS|CU|CV|CX|CY|CZ|DE|DJ|DK|DM|DO|DZ|EC|EE|EG|EH|ER|ES|ET|FI|FJ|FK|FM|FO|FR|FX|GA|GB|GD|GE|GF|GH|GI|GL|GM|GN|GP|GQ|GR|GS|GT|GU|GW|GY|HK|HM|HN|HR|HT|HU|ID|IE|IL|IN|IO|IQ|IR|IS|IT|JM|JO|JP|KE|KG|KH|KI|KM|KN|KP|KR|KW|KY|KZ|LA|LB|LC|LI|LK|LR|LS|LT|LU|LV|LY|MA|MC|MD|MG|MH|MK|ML|MM|MN|MO|MP|MQ|MR|MS|MT|MU|MV|MW|MX|MY|MZ|NA|NC|NE|NF|NG|NI|NL|NO|NP|NR|NT|NU|NZ|OM|PA|PE|PF|PG|PH|PK|PL|PM|PN|PR|PT|PW|PY|QA|RE|RO|RU|RW|SA|SB|SC|SD|SE|SG|SH|SI|SJ|SK|SL|SM|SN|SO|SR|ST|SU|SV|SY|SZ|TC|TD|TF|TG|TH|TJ|TK|TM|TN|TO|TP|TR|TT|TV|TW|TZ|UA|UG|UK|UM|US|UY|UZ|VA|VC|VE|VG|VI|VN|VU|WF|WS|YE|YT|YU|ZA|ZM|ZR|ZW|COM|EDU|GOV|INT|MIL|NET|ORG|ARPA|NATO)$";
    re = new RegExp(regexString,"i")
     if (str.search(re) != -1)
       return true;
     else
       alert('You must provide a Valid Email Address');
		emailbox.focus();
	return false;	
}

<!--Slideshow  texts-->
var quotations = new Array()
  quotations[0]= "The Pointe at Beaumeade"
  quotations[1]= "Lovettsville Square"
  quotations[2]= "210 Wirt St SW"
  quotations[3]= "Cornerstone"
  quotations[4]= "Boscawen Street"
  quotations[5]= "Broadview"
  quotations[6]= "Beaumeade Technology Campus Building A"
  quotations[7]= "Loudoun Professional Office Develop"
  quotations[8]= "E Lee Street"
  quotations[9]= "Elden Street"
  quotations[10]= "Central Park"
  quotations[11]= "25 First St"
  quotations[12]= "Golf Vista Plaza"
  quotations[13]= "The Jefferson Building"
  quotations[14]= "21606 Stonetree Ct"
  quotations[15]= "Waverly Park Mansion"
  quotations[16]= "Waverly Park Corporate Center"
  quotations[17]= "140 N Hatcher Ave"
  quotations[18]= "South King Street Center"
  quotations[19]= "Lawson Road"
  quotations[20]= "116 Edwards Ferry Rd"
  quotations[21]= "Leesburg Today"
  quotations[22]= "Bellewood Commons"
  quotations[23]= "Miller Drive"
  quotations[24]= "Ashburn Crossroads II"
  quotations[25]= "Johnston Bldg"
  quotations[26]= "120 E Market St"
  quotations[27]= "Market Station Office Bldg"
  quotations[28]= "Royal Center"
  quotations[29]= "Sycolin Road"
  quotations[30]= "Indian Creek Center Ph 3"
  quotations[31]= "Building 7, Village Center @ Belmont Greene"
  quotations[32]= "Building 5, Potomac Falls Professional Center"
  quotations[33]= "Building 4, Village Center @ Belmont Greene"
  quotations[34]= "Building 5, Village Center @ Belmont Greene" 
  quotations[35]= "Building 6, Village Center @ Belmont Greene"
  quotations[36]= "South King Street Center"
  quotations[37]= "South King Street Center"
  quotations[38]= "921 East Main St"
  quotations[39]= "107 Loudoun St SE"
  quotations[40]= "Building 3, Village Center @ Belmont Greene"
  //quotations[41]= ""
  //quotations[42]= ""
  //quotations[43]= ""
  //quotations[44]= ""
  //quotations[45]= "" 
  //quotations[46]= ""
  //quotations[47]= ""

var quotations1 = new Array()
  quotations1[0]= "Office"
  quotations1[1]= "Retail"
  quotations1[2]= "Office"
  quotations1[3]= "Retail"
  quotations1[4]= "Office"
  quotations1[5]= "Retail"
  quotations1[6]= "Flex"
  quotations1[7]= "Office"
  quotations1[8]= "Retail"
  quotations1[9]= "Office"
  quotations1[10]= "Retail"
  quotations1[11]= "Office"
  quotations1[12]= "Office"
  quotations1[13]= "Office"
  quotations1[14]= "Office"
  quotations1[15]= "Office"
  quotations1[16]= "Office"
  quotations1[17]= "Office"
  quotations1[18]= "Retail"
  quotations1[19]= "Industrial"
  quotations1[20]= "Office"
  quotations1[21]= "Office"
  quotations1[22]= "Retail"
  quotations1[23]= "Office"
  quotations1[24]= "Office"
  quotations1[25]= "Office"
  quotations1[26]= "Office"
  quotations1[27]= "Office"
  quotations1[28]= "Office"
  quotations1[29]= "Office"
  quotations1[30]= "Flex"
  quotations1[31]= "Office"
  quotations1[32]= "Office"
    quotations1[33]= "Office"
    quotations1[34]= "Office"
    quotations1[35]= "Office"
    quotations1[36]= "Shopping Center"
  quotations1[37]= "Retail"
    quotations1[38]= "Office"
    quotations1[39]= "Office"
    quotations1[40]= "Office"
    //quotations1[41]= "Office"
    //quotations1[42]= "Office"
    //quotations1[43]= "Office"
    //quotations1[44]= "Office"
    //quotations1[45]= ""
    //quotations1[46]= "Office"
    //quotations1[47]= "Office"
var quotations2 = new Array()
  quotations2[0]="Ashburn, Virginia "
  quotations2[1]= "Lovettsville, VA"
  quotations2[2]= "Leesburg, VA"
  quotations2[3]= "Ashburn, VA"
  quotations2[4]= "Winchester, VA"
  quotations2[5]= "Warrenton, VA"
  quotations2[6]= "Ashburn, VA"
  quotations2[7]="Leesburg, VA" 
  quotations2[8]= "Warrenton, VA"
  quotations2[9]= "Herndon, VA"
  quotations2[10]= "Fredericksburg, VA"
  quotations2[11]= "Leesburg, VA"
  quotations2[12]= "Leesburg, VA"
  quotations2[13]= "Ashburn, VA"
  quotations2[14]= "Sterling, VA"
  quotations2[15]= "Leesburg, VA"
  quotations2[16]= "Leesburg, VA"
  quotations2[17]= "Purcellville, VA"
  quotations2[18]= "Leesburg, VA"
  quotations2[19]= "Leesburg, VA"
  quotations2[20]= "Leesburg, VA"
  quotations2[21]= "Leesburg, VA"
  quotations2[22]= "Leesburg, VA"
  quotations2[23]= "Leesburg, VA"
  quotations2[24]= "Ashburn, VA "
  quotations2[25]= "Leesburg, VA"
  quotations2[26]= "Leesburg, VA"
  quotations2[27]= "Leesburg, VA"
  quotations2[28]= "Leesburg, VA"
  quotations2[29]= "Leesburg, VA"
  quotations2[30]= "Dulles, VA"
  quotations2[31]= "Ashburn, VA"
  quotations2[32]= "Sterling, VA"
  quotations2[33]= "Ashburn, VA"
    quotations2[34]= "Ashburn, VA"
    quotations2[35]= "Ashburn, VA"
    quotations2[36]= "Leesburg, VA"
    quotations2[37]= "Leesburg, VA"
    quotations2[38]= "Purcellville, VA"
    quotations2[39]= "Leesburg, VA"
    quotations2[40]= "Ashburn, VA"
    //quotations2[41]= "Ashburn, VA"
    //quotations2[42]= "Ashburn, VA"
    //quotations2[43]= ""
    //quotations2[44]= ""
    //quotations2[45]= "Leesburg, VA"
    //quotations2[46]= "Leesburg, VA"
    //quotations2[47]= "Reston, VA"
	var quotations3 = new Array()
  quotations3[0]="Building features Buff colored brick with blue insulated glass exterior.  Arched roof structure with gray, simulated standing seam membrane.  Area amenities include prime location across from MCI WorldCom; near AOL Headquarters.  High visibility at the corner of Waxpool Rd. and Loudoun County Parkway."
  quotations3[1]= "Lovettsville Square is a mixed-use development currently in the planning stages. Located in the center of town, this development will meet the local demand for retail goods and services that are currently unavailable within the town limits."
  quotations3[2]= "Located in downtown Leesburg. One block from Leesburg Town Hall. Three blocks from County Courthouse and Government Center. Walk to shopping and dining. Reception, two offices, conference and private bath."
  quotations3[3]= ""
  quotations3[4]= ""
  quotations3[5]= "Join Enterprise Leasing and Mattress Warehouse in this popular building!"
  quotations3[6]= "Excellent signage opportunity! Ceiling height: 16'. Multiple fiber providers. Dual power grids. Tailored to the high-tech user. Land Area for buildings 1 and 2: 11.89 acres. Flex space use. Abundant surface parking."
  quotations3[7]= ""
  quotations3[8]= ""
  quotations3[9]= ""
  quotations3[10]= ""
  quotations3[11]= ""
  quotations3[12]= ""
  quotations3[13]= "Located in the heart of Loudoun County, Virginia's Hi-Tech Golden Triangle.  Across the street from the Howard Hughes Medical Institute.  Close proximity to Dulles International Airport, MCI WorldCom, America Online, Orbital Sciences Corporation and the Dulles Town Center Mall."
  quotations3[14]= ""
  quotations3[15]= "Located just off the Rt. 7/15 Bypass and Greenway. Easy access to Dulles Airport, I-66, I-495 and Downtown Washington. Close to Courthouse. Lots of parking."
  quotations3[16]= "Located just off the Leesburg by-pass. Easy access to Dulles Airport, I-66, I-495 and Downtown Washington.  Close to Courthouse.  Lots of parking."
  quotations3[17]= ""
  quotations3[18]= ""
  quotations3[19]= "Rare Flex space on eastern edge of Leesburg, VA with easy access to Rt 7 and Rt. 15 Bypass through controlled intersection. Zoned I1 for light Industrial and approved for samall engin repair (not automotive). 2 ground heigt loading doors and 2 pedestrian doors. including 11 parking"
  quotations3[20]= ""
  quotations3[21]= ""
  quotations3[22]= ""
  quotations3[23]= ""
  quotations3[24]= "The Ashburn Crossroads Building Park consist of 3 phases. Phase 1-Retail Pads Sites: SunTrust Bank- Suds Carwash- and 7-11 Phase 2- Office Condos , Offices for lease and a Bank Pad Site. Phase 3- Ashburn Crossroads Restaurant Park which consists of 4 restaurant pad sites which includes IHOP, Fuddruckers, Bungalow Ale House, Starbucks/Potbelly's and a 4,000sf retail building "
  quotations3[25]= "8 South Street is also known as 207 King Street."
  quotations3[26]= "Directly across from County Government Center one block from County Courts Complex."
  quotations3[27]= "Located in Historic Leesburg. Less than 3 blocks to Town and County offices, Courthouse, shops and dining."
  quotations3[28]= "Modern office suites in Historic Downtown Leesburg. Spaces have vaulted ceilings, recessed lighting, and custon coffee bar kitchenette. Walking distance to county and town offices, shopping, and fine dining. Ideal for engineering, architectural, design firms." 
  quotations3[29]= "Build to suit. Leesburg's newest Class A office building. Minutes from Rt 15 Bypass and Dulles Greenway ramps. Next to Leesburg Airport. Address is subject to change."
  quotations3[30]= "Dock-high loading.  Ample parking."
  quotations3[31]= ""
  quotations3[32]= "Condominium Office Building."
  quotations3[33]= ""
  quotations3[34]= ""
  quotations3[35]= ""
  quotations3[36]= ""
  quotations3[37]= ""
  quotations3[38]= "New building across from Giant Shopping Center in Purcellville, VA. Hydraulic/Custom Elevator."
  quotations3[39]= ""
  quotations3[40]= ""
  //quotations3[41]= ""
  //quotations3[42]= ""
  //quotations3[43]= ""
  //quotations3[44]= ""
  //quotations3[45]= ""
  //quotations3[46]= ""
  //quotations3[47]= ""
<!--Slideshow pictures-->
	var preLoad = new Array();
var Pic = new Array();
var t
var p = Pic.length
var subAmnt = 272;
preLoad[0] = new Image();
preLoad[0].src = "slideshow/The Pointe @ Beaumeade.jpg";

preLoad[1] = new Image();
preLoad[1].src = "slideshow/Lovettsville Square.jpg";

preLoad[2] = new Image();
preLoad[2].src = "slideshow/210WirtStSW.jpg";

preLoad[3] = new Image();
preLoad[3].src = "slideshow/Cornerstone.jpg";

preLoad[4] = new Image();
preLoad[4].src = "slideshow/Boscawen Street.jpg";
preLoad[5] = new Image();
preLoad[5].src = "slideshow/Boardview.jpg";
preLoad[6] = new Image();
preLoad[6].src = "slideshow/21740 Beaumeade Cir.jpg";
preLoad[7] = new Image();
preLoad[7].src = "slideshow/loudoun_professional_office_develop.jpg";
preLoad[8] = new Image();
preLoad[8].src = "slideshow/E Lee Street.jpg";
preLoad[9] = new Image();
preLoad[9].src = "slideshow/Elden Street.jpg";
preLoad[10] = new Image();
preLoad[10].src = "slideshow/Central_Park.jpg";

preLoad[11] = new Image();
preLoad[11].src = "slideshow/25_First_St.jpg";

preLoad[12] = new Image();
preLoad[12].src = "slideshow/Golf Vista Plaza.jpg";

preLoad[13] = new Image();
preLoad[13].src = "slideshow/The Jefferson Building.jpg";

preLoad[14] = new Image();
preLoad[14].src = "slideshow/21606_Stonetree_Ct.jpg";
preLoad[15] = new Image();
preLoad[15].src = "slideshow/WaverlyParkMansion.jpg";
preLoad[16] = new Image();
preLoad[16].src = "slideshow/Waverly Park Corporate Center.jpg";
preLoad[17] = new Image();
preLoad[17].src = "slideshow/140_Hatcher_Ave.jpg";
preLoad[18] = new Image();
preLoad[18].src = "slideshow/South King Street Center.jpg";
preLoad[19] = new Image();
preLoad[19].src = "slideshow/Lawson Road.jpg";
preLoad[20] = new Image();
preLoad[20].src = "slideshow/116_Edwards_Ferry_Rd.jpg";

preLoad[21] = new Image();
preLoad[21].src = "slideshow/Leesburg Today.jpg";

preLoad[22] = new Image();
preLoad[22].src = "slideshow/Bellewood Commons.jpg";

preLoad[23] = new Image();
preLoad[23].src = "slideshow/Miller Drive.jpg";

preLoad[24] = new Image();
preLoad[24].src = "slideshow/Ashburn Crossroads III.jpg";
preLoad[25] = new Image();
preLoad[25].src = "slideshow/Johnston_Bldg.jpg";
preLoad[26] = new Image();
preLoad[26].src = "slideshow/120_E_Market_St.jpg";
preLoad[27] = new Image();
preLoad[27].src = "slideshow/MarketStationOfficeBldg.jpg";
preLoad[28] = new Image();
preLoad[28].src = "slideshow/Royal_Center.jpg";
preLoad[29] = new Image();
preLoad[29].src = "slideshow/Sycolin Road.jpg";
preLoad[30] = new Image();
preLoad[30].src = "slideshow/Indian Creek Center Ph 3.jpg";

preLoad[31] = new Image();
preLoad[31].src = "slideshow/Winkel_Way_Building_7.jpg";

preLoad[32] = new Image();
preLoad[32].src = "slideshow/Potomac Falls Professional Center.jpg";

preLoad[33] = new Image();
preLoad[33].src = "slideshow/Winkel_Way_Building_4.jpg";

preLoad[34] = new Image();
preLoad[34].src = "slideshow/Winkel_Way_Building_5.jpg";

preLoad[35] = new Image();
preLoad[35].src = "slideshow/Winkel_Way_Building_6.jpg";

preLoad[36] = new Image();
preLoad[36].src = "slideshow/818_S_King_St.jpg";

preLoad[37] = new Image();
preLoad[37].src = "slideshow/818_S_King_St.jpg";

preLoad[38] = new Image();
preLoad[38].src = "slideshow/921_East_Main_St.jpg";

preLoad[39] = new Image();
preLoad[39].src = "slideshow/107_Loudoun_St_SE.jpg";

preLoad[40] = new Image();
preLoad[40].src = "slideshow/Winkel_Way_Building_3.jpg";

//preLoad[41] = new Image();
//preLoad[41].src = "";

//preLoad[42] = new Image();
//preLoad[42].src = "";

//preLoad[43] = new Image();
//preLoad[43].src = "";

//preLoad[44] = new Image();
//preLoad[44].src = "";

//preLoad[45] = new Image();
//preLoad[45].src = "";

//preLoad[46] = new Image();
//preLoad[46].src = "";

//preLoad[47] = new Image();

//preLoad[47].src = "";

var links = new Array()
  links[0]= ""
  links[1]= ""
  links[2]= ""
  links[3]= ""
  links[4]= "(<a href='http://lease.svn.com/25eboscawen' target='_blank'>Click here</a> to view this listing)"
  links[5]= "(<a href='http://lease.svn.com/broadview' target='_blank'>Click here</a> to view this listing)"
  links[6]= ""
  links[7]= ""
  links[8]= ""
  links[9]= ""
  links[10]= ""
  links[11]= ""
  links[12]= ""
  links[13]= ""
  links[14]= ""
  links[15]= ""
  links[16]= ""
  links[17]= ""
  links[18]= ""
  links[19]= ""
  links[20]= ""
  links[21]= ""
  links[22]= ""
  links[23]= ""
  links[24]= ""
  links[25]= ""
  links[26]= ""
  links[27]= ""
  links[28]= "(<a href='http://lease.svn.com/contentanalyst' target='_blank'>Click here</a> to view this listing)"
  links[29]= ""
  links[30]= ""
  links[31]= ""
  links[32]= ""
  links[33]= ""
  links[34]= ""
  links[35]= ""
  links[36]= ""
  links[37]= ""
  links[38]= ""
  links[39]= ""
  links[40]= ""
  //links[41]= ""
  //links[42]= ""
  //links[43]= ""
  //links[44]= ""
  //links[45]= ""
  //links[46]= ""

var slideShowSpeed = 6000
var j = 0 + 0;
var crossFadeDuration = 2
function startGame()
{
//startGame function called onload of the body
setTimeout('runSlideShow()', 3000);
setTimeout('runSlideShow1()', 3000);

}

function runSlideShow(){
if (document.all)
{
	document.slideshow.style.filter="blendTrans(duration=-2)";
	document.slideshow.filters.blendTrans.Apply();
}
document.slideshow.src = preLoad[j].src
document.getElementById('quotation').innerHTML=quotations[j];
document.getElementById('quotation1').innerHTML=quotations1[j];
document.getElementById('quotation2').innerHTML=quotations2[j];
document.getElementById('thelink').innerHTML = links[j];
<!--document.getElementById('quotation3').innerHTML=quotations3[j]-->

if (document.all)
{
document.slideshow.filters.blendTrans.Play();
}
setTimeout('runSlideShow()', slideShowSpeed)
j = j + 1
if (j == (0 + 41))
j=0
}

<!--Refferal Form starts here-->
function invalid() {
if (document.email.T1.value.length < 2) {
alert("Please enter your name");
return false;
}
if (document.email.T2.value.length < 6) {
alert("Please enter your email");
return false;
}

return true;
}

function openit(){
var which="http://www.svn-vre.com/referral.html"
whichit=window.open(which,"","width=800,height=500")
}

function openit1()
{
var which="http://www.svn-vre.com/subscribe.html"
whichit=window.open(which,"","width=800,height=500")
}







//var menu1=new Array()
//menu1[0]='<a href="http://connect.costar.com/connect/MasterPage/Main.aspx?SiteId=22533&CheckSum=536863410" border="0" style="line-height:25px;">commercial</a>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://www.svn-vre.com/commagents.htm" border=0>commercial<BR>agents</a>'
menu2[1]='<a href="http://www.svn-vre.com/OT_prop-man.htm" border=0>property<BR>management</a>'
menu2[2]='<a href="http://www.svn-vre.com/administration.htm" border=0 style="line-height:25px;">administration</a>'

var menu3=new Array()
menu3[0]='<a href="http://www.svn-vre.com/LO_rep.htm" border=0>landlord/owner<BR>representation</a>'
menu3[1]='<a href="http://www.svn-vre.com/TB_rep.htm" border=0>tenant/buyer<BR>representation</a>'
menu3[2]='<a href="http://www.svn-vre.com/Prop_Man.htm" border=0>property<BR>management</a>'
menu3[3]='<a href="http://www.svn-vre.com/Dev_Serv.htm" border=0>development<BR>services</a>'
menu3[4]='<a href="http://www.svn-vre.com/RARP.htm" border=0>residential<BR>agent referral</a>'
menu3[5]='<a href="http://www.svn-vre.com/is.htm" border=0>investment<BR>sale</a>'

var menu4=new Array()
menu4[0]='<a href="http://www.svn-vre.com/Fredericksburg.htm" border=0>Fredericksburg<br>Office</a>'


		
var menuwidth='150px' //default menu width
var menubgcolor='#ffffff00'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu







function imgChange1( img )
 { document.arrow_home.src = img; }
function imgChange2( img, n )
 { document.arrow_properties.src = img;  }
function imgChange3( img )
 { document.arrow_aboutus.src = img; }
function imgChange4( img )
 { document.arrow_ourteam.src = img; }
function imgChange5( img )
 { document.arrow_services.src = img; }
function imgChange6( img )
 { document.arrow_contactus.src = img; }
function imgChange7( img )
 { document.arrow_employment.src = img; }
function imgChange8( img )
 { document.arrow_sn_C.src = img; }
function imgChange9( img )
 { document.arrow_services.src = img; }
function imgChange10( img )
 { document.arrow_sn_LOrep.src = img; }
function imgChange11( img )
 { document.arrow_sn_TBrep.src = img; }
function imgChange12( img )
 { document.arrow_sn_PM.src = img; }
function imgChange13( img )
 { document.arrow_sn_DS.src = img; }
function imgChange14( img )
 { document.arrow_sn_RAR.src = img; }
function imgChange15( img )
 { document.arrow_sn_is.src = img; }
function imgChange16( img )
 { document.arrow_sn_RAR.src = img; }
function imgChange17( img )
 { document.arrow_sn_RAR.src = img; }


<!--For sale slideshow-->
var quotations0 = new Array()
  quotations0[0]= "Alexandria Pike"
  quotations0[1]= "36278 Bell Rd"
  quotations0[2]= "25 E Boscawen St"
  quotations0[3]= "Briarfield Ln"
  quotations0[4]= "Matney Property"
  quotations0[5]= "Broadview"
  quotations0[6]= "Village Square"
  quotations0[7]= "Harrison Gateway Condos"
  quotations0[8]= "The Jefferson Bldg"
  quotations0[9]= "Loudoun Professional Office Develop"
  quotations0[10]= "215 S King St"
  quotations0[11]= "217 S King St"
  quotations0[12]= "Martin Property"
  quotations0[13]= "Leesburg Today"
  quotations0[14]= "Parker Ct SE"
  quotations0[15]= "7 Main St"
  quotations0[16]= "212 Church St SE"
  quotations0[17]= "Johnston Bldg"
  quotations0[18]= "21606 Stonetree Ct"
  quotations0[19]= "20916 Stubble Rd "
  quotations0[20]= "Goose Creek Rd"
  //quotations0[21]= ""
 

var quotations01 = new Array()
  quotations01[0]= "Land"
  quotations01[1]= "Land"
  quotations01[2]= "Office"
  quotations01[3]= "Land"
  quotations01[4]= "Land"
  quotations01[5]= "Retail"
  quotations01[6]= "Shopping Center"
  quotations01[7]= "Office"
  quotations01[8]= "Office"
  quotations01[9]= "Office"
  quotations01[10]= "Office"
  quotations01[11]= "Office"
  quotations01[12]= "Land"
  quotations01[13]= "Office"
  quotations01[14]= "Land"
  quotations01[15]= "Office"
  quotations01[16]= "Retail"
  quotations01[17]= "Office"
  quotations01[18]= "Office"
  quotations01[19]= "Land"
  quotations01[20]= "Land"
  //quotations01[21]= "Office"
var quotations02 = new Array()
  quotations02[0]="Warrenton, VA"
  quotations02[1]= "Round Hill, VA"
  quotations02[2]= "Winchester, VA"
  quotations02[3]= "Arcola, VA"
  quotations02[4]= "Arcola, VA"
  quotations02[5]= "Warrenton, VA"
  quotations02[6]= "Leesburg, VA"
  quotations02[7]= "Leesburg, VA" 
  quotations02[8]= "Ashburn, VA"
  quotations02[9]= "Leesburg, VA"
  quotations02[10]= "Leesburg, VA"
  quotations02[11]= "Leesburg, VA"
  quotations02[12]= "Aldie, VA"
  quotations02[13]= "Leesburg, VA"
  quotations02[14]= "Leesburg, VA "
  quotations02[15]= "Round Hill, VA"
  quotations02[16]= "Leesburg, VA"
  quotations02[17]= "Leesburg, VA"
  quotations02[18]= "Sterling, VA"
  quotations02[19]= "Ashburn, VA"
  quotations02[20]= "Fishersville, VA"
  //quotations02[21]= "Leesburg, VA"

	var quotations03 = new Array()
  quotations03[0]="The realtor is the owner."
  quotations03[1]= "Located adjacent to landscaping company; looking for use to compliment. 3% commission to procuring broker."
  quotations03[2]= "The property is currently positioned ideally for a user/investor offering space leased to Blue Ridge Title, Ritchey Law Firm and Vaaler Real Estate Company. Approximately, 2,800 sq.ft. are available for owner's use."
  quotations03[3]= "Adjacent to 4.6 acre parcel also available for sale. Less than 5 miles from Dulles airport."
  quotations03[4]= "Adjacent to 12 acre parcel also available for sale. Less than 5 miles from Dulles airport."
  quotations03[5]= "Join Enterprise Leasing and Mattress Warehouse in this popular building!"
  quotations03[6]= ""
  quotations03[7]= "Great Location! Only a few blocks from downtown Leesburg. Near the bypass, Rt 7, and Greenway. Perfect for a growing small business."
  quotations03[8]= "$25 per square foot allowance. Estimated CAM is $2.65/SF and condo fee of $2.85/SF Brand-new construction of office/medical condominiums in Ashburn, VA."
  quotations03[9]= "Offers are due by August 31st. Contact Adam Barbour of Rich Vaaler for more information. Property is 95% leased. Property is attached to the Inova Loudoun Hospital."
  quotations03[10]= ""
  quotations03[11]= ""
  quotations03[12]= "Arcola is an area that is undergoing tremendous change. The nearby Arcola Center will be a Billion Dollar project that is just getting under way."
  quotations03[13]= ""
  quotations03[14]= "Vacant land with various permitted Retail uses. Lot#1 has 19,602 sf. with .30 FAR and has frontage to Parker Ct. Lot#2 has 24,393 sf with .30 FAR and has frontage to South Street."
  quotations03[15]= "READY TO BUILD!!! ROUND HILL COMMERCIAL! This is an opportunity to purchase a commercially zoned 1/2 acre and house in the heart of Round Hill with site plan approval for a 2,500sq/ft addition."
  quotations03[16]= "HISTORIC LEESBURG! Unbeatable location adjacent to Market Station and redeveloping Church St. One block from Loudoun County Gov't Center. Two blocks from County Courthouse and Leesburg Town Hall."
  quotations03[17]= "8 South Street is also known as 207 King Street."
  quotations03[18]= "Site plan approval for additional 5,000 SF. Updated office buildout with diverse layout. Currently multi tenant building. Proximity to Dulles Airport, Verizon, AOL."
  quotations03[19]= "Prime development parcel in Ashburn, Virginia with high traffic counts. Nice opportunity to develop a professional medical office. "
  quotations03[20]= "Owner Agent."
  //quotations03[21]= ""

<!--Slideshow pictures-->
	var preLoad1 = new Array();
var Pic = new Array();
var t
var p = Pic.length
var subAmnt = 272;
preLoad1[0] = new Image();
preLoad1[0].src = "slides_sale/Alexandria_Pike.jpg";

preLoad1[1] = new Image();
preLoad1[1].src = "slides_sale/36278_Bell_Rd.jpg";

preLoad1[2] = new Image();
preLoad1[2].src = "slides_sale/25_E_Boscawen_St.jpg";

preLoad1[3] = new Image();
preLoad1[3].src = "slides_sale/Land.jpg";

preLoad1[4] = new Image();
preLoad1[4].src = "slides_sale/Land.jpg";
preLoad1[5] = new Image();
preLoad1[5].src = "slides_sale/Broadview.jpg";
preLoad1[6] = new Image();
preLoad1[6].src = "slides_sale/Village_Square.jpg";
preLoad1[7] = new Image();
preLoad1[7].src = "slides_sale/Harrison_Gateway_Condos.jpg";
preLoad1[8] = new Image();
preLoad1[8].src = "slides_sale/The_Jefferson_Bldg.jpg";
preLoad1[9] = new Image();
preLoad1[9].src = "slides_sale/loudoun_professional_office_develop.jpg";
preLoad1[10] = new Image();
preLoad1[10].src = "slides_sale/215_S_King_St.jpg";

preLoad1[11] = new Image();
preLoad1[11].src = "slides_sale/217_S_King_St.jpg";

preLoad1[12] = new Image();
preLoad1[12].src = "slides_sale/Land.jpg";

preLoad1[13] = new Image();
preLoad1[13].src = "slides_sale/Leesburg_Today.jpg";

preLoad1[14] = new Image();
preLoad1[14].src = "slides_sale/Parker_Ct_SE.jpg";
preLoad1[15] = new Image();
preLoad1[15].src = "slides_sale/7MainSt.jpg";
preLoad1[16] = new Image();
preLoad1[16].src = "slides_sale/212ChurchStSE.jpg";
preLoad1[17] = new Image();
preLoad1[17].src = "slides_sale/Johnston_Bldg.jpg";
preLoad1[18] = new Image();
preLoad1[18].src = "slides_sale/21606_Stonetree_Ct.jpg";
preLoad1[19] = new Image();
preLoad1[19].src = "slides_sale/20916_Stubble_Rd .jpg";
preLoad1[20] = new Image();
preLoad1[20].src = "slides_sale/Land.jpg";
//preLoad1[21] = new Image();
//preLoad1[21].src = "";

var links0 = new Array()
  links0[0]= "";
  links0[1]= "";
  links0[2]= "(<a href='http://sale.svn.com/25eboscawen' target='_blank'>Click here</a> to view this listing)";
  links0[3]= "";
  links0[4]= "";
  links0[5]= "(<a href='http://sale.svn.com/broadview' target='_blank'>Click here</a> to view this listing)";
  links0[6]= "";
  links0[7]= "";
  links0[8]= "";
  links0[9]= "";
  links0[10]= "";
  links0[11]= "";
  links0[12]= "";
  links0[13]= "";
  links0[14]= "(<a href='http://sale.svn.com/voell' target='_blank'>Click here</a> to view this listing)";
  links0[15]= "";
  links0[16]= "";
  links0[17]= "";
  links0[18]= "";
  links0[19]= "";
  links0[20]= "";
  //links0[21]= "";
  
var slideShowSpeed = 6000
var i = 0 + 0;
var crossFadeDuration = 2

function runSlideShow1(){
if (document.all)
{
	document.slideshow1.style.filter="blendTrans(duration=-2)";
	document.slideshow1.filters.blendTrans.Apply();
}
document.slideshow1.src = preLoad1[i].src
document.getElementById('quotation0').innerHTML=quotations0[i];
document.getElementById('quotation01').innerHTML=quotations01[i];
document.getElementById('quotation02').innerHTML=quotations02[i];
document.getElementById('thelink0').innerHTML = links0[i];

<!--document.getElementById('quotation03').innerHTML=quotations03[i]-->

if (document.all)
{
document.slideshow1.filters.blendTrans.Play();
}
setTimeout('runSlideShow1()', slideShowSpeed)
i = i + 1
if (i == (0 + 21))
i=0
}
