var showViewManual=function(){function r(a){var b=document.documentElement;a=a.getBoundingClientRect();var d=document.documentElement.scrollLeft||document.body.scrollLeft;d=0<d?a.left-b.clientLeft+d:a.left-b.clientLeft;b=a.top-b.clientTop;return{left:0>d?0:d,top:0>b?0:b}}function t(a){return"TH"==a.parentNode.tagName?!0:"BODY"==a.parentNode.tagName?!1:t(a.parentNode)}function u(a){return"TD"==a.parentNode.tagName&&"label"==a.parentNode.className?!0:"BODY"==a.parentNode.tagName?!1:u(a.parentNode)}
function v(a){return null!=a&&null!=a.parentNode?"design-header-title"==a.parentNode.id?!0:v(a.parentNode):!1}var n=!1;return function(a){if(1==n)return!0;var b=$("span"),d=$("body"),e=b.length,f=$("<table/>");f.css({border:"solid black 1px",borderCollapse:"collapse",cellSpacing:"0px",cellPadding:"0px"});f.attr("cellPadding","3");f.attr("border","1");var k="",h="",p={},w={},q=0;for(i=0;i<e;i++)if(t(b[i])||u(b[i])||v(b[i]))k=b[i].title,h=$(b[i]).text(),0<k.length&&k!=h&&(p[h]=h,w[h]=k,q=1);if("1"==
a)return q;if(0==q)return!0;n=!0;for(var x in p)f.append("<tr><td bgcolor='black'><font color='white'>"+p[x]+"</font></td><td><pre>"+w[x]+"</pre></td></tr>");(e=$("#header").get(0))?(a=r(e).left,b=r(e).top,e=e.offsetHeight):e=b=a=0;var c=$("<div></div>");c.append(f);c.css({position:"absolute",backgroundColor:"white",top:b+2+e,left:a+2,zIndex:2});d.append(c);var g=$("<div></div>");g.css({position:"absolute",backgroundColor:"gray",top:b+10+e,left:a+10,width:c.width(),height:c.height(),zIndex:1});d.append(g);
d=$("<div></div>");a=$("<img/>");a.attr("src","../image/status_Close.png");a.bind("click",function(){var l=c.get(0),m=g.get(0);l.parentNode.removeChild(l);m.parentNode.removeChild(m);n=!1});a.css({width:"15px",height:"15px"});d.append(a);d.css({position:"absolute",border:"solid black 1px",top:0,left:parseInt(c.offset().left,10)+parseInt(c.width(),10),zIndex:3});c.append(d);f.width(f.width()+21);g.width(c.width());c.attr("id","dragDiv");"function"==typeof $("#dragDiv").draggable&&$("#dragDiv").draggable({opacity:.5,
cursor:"move",start:function(l,m){g.css("display","none")},stop:function(l,m){g.css({left:parseInt(c.offset().left,10)+8,top:parseInt(c.offset().top,10)+8,display:"block"})}})}}();$(function(){"0"==showViewManual("1")&&$("img#viewHelpIcon").css("display","none")});
