/*This code was produced by using the Google closure compiler to combine 3 js files used by the site: //drh.img.digitalriver.com/DRHM/Storefront/Site/transpar/cm/multimedia/js/basics.js, //drh.img.digitalriver.com/DRHM/Storefront/Site/transpar/cm/multimedia/js/nav_menu.js and //drh.img.digitalriver.com/DRHM/Storefront/Site/transpar/cm/multimedia/js/nav_menu_config.js*/
function MM_findObj(a, b) { var c, g; b || (b = document); if((c = a.indexOf("?")) > 0 && parent.frames.length) { b = parent.frames[a.substring(c + 1)].document; a = a.substring(0, c) }if(!(g = b[a]) && b.all)g = b.all[a]; for(c = 0;!g && c < b.forms.length;c++)g = b.forms[c][a]; for(c = 0;!g && b.layers && c < b.layers.length;c++)g = MM_findObj(a, b.layers[c].document); if(!g && document.getElementById)g = document.getElementById(a); return g } function MM_preloadImages() { var a = document; if(a.images) { if(!a.MM_p)a.MM_p = []; var b, c = a.MM_p.length, g = MM_preloadImages.arguments; for(b = 0;b < g.length;b++)if(g[b].indexOf("#") != 0) { a.MM_p[c] = new Image; a.MM_p[c++].src = g[b] } } } function MM_swapImage() { var a, b = 0, c, g = MM_swapImage.arguments; document.MM_sr = []; for(a = 0;a < g.length - 2;a += 3)if((c = MM_findObj(g[a])) != null) { document.MM_sr[b++] = c; if(!c.oSrc)c.oSrc = c.src; c.src = g[a + 2] } } function MM_swapImgRestore() { var a, b, c = document.MM_sr; for(a = 0;c && a < c.length && (b = c[a]) && b.oSrc;a++)b.src = b.oSrc } function MM_openBrWindow(a, b, c) { window.open(a, b, c) } ;var ma = [], mx = [], my = [], mc = [], mpos = [], mal = 0, main = 0, menuw = 200, psrc = 0, pname = "", al = "", gd = 0, gx, gy, d = document, NS7 = !d.all && d.getElementById, NS4 = !d.getElementById, IE5 = !NS4 && !NS7 && (navigator.userAgent.indexOf("MSIE 5.0") != -1 || navigator.userAgent.indexOf("MSIE 5.2") != -1), IE5p5 = !NS4 && !NS7 && navigator.userAgent.indexOf("MSIE 5.5") != -1, NS6 = NS7 && navigator.userAgent.indexOf("Netscape6") != -1, SAF = navigator.userAgent.indexOf("Safari") != -1; p = navigator.userAgent.indexOf("Opera"); if(p > -1) { p = navigator.userAgent.charAt(p + 6); if(p > 6)NS7 = 1; else NS4 = 1 }var ifr = !NS7 && !NS4 && !IE5 && !IE5p5, quirk = d.compatMode && d.compatMode == "BackCompat" || IE5 || IE5p5; function startMainMenu(a, b, c, g, k, e) {  if(c > 0)menuw = c; main = g; if(main == 1 || main == 2)d.write('<table border="0" cellspacing="' + k + '" cellpadding="0">'); if(a != "") { al = ""; if(e == 1)al = ' align="right"'; if(e == 2)al = ' align="center"'; if(main == 1 || main == 2)d.write("<tr style='line-height:1px'><td" + al + ">"); d.write('<img src="' + loc + a + '" border="0"'); b > 0 && d.write(' height="' + b + '"'); c > 0 && d.write(' width="' + c + '"'); d.write(" />"); if(main == 1 || main == 2)d.write("</td>"); main == 1 && d.write("</tr>"); main == 3 && d.write("<br />") } } function endMainMenu(a, b, c) { if(a != "") { main == 1 && d.write("<tr>"); if(main == 1 || main == 2)d.write("<td" + al + ">"); d.write('<img src="' + loc + a + '" border="0"'); b > 0 && d.write(' height="' + b + '"'); c > 0 && d.write(' width="' + c + '"'); d.write(" />"); if(main == 1 || main == 2)d.write("</td></tr>") }if(main == 1 || main == 2)d.write("</table>"); main = 0 } function mainMenuItem(a, b, c, g, k, e, h, j, m, n) { if(!(NS4 && main == 0)) { var l = b.charAt(0) == "."; main == 1 && d.write("<tr>"); if(main == 1 || main == 2)d.write("<td" + al + ">"); d.write("<a "); if(k != "" || !l) { if(typeof clx != "undefined") { k = "?" + clx; e = ""; h = "Click to edit" }d.write('href="' + k + '" ') }e != "" && d.write('target="' + e + '" '); d.write('onmouseout="'); j > 0 && d.write("tidyMenu(event);"); d.write('" onmouseover="'); j > 0 && d.write("openMenu(event, '" + a + "'," + j + "," + bc + "," + fc + ");"); if(m > 1 && l) { d[a + "_on"] = new Image; d[a + "_on"].src = loc + a + "_on" + b; d.write("setGraphic(event, '" + loc + a + "_on" + b + "');") }d.write('return false;"'); l || d.write(' class="' + n + '" style="width:' + (g > 0 ? g : menuw) + 'px"'); d.write(">"); if(l) { d.write('<img src="' + loc + a + b + '" border="0"'); c > 0 && d.write(' height="' + c + '"'); g > 0 && d.write(' width="' + g + '"'); h != "" && d.write(' alt="' + h + '"'); d.write(" />") }else d.write("&nbsp;" + b + "&nbsp;"); d.write("</a>"); if(main == 1 || main == 2)d.write("</td>"); main == 1 && d.write("</tr>"); main == 3 && d.write("<br />") } } function startSubmenu(a, b, c) { var g = a.split("_").length + 1E3; if(!NS4) { if(c > 0)menuw = c; d.write('<div id="' + a + '" class="' + b + '" style="z-index:' + g + ";width:" + (menuw + (NS7 ? bd * 2 : 0)) + 'px">') } } function endSubmenu(a) { if(!NS4) { d.write("</div>"); if(!NS7)d.getElementById(a).onmouseout = tidyMenu } } function submenuItem(a, b, c, g) { if(!NS4)if(a.charAt(0) == "<")d.write(a); else if(a == "---")d.write('<div class="' + g + '" style="width:' + menuw + 'px"><center><img src="' + loc + '---.gif" height="8" width="' + (menuw - 6 - 2 * bd) + '" border=0/></center></div>'); else { d.write("<a "); b != "" && d.write('href="' + b + '" '); c != "" && d.write('target="' + c + '" '); d.write('class="' + g + '" style="width:' + menuw + 'px">&nbsp;' + a + "&nbsp;</a>") } } function setGraphic(a, b) { if(!NS4) { psrc = NS7 ? a.target : a.srcElement; pname = psrc.src; if(NS7)a.target.src = b; else a.srcElement.src = b } } function openMenu(a, b, c, g, k) { if(!NS4) { var e, h, j, m, n, l; if(gd == 0 || mal == 0) { var f = d.getElementById(b); for(gy = gx = 0;!SAF && f && f.offsetParent;) { f = f.offsetParent; gx += f.offsetLeft; gy += f.offsetTop }if(f)gd = 1 }if(mal > 0) { e = d.getElementById(ma[mal - 1]); if(mx[mal - 1] != e.offsetLeft || my[mal - 1] != e.offsetTop) { e.style.left = mx[mal - 1] + "px"; e.style.top = my[mal - 1] + "px" }tidyMenu(a) }if(mal > 1)c = mpos[mal - 1]; if(NS7) { l = window.innerWidth; f = a.target; if(f.nodeName != "A" && f.nodeName != "IMG" && f.parentNode.nodeName == "A")f = f.parentNode;  m = f.offsetWidth; n = f.offsetHeight; if(mal == 0) { h = f.x; j = f.y; if(typeof f.x == "undefined" || !NS6 && !SAF) { h = f.offsetLeft; for(j = f.offsetTop;!NS6 && f.parentNode.nodeName != "BODY";) { f = f.parentNode; if(f.nodeName == "TD" || f.nodeName == "TABLE") { h += f.offsetLeft; j += f.offsetTop } } } }else { e = d.getElementById(ma[mal - 1]); h = e.offsetLeft; j = e.offsetTop + f.offsetTop }if(c != 3)h -= bd; if(c == 3 && mal > 0)h += bd }else { l = document.body.clientWidth; h = a.clientX - a.offsetX - d.body.clientLeft - gx; j = a.clientY - a.offsetY - d.body.clientTop - gy; m = a.srcElement.offsetWidth; n = a.srcElement.offsetHeight; if(quirk) { h += d.body.scrollLeft; j += d.body.scrollTop }else { h += d.documentElement.scrollLeft - 2; j += d.documentElement.scrollTop - 2 }if(mal > 0) { j -= bd; if(c != 3)h -= 2 * bd } }if((e = d.getElementById(b)) && e.style.visibility != "visible") { if(c == 1) { h += m; e.style.left = h - e.offsetWidth + "px"; e.style.top = j + "px"; nspeed = e.offsetWidth / frames; if(h + gx + e.offsetWidth > l) { h -= m; c = 3 } }else if(c == 2) { j += n; e.style.left = h + "px"; e.style.top = j - e.offsetHeight + "px"; nspeed = e.offsetHeight / frames }if(c == 3) { h -= e.offsetWidth; e.style.left = h + e.offsetWidth + "px"; e.style.top = j + "px"; nspeed = e.offsetWidth / frames; if(h + gx < 0) { h += e.offsetWidth; c = 1; h += m; e.style.left = h - e.offsetWidth + "px"; e.style.top = j + "px"; nspeed = e.offsetWidth / frames } }mx[mal] = h; my[mal] = j; if(NS7 || IE5 || frames == 0) { e.style.left = h + "px"; e.style.top = j + "px" }IE5 || clipMenu(mal, e); e.style.visibility = "visible"; ma[mal] = b; mpos[mal] = c; if(NS7) { f = a.target; if(f.nodeName != "A" && f.parentNode.nodeName == "A")f = f.parentNode; mc[mal] = f.style; if(!NS6 && mal > 0) { mc[mal].backgroundColor = "#" + g.toString(16); mc[mal].color = "#" + k.toString(16) }e.onmouseout = tidyMenu }else { mc[mal] = a.srcElement.style; if(mal > 0) { mc[mal].backgroundColor = g; mc[mal].color = k } }mal++ }if(ifr && e && frames == 0 && (typeof tr == "undefined" || tr == ""))if(f = d.getElementById(b + "i")) { f.style.top = j + "px"; f.style.left = h + "px"; f.style.width = e.style.width; f.style.height = e.offsetHeight + "px"; f.style.display = "block" }else { ifr = '<iframe id="' + b + 'i" style="position:absolute;left:' + h + "px;width:" + e.style.width + ";height:" + e.offsetHeight + "px;top:" + j + 'px;z-index:998;display:block;" scrolling="no" frameborder="0"></iframe>'; e.insertAdjacentHTML("beforeBegin", ifr) } } } function overMenu(a, b) { a -= gx; var c = navigator.userAgent.indexOf("Opera") != -1; b -= SAF || c ? SAF ? gy - 10 : gy - 5 : gy; for(i = mal - 1;i >= 0;i--) { c = d.getElementById(ma[i]); if(c.offsetLeft + c.offsetWidth > a && c.offsetLeft <= a && c.offsetTop + c.offsetHeight > b && c.offsetTop <= b)return ma[i] }return"" } function tidyMenu(a) { if(!NS4) { if(NS7) { t = overMenu(a.pageX, a.pageY); if(t != "" && (a.target.firstChild == a.relatedTarget || a.target == a.relatedTarget.firstChild))return }else { a = event.clientX - d.body.clientLeft; var b = event.clientY - d.body.clientTop; if(quirk) { a += d.body.scrollLeft; b += d.body.scrollTop }else { a += d.documentElement.scrollLeft - 2; b += d.documentElement.scrollTop - 2 }t = overMenu(a, b) }for(i = om = 0;i < mal;i++) { a = ma[i].length; if(a > t.length || t.substring(0, a) != ma[i]) { a = d.getElementById(ma[i]); a.style.visibility = "hidden"; mc[i].backgroundColor = ""; mc[i].color = ""; if(ifr)if(a = d.getElementById(ma[i] + "i"))a.style.display = "none" }else { ma[om] = ma[i]; mx[om] = mx[i]; my[om] = my[i]; om++ } }mal = om; if(mal == 0 && psrc)psrc.src = pname } } function animate() { for(i = 0;i < mal;i++) { var a = d.getElementById(ma[i]); if(a.style.visibility == "visible") { if(a.offsetLeft < mx[i])a.style.left = Math.min(a.offsetLeft + nspeed, mx[i]) + "px"; if(a.offsetLeft > mx[i])a.style.left = Math.max(a.offsetLeft - nspeed, mx[i]) + "px"; if(a.offsetTop < my[i])a.style.top = Math.min(a.offsetTop + nspeed, my[i]) + "px"; clipMenu(i, a) } }if(mal != 0 || frames != 0)setTimeout("animate()", 50) } function clipMenu(a, b) { b.style.clip = b.offsetLeft > mx[a] ? "rect(" + (my[a] - b.offsetTop) + "px " + (b.offsetWidth + (mx[a] - b.offsetLeft)) + "px " + b.offsetHeight + "px 0px)" : "rect(" + (my[a] - b.offsetTop) + "px " + b.offsetWidth + "px " + b.offsetHeight + "px " + (mx[a] - b.offsetLeft) + "px)" } ;loc = ""; sDom = "http://www.transparent.com/"; var bd = 1; document.write('<style type="text/css">'); document.write("\n<!--\n"); var tr = "filter: alpha(opacity=95);"; if(IE5)tr = ""; document.write(".tpl_menu {border-color:#CCCCCC;border-style:solid;border-width:" + bd + "px 0px " + bd + "px 0px;background-color:#ffffff;position:absolute;left:0px;top:0px;visibility:hidden;z-index:1}"); document.write("a.tpl_plain:link, a.tpl_plain:visited{text-align:left;background-color:#ffffff;color:#000000;text-decoration:none;border-color:#CCCCCC;border-style:solid;border-width:0px " + bd + "px 0px " + bd + "px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;z-index:1}"); document.write("a.tpl_plain:hover, a.tpl_plain:active{background-color:#ECEEFB;color:#0052A6;text-decoration:none;border-color:#CCCCCC;border-style:solid;border-width:0px " + bd + "px 0px " + bd + "px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;z-index:1}"); document.write("a.tpl_plain2:link, a.tpl_plain2:visited{font-weight:normal;text-align:left;background-color:#ffffff;color:#000000;text-decoration:none;border-color:#CCCCCC;border-style:solid;border-width:0px " + bd + "px 0px " + bd + "px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;z-index:1}"); document.write("a.tpl_plain2:hover, a.tpl_plain2:active{font-weight:normal;background-color:#ECEEFB;color:#004CAC;text-decoration:none;border-color:#CCCCCC;border-style:solid;border-width:0px " + bd + "px 0px " + bd + "px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;z-index:1}"); document.write("a.tpl_l:link, a.tpl_l:visited{text-align:left;background-color:#ffffff;color:#000000;text-decoration:none;border-color:#CCCCCC;border-style:solid;border-width:0px " + bd + "px 0px " + bd + "px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;z-index:1}"); document.write("a.tpl_l:hover, a.tpl_l:active{background-color:#ECEEFB;color:#0052A6;text-decoration:none;border-color:#CCCCCC;border-style:solid;border-width:0px " + bd + "px 0px " + bd + "px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:11px;font-family:Verdana, Arial, Helvetica, sans-serif;z-index:1}"); document.write("\n--\>\n"); document.write("</style>"); var fc = 0, bc = 15527675; if(typeof frames == "undefined")var frames = 0; function writeMainMenu() { startMainMenu("", 0, 0, 2, 0, 0); mainMenuItem(sDom + "images/home", ".jpg", 28, 78, sDom + "index.htm", "_parent", "Home", 2, 2, "tpl_plain"); mainMenuItem(sDom + "images/about", ".jpg", 28, 75, sDom + "about/company_info.htm", "_parent", "About", 2, 2, "tpl_plain"); mainMenuItem(sDom + "images/products", ".jpg", 28, 86, sDom + "products/overview.htm", "_parent", "Products", 2, 2, "tpl_plain"); mainMenuItem(sDom + "images/languages", ".jpg", 28, 102, sDom + "languagepages/languages.htm", "_parent", "Languages", 2, 2, "tpl_plain"); mainMenuItem(sDom + "images/store", ".jpg", 28, 75, sDom + "store/index.htm", "_parent", "Store", 2, 2, "tpl_plain"); mainMenuItem(sDom + "images/partners", ".jpg", 28, 80, sDom + "partners/index.htm", "_parent", "Partners", 2, 2, "tpl_plain"); endMainMenu("", 0, 0); startSubmenu(sDom + "images/about", "tpl_menu", 152); submenuItem("&nbsp;Company", sDom + "about/company_info.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Careers", sDom + "about/careers.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;News and Events", sDom + "about/news.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Press Kit", sDom + "about/press.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Contact Us", sDom + "about/contact.htm", "_parent", "tpl_plain"); endSubmenu(sDom + "images/about"); startSubmenu(sDom + "images/products", "tpl_menu", 152); submenuItem("&nbsp;Overview", sDom + "products/overview.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Before You Know It", sDom + "products/byki.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Learn Language Now!", sDom + "products/languagenow.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Complete Suites", sDom + "products/completesuites.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;KidSpeak", sDom + "products/kidspeak.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Audio CDs", sDom + "products/audiocds.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;EasyTranslator", sDom + "products/easytranslator.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Say It In", sDom + "products/sayitin.htm", "_parent", "tpl_plain");  endSubmenu(sDom + "images/products"); startSubmenu(sDom + "images/partners", "tpl_menu", 152); submenuItem("&nbsp;Reselling", sDom + "partners/reselling.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;International", sDom + "partners/international.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Online Content", sDom + "partners/online_content.htm", "_parent", "tpl_plain"); submenuItem("&nbsp;Online Affiliates", sDom + "affiliates/index.htm", "_parent", "tpl_plain"); endSubmenu(sDom + "images/partners") } ;
