/* Macromedia Functions */ function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) w = 600; if (!h > 0) h = 400; if (!sc) sc = 'yes'; if (!name) name = 'popup'; if (!image) image = 'no'; var screen_w = screen.availWidth || screen.width; var screen_h = screen.availHeight || screen.height; // var opts = 'width='+w+',height='+h+',scrollbars=yes'; var opts = 'width='+w+',height='+h+',scrollbars='+sc+',resizable='+sc; if (screen_h > 0 && screen_w > 0) { switch (ha) { case('left'): var ha_value = 0; break; case('right'): var ha_value = screen_w - w - 15; break; default: var ha_value = (screen_w / 2) - (w / 2); break; } switch (va) { case('top'): var va_value = 0; break; case('bottom'): var va_value = screen_h - h - 35; break; default: var va_value = (screen_h / 2) - (h / 2); break; } opts += ',left='+ha_value+',top='+va_value; } var confirmWin = window.open(url, name, opts); if (confirmWin != null) { confirmWin.focus(); if(image == 'yes') { popupContent = ""; confirmWin.document.open(); confirmWin.document.write(popupContent); confirmWin.document.close(); } } //return null; } var t = new Array(); function toggle(n) { if(t[n] != true) { MM_showHideLayers(n,"","show"); t[n] = true; } else { MM_showHideLayers(n,"","hide"); t[n] = false; } } function MM_showHideLayers() { //v3.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'':(v='hide')?'none':v; } obj.display=v; } } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p); } if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0) date.setTime(date.getTime() - skew); } function toggleMenu(id, keep) { if(keep == true) { MM_showHideLayers('menu_'+id,"","show"); } else { if(getCookie('menu') == id) { MM_showHideLayers('menu_'+id,"","hide"); setCookie('menu', ""); } else { MM_showHideLayers('menu_'+id,"","show"); setCookie('menu', id); } } }