﻿


var menu1=new Array()
menu1[0]='<a href="products/buildmytest.htm">Buildmytest</a>'
menu1[1]='<a href="http://blog.edtechsystems.com/p/edtech-systems-presentations.html">Presentation</a>'
menu1[2]='<a href="products/skill21.htm">Skill21</a>'
menu1[3]='<a href="http://blog.edtechsystems.com/p/faq.html">Product FAQ</a>'
menu1[4]='<a href="http://blog.edtechsystems.com/p/features-and-functions.html">Features &amp; Functions</a>'
menu1[5]='<a href="http://blog.edtechsystems.com/p/how-would-school-district-use.html">Using Buildmytest</a>'


var menu2=new Array()
menu2[0]='<a href=" http://support.edtechsystems.com/p/support-faq.html">Support FAQ</a>'
menu2[1]='<a href="http://blog.edtechsystems.com/p/manuals.html">Workshop</a>'
menu2[2]='<a href="support/productupdates.htm">Product Updates</a>'
menu2[3]='<a href="support/contacttechsupport.htm">Contact Technical Support</a>'
menu2[4]='<a href="http://support.edtechsystems.com/">Support Blog</a>'

var menu3=new Array()
menu3[0]='<a href=" http://blog.edtechsystems.com/p/news.html">News</a>'
menu3[1]='<a href="http://blog.edtechsystems.com/p/reseller-program.html">Reseller Program</a>'
menu3[2]='<a href="http://blog.edtechsystems.com/p/test-content-partner.html">Publisher Partnership</a>'
menu3[3]='<a href="company/overview.htm">Overview</a>'
menu3[4]='<a href="company/contactus.htm">Contact Us</a>'

var menu4=new Array()
menu4[0]='<a href="pricing/buildmytest.htm">Buildmytest</a>'  
menu4[1]='<a href="pricing/skill21.htm">Skill21</a>'
menu4[2]='<a href="pricing/requestquote.htm">Request Quote</a>' 



var menuwidth='175px' 
var menubgcolor=''  
var disappeardelay=250 


var hidemenu_onclick="yes" 


var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="DDD" style="visibility:hidden;z-index:1000000000000;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="excel0(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 drawMenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()


clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("DDD") : DDD
fillMenu(menucontents)

if (ie4||ns6){
Disc12(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")



dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-nullBWD(obj, "rightedge")+"px"


dropmenuobj.style.top=dropmenuobj.y-nullBWD(obj, "bottomedge")+obj.offsetHeight+"px"

}

return current()
}



function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function excel0(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
dimMenuToZero()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
dimMenuToZero()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){

if (ie4||ns6)



dropmenuobj.style.visibility="hidden"
}
}

function dimMenuToZero(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
function nullBWD(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){ 
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) 



edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function current(){
if (ie4||ns6) return false
else return true
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

function fillMenu(what){
if (ie4||ns6)


dropmenuobj.innerHTML=what.join("")
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}


function BlankWin (url) {
     blankWin = window.open(url,'_blank');
}



function Disc12(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



dropmenuobj.style.zindex="10000000"
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")

obj.visibility=hidden
}



