/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
	
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //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="dropmenudivhorz" 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 dropdownmenua(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

//var servername = window.location.host;
//var servername = "207.178.141.228";

var topMenu1=new Array()
topMenu1[0]='<a style="text-decoration:none" id="hylTopStratDeposit" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=1" class="navdown" >Strategic Disposition Services</a>'
topMenu1[1]='<a style="text-decoration:none" id="hylTopStoreClosings" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=2" class="navdown">Store Closings</a>'
topMenu1[2]='<a style="text-decoration:none" id="hylTopInvClearSales" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=3" class="navdown">Inventory Clearance Sales</a>'
topMenu1[3]='<a style="text-decoration:none" id="hylTopDueDiligence" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=4" class="navdown">M&amp;A Due Diligence</a>'
topMenu1[4]='<a style="text-decoration:none" id="hylTopFixDeposit" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=5" class="navdown">Fixture Disposition</a>'
topMenu1[5]='<a style="text-decoration:none" id="hylTopRevLogistic" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=6" class="navdown">Reverse Logistics</a>'
topMenu1[6]='<a style="text-decoration:none" id="hylTopAppr" runat="server" href="/GAGRetail/Services/Service.aspx?ServId=7" class="navdown">Appraisals</a>'

var topMenu2=new Array()
topMenu2[0]='<a style="text-decoration:none" id="hylTopLiveWebcastAuc" runat="server" class="navdown" href="/GAGMachinery/Services/Service.aspx?ServId=8">Live and Webcast Auctions</a>'
topMenu2[1]='<a style="text-decoration:none" id="hylTopOnlineAuctions" runat="server" href="/GAGMachinery/Services/Service.aspx?ServId=9" class="navdown">Online Auctions</a>'
topMenu2[2]='<a style="text-decoration:none" id="hylTopOrderLiquidations" runat="server" class="navdown" href="/GAGMachinery/Services/Service.aspx?ServId=10">Orderly Liquidations</a>'
topMenu2[3]='<a style="text-decoration:none" id="hylTopPrivTreatySales" runat="server" class="navdown" href="/GAGMachinery/Services/Service.aspx?ServId=11">Private Treaty Sales</a>'
topMenu2[4]='<a style="text-decoration:none" id="hylTopBuiltOutServ" runat="server" class="navdown" href="/GAGMachinery/Services/Service.aspx?ServId=12">Build Out Services</a>'
topMenu2[5]='<a style="text-decoration:none" id="hylTopAppraisal" runat="server" class="navdown" href="/GAGMachinery/Services/Service.aspx?ServId=13">Appraisals</a>'
topMenu2[6]='<a style="text-decoration:none" id="hylTopSealbid" runat="server" href="/GAGMachinery/Services/Service.aspx?ServId=57" class="navdown">Sealed Bid Sales</a>'

var topMenu3=new Array()
topMenu3[0]='<a style="text-decoration:none" id="hylTopOrderLiq" runat="server" class="navdown" href="/GAGAuction/Services/Service.aspx?ServId=14" >Orderly Liquidations</a>'
topMenu3[1]='<a style="text-decoration:none" id="hylTopLiveWebAuction" runat="server" class="navdown" href="/GAGAuction/Services/Service.aspx?ServId=15">Live Auctions</a>'
topMenu3[2]='<a style="text-decoration:none" id="hylTopOnlineAuc" runat="server" href="/GAGAuction/Services/Service.aspx?ServId=16" class="navdown">Online Auctions</a>'
topMenu3[3]='<a style="text-decoration:none" id="hylTopAppraisals" runat="server" class="navdown" href="/GAGAuction/Services/Service.aspx?ServId=17">Appraisals</a>'
topMenu3[4]='<a style="text-decoration:none" id="hylTopWindDownServ" runat="server" class="navdown" href="/GAGAuction/Services/Service.aspx?ServId=18">Build-Out and Wind-Down Services</a>'
topMenu3[5]='<a style="text-decoration:none" id="hylTopRevLog" runat="server" class="navdown" href="/GAGAuction/Services/Service.aspx?ServId=19">Reverse Logistics</a>'
topMenu3[6]='<a style="text-decoration:none" id="hylTopWebcast" runat="server" class="navdown" href="/GAGAuction/Services/Service.aspx?ServId=55">Webcast Auction Sales</a>'    

var topMenu4=new Array()
topMenu4[0]='<a style="text-decoration:none;" id="hylTopRetConsInv" runat="server" class="navdown" href="/GAGAppraisal/Services/Service.aspx?ServId=20">Retail and Consumer Inventories</a>'
topMenu4[1]='<a style="text-decoration:none;" id="hylTopWholIndusInv" runat="server" href="/GAGAppraisal/Services/Service.aspx?ServId=21" class="navdown">Wholesale and Industrial Inventories</a>'
topMenu4[2]='<a style="text-decoration:none;" id="hylTopMachEquip" runat="server" class="navdown" href="/GAGAppraisal/Services/Service.aspx?ServId=22" >Machinery &amp; Equipment</a>'
topMenu4[3]='<a style="text-decoration:none;" id="hylTopIntellProp" runat="server" class="navdown" href="/GAGAppraisal/Services/Service.aspx?ServId=23" >Intellectual Property</a>'
topMenu4[4]='<a style="text-decoration:none;" id="hylTopRelEst" runat="server" class="navdown" href="/GAGAppraisal/Services/Service.aspx?ServId=24" >Real Estate</a>'
topMenu4[5]='<a style="text-decoration:none;" id="hylTopFAS" runat="server" class="navdown" href="/GAGAppraisal/Services/Service.aspx?ServId=25" >Financial Reporting and Tax</a>'
topMenu4[6]='<a style="text-decoration:none;" id="hylTopAdvSer" runat="server" class="navdown" href="/GAGAppraisal/Services/Service.aspx?ServId=26" >Advisory Services</a>'

var topMenu5=new Array()
topMenu5[0]='<a style="text-decoration:none" id="hylTopPortMan" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=27" >Portfolio Valuations and <div>Dispositions</div></a>'
topMenu5[1]='<a style="text-decoration:none" id="hylTopLeasValDispos" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=28">Leasehold Valuations and <div>Dispositions</div></a>'
topMenu5[2]='<a style="text-decoration:none" id="hylTopLeasDisposMit" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=29">Leasehold Renegotiations and <div>Mitigation</div></a>'
topMenu5[3]='<a style="text-decoration:none" id="hylTopLeasExtRen" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=30">Leasehold Extensions and <div>Renewals</div></a>'
topMenu5[4]='<a style="text-decoration:none" id="hylTopIntRealEst" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=31">Interim Real Estate Management</a>'
topMenu5[5]='<a style="text-decoration:none" id="hylTopPurPriceAlloc" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=32">Purchase Price Allocation</a>'
topMenu5[6]='<a style="text-decoration:none" id="hylTopHighBestUse" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=33">Highest and Best Use</a>'
topMenu5[7]='<a style="text-decoration:none" id="hylTopApprReview" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=34">Appraisal Reviews</a>'
topMenu5[8]='<a style="text-decoration:none" id="hylTopValFinRep" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=35">Valuations for Financial Reporting</a>'
topMenu5[9]='<a style="text-decoration:none" id="hylTopAcqAdv" runat="server" class="navdown" href="/GAGRealEstate/Services/Service.aspx?ServId=36">Acquisition Advisory</a>'

var topMenu6=new Array()
topMenu6[0]='<a style="text-decoration:none" id="hylIntPropIntAss" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=37">Intellectual Property and Intangible Assets</a>'
topMenu6[1]='<a style="text-decoration:none" id="hylEntValue" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=38">Enterprise Value</a>'
topMenu6[2]='<a style="text-decoration:none" id="hylLending" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=39">Lending</a>'
topMenu6[3]='<a style="text-decoration:none" id="hylFinRepTax" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=40">Financial Reporting and Tax</a>'
topMenu6[4]='<a style="text-decoration:none" id="hylInvt" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=41">Investment Analysis</a>'
topMenu6[5]='<a style="text-decoration:none" id="hylBankrupt" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=49">Bankruptcy and Litigation Support</a>'
topMenu6[6]='<a style="text-decoration:none" id="hylFairness" runat="server" class="navdown" href="/GAGIP/Services/Service.aspx?ServId=50">Fairness and Solvency Opinions</a>'

var topMenu7=new Array()
topMenu7[0]='<a style="text-decoration:none" id="hylTopDueDilig" runat="server" class="navdown" href="/GAGMA/Services/Service.aspx?ServId=42">Due Diligence Services</a>'
topMenu7[1]='<a style="text-decoration:none" id="hylTopDispos" runat="server" href="/GAGMA/Services/Service.aspx?ServId=43" class="navdown">Disposition of Assets Excess to <div>the Needs of Buyer</div></a>'
topMenu7[2]='<a style="text-decoration:none" id="hylTopPhyInv" runat="server" class="navdown" href="/GAGMA/Services/Service.aspx?ServId=44" >Physical Inventory Assistance</a>'
topMenu7[3]='<a style="text-decoration:none" id="hylTopCons" runat="server" class="navdown" href="/GAGMA/Services/Service.aspx?ServId=45" >Consultation for Distressed Investing</a>'
topMenu7[4]='<a style="text-decoration:none" id="hylTopFund" runat="server" class="navdown" href="/GAGMA/Services/Service.aspx?ServId=46" >Funding of Purchase Price</a>'
topMenu7[5]='<a style="text-decoration:none" id="hylTopMAppriasal" runat="server" class="navdown" href="/GAGMA/Services/Service.aspx?ServId=47" >Appraisals</a>'
