document.addEventListener("DOMContentLoaded",function(){CheckRTL();InitWebTools()});function CheckRTL(){IsRTL()&&(document.body.style.direction="rtl")}function GetLinkItem(c,e,f,a,b,d){c=1==c?' class="li2"':"";a=d?MYLANG(a):a;b=d?MYLANG(b):b;return"<li"+c+'><table class="tbl_urlitem"><tr><td title="'+a+'"><div class="url_logo"><img src="image/tools/'+e+'" ALT=""></div></td><td class="url_txt" title="'+a+'"><a href="#" id="'+f+'" title="'+a+'">'+b+"</a></td></tr></table></li>"}
function InitWebTools(){$("#content").html('<table class="urltbl"><tr class="tr_head"><td><div class="subtitle">'+MYLANG("Webmaster_SE")+'</div></td></tr><tr><td class="td_items"><ul class="urllist">'+GetLinkItem(0,"google.png","lnk_se_google","Webmaster_Google","Webmaster_Google",1)+GetLinkItem(1,"gtrends.png","lnk_gg_trends","Tool_GG_Trends","Tool_GG_Trends",1)+GetLinkItem(2,"gkeywords.png","lnk_gg_key","Tool_GG_Key","Tool_GG_Key",1)+'</ul><ul class="urllist">'+GetLinkItem(0,"bing.png","lnk_se_bing",
"Webmaster_Bing","Webmaster_Bing",1)+GetLinkItem(1,"baidu.png","lnk_se_baidu","Webmaster_Baidu","Webmaster_Baidu",1)+GetLinkItem(2,"yandex.png","lnk_se_yandex","Webmaster_Yandex","Webmaster_Yandex",1)+'</ul></td></tr></table><div class="space"></div><table class="urltbl"><tr class="tr_head"><td><div class="subtitle">'+MYLANG("Tools_Web")+'</div></td></tr><tr><td class="td_items"><ul class="urllist">'+GetLinkItem(0,"dropbox.png","lnk_web_dropbox","Dropbox is a free service that lets you bring your photos, docs, and videos anywhere",
"Dropbox Sync Tool",0)+GetLinkItem(1,"w3c.png","lnk_w3c_lnkchk","Tool_W3C_LnkChk","Tool_W3C_LnkChk",1)+GetLinkItem(2,"screenres.png","lnk_web_screenres","Tool_ScreenRes","Tool_ScreenRes",1)+'</ul><ul class="urllist">'+GetLinkItem(0,"ping.png","lnk_web_ping","Free_ping","Free_ping",1)+GetLinkItem(1,"whois.png","lnk_web_whois","Whois","Whois",1)+GetLinkItem(2,"ip.png","lnk_web_geoip","Tool_GEOIP","Tool_GEOIP",1)+'</ul><ul class="urllist">'+GetLinkItem(0,"useragent.png","lnk_web_useragent","Tool_UserAgent",
"Tool_UserAgent",1)+GetLinkItem(1,"mypcbackup.png","lnk_web_mypcbackup","Free Online Backup: Backup Your Comptuer, Backup Your Life","Free Online Backup",0)+GetLinkItem(2,"hosting.png","lnk_web_hosting","Top 10 Web Hosting: Scalable and Reliable Web Hosting Services","Top 10 Web Hosting",0)+"</ul></td></tr></table>");SetLinkActions({lnk_se_baidu:{type:"link",sel:0,url:"http://zhanzhang.baidu.com/"},lnk_se_google:{type:"link",sel:0,url:"http://www.google.com/webmasters/"},lnk_se_bing:{type:"link",
sel:0,url:"http://www.bing.com/toolbox/webmaster/"},lnk_se_yandex:{type:"link",sel:0,url:"http://webmaster.yandex.com/"},lnk_gg_trends:{type:"link",sel:0,url:"http://www.google.com/trends/"},lnk_gg_key:{type:"link",sel:0,url:"https://adwords.google.com/o/KeywordTool"},lnk_w3c_lnkchk:{type:"link",sel:0,url:"http://validator.w3.org/checklink"},lnk_web_ping:{type:"link",sel:0,url:"http://ping.chromefans.org/?ref=ext_pr"},lnk_web_whois:{type:"link",sel:0,url:"http://whois.chromefans.org/?ref=ext_pr"},
lnk_web_geoip:{type:"link",sel:0,url:"http://www.geoipview.com/?ref=ext_pr"},lnk_web_useragent:{type:"link",sel:0,url:"http://www.httpuseragent.org/?ref=ext_pr"},lnk_web_screenres:{type:"link",sel:0,url:"http://www.screenresolution.org/?ref=ext_pr"},lnk_web_md5:{type:"link",sel:0,url:"http://md5calculator.chromefans.org/?ref=ext_pr"},lnk_web_dropbox:{type:"link",sel:0,url:"https://db.tt/f0MjKM1l"},lnk_web_mypcbackup:{type:"link",sel:0,url:"http://track.mypcbackup.com/?hash=9161e3ab"},lnk_web_hosting:{type:"link",
sel:0,url:"http://topwebhosting.chromefans.org/?ref=ext_pr_tool"}})}$(window).bind("scroll",function(){document.body.scrollHeight>window.innerHeight&&"742px"!=$("#tbl_pageinfo").width()&&$("#tbl_pageinfo").width("742px")});
