function Addloading(B){var I=jQuery("#"+B);if(I){var M=I.parent();var A=parseInt(M.attr("DWidth"));var K=parseInt(M.attr("DHeight"));var D=M.css("padding-top");var G=M.css("padding-right");var F=M.css("padding-bottom");var C=M.css("padding-left");var E=0;var J=0;var N=0;var H=0;if(D){E=D.replace("px","")}if(G){J=G.replace("px","")}if(F){N=F.replace("px","")}if(C){H=C.replace("px","")}if(A>10){}else{A=M.innerWidth()-H-J}if(K>10){}else{K=M.innerHeight()-E-N}var O="<div class='pakiloadingoverlay' style='width:"+A+"px;height:"+K+"px;'></div><div class='pakiloadinginner' style='width:"+A+"px;height:"+K+"px;'></div>";var L=I.html();I.html(O+L)}}function getElementHeight(A){if(typeof A.clip!=="undefined"){return A.clip.height}else{if(A.style.pixelHeight){return A.style.pixelHeight}else{return A.offsetHeight}}}function getElementWidth(A){if(typeof A.clip!=="undefined"){return A.clip.width}else{if(A.style.pixelWidth){return A.style.pixelWidth}else{return A.offsetWidth}}};