<!--

var myimages=new Array()
function preloadImages() {
	for (i=0;i<preloadImages.arguments.length;i++){
		myimages[i]=new Image()
		myimages[i].src=preloadImages.arguments[i]
	}
}
preloadImages(
	"/images/ams_nav_01_about_on.gif",
	"/images/ams_nav_02_ams_advan_on.gif",
	"/images/ams_nav_03_clients_on.gif",
	"/images/ams_nav_04_event_serv_on.gif",
	"/images/ams_nav_05_start_up_on.gif",
	"/images/ams_nav_06_contact_on.gif",
	"/images/ams_nav_07_home_on.gif"
);
	
function MM_swapImage() {
	var i, theObj, j = 0, swapArray = new Array, oldArray = document.MM_swapImgData;
		for (i = 0; i < (MM_swapImage.arguments.length - 2); i += 3) {
  		theObj = eval(MM_swapImage.arguments[(navigator.appName == 'Netscape')?i: i + 1])
   			if (theObj != null) {
 				swapArray[j++] = theObj;
   			swapArray[j++] = (oldArray == null || oldArray[j - 1] != theObj)?theObj.src: oldArray[j];
   			theObj.src = MM_swapImage.arguments[i + 2];
 			}
 		}
	document.MM_swapImgData = swapArray;
}

function MM_swapImgRestore() {
	if (document.MM_swapImgData != null)
		for (var i = 0; i < (document.MM_swapImgData.length - 1); i += 2)
 			document.MM_swapImgData[i].src = document.MM_swapImgData[i + 1];
}

/***********************************************
* 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='160px' //default menu width
var menubgcolor='#eef3f7'  //menu bgcolor
var disappeardelay=150  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

// AMS Advantage Drop Down
var ddAdvantage=new Array()
ddAdvantage[0]='<a href="ams-services.html" class="topNavDropDown">AMS Services</a>'

// Start Up Services Drop Down
var ddStartup=new Array()
ddStartup[0]='<a href="why-standards.html" class="topNavDropDown">Why Standards?</a>'
ddStartup[1]='<a href="case-studies.html" class="topNavDropDown">Case Studies</a>'

// No Drop Down Sample
// var ddKCenter=new Array()
// ddKCenter[0]=''

/////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=-500
	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, bName, bPath){
		if (window.event) event.cancelBubble=true
		else if (e.stopPropagation) e.stopPropagation()
		clearhidemenu()
		// hack for graphic buttons
		// MM_swapImgRestore();
		
		dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
		populatemenu(menucontents)
		
		// hack for graphic buttons
		// MM_swapImage('document.' + bName, 'document.' + bName, bPath);
		
		if (ie4||ns6){
		// before hack: showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
		// start hack
		if (menuwidth != "0px") {
			showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
		} else {
			showhide(dropmenuobj.style, e, "hidden", "hidden", menuwidth)
		}
		// end hack
		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){
// hack for graphic buttons
// MM_swapImgRestore();

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

/*
Random Quotes
*/

var numQuotes = 7;
var quote = new Array(numQuotes);

quote[0] = '<p><img src="images/logo-nta.png" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;The most important advice I received when contemplating setting up Network Test Automation Forum was to hire a professional firm to help us run our forum.    From that first call seeking advice on what I needed to do to start the effort, through all the steps necessary to incorporate our forum, AMS has been the constant; our beacon.   AMS\'s council helped us through important steps like the creation of our policies and bylaws, their staff was able to quickly get our Web site online and they assigned a very talented individual to serve as our Executive Director who keeps NTAF running and on track.  AMS was the right decision for NTAF.&#8221;</i></p><p class="textGreen text11px">&#8212;Keith Kidd, Verizon, President, Network Test Automation Forum</p>';
quote[1] = '<p><img src="images/logo-ipmpls.jpg" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;We were able to leverage AMS\' experience in starting up groups to get our own forum up and running quickly. AMS helped us navigate a minefield of government filings and regulations to establish our not for profit status and protect our members\' intellectual property. AMS has helped us recruit new members and given us a neutral industry presence leading to collaboration and innovation.&#8221;</i></p><p class="textGreen text11px">&#8212;Andrew Malis, Verizon, IP/MPLS Forum President.</p>';
quote[2] = '<p><img src="images/logo-ietf-small.gif" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;We felt that AMS offered the best solution for the IETF. AMS offered a strong combination of association management experience and opportunities for innovation. AMS provides a full suite of services to the IETF, which will help this international community do its important work more efficiently.&#8221;</i></p><p class="textGreen text11px">&#8212;Russ Housley, IETF Chair</p>';
quote[3] = '<p><img src="images/logo-gta-small.gif" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;AMS has served the Gaming Standards Association for 5 years.  A consistent support team focused solely on GSA\'s goals has been invaluable in guiding us through difficult times and permitting GSA to focus on standards development rather than administration.  AMS has been a key factor in our achieving success.&#8221;</i></p><p class="textGreen text11px">&#8212;Lyle Bell, chairman of the Gaming Standards Association, senior vice president of information technology for the Seminole Indian Gaming Operations</p>';
quote[4] = '<p><img src="images/logo-oif2-small.gif" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;After being with AMS for more than a decade, we have seen our membership grow along with our industry presence. We had aggressive goals for publishing standards and AMS\' staff and online tools helped us reach those goals. They continue to help us reach milestone after milestone.&#8221;</i></p><p class="textGreen text11px">&#8212;Joe Berthold, Ciena, Founding OIF Technical Committee Chair and OIF Past President</p>';
quote[5] = '<p><img src="images/logo-bbf.gif" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;The Broadband Forum has been with AMS since its launch, over 15 years ago. Their service has always been excellent, with strong processes and excellent IT support. And the staff and partners are always willing to go the extra mile with high quality customer service, accountability and professionalism. AMS has always acted like our partner rather than a vendor.&#8221;</i></p><p class="textGreen text11px">&#8212;Robin Mersh, CEO, The Broadband Forum<p>';
quote[6] = '<p><img src="images/logo-msf.gif" alt="" border="0"></p><p class="textGreen text11px"><i>&#8220;I\'ve had many opportunities to work closely with AMS staff over the past decade, in a variety of MSF leadership roles.  I have been consistently impressed with the professionalism, integrity, and contribution I have seen. AMS knows how to harness the initial enthusiasm, guide the formation of an efficient organization, and then work with a forum as it evolves.  But what makes AMS really stand out is a consistent focus on the best interests of the Forum.  AMS is not afraid to objectively support an assessment of strategic issues that can either lead to reinvention or to the closure of the forum.  During my tenure on the MSF Board, and in particular as MSF President, I have consistently valued the support, guidance and insight I have received from AMS staff. I would unconditionally recommend AMS.&#8221;</i></p><p class="textGreen text11px">&#8212;Jim McEachern, President, The MSF Forum<p>';

var q = Math.floor(Math.random() * numQuotes);

//-->

