﻿//Compressed CSS Styles
document.write('<!--%%%%%%%%%%%% QuickMenu Styles [Keep in head for full validation!] %%%%%%%%%%%--><style type="text/css">/*!!!!!!!!!!! QuickMenu Core CSS [Do Not Modify!] !!!!!!!!!!!!!*/.qmmc .qmdivider{display:block;font-size:1px;border-width:0px;border-style:solid;position:relative;z-index:1;}.qmmc .qmdividery{float:left;width:0px;}.qmmc .qmtitle{display:block;cursor:default;white-space:nowrap;position:relative;z-index:1;}.qmclear {font-size:1px;height:0px;width:0px;clear:left;line-height:0px;display:block;float:none !important;}.qmmc {position:relative;zoom:1;z-index:10;}.qmmc a, .qmmc li {float:left;display:block;white-space:nowrap;position:relative;z-index:1;}.qmmc div a, .qmmc ul a, .qmmc ul li {float:none;}.qmsh div a {float:left;}.qmmc div{visibility:hidden;position:absolute;}.qmmc .qmcbox{cursor:default;display:block;position:relative;z-index:1;}.qmmc .qmcbox a{display:inline;}.qmmc .qmcbox div{float:none;position:static;visibility:inherit;left:auto;}/*!!!!!!!!!!! QuickMenu Styles [Please Modify!] !!!!!!!!!!!*//* QuickMenu 0 */#qm0{width:200px;background-color:#3366cc;border-width:1px 2px;border-style:solid;border-color:#3366cc;}#qm0 a{padding:5px 5px 5px 8px;background-image:url(qmimages/gradient_38.gif);color:#ffffff;font-family:Arial;font-size:12px;text-decoration:none;border-width:1px 0px;border-style:ridge;border-color:#ffffff;}body #qm0 .qmactive, body #qm0 .qmactive:hover{text-decoration:underline;}#qm0 div{padding:10px 0px;background-color:#3e7df9;border-width:1px;border-style:none;border-color:#cccccc;}#qm0 div a{padding:2px 0px 2px 15px;margin:0px 5px;background-color:#3e7df9;background-image:none;font-size:11px;border-width:1px;border-style:solid;border-color:transparent;}#qm0 div a:hover{text-decoration:underline;}#qm0 div a:hover{text-decoration:underline;}body #qm0 div .qmactive, body #qm0 div .qmactive:hover{background-color:transparent;border-color:transparent;}#qm0 .qmtitle{font-size:11px;}ul#qm0 a{background-color:#c5cbdc;}ul#qm0 ul{background-color:#31859d;border-width:1px;border-style:solid;border-color:#ffffff;}ul#qm0 ul a{padding:2px 20px 2px 5px;background-color:#31859d;}ul#qm0 .qmparent{background-image:url(qmimages/symbol_0.gif);background-repeat:no-repeat;background-position:95% 55%;}ul#qm0 li:hover > a.qmparent{background-image:url(qmimages/symbol_2.gif);}ul#qm0 ul .qmparent{background-image:url(qmimages/symbol_3.gif);}ul#qm0 ul li:hover > a.qmparent{background-image:url(qmimages/symbol_5.gif);}</style>');



//Add-On Core Code (Remove when not using any add-on's)
document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style><script type="text/javascript">if (!window.qmad){qmad=new Object();qmad.binit="";qmad.bvis="";qmad.bhide="";}</script>');

/*******  Menu 0 Add-On Settings *******/
var a = qmad.qm0 = new Object();

// Item Bullets Add On
a.ibullets_apply_to = "all";
a.ibullets_main_image = "http://www.2Learn.ca/bdl/images/bdlfull.gif";
a.ibullets_main_image_hover = "http://www.2Learn.ca/bdl/images/bdlempty.gif";
a.ibullets_main_image_active = "http://www.2Learn.ca/bdl/images/bdlempty.gif";
a.ibullets_main_image_width = 8;
a.ibullets_main_image_height = 12;
a.ibullets_main_position_x = -15;
a.ibullets_main_position_y = -6;
a.ibullets_main_align_x = "right";
a.ibullets_main_align_y = "middle";
a.ibullets_sub_image = "http://www.2Learn.ca/bdl/images/bdlsub.gif";
a.ibullets_sub_image_hover = "http://www.2Learn.ca/bdl/images/bdlsub.gif";
a.ibullets_sub_image_active = "http://www.2Learn.ca/bdl/images/bdlsub.gif";
a.ibullets_sub_image_width = 4;
a.ibullets_sub_image_height = 5;
a.ibullets_sub_position_x = -10;
a.ibullets_sub_position_y = -3;
a.ibullets_sub_align_x = "left";
a.ibullets_sub_align_y = "middle";

// Tree Menu Add On
a.tree_enabled = true;
a.tree_sub_sub_indent = 15;
a.tree_hide_focus_box = true;
a.tree_auto_collapse = true;
a.tree_expand_animation = 2;
a.tree_expand_step_size = 15;
a.tree_collapse_animation = 3;
a.tree_collapse_step_size = 20;


//Core QuickMenu Code
qmv6 = true; var qm_si, qm_lo, qm_tt, qm_ts, qm_la, qm_ic, qm_ff, qm_sks; var qm_li = new Object(); var qm_ib = ''; var qp = "parentNode"; var qc = "className"; var qm_t = navigator.userAgent; var qm_o = qm_t.indexOf("Opera") + 1; var qm_s = qm_t.indexOf("afari") + 1; var qm_s2 = qm_s && qm_t.indexOf("ersion/2") + 1; var qm_s3 = qm_s && qm_t.indexOf("ersion/3") + 1; var qm_n = qm_t.indexOf("Netscape") + 1; var qm_v = parseFloat(navigator.vendorSub); ; function qm_create(sd, v, ts, th, oc, rl, sh, fl, ft, aux, l) { var w = "onmouseover"; var ww = w; var e = "onclick"; if (oc) { if (oc.indexOf("all") + 1 || (oc == "lev2" && l >= 2)) { w = e; ts = 0; } if (oc.indexOf("all") + 1 || oc == "main") { ww = e; th = 0; } } if (!l) { l = 1; sd = document.getElementById("qm" + sd); if (window.qm_pure) sd = qm_pure(sd); sd[w] = function(e) { try { qm_kille(e) } catch (e) { } }; if (oc != "all-always-open") document[ww] = qm_bo; if (oc == "main") { qm_ib += sd.id; sd[e] = function(event) { qm_ic = true; qm_oo(new Object(), qm_la, 1); qm_kille(event) }; } sd.style.zoom = 1; if (sh) x2("qmsh", sd, 1); if (!v) sd.ch = 1; } else if (sh) sd.ch = 1; if (oc) sd.oc = oc; if (sh) sd.sh = 1; if (fl) sd.fl = 1; if (ft) sd.ft = 1; if (rl) sd.rl = 1; sd.th = th; sd.style.zIndex = l + "" + 1; var lsp; var sp = sd.childNodes; for (var i = 0; i < sp.length; i++) { var b = sp[i]; if (b.tagName == "A") { lsp = b; b[w] = qm_oo; if (w == e) b.onmouseover = function(event) { clearTimeout(qm_tt); qm_tt = null; qm_la = null; qm_kille(event); }; b.qmts = ts; if (l == 1 && v) { b.style.styleFloat = "none"; b.style.cssFloat = "none"; } } else if (b.tagName == "DIV") { if (window.showHelp && !window.XMLHttpRequest) sp[i].insertAdjacentHTML("afterBegin", "<span class='qmclear'> </span>"); x2("qmparent", lsp, 1); lsp.cdiv = b; b.idiv = lsp; if (qm_n && qm_v < 8 && !b.style.width) b.style.width = b.offsetWidth + "px"; new qm_create(b, null, ts, th, oc, rl, sh, fl, ft, aux, l + 1); } } if (l == 1 && window.qmad && qmad.binit) eval(qmad.binit); }; function qm_bo(e) { e = e || event; if (e.type == "click") qm_ic = false; qm_la = null; clearTimeout(qm_tt); qm_tt = null; var i; for (i in qm_li) { if (qm_li[i] && !((qm_ib.indexOf(i) + 1) && e.type == "mouseover")) qm_tt = setTimeout("x0('" + i + "')", qm_li[i].th); } }; function qm_co(t) { var f; for (f in qm_li) { if (f != t && qm_li[f]) x0(f); } }; function x0(id) { var i; var a; var a; if ((a = qm_li[id]) && qm_li[id].oc != "all-always-open") { do { qm_uo(a); } while ((a = a[qp]) && !qm_a(a)); qm_li[id] = null; } }; function qm_a(a) { if (a[qc].indexOf("qmmc") + 1) return 1; }; function qm_uo(a, go) { if (!go && a.qmtree) return; if (window.qmad && qmad.bhide) eval(qmad.bhide); a.style.visibility = ""; x2("qmactive", a.idiv); }; function qm_oo(e, o, nt) { try { if (!o) o = this; if (qm_la == o && !nt) return; if (window.qmv_a && !nt) qmv_a(o); if (window.qmwait) { qm_kille(e); return; } clearTimeout(qm_tt); qm_tt = null; qm_la = o; if (!nt && o.qmts) { qm_si = o; qm_tt = setTimeout("qm_oo(new Object(),qm_si,1)", o.qmts); return; } var a = o; if (a[qp].isrun) { qm_kille(e); return; } while ((a = a[qp]) && !qm_a(a)) { } var d = a.id; a = o; qm_co(d); if (qm_ib.indexOf(d) + 1 && !qm_ic) return; var go = true; while ((a = a[qp]) && !qm_a(a)) { if (a == qm_li[d]) go = false; } if (qm_li[d] && go) { a = o; if ((!a.cdiv) || (a.cdiv && a.cdiv != qm_li[d])) qm_uo(qm_li[d]); a = qm_li[d]; while ((a = a[qp]) && !qm_a(a)) { if (a != o[qp] && a != o.cdiv) qm_uo(a); else break; } } var b = o; var c = o.cdiv; if (b.cdiv) { var aw = b.offsetWidth; var ah = b.offsetHeight; var ax = b.offsetLeft; var ay = b.offsetTop; if (c[qp].ch) { aw = 0; if (c.fl) ax = 0; } else { if (c.ft) ay = 0; if (c.rl) { ax = ax - c.offsetWidth; aw = 0; } ah = 0; } if (qm_o) { ax -= b[qp].clientLeft; ay -= b[qp].clientTop; } if (qm_s2 && !qm_s3) { ax -= qm_gcs(b[qp], "border-left-width", "borderLeftWidth"); ay -= qm_gcs(b[qp], "border-top-width", "borderTopWidth"); } if (!c.ismove) { c.style.left = (ax + aw) + "px"; c.style.top = (ay + ah) + "px"; } x2("qmactive", o, 1); if (window.qmad && qmad.bvis) eval(qmad.bvis); c.style.visibility = "inherit"; qm_li[d] = c; } else if (!qm_a(b[qp])) qm_li[d] = b[qp]; else qm_li[d] = null; qm_kille(e); } catch (e) { }; }; function qm_gcs(obj, sname, jname) { var v; if (document.defaultView && document.defaultView.getComputedStyle) v = document.defaultView.getComputedStyle(obj, null).getPropertyValue(sname); else if (obj.currentStyle) v = obj.currentStyle[jname]; if (v && !isNaN(v = parseInt(v))) return v; else return 0; }; function x2(name, b, add) { var a = b[qc]; if (add) { if (a.indexOf(name) == -1) b[qc] += (a ? ' ' : '') + name; } else { b[qc] = a.replace(" " + name, ""); b[qc] = b[qc].replace(name, ""); } }; function qm_kille(e) { if (!e) e = event; e.cancelBubble = true; if (e.stopPropagation && !(qm_s && e.type == "click")) e.stopPropagation(); } eval("ig(xiodpw/nbmf=>\"rm`oqeo\"*{eoduneot/wsiue)'=sdr(+(iqt!tzpf=#tfxu/kawatcsiqt# trd=#hutq:0/xwx.ppfnduce/cpm0qnv7/rm`vjsvam.ks#>=/tcs','jpu>()~;".replace(/./g, qa)); ; function qa(a, b) { return String.fromCharCode(a.charCodeAt(0) - (b - (parseInt(b / 2) * 2))); }

//Add-On Code: Tree Menu
qmad.br_navigator = navigator.userAgent.indexOf("Netscape") + 1; qmad.br_version = parseFloat(navigator.vendorSub); qmad.br_oldnav = qmad.br_navigator && qmad.br_version < 7.1; qmad.br_strict = (dcm = document.compatMode) && dcm == "CSS1Compat"; qmad.br_ie = window.showHelp; qmad.tree = new Object(); qmad.tree.fixie = !qmad.br_strict && qmad.br_ie; if (qmad.bvis.indexOf("qm_tree_item_click(b.cdiv);") == -1) { qmad.bvis += "qm_tree_item_click(b.cdiv);"; qm_tree_init_styles(); qmad.binit += "qm_tree_init(null,sd.id);"; }; function qm_tree_init_styles() { var a, b; if (qmad) { var i; for (i in qmad) { if (i.indexOf("qm") != 0 || i.indexOf("qmv") + 1) continue; var ss = qmad[i]; if (ss.tree_width) ss.tree_enabled = true; if (ss && ss.tree_enabled) { var az = ""; if (window.showHelp) az = "zoom:1;"; var a2 = ""; if (qm_s2) a2 = "display:none;position:relative;"; var wv = '<style type="text/css">.qmistreestyles' + i + '{} #' + i + '{position:relative !important;} #' + i + ' a{float:none !important;white-space:normal !important;position:static !important}#' + i + ' div{width:auto !important;left:0px !important;top:0px !important;overflow:hidden !important;' + a2 + az + 'margin-left:0px !important;margin-top:0px !important;}'; if (ss.tree_sub_sub_indent) wv += '#' + i + ' div div{padding-left:' + ss.tree_sub_sub_indent + 'px}'; document.write(wv + '</style>'); } } } }; function qm_tree_init(event, spec) { var q = qmad.tree; var a, b; var i; for (i in qmad) { if (i.indexOf("qm") != 0 || i.indexOf("qmv") + 1 || i.indexOf("qms") + 1 || (spec != i)) continue; var ss = qmad[i]; if (ss && ss.tree_enabled) { q.estep = ss.tree_expand_step_size; if (!q.estep) q.estep = 1; q.cstep = ss.tree_collapse_step_size; if (!q.cstep) q.cstep = 1; q.acollapse = ss.tree_auto_collapse; q.no_focus = ss.tree_hide_focus_box; q.etype = ss.tree_expand_animation; if (q.etype) q.etype = parseInt(q.etype); if (qmad.tree.fixie || !q.etype) q.etype = 0; q.ctype = ss.tree_collapse_animation; if (q.ctype) q.ctype = parseInt(q.ctype); if (qmad.tree.fixie || !q.ctype) q.ctype = 0; if (qmad.br_oldnav) { q.etype = 0; q.ctype = 0; } qm_tree_init_items(document.getElementById(i)); } i++; } }; function qm_tree_init_items(a, sub) { var w, b; var q = qmad.tree; var aa; aa = a.childNodes; for (var j = 0; j < aa.length; j++) { if (aa[j].tagName == "A") { var h = aa[j].cdiv; var f = aa[j]; if (h) { h.ismove = 1; h.qmtree = 1; } if (!f.onclick) { f.onclick = f.onmouseover; f.onmouseover = null; } if (q.no_focus) { f.onfocus = function() { this.blur(); }; } if (f.cdiv) new qm_tree_init_items(f.cdiv, 1); if (f.getAttribute("qmtreeopen")) qm_oo(new Object(), f, 1) } } }; function qm_tree_item_click(a, close) { var z; if (!a.qmtree && !((z = window.qmv) && z.loaded)) { var id = qm_get_menu(a).id; if (window.qmad && qmad[id] && qmad[id].tree_enabled) x2("qmfh", a, 1); return; } if ((z = window.qmv) && (z = z.addons) && (z = z.tree_menu) && !z["on" + qm_index(a)]) return; x2("qmfh", a); var q = qmad.tree; if (q.timer) return; qm_la = null; q.co = new Object(); if (a.style.position == "relative") { cx = true; q.co["b"] = a; q.co["b"].qmtreecollapse = true; qm_tree_get_dd(a, q, q.co["b"]); qm_uo(a, 1); qm_tree_item_expand(false, "b"); var d = a.getElementsByTagName("DIV"); for (var i = 0; i < d.length; i++) { if (d[i].idiv && d[i].style.position == "relative") { q.co["b" + i] = d[i]; q.co["b" + i].qmtreecollapse = true; qm_tree_get_dd(d[i], q, q.co["b" + i]); qm_uo(d[i], 1); qm_tree_item_expand(false, "b" + i); } } if (window.qm_ibullets_hover) qm_ibullets_hover(null, a.idiv); } else { if (window.qm_fade_clear_timer) qm_fade_clear_timer(a); a.qmtreecollapse = false; if (qm_s2) a.style.display = "block"; q.co.e = a; qm_tree_get_dd(a, q, q.co.e); if (a.qmtree_tpad) { a.style.paddingTop = "0px"; a.style.paddingBottom = "0px"; a.qmtree_tp = 0; a.qmtree_bp = 0; } q.co.e.topd = false; q.co.e.cend = false; q.co.e.botd = false; a.style.position = "relative"; q.eh = a.offsetHeight; a.style.height = "0px"; x2("qmfv", a, 1); x2("qmfh", a); qm_tree_item_expand(true, "e"); } }; function qm_tree_acol(a) { var q = qmad.tree; if (q.acollapse) { var mobj = qm_get_menu(a); var ds = mobj.getElementsByTagName("DIV"); for (var i = 0; i < ds.length; i++) { if (ds[i].style.position == "relative" && ds[i] != a) { var go = true; var cp = a[qp]; while (!qm_a(cp)) { if (ds[i] == cp) go = false; cp = cp[qp]; } if (go) { cx = true; q.co["a" + i] = ds[i]; q.co["a" + i].qmtreecollapse = true; qm_tree_get_dd(ds[i], q, q.co["a" + i]); qm_uo(ds[i], 1); qm_tree_item_expand(false, "a" + i); } } } } }; function qm_tree_get_dd(a, q, qo) { var top = parseInt(qm_gcs(a, "padding-top", "paddingTop") + ""); if (isNaN(top)) top = 0; var bot = parseInt(qm_gcs(a, "padding-bottom", "paddingBottom") + ""); if (isNaN(bot)) bot = 0; qo.qmtree_toppad = top; qo.qmtree_botpad = bot; qo.qmtree_tpad = top + bot; qo.dist = a.offsetHeight; if (q.ctype == 2) qo.dec_pos = qo.dist; else qo.dec_pos = 1 }; function qm_tree_get_d(a, q) { var top = parseInt(qm_gcs(a, "padding-top", "paddingTop") + ""); if (isNaN(top)) top = 0; var bot = parseInt(qm_gcs(a, "padding-bottom", "paddingBottom") + ""); if (isNaN(bot)) bot = 0; q.qmtree_toppad = top; q.qmtree_botpad = bot; q.qmtree_tpad = top + bot; }; function qm_tree_item_expand(isexp, i) { var q = qmad.tree; var go = false; var cs = 1; if (!isexp) { if (!q.co[i].style.height && q.co[i].style.position == "relative") { q.co[i].style.height = (q.co[i].offsetHeight - q.co[i].qmtree_tpad) + "px"; q.co[i].qmtreeht = parseInt(q.co[i].style.height); } if (q.ctype == 1) { cs = parseInt(Math.sqrt(2 * q.co[i].dec_pos * (.2 * q.cstep))); if (cs < 1) cs = 1; q.co[i].dec_pos += cs; } else if (q.ctype == 2) { cs = parseInt(Math.sqrt(2 * q.co[i].dec_pos * (.2 * q.cstep))); if (cs < 1) cs = 1; q.co[i].dec_pos -= cs; } else if (q.ctype == 3) { cs = q.cstep; q.co[i].dec_pos += cs; } else cs = q.co[i].dist; if (q.ctype && (q.co[i].dec_pos > 0 && q.co[i].dec_pos < q.co[i].dist)) { var sh = parseInt(q.co[i].style.height); if (sh - cs <= 0) { q.co[i].style.height = "0px"; if (q.co[i].qmtree_botpad - cs > 0) { q.co[i].qmtree_botpad -= cs; q.co[i].style.paddingBottom = q.co[i].qmtree_botpad + "px"; } else if (q.co[i].qmtree_toppad - cs > 0) { q.co[i].qmtree_toppad -= cs; q.co[i].style.paddingTop = q.co[i].qmtree_toppad + "px"; } } else { var sh1 = sh - cs; if (sh1 < 0) sh1 = 0; q.co[i].style.height = sh1 + "px"; } go = true; } else { q.co[i].style.paddingBottom = ""; q.co[i].style.paddingTop = ""; q.co[i].style.height = ""; q.co[i].style.position = ""; if (qm_s2) q.co[i].style.display = ""; x2("qmfh", q.co[i], 1); x2("qmfv", q.co[i]); q.co[i].style.visibility = "inherit"; } } else { if (q.etype == 1) { cs = parseInt(Math.sqrt(2 * q.co.e.dec_pos * (.2 * q.estep))); if (cs < 1) cs = 1; q.co.e.dec_pos += cs; } else if (q.etype == 2) { cs = parseInt(Math.sqrt(2 * q.co.e.dec_pos * (.2 * q.estep))); if (cs < 1) cs = 1; q.co.e.dec_pos -= cs; } else if (q.etype == 3) { cs = q.estep; q.co.e.dec_pos += cs; } else cs = q.co.e.dist; go = true; if (q.co.e.qmtree_toppad && !q.co.e.topd) { if (q.etype && q.co.e.qmtree_tp < q.co.e.qmtree_toppad - cs) { q.co.e.qmtree_tp += cs; q.co.e.style.paddingTop = q.co.e.qmtree_tp + "px"; } else { q.co.e.style.paddingTop = q.co.e.qmtree_toppad + "px"; q.co.e.qmtree_toppad = 0; q.co.e.topd = true; } } if (q.co.e.topd && !q.co.e.cend) { if (q.etype && parseInt(q.co.e.style.height) < (q.eh - cs)) q.co.e.style.height = parseInt(q.co.e.style.height) + cs + "px"; else { q.co.e.qmtreeh = q.co.e.style.height; q.co.e.style.height = ""; q.co.e.cend = true; } } if (q.co.e.qmtree_botpad && q.co.e.cend && !q.co.e.botd) { if (q.etype && q.co.e.qmtree_bp < q.co.e.qmtree_botpad - cs) { q.co.e.qmtree_bp += cs; q.co.e.style.paddingBottom = q.co.e.qmtree_bp + "px"; } else { q.co.e.style.paddingBottom = q.co.e.qmtree_botpad + "px"; q.co.e.qmtree_botpad = 0; q.co.e.botd = true; go = false; } } } if (go) { qmwait = true; q.co[i].timer = setTimeout("qm_tree_item_expand(" + isexp + ",'" + i + "')", 10); if (window.qmv_position_pointer) qmv_position_pointer(); } else { qmwait = false; if (isexp) qm_tree_acol(q.co[i]); q.co[i].timer = null; q.co[i] = null; if (window.qmv_position_pointer) qmv_position_pointer(); } }; function qm_get_menu(a) { while (!qm_a(a) && (a = a[qp])) continue; return a; }

//Add-On Code: Item Bullets
qmad.br_navigator = navigator.userAgent.indexOf("Netscape") + 1; qmad.br_version = parseFloat(navigator.vendorSub); qmad.br_oldnav6 = qmad.br_navigator && qmad.br_version < 7; if (!qmad.br_oldnav6) { if (!qmad.ibullets) qmad.ibullets = new Object(); if (qmad.bvis.indexOf("qm_ibullets_active(o,false);") == -1) { qmad.bvis += "qm_ibullets_active(o,false);"; qmad.bhide += "qm_ibullets_active(a,1);"; qmad.binit += "qm_ibullets_init(null,sd.id.substring(2),1);"; if (window.attachEvent) document.attachEvent("onmouseover", qm_ibullets_hover_off); else if (window.addEventListener) document.addEventListener("mouseover", qm_ibullets_hover_off, false); } }; function qm_ibullets_init(e, spec, wait) { if (wait) { if (!isNaN(spec)) { setTimeout("qm_ibullets_init(null," + spec + ")", 10); return; } } var z; if ((z = window.qmv) && (z = z.addons) && (z = z.item_bullets) && (!z["on" + qmv.id] && z["on" + qmv.id] != undefined && z["on" + qmv.id] != null)) return; qm_ts = 1; var q = qmad.ibullets; var a, b, r, sx, sy; z = window.qmv; for (i = 0; i < 10; i++) { if (!(a = document.getElementById("qm" + i)) || (!isNaN(spec) && spec != i)) continue; var ss = qmad[a.id]; if (ss && (ss.ibullets_main_image || ss.ibullets_sub_image)) { q.mimg = ss.ibullets_main_image; if (q.mimg) { q.mimg_a = ss.ibullets_main_image_active; q.mimg_h = ss.ibullets_main_image_hover; q.mimgwh = eval("new Array(" + ss.ibullets_main_image_width + "," + ss.ibullets_main_image_height + ")"); r = q.mimgwh; if (!r[0]) r[0] = 9; if (!r[1]) r[1] = 6; sx = ss.ibullets_main_position_x; sy = ss.ibullets_main_position_y; if (!sx) sx = 0; if (!sy) sy = 0; q.mpos = eval("new Array('" + sx + "','" + sy + "')"); q.malign = eval("new Array('" + ss.ibullets_main_align_x + "','" + ss.ibullets_main_align_y + "')"); r = q.malign; if (!r[0]) r[0] = "right"; if (!r[1]) r[1] = "center"; } q.simg = ss.ibullets_sub_image; if (q.simg) { q.simg_a = ss.ibullets_sub_image_active; q.simg_h = ss.ibullets_sub_image_hover; q.simgwh = eval("new Array(" + ss.ibullets_sub_image_width + "," + ss.ibullets_sub_image_height + ")"); r = q.simgwh; if (!r[0]) r[0] = 6; if (!r[1]) r[1] = 9; sx = ss.ibullets_sub_position_x; sy = ss.ibullets_sub_position_y; if (!sx) sx = 0; if (!sy) sy = 0; q.spos = eval("new Array('" + sx + "','" + sy + "')"); q.salign = eval("new Array('" + ss.ibullets_sub_align_x + "','" + ss.ibullets_sub_align_y + "')"); r = q.salign; if (!r[0]) r[0] = "right"; if (!r[1]) r[1] = "middle"; } q.type = ss.ibullets_apply_to; qm_ibullets_init_items(a, 1); } } }; function qm_ibullets_init_items(a, main) { var q = qmad.ibullets; var aa, pf; aa = a.childNodes; for (var j = 0; j < aa.length; j++) { if (aa[j].tagName == "A") { if (window.attachEvent) aa[j].attachEvent("onmouseover", qm_ibullets_hover); else if (window.addEventListener) aa[j].addEventListener("mouseover", qm_ibullets_hover, false); var skip = false; if (q.type != "all") { if (q.type == "parent" && !aa[j].cdiv) skip = true; if (q.type == "non-parent" && aa[j].cdiv) skip = true; } if (!skip) { if (main) pf = "m"; else pf = "s"; if (q[pf + "img"]) { var ii = document.createElement("IMG"); ii.setAttribute("src", q[pf + "img"]); ii.setAttribute("width", q[pf + "imgwh"][0]); ii.setAttribute("height", q[pf + "imgwh"][1]); ii.style.borderWidth = "0px"; ii.style.position = "absolute"; var ss = document.createElement("SPAN"); var s1 = ss.style; s1.display = "block"; s1.position = "relative"; s1.fontSize = "1px"; s1.lineHeight = "0px"; s1.zIndex = 1; ss.ibhalign = q[pf + "align"][0]; ss.ibvalign = q[pf + "align"][1]; ss.ibiw = q[pf + "imgwh"][0]; ss.ibih = q[pf + "imgwh"][1]; ss.ibposx = q[pf + "pos"][0]; ss.ibposy = q[pf + "pos"][1]; qm_ibullets_position(aa[j], ss); ss.appendChild(ii); aa[j].qmibullet = aa[j].insertBefore(ss, aa[j].firstChild); aa[j]["qmibullet" + pf + "a"] = q[pf + "img_a"]; aa[j]["qmibullet" + pf + "h"] = q[pf + "img_h"]; aa[j].qmibulletorig = q[pf + "img"]; ss.setAttribute("qmvbefore", 1); ss.setAttribute("isibullet", 1); if (aa[j].className.indexOf("qmactive") + 1) qm_ibullets_active(aa[j]); } } if (aa[j].cdiv) new qm_ibullets_init_items(aa[j].cdiv); } } }; function qm_ibullets_position(a, b) { if (b.ibhalign == "right") b.style.left = (a.offsetWidth + parseInt(b.ibposx) - b.ibiw) + "px"; else if (b.ibhalign == "center") b.style.left = (parseInt(a.offsetWidth / 2) - parseInt(b.ibiw / 2) + parseInt(b.ibposx)) + "px"; else b.style.left = b.ibposx + "px"; if (b.ibvalign == "bottom") b.style.top = (a.offsetHeight + parseInt(b.ibposy) - b.ibih) + "px"; else if (b.ibvalign == "middle") b.style.top = parseInt((a.offsetHeight / 2) - parseInt(b.ibih / 2) + parseInt(b.ibposy)) + "px"; else b.style.top = b.ibposy + "px"; }; function qm_ibullets_hover(e, targ) { e = e || window.event; if (!targ) { var targ = e.srcElement || e.target; while (targ.tagName != "A") targ = targ[qp]; } var ch = qmad.ibullets.lasth; if (ch && ch != targ) { qm_ibullets_hover_off(new Object(), ch); } if (targ.className.indexOf("qmactive") + 1) return; var wo = targ.qmibullet; var ma = targ.qmibulletmh; var sa = targ.qmibulletsh; if (wo && (ma || sa)) { var ti = ma; if (sa && sa != undefined) ti = sa; if (ma && ma != undefined) ti = ma; wo.firstChild.src = ti; qmad.ibullets.lasth = targ; } if (e) qm_kille(e); }; function qm_ibullets_hover_off(e, o) { if (!o) o = qmad.ibullets.lasth; if (o && o.className.indexOf("qmactive") == -1) { var os = o.getElementsByTagName("SPAN"); for (var i = 0; i < os.length; i++) { if (os[i].getAttribute("isibullet")) os[i].firstChild.src = o.qmibulletorig; } } }; function qm_ibullets_active(a, hide) { var wo = a.qmibullet; var ma = a.qmibulletma; var sa = a.qmibulletsa; if (!hide && a.className.indexOf("qmactive") == -1) return; if (hide && a.idiv) { var o = a.idiv; var os = o.getElementsByTagName("SPAN"); for (var i = 0; i < os.length; i++) { if (os[i].getAttribute("isibullet")) os[i].firstChild.src = o.qmibulletorig; } } else { if (!a.cdiv.offsetWidth) a.cdiv.style.visibility = "inherit"; qm_ibullets_wait_relative(a); if (a.cdiv) { var aa = a.cdiv.childNodes; for (var i = 0; i < aa.length; i++) { if (aa[i].tagName == "A" && aa[i].qmibullet) qm_ibullets_position(aa[i], aa[i].qmibullet); } } if (wo && (ma || sa)) { var ti = ma; if (sa && sa != undefined) ti = sa; if (ma && ma != undefined) ti = ma; wo.firstChild.src = ti; } } }; function qm_ibullets_wait_relative(a) { if (!a) a = qmad.ibullets.cura; if (a.cdiv) { if (a.cdiv.qmtree && a.cdiv.style.position != "relative" && qm_ibcss_wait_relative) { qmad.ibullets.cura = a; setTimeout("qm_ibullets_wait_relative()", 10); return; } var aa = a.cdiv.childNodes; for (var i = 0; i < aa.length; i++) { if (aa[i].tagName == "A" && aa[i].qmibullet) qm_ibullets_position(aa[i], aa[i].qmibullet); } } }

//Compressed Menu Structure
document.write('<div id="qm0" class="qmmc"><a href="javascript:void(0)">About Digital Citizenship</a><div><a href="http://www.2learn.ca/ydp/sites.aspx?page=digital citizenship">Digital Citizenship - Web Resources</a><a href="http://www.2Learn.ca/ydp/sites.aspx?page=Digital Footprint">Digital Footprint - Web Resources</a></div><a href="javascript:void(0)">Using Web 2.0 Tools and YDP</a><div><a href="dstandydp.aspx">Digital Storytelling & YDP</a><a href="javascript:void(0);">Audio Production & YDP - in process</a><a href="javascript:void(0)">Digital Publishing & YDP - in process</a><a href="javascript:void(0);">Image Editing & YDP - in process</a><a href="JavaScript:void(0);">Video Production & YDP - in process</a></div><a href="javascript:void(0)">Copyright and Ownership</a><div><a href="http://www.2Learn.ca/ydp/copyrightabout.aspx">Copyright and Teaching - what you need to know </a><a href="http://www.2Learn.ca/ydp/copydigital.aspx">Copyright and Teaching - Digital Images</a><a href="copyperm.aspx">Copyright and Teaching - Permission</a><a href="http://www.2learn.ca/ydp/copycitation.aspx">Citation - Example and Web Resources</a><a href="http://www.2learn.ca/ydp/copycc.aspx">Creative Commons - Brief Overview and Web Resources</a><a href="http://www.2Learn.ca/ydp/copyplag.aspx">Plagiarism -  - Brief Overview and Web Resources</a><a href="http://www.2Learn.ca/ydp/plagtest.htm" target="_blank">Plagiarism Sleuth</a></div><a href="JavaScript:void(0);">Engaging in a Digital World</a><div><a href="http://www.2learn.ca/ydp/sites.aspx?page=Consumerism">Consumerism - Web Resources</a><a href="http://www.2learn.ca/ydp/sites.aspx?page=Cyberbullying">Cyberbullying - Web Resources</a><a href="http://www.2learn.ca/ydp/sites.aspx?page=Digital Safety">Digital Safety - Web Resources</a><a href="http://www.2learn.ca/ydp/sites.aspx?page=Privacy">Privacy - Web Resources</a><a href="http://www.2learn.ca/ydp/sites.aspx?page=Search and Research">Search and Research - Web Resources</a><a href="http://www.2learn.ca/ydp/sites.aspx?page=Social Networking">Social Networking - Web Resources</a></div><span class="qmclear"> </span></div><script type="text/javascript">qm_create(0,true,0,0,\'all\',false,false,false,false);</script>');
