function noCopyMouse(a){var b=a.button?a.button==2:a.which==3;if(b){alert("Paste not allowed please type information!");return false}return true}function noCopyKey(a){var c=["c","x","v"],d=a.keyCode?a.keyCode:a.which,b;if(window.event)b=a.ctrlKey;else b=window.Event?(a.modifiers&Event.CTRL_MASK)==Event.CTRL_MASK:false;if(b)for(i=0;i<c.length;i++)if(c[i]==String.fromCharCode(d).toLowerCase()){alert("Paste not allowed please type information!");return false}return true}function PrintButtonClick(){if(typeof frmRatings=="object"){var a=frmRatings.document.getElementById("Print");a!=null&&a.click()}else OnPrintPage()}function OpenUrl(b){var a;a=window.open(b,"window","height=300,width=640,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");a.focus()}function ToggleImages(c,d){if(document.getElementById){var a=document.getElementById(c);a.style.display=a.style.display!="block"?"block":"none";var b=document.getElementById(d);b.style.display=b.style.display!="none"?"none":"block"}}function at_display(b){win=window.open();for(var a in b)win.document.write(a+" = "+b[a]+"<br>")}function at_show_aux(e,f){for(var a=document.getElementById(e),b=document.getElementById(f),d=b.at_position=="y"?a.offsetHeight+2:0,c=b.at_position=="x"?a.offsetWidth+2:0;a;a=a.offsetParent){d+=a.offsetTop;c+=a.offsetLeft}b.style.position="absolute";b.style.top=d+"px";b.style.left=c+"px";b.style.visibility="visible"}function at_show(){p=document.getElementById(this.at_parent);c=document.getElementById(this.at_child);at_show_aux(p.id,c.id);clearTimeout(c.at_timeout)}function at_hide(){c=document.getElementById(this.at_child);c.at_timeout=setTimeout("document.getElementById('"+c.id+"').style.visibility = 'hidden'",333)}function at_click(){p=document.getElementById(this.at_parent);c=document.getElementById(this.at_child);if(c.style.visibility!="visible")at_show_aux(p.id,c.id);else c.style.visibility="hidden";return false}function at_attach(e,f,d,a,b){p=document.getElementById(e);c=document.getElementById(f);p.at_parent=p.id;c.at_parent=p.id;p.at_child=c.id;c.at_child=c.id;p.at_position=a;c.at_position=a;c.style.position="absolute";c.style.visibility="hidden";if(b!=undefined)p.style.cursor=b;switch(d){case"click":p.onclick=at_click;p.onmouseout=at_hide;c.onmouseover=at_show;c.onmouseout=at_hide;break;case"hover":p.onmouseover=at_show;p.onmouseout=at_hide;c.onmouseover=at_show;c.onmouseout=at_hide}}function Show(d){var b=navigator.appName,c=b.indexOf("Microsoft"),a=document.getElementById(d);if(c>=0){x=event.clientX+document.body.scrollLeft;y=window.event.clientY+document.body.scrollTop+35;a.style.left=x;a.style.top=y;a.style.display="block"}else a.style.display="block"}function ShowBae(a){var c=document.getElementById(a),b=document.getElementById(this[a]);b.style.visibility="visible";x=event.clientX+document.body.scrollLeft+30;y=event.clientY+document.body.scrollTop-300;a.style.left=x;a.style.top=y}function Hide(b){var a=document.getElementById(b);a.style.display="none"}function confirmnavaway(c){var d=document.body.innerHTML,a=d.indexOf("Policy Confirmation"),b=document.getElementById("ConfMsg");return a>=0||b!=null?true:confirm(c)}
