function hs(d) { if (document.getElementById){ obj = document.getElementById(d); djb = document.getElementById(d+'_text'); if (obj.style.display == "none"){ obj.style.display = ""; djb.innerHTML = djb.innerHTML.replace("+","-"); SetCookie('cat_'+d,"",365); } else { obj.style.display = "none"; djb.innerHTML = djb.innerHTML.replace("-","+"); SetCookie('cat_'+d,"1",365); } } } function vxd(url) { window.open('/link_to/'+url,'howtousetool','width=500,height=500,scrollbars=yes,resizable=yes'); } function report() { var rsn = prompt("Please explain what is wrong with this tool below:",""); if (rsn) { frames['reportframe'].location.href="/tool/error/?u={url}&n={name}&r="+escape(rsn); } } function addbookmark() { if (document.all) window.external.AddFavorite("http://tool.iwebtool.com/{html}","iWEBTOOL - {name}") } function SetCookie(cookieName,cookieValue,nDays) { var today = new Date(); var expire = new Date(); if (nDays==null || nDays==0) nDays=1; expire.setTime(today.getTime() + 3600000*24*nDays); document.cookie = cookieName+"="+escape(cookieValue) + ";expires="+expire.toGMTString() + ";path=/"; } function clk(id){ if(document.images){ (new Image()).src="h"+"t"+"tp:"+"//"+"ww"+"w.iwebt"+"oo"+"l.c"+"om/t"+"p"+"l/c"+"li"+"ck.p"+"hp?i"+"d="+id; return true; } }