function confirm_redirect(b,a){if(confirm(b)){location.href=a}}function set_size(b){var a=document.body.clientWidth;var d=screen.width;var c=navigator.userAgent.toLowerCase();if(a<b){if(c.indexOf("msie")!=-1){document.body.style.width=b+"px"}else{document.getElementById("bd").style.width=(b-10)+"px"}}}function showImg(b,a){if(a=="show"){document.getElementById(b).style.visibility="visible"}else{document.getElementById(b).style.visibility="hidden"}}var listZone=new Object();listZone.showLoader=function(){listZone.toggleLoader(true)};listZone.hideLoader=function(){listZone.toggleLoader(false)};listZone.toggleLoader=function(b){document.getElementsByTagName("body").item(0).style.cursor=(b)?"wait":"auto";try{var d=top.frames["header-frame"].document;var a=d.getElementById("load-div");if(typeof a=="object"){a.style.display=b?"block":"none"}}catch(c){}};function $import(g,f,h){var e,d;if(f=="js"){var c=document.getElementsByTagName("script");for(d=0;d<c.length;d++){if(c[d].src&&c[d].src.indexOf(g)!=-1){return c[d]}}e=document.createElement("script");e.type="text/javascript";e.src=g}else{if(f=="css"){var a=document.getElementsByTagName("link");for(d=0;d<a.length;d++){if(a[d].href&&a[d].href.indexOf(g)!=-1){return a[d]}}e=document.createElement("link");e.rel="alternate stylesheet";e.type="text/css";e.href=g;e.title=h;e.disabled=false}else{return}}var b=document.getElementsByTagName("head")[0];b.appendChild(e);return e};
