document.write('<div id="dropmenudiv" onMouseover="clearhidemenu()" onMouseout="delayhidemenu()"><a href="http://www.scholastic.com/kids">Kids</a><a href="http://www.scholastic.com/parents">Parents</a><a href="http://teacher.scholastic.com">Teachers</a><a href="http://www.scholastic.com/administrator">Administrators</a><a href="http://www.scholastic.com/librarians">Librarians</a><a href="http://clubs.scholastic.com/cool/login.jsp">Club Ordering Online</a><a href="http://shop.scholastic.com/webapp/wcs/stores/servlet/SIGSourceCodeRedirect?URL=StoreCatalogDisplay&store=TS&src=BTB000001B0020100000">The Teacher Store</a><a href="http://shop.scholastic.com/webapp/wcs/stores/servlet/SIGSourceCodeRedirect?URL=StoreCatalogDisplay&store=CS&src=DTB000001T0010100000" class="last">The Scholastic Store</a></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 dropdownmenu() {
	clearhidemenu();
	curobj = document.getElementById("schlBrowseImg");
	curobj2 = document.getElementById("dropmenudiv");
	curobj2.style.left = getposOffset(curobj, "left") + 2 + "px";
	curobj2.style.top = getposOffset(curobj, "top") + 12 + "px";
	curobj2.style.display = "block";
	return false;
}

function hidemenu(){
	if (window.curobj2) curobj2.style.display="none";
}
function delayhidemenu(){
	delayhide=setTimeout("hidemenu()",250);
}

function clearhidemenu(){
	if (window.delayhide) clearTimeout(delayhide);
}

function cls2(field){
	if (field.value == "Search") field.value = "";
}