function callresource(whereto,width,height,name){ if (! width) {width = 350}; if (! height) {height = 200}; var left = Math.ceil((screen.width/2) - (width/2)); var top = Math.ceil((screen.height/2) - (height/2));  var chrome = "channelmode=no, directories=no, fullscreen=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no"; var winprop = "width=" + width + ",height=" + height + ",top=" + top + ",left=" + left + ", " + chrome; var reswin = window.open(whereto, name, winprop);}function launcheGame(dirname,title,grade){ var w = 660; var h = 480; var whereto = "/kids/mw/swfs/"+dirname+"_grade"+grade+".html"; callresource(whereto,w,h,"egame");}//--><!--function callresource(whereto,width,height,name){ if (! width) {width = 350}; if (! height) {height = 200}; var left = Math.ceil((screen.width/2) - (width/2)); var top = Math.ceil((screen.height/2) - (height/2));  var chrome = "channelmode=no, directories=no, fullscreen=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no"; var winprop = "width=" + width + ",height=" + height + ",top=" + top + ",left=" + left + ", " + chrome; var reswin = window.open(whereto, name, winprop);}function launcheGlossary(grade,word){ var w = (grade < 3 || grade == "k") ? 553 : 533; var h = (grade < 3 || grade == "k") ? 375 : 420; var whereto = "/cgi-bin/schtemplate.cgi?template=/kids/mw/eglossary/eg_popup.thtml&grade="+grade; if(word!=null){  whereto += "&word="+escape(word); } callresource(whereto,w,h,"eglossary");}//--><!--function callresource(whereto,width,height,name){ if (! width) {width = 350}; if (! height) {height = 200}; var left = Math.ceil((screen.width/2) - (width/2)); var top = Math.ceil((screen.height/2) - (height/2));  var chrome = "channelmode=no, directories=no, fullscreen=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no"; var winprop = "width=" + width + ",height=" + height + ",top=" + top + ",left=" + left + ", " + chrome; var reswin = window.open(whereto, name, winprop);}function launcheManipulative(filename,title,grade){ var w = 565; var h = 390; var whereto = "/cgi-bin/schtemplate.cgi?template=/kids/mw/manip/mn_popup.thtml&filename="+filename; if(title!=null){  whereto += "&title="+escape(title); } if(grade!=null){  whereto += "&grade="+grade; } callresource(whereto,w,h,"emanipulative");}//--><!--function newImage(arg) {	if (document.images) {		rslt = new Image();		rslt.src = arg;		return rslt;	}}