var hdrs = new Array(); function wns(nme, src, wd, hg) { wnf(nme, src, wd, hg, 'no'); } function wnf(nme, src, wd, hg, scr, px, py) { if (!px && px != 0) px = 20; if (!py && py != 0) py = 20; wnd = window.open(src, nme, "toolbar=no,location=no,directories=no,scrollbars=" + scr + ",menubar=no,status=no,resizable=no,width=" + wd + ",height=" + hg + ",left=" + px + ",top=" + py + ""); wnd.focus(); } function runMovie(movie, path) { if (movie && path && path != '') { window.document.swf_mainmovie.LoadMovie(1, path + 'inc_' + movie + '.swf'); } } function setMenuSel(sel) { } function setTitle(tlt, obn) { if (obj = window.document[obn]) { obj.SetVariable('tltval', tlt); } } function setHeader(tlt, obn) { if (typeof(tlt) == "undefined" && typeof(obn) == "undefined") { for (var i = 0; i < hdrs.length; i++) { setTitle(hdrs[i][0], hdrs[i][1]); } } else { if (typeof(obn) == "undefined") { obn = "swf_maintitle"; } hdrs[hdrs.length] = new Array(tlt, obn); } } function toggle(nam) { objswitch(getcss(getobj(nam + '_show'))); objswitch(getcss(getobj(nam + '_desc'))); } function selHandler() { switch (window.event.srcElement.type) { case 'text': case 'password': case 'textarea': break; default: window.event.cancelBubble = true; window.event.returnValue = false; return false; break; } }