'; } t_y += '
       
home      about me      galleries      questions?      pricing      happy customers      contact      blog
' + '
'; if(t_fwght == 'bold') t_y += ''; t_y += txt; if(t_fwght == 'bold') t_y += ''; t_y += '
'; if(t_shw) { var t_spct = Math.round(t_shw*1.3); if(tt_n4) { t_y += '' + ''; } else { t_optx = tt_n6? '-moz-opacity:0.85;' : tt_ie? 'filter:Alpha(opacity=85);' : 'opacity:0.85;'; t_y += '
' + '
'; } } return(t_y+''); } function tt_EvX(t_e) { var t_y = tt_Int(t_e.pageX || t_e.clientX || 0) + tt_Int(tt_ie? tt_db.scrollLeft : 0) + tt_offX; if(t_y > xlim) t_y = xlim; var t_scr = tt_Int(window.pageXOffset || (tt_db? tt_db.scrollLeft : 0) || 0); if(t_y < t_scr) t_y = t_scr; return t_y; } function tt_EvY(t_e) { var t_y2; var t_y = tt_Int(t_e.pageY || t_e.clientY || 0) + tt_Int(tt_ie? tt_db.scrollTop : 0); if(tt_sup && (t_y2 = t_y - (tt_objH + tt_offY - 15)) >= tt_Int(window.pageYOffset || (tt_db? tt_db.scrollTop : 0) || 0)) t_y -= (tt_objH + tt_offY - 15); else if(t_y > ylim || !tt_sub && t_y > ylim-24) { t_y -= (tt_objH + 5); tt_sub = false; } else { t_y += tt_offY; tt_sub = true; } return t_y; } function tt_ReleasMov() { if(document.onmousemove == tt_Move) { if(!tt_mf && tt_ce) document.releaseEvents(Event.MOUSEMOVE); document.onmousemove = tt_mf; } } function tt_ShowIfrm(t_x) { if(!tt_obj || !tt_ifrm) return; if(t_x) { tt_ifrm.style.width = tt_objW+'px'; tt_ifrm.style.height = tt_objH+'px'; tt_ifrm.style.display = "block"; } else tt_ifrm.style.display = "none"; } function tt_GetDiv(t_id) { return( tt_n4? (document.layers[t_id] || null) : tt_ie? (document.all[t_id] || null) : (document.getElementById(t_id) || null) ); } function tt_GetDivW() { return tt_Int( tt_n4? tt_obj.clip.width : (tt_obj.offsetWidth || tt_obj.style.pixelWidth) ); } function tt_GetDivH() { return tt_Int( tt_n4? tt_obj.clip.height : (tt_obj.offsetHeight || tt_obj.style.pixelHeight) ); } // Compat with DragDrop Lib: Ensure that z-index of tooltip is lifted beyond toplevel dragdrop element function tt_SetDivZ() { var t_i = tt_obj.style || tt_obj; if(t_i) { if(window.dd && dd.z) t_i.zIndex = Math.max(dd.z+1, t_i.zIndex); if(tt_ifrm) tt_ifrm.style.zIndex = t_i.zIndex-1; } } function tt_SetDivPos(t_x, t_y) { var t_i = tt_obj.style || tt_obj; var t_px = (tt_op6 || tt_n4)? '' : 'px'; t_i.left = (tt_objX = t_x) + t_px; t_i.top = (tt_objY = t_y) + t_px; // window... to circumvent the FireFox Alzheimer Bug if(window.tt_ifrm) { tt_ifrm.style.left = t_i.left; tt_ifrm.style.top = t_i.top; } } function tt_ShowDiv(t_x) { tt_ShowIfrm(t_x); if(tt_n4) tt_obj.visibility = t_x? 'show' : 'hide'; else tt_obj.style.visibility = t_x? 'visible' : 'hidden'; tt_act = t_x; } function tt_DeAlt(t_tag) { if(t_tag) { if(t_tag.alt) t_tag.alt = ""; if(t_tag.title) t_tag.title = ""; var t_c = t_tag.children || t_tag.childNodes || null; if(t_c) { for(var t_i = t_c.length; t_i; ) tt_DeAlt(t_c[--t_i]); } } } function tt_OpDeHref(t_e) { var t_tag; if(t_e) { t_tag = t_e.target; while(t_tag) { if(t_tag.hasAttribute("href")) { tt_tag = t_tag tt_tag.t_href = tt_tag.getAttribute("href"); tt_tag.removeAttribute("href"); tt_tag.style.cursor = "hand"; tt_tag.onmousedown = tt_OpReHref; tt_tag.stats = window.status; window.status = tt_tag.t_href; break; } t_tag = t_tag.parentElement; } } } function tt_OpReHref() { if(tt_tag) { tt_tag.setAttribute("href", tt_tag.t_href); window.status = tt_tag.stats; tt_tag = null; } } function tt_Show(t_e, t_id, t_sup, t_clk, t_delay, t_fix, t_left, t_offx, t_offy, t_static, t_sticky, t_temp) { if(tt_obj) tt_Hide(); tt_mf = document.onmousemove || null; if(window.dd && (window.DRAG && tt_mf == DRAG || window.RESIZE && tt_mf == RESIZE)) return; var t_sh, t_h; tt_obj = tt_GetDiv(t_id); if(tt_obj) { t_e = t_e || window.event; tt_sub = !(tt_sup = t_sup); tt_sticky = t_sticky; tt_objW = tt_GetDivW(); tt_objH = tt_GetDivH(); tt_offX = t_left? -(tt_objW+t_offx) : t_offx; tt_offY = t_offy; if(tt_op7) tt_OpDeHref(t_e); if(tt_n4) { if(tt_obj.document.layers.length) { t_sh = tt_obj.document.layers[0]; t_sh.clip.height = tt_objH - Math.round(t_sh.clip.width*1.3); } } else { t_sh = tt_GetDiv(t_id+'R'); if(t_sh) { t_h = tt_objH - tt_Int(t_sh.style.pixelTop || t_sh.style.top || 0); if(typeof t_sh.style.pixelHeight != tt_u) t_sh.style.pixelHeight = t_h; else t_sh.style.height = t_h+'px'; } } xlim = tt_Int((tt_db && tt_db.clientWidth)? tt_db.clientWidth : window.innerWidth) + tt_Int(window.pageXOffset || (tt_db? tt_db.scrollLeft : 0) || 0) - tt_objW - (tt_n4? 21 : 0); ylim = tt_Int(window.innerHeight || tt_db.clientHeight) + tt_Int(window.pageYOffset || (tt_db? tt_db.scrollTop : 0) || 0) - tt_objH - tt_offY; tt_SetDivZ(); if(t_fix) tt_SetDivPos(tt_Int((t_fix = t_fix.split(','))[0]), tt_Int(t_fix[1])); else tt_SetDivPos(tt_EvX(t_e), tt_EvY(t_e)); var t_txt = 'tt_ShowDiv(\'true\');'; if(t_sticky) t_txt += '{'+ 'tt_ReleasMov();'+ (t_clk? ('window.tt_upFunc = document.onmouseup || null;'+ 'if(tt_ce) document.captureEvents(Event.MOUSEUP);'+ 'document.onmouseup = new Function("window.setTimeout(\'tt_Hide();\', 10);");') : '')+ '}'; else if(t_static) t_txt += 'tt_ReleasMov();'; if(t_temp > 0) t_txt += 'window.tt_rtm = window.setTimeout(\'tt_sticky = false; tt_Hide();\','+t_temp+');'; window.tt_rdl = window.setTimeout(t_txt, t_delay); if(!t_fix) { if(tt_ce) document.captureEvents(Event.MOUSEMOVE); document.onmousemove = tt_Move; } } } var tt_area = false; function tt_Move(t_ev) { if(!tt_obj) return; if(tt_n6 || tt_w3c) { if(tt_wait) return; tt_wait = true; setTimeout('tt_wait = false;', 5); } var t_e = t_ev || window.event; tt_SetDivPos(tt_EvX(t_e), tt_EvY(t_e)); if(window.tt_op6) { if(tt_area && t_e.target.tagName != 'AREA') tt_Hide(); else if(t_e.target.tagName == 'AREA') tt_area = true; } } function tt_Hide() { if(window.tt_obj) { if(window.tt_rdl) window.clearTimeout(tt_rdl); if(!tt_sticky || !tt_act) { if(window.tt_rtm) window.clearTimeout(tt_rtm); tt_ShowDiv(false); tt_SetDivPos(-tt_objW, -tt_objH); tt_obj = null; if(typeof window.tt_upFunc != tt_u) document.onmouseup = window.tt_upFunc; } tt_sticky = false; if(tt_op6 && tt_area) tt_area = false; tt_ReleasMov(); if(tt_op7) tt_OpReHref(); } } function tt_Init() { if(!(tt_op || tt_n4 || tt_n6 || tt_ie || tt_w3c)) return; var htm = tt_n4? '
' : '', tags, t_tj, over, t_b, esc = 'return escape('; for(var i = tt_tags.length; i;) {--i; tags = tt_ie? (document.all.tags(tt_tags[i]) || 1) : document.getElementsByTagName? (document.getElementsByTagName(tt_tags[i]) || 1) : (!tt_n4 && tt_tags[i]=="a")? document.links : 1; if(tt_n4 && (tt_tags[i] == "a" || tt_tags[i] == "layer")) tags = tt_N4Tags(tt_tags[i]); for(var j = tags.length; j;) {--j; if(typeof (t_tj = tags[j]).onmouseover == "function" && t_tj.onmouseover.toString().indexOf(esc) != -1 && !tt_n6 || tt_n6 && (over = t_tj.getAttribute("onmouseover")) && over.indexOf(esc) != -1) { if(over) t_tj.onmouseover = new Function(over); var txt = unescape(t_tj.onmouseover()); htm += tt_Htm( t_tj, "tOoLtIp"+i+""+j, txt.wzReplace("& ","&") ); // window. to circumvent the FF Alzheimer Bug t_tj.onmouseover = new Function('e', 'if(window.tt_Show && tt_Show) tt_Show(e,'+ '"tOoLtIp' +i+''+j+ '",'+ ((typeof t_tj.T_ABOVE != tt_u)? t_tj.T_ABOVE : ttAbove)+','+ ((typeof t_tj.T_CLICKCLOSE != tt_u)? t_tj.T_CLICKCLOSE : ttClickClose)+','+ ((typeof t_tj.T_DELAY != tt_u)? t_tj.T_DELAY : ttDelay)+','+ ((typeof t_tj.T_FIX != tt_u)? '"'+t_tj.T_FIX+'"' : '""')+','+ ((typeof t_tj.T_LEFT != tt_u)? t_tj.T_LEFT : ttLeft)+','+ ((typeof t_tj.T_OFFSETX != tt_u)? t_tj.T_OFFSETX : ttOffsetX)+','+ ((typeof t_tj.T_OFFSETY != tt_u)? t_tj.T_OFFSETY : ttOffsetY)+','+ ((typeof t_tj.T_STATIC != tt_u)? t_tj.T_STATIC : ttStatic)+','+ ((typeof t_tj.T_STICKY != tt_u)? t_tj.T_STICKY : ttSticky)+','+ ((typeof t_tj.T_TEMP != tt_u)? t_tj.T_TEMP : ttTemp)+ ');' ); t_tj.onmouseout = tt_Hide; tt_DeAlt(t_tj); } } } if(tt_ie6) htm += ''; t_b = document.getElementsByTagName? document.getElementsByTagName("body")[0] : tt_db; if(t_b && t_b.insertAdjacentHTML) t_b.insertAdjacentHTML("AfterBegin", htm); else if(t_b && typeof t_b.innerHTML != tt_u && document.createElement && t_b.appendChild) { var t_el = document.createElement("div"); t_b.appendChild(t_el); t_el.innerHTML = htm; } else document.write(htm); if(document.getElementById) tt_ifrm = document.getElementById("TTiEiFrM"); } tt_Init();