<!--

function layerWrite(divid,text) {

if (divid=='profile'){
	if (document.all||document.getElementById){
		cross_el=document.getElementById? document.getElementById('profile'):document.all.profile
		cross_el.innerHTML=text
	}
	else if (document.layers){
		document.d1.document.d2.document.write(text)
		document.d1.document.d2.document.close()
	}
}

else if (divid=='portfolio'){
	if (document.all||document.getElementById){
		cross_el=document.getElementById? document.getElementById('portfolio'):document.all.portfolio
		cross_el.innerHTML=text
	}
	else if (document.layers){
		document.d3.document.d4.document.write(text)
		document.d3.document.d4.document.close()
	}
}
else if (divid=='links'){
	if (document.all||document.getElementById){
		cross_el=document.getElementById? document.getElementById('links'):document.all.links
		cross_el.innerHTML=text
	}
	else if (document.layers){
		document.d5.document.d6.document.write(text)
		document.d5.document.d6.document.close()
	}
}
else{
	if (document.all||document.getElementById){
//		cross_el=document.getElementById? document.getElementById(divid):document.all.link1
		cross_el=document.getElementById(divid)
		cross_el.innerHTML=text

	}
	else if (document.layers){
		document.d5.document.d6.document.write(text)
		document.d5.document.d6.document.close()
	}
}

}

var stoptimer

function menudrop(cat)
{

if (cat=='profile'){
layerWrite('portfolio',' ');
layerWrite('profile','<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">&nbsp;</TD></TR><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();"><A HREF="contact.html" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Contact</A></TD></TR></TABLE>');
stoptimer=1
}

else if (cat=='portfolio'){
layerWrite('profile',' ');
layerWrite('portfolio','<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">&nbsp;</TD></TR><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();"><A HREF="portfolio.asp?section_id=1" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Architecture</A></TD></TR><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();"><A HREF="portfolio.asp?section_id=2" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Interior Design<br></A></TD></TR><TR><TD>&nbsp;&nbsp;<A HREF="portfolio.asp?section_id=11" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Law Firm Design</A></TD></TR><TR><TD>&nbsp;&nbsp;<A HREF="portfolio.asp?section_id=12" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Retail Design<br></A></TD></TR><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();"><A HREF="portfolio.asp?section_id=3" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Renovation</A></TD></TR><TR><TD ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();"><A HREF="portfolio.asp?section_id=4" ONMOUSEOVER="timerstop();" ONMOUSEOUT="startClock();">Strategic Planning</A></TD></TR></TABLE>');
stoptimer=1
}
}


function timerstop(){
stoptimer=1
}



function removemenu()
{

	if(stoptimer==0){
		layerWrite('portfolio',' ');
		layerWrite('profile',' ');
		stoptimer=1
	}
}

function startClock(){
	stoptimer=0
	setTimeout("removemenu()", 1000)
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

//-->
