Thursday, 10 September 2015

CALCULATOR SCIENCETIFIC CODE



-----------------------------------------------------------------------------------------------------------------
COPY AND PASTE BELOW CODE IN POST HTML SECTION
------------------------------------------------------------------------------------------------------------------


<html>
<head>

<style type="text/css">
h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 26px;
color: #C80E00;
font-weight: 700;
margin: 20px 20px 10px 0
}
h2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000;
font-weight: 700;
margin: 15px 0 15px 3px
}
h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
font-weight: 700;
margin: 25px 0 14px 10px
}
p {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
margin: 3px 16px 4px 20px
}
.instruc {
line-height: 1.5;
text-align: justify
}
A:link {
text-decoration: none;
color: #333
}
A:visited {
text-decoration: none;
color: #333
}
A:hover {
text-decoration: underline;
color: #DB4044
}
A:active {
text-decoration: underline
}
A.menu_tb:link {
text-decoration: none;
color: #FFF
}
A.menu_tb:visited {
text-decoration: none;
color: #FFF
}
A.menu_tb:hover {
text-decoration: underline;
color: #FF3
}
A.menu_tb:active {
color: #FF3;
text-decoration: underline
}
A.sil_pod:link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
text-decoration: underline;
color: #000
}
A.sil_pod:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
text-decoration: none;
color: #c80e00
}
A.sil_pod:active {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
color: #c80e00;
text-decoration: underline
}
A.sil_pod:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
text-decoration: underline;
color: #00000
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
background-color: #FFF;
margin: 0
}
.osn {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000
}
.osn_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
font-weight: 700
}
.osn_11_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000;
font-weight: 700
}
.osn_15_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
color: #000;
font-weight: 700
}
.osn_16_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
color: #000;
font-weight: 700
}
.osn_18_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000;
font-weight: 700
}
.osn_26_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 26px;
color: #000;
font-weight: 700
}
.osn_82 {
font-family: Arial, Helvetica, sans-serif;
font-size: 82px;
color: #000;
font-weight: 400
}
.osn_74 {
font-family: Arial, Helvetica, sans-serif;
font-size: 74px;
color: #000;
font-weight: 400
}
.osn_62 {
font-family: Arial, Helvetica, sans-serif;
font-size: 62px;
color: #000;
font-weight: 400
}
.osn_54 {
font-family: Arial, Helvetica, sans-serif;
font-size: 54px;
color: #000;
font-weight: 400
}
.osn_48 {
font-family: Arial, Helvetica, sans-serif;
font-size: 48px;
color: #000;
font-weight: 400
}
.osn_22_sin_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 22px;
color: #1A5F8C;
font-weight: 700
}
.osn_18_b_ram_vir_pr {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000;
font-weight: 700;
border: 1px solid #999;
text-align: right;
padding-right: 3px
}
.osn_24_sin_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 24px;
color: #1A5F8C;
font-weight: 700
}
.osn_bel {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFF
}
.osn_zelt_b {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FF3;
font-weight: 700
}
.osn_ram_6_sin {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #000;
border: 6px solid #1A5F8C
}
.displ {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 48px;
font-weight: 400;
color: #000;
border: 4px solid #A6A6A6;
width: 370px;
width: 388px;
height: 68px;
overflow: hidden;
padding-right: 5px;
padding-left: 5px;
text-align: right;
background-color: #FFF
}
.displ_1 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 48px;
font-weight: 400;
color: #000;
border: 4px solid #A6A6A6;
text-align: right;
background-color: #FFF;
width: 329px;
width: 345px;
height: 64px;
padding-right: 5px;
padding-left: 5px;
overflow: hidden
}
.displ_2 {
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 48px;
font-weight: 400;
color: #000;
border: 4px solid #A6A6A6;
text-align: right;
background-color: #FFF;
width: 558px;
width: 574px;
height: 64px;
padding-right: 5px;
padding-left: 5px;
overflow: hidden
}
.main-menu {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFF;
padding: 0 px;
margin-top: 0 px;
margin-bottom: 0 px;
display: block;
height: 21px
}
.osn_instruction {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000;
margin-top: 5px;
margin-bottom: 5px;
margin-left: 30px;
display: block;
height: 25px;
line-height: 1.6
}
.osn_ram_sin_2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
color: #000;
border: 2px solid #1A5F8C;
background-color: #F2F9FF
}
.osn_ram_sin_2_vpn {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
color: #000;
background-color: #F2F9FF;
border-color: #1A5F8C;
border-style: solid;
border-width: 2px 2px 2px 0
}
#copyright {
width: 100%;
margin: 0 auto;
background-color: #2484C4;
color: #fff;
padding: 9px 0;
text-align: center;
font-size: 14px;
font-weight: 400
}
#copyright a {
color: #fff;
text-decoration: none
}
#copyright a:link {
color: #fff;
text-decoration: none
}
#copyright a:hover {
color: #FF3;
text-decoration: underline
}
#copyright a:active {
color: #FF3;
text-decoration: underline
}
.korpus {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: 400;
color: #000;
border: 10px solid #1a5f8c;
background-image: url(https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xtp1/v/t1.0-9/11700798_449077528586911_7615001439496110272_n.png?oh=d70c81dfc00d9f8bf2bb3650fa93c838&oe=562558F5);
margin: 0;
padding: 0
}
.korp_12 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: 400;
color: #000;
margin: 0;
padding: 0
}
A.korp_12:link {
text-decoration: none;
color: #333
}
A.korp_12:visited {
text-decoration: none;
color: #333
}
A.korp_12:hover {
text-decoration: underline;
color: #DB4044
}
A.korp_12:active {
text-decoration: underline
}
.display {
font-family: Arial, Helvetica, sans-serif;
color: #000;
border: 5px solid #999;
background-image: url(data:image/gif;base64,R0lGODlhsQBfALMAAO+9jPe9iP+9e/+9hOLBnOnBnMbGwdbGs63G3rXG1r3GzrnG2qXG563G56XG75zG9ywAAAAAsQBfAAAE/lDISau9OOvNZQBgKI5BZ55oqq7s+QHEcRi0gtyMo+98z9wIBc0gI4AGraRyyex8YjbE7kGtWq/YbFb3SygORmRzTC5bPjObQ8tuu9+PnzBsrttPsIMazu/7q3JgAHeEdzAGCAx/i4x+DgwJBgQlhZUsATEJio2cnX0MXwCUlqQYAXoNa56rrG8OCJKjpZaYBg2tuLlvsAWzhQAHUrrDxFsJB4O+Y6cKqsXP0FSgBGLKl8HR2doPCdTWKcAI2+PZx7LfGAAGm+Tt0AgH5+gS6uzu98/w8sqn9vj/xbrNI5AAoMFoDhQkmxXAgLODEIkxODCrQMGIGJ8ptHTAX8aP/rgQECDU8CHIk60cUKxjEaXLYRvJdHxJM5fIMQ5r6ky5UomBnUBZqfQZtKinoSx+Gl3ayMFIFQdMMp0Kp8HTE1GpavVjFavUrWC1NOjFAYDHsGixJNhXQUHat216YjgAt24WBmQvmLXL18paDG77Cn4gdwKBwYMZLJxwEXHfwgC+Ok6LQJbSyXydTgggDnNfA4Y9C25A6bJou08Dn7a7svPquqAFuH79VoEAzrTrIhAQOTdcBh8k+57qAITw4UsV90YeFsGAvczBJpAwO/rU2KatM316WPtUxfTOetc5fUL18TtjS8iOvqaDvLzFtz9puwL7+SffW4CO32V9C/f1/heRfnrJJyBA/11A14EZ4bVBgAy6g5QGATQW4T/qbVDALRfiowBbFxBwXIfFILBYBwuSuI1mKkCoYi4TQjXii510lURWNOpioxIEcJgjKwnAx6OPP3KSwIlLtFRkIwaAmAQAqi3JhwMZ1kHAeVJmEaQl6sz440ROmkFQlljE5Es/ZD5w0zwFRJkjlUh+MyaNCQk5jwQDENBMh3XeqaECBloHip1+poPIfLDEWSiFenqJmQPdhLmoBgXYMlwDBhA6qQqYAHraNJJumkItqQyGqRGikkSAAZq8BWksqc5ySCLEBYFMNbFac4gmjv7zSCTIhJqrrAVAkUAivUqEgBeSLRSg6LC55pEGDsnC8cgNkRCBKrTcqgBAsTIMcSwQ5JaL7RDaOtvtuuy2O0EEAAA7);
repeat-x 0 0;
white-space: nowrap;
word-spacing: -8px;
text-align: right;
padding: 0
}
.kn_des {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 24px;
color: #FFF;
background-color: #666;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 0
}
.kn_des_nv {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 24px;
color: #FFB9B9;
background-color: #666;
border: 2px solid #999;
cursor: pointer;
margin: 0
}
.kn_des_nz {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 24px;
color: #FFB9B9;
background-color: #666;
border: 2px solid #999;
cursor: pointer;
margin: 1px 0 0 1px
}
.kn_cif {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 36px;
color: #034d97;
background-color: #E2E2E2;
border: 2px solid #999;
font-weight: 700;
cursor: pointer;
margin: 0
}
.kn_cif_nv {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 36px;
color: #9d0202;
background-color: #E2E2E2;
border: 2px solid #999;
font-weight: 700;
cursor: pointer;
margin: 0
}
.kn_cif_nz {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 36px;
color: #9d0202;
background-color: #E2E2E2;
border: 2px solid #999;
font-weight: 700;
cursor: pointer;
margin: 1px 0 0 1px
}
.kn_rav {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 36px;
color: #FFF;
background-color: Red;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 0
}
.kn_rav_nv {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 36px;
color: #FFB9B9;
background-color: Red;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 0
}
.kn_rav_nz {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 36px;
color: #FFB9B9;
background-color: Red;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 1px 0 0 1px
}
.kn_sbr {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 28px;
color: #FFF;
background-color: #F40000;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 0
}
.kn_sbr_nv {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 28px;
color: #FFB9B9;
background-color: #F40000;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 0
}
.kn_sbr_nz {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 28px;
color: #FFB9B9;
background-color: #F40000;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 1px 0 0 1px
}
.kn_nau {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 24px;
color: #000;
background-color: #E2E2E2;
border: 2px solid #999;
font-weight: 400;
cursor: pointer;
margin: 0
}
.kn_nau_nv {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 24px;
color: #9d0202;
background-color: #E2E2E2;
border: 2px solid #999;
cursor: pointer;
margin: 0
}
.kn_nau_nz {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 24px;
color: #9d0202;
background-color: #E2E2E2;
border: 2px solid #999;
cursor: pointer;
margin: 1px 0 0 1px
}
a.nastr_min {
background: url(/images/overall/icon-tabl-nastr.gif);
display: block;
width: 30px;
height: 30px;
background-repeat: no-repeat;
background-position: -90px 0
}
a.nastr_min:hover {
background-position: -30px 0
}
a.nastr_plus {
background: url(/images/overall/icon-tabl-nastr.gif);
display: block;
width: 30px;
height: 30px;
background-repeat: no-repeat;
background-position: -60px 0
}
a.nastr_plus:hover {
background-position: -0 0
}
a.rasdm {
background: url(/images/overall/icon-tabl-nastr.gif);
display: block;
width: 6px;
height: 30px;
background-repeat: no-repeat;
background-position: -120px 0;
text-decoration: none
}
a.rasdm:hover {
background-position: -126px 0
}
a.rasd_c {
background: url(/images/overall/icon-tabl-nastr.gif);
display: block;
width: 6px;
height: 30px;
background-repeat: no-repeat;
background-position: -138px 0;
text-decoration: none
}
a.rasd_c:hover {
background-position: -138px 0
}
a.rasd_b {
background: url(/images/overall/icon-tabl-nastr.gif);
display: block;
width: 6px;
height: 30px;
background-repeat: no-repeat;
background-position: -132px 0;
text-decoration: none
}
a.rasd_b:hover {
background-position: -138px 0
}
A.nav_osn:link {
font-size: 18px;
text-decoration: none;
color: #FFF
}
A.nav_osn:visited {
font-size: 18px;
text-decoration: none;
color: #FFF
}
A.nav_osn:hover {
font-size: 18px;
text-decoration: underline;
color: #FF3
}
A.nav_osn:active {
font-size: 18px;
text-decoration: underline
}
</style>


<script type='text/javascript'>
//<![CDATA[

window.onload = psZgr;
window.onresize = psZgr;

function psZgr() {
sirRecl()
}

function sirRecl() {
var b = document.documentElement.clientWidth;
if (1300 < b) {
var c = 1451 > b ? Math.round(b / 100 * 64.6) : 990,
c = Math.round((b - 160 - c - 300) / 4),
b = 160 + 2 * c,
c = 300 + 2 * c;
document.getElementById("koln1").style.width = b + "px";
document.getElementById("koln3").style.width = c + "px"
}
}

function createCookie(b, c, a) {
if (a) {
var d = new Date;
d.setTime(d.getTime() + 864E5 * a);
a = "; expires=" + d.toGMTString()
} else a = "";
document.cookie = b + "=" + c + a + "; path=/;"
}

function createCookieChasi(b, c, a) {
if (a) {
var d = new Date;
d.setTime(d.getTime() + 36E5 * a);
a = "; expires=" + d.toGMTString()
} else a = "";
document.cookie = b + "=" + c + a + "; path=/;"
}

function readCookie(b) {
b += "=";
for (var c = document.cookie.split(";"), a = 0; a < c.length; a++) {
for (var d = c[a];
" " == d.charAt(0);) d = d.substring(1, d.length);
if (0 == d.indexOf(b)) return d.substring(b.length, d.length)
}
return null
}

function eraseCookie(b) {
createCookie(b, "", -1)
}

function addFavoriteMy(b) {
var c = window.document.title,
a = window.document.location;
window.sidebar ? window.sidebar.addPanel(c, a, "") : document.all ? window.external.AddFavorite(a, c) : alert(b)
}

function dobNul(b, c) {
void 0 == c && (c = 2);
var a = "00000" + b;
return a = a.substr(a.length - c)
}

function dobNulSprava(b, c) {
void 0 == c && (c = 2);
var a = (b + "").split(".");
void 0 == a[1] && (a[1] = "");
a[1] += "0000000000";
a[1] = a[1].substr(0, c);
return a.join(".")
}

function dlnRazr(b) {
b = (b + "").split(".");
for (var c = [], a = 0, d = b[0].length - 1; 0 <= d; d -= 1) 3 == a ? (c[d] = b[0].substr(d, 1) + " ", a = 0) : c[d] = b[0].substr(d, 1), a++;
b[0] = c.join("");
return b.join(".")
};



var mdt=["<tr> 81 79  left top MC kn_des 64 62 26 mc pm ".split(" ")," 81 79  right top MR kn_des 64 62 26 mr pm ".split(" ")," 97 79  center top M+ kn_des 64 62 26 mp pm ".split(" ")," 80 79  left top M- kn_des 64 62 26 mm pm ".split(" ")," 78 79  right top \u221a kn_des 64 62 36 kk kk ".split(" ")," 83 79  right top X<sup>\u02b8</sup> kn_des 64 62  xy xy </tr>".split(" "),"<tr> 81 79  left top 00\uffeb0 kn_des 64 62 24 dz dz ".split(" ")," 81 79  right top 7 kn_cif 64 62 34 7 cf ".split(" ")," 97 79  center top 8 kn_cif 64 62 34 8 cf ".split(" "),
" 80 79  left top 9 kn_cif 64 62 34 9 cf ".split(" ")," 78 79  right top \u00f7 kn_des 64 62 40 deln md ".split(" ")," 83 79  right top % kn_des 64 62 32 cn cn </tr>".split(" "),"<tr> 81 79  left top +/- kn_des 64 62 30 il il ".split(" ")," 81 79  right top 4 kn_cif 64 62 34 4 cf ".split(" ")," 97 79  center top 5 kn_cif 64 62 34 5 cf ".split(" ")," 80 79  left top 6 kn_cif 64 62 34 6 cf ".split(" ")," 78 79  right top X kn_des 64 62  umnz md ".split(" ")," 83 79  right top - kn_des 64 62 40 mins md </tr>".split(" "),
"<tr> 81 79  left top AC kn_sbr 64 62 30 ac sb ".split(" ")," 81 79  right top 1 kn_cif 64 62 34 1 cf ".split(" ")," 97 79  center top 2 kn_cif 64 62 34 2 cf ".split(" ")," 80 79  left top 3 kn_cif 64 62 34 3 cf ".split(" ")," 78  2 right top + kn_des 69 141 40 plus md ".split(" ")," 83  2 right top = kn_rav 64 141 40 rv rv </tr>".split(" "),"<tr> 81 70  left top C kn_sbr 70 62 32 cc sb ".split(" ")," 81 70  right top 0 kn_cif 70 62 34 0 cf ".split(" ")," 97 70  center top 00 kn_cif 64 62 34 00 cf ".split(" "),
" 80 70  left top . kn_cif 64 62 34 tc tc </tr>".split(" "),"<tr> 69 65  left top sin kn_nau 53 50 22 sin trg ".split(" ")," 69 65  left top asin kn_nau 53 50 20 asin trg ".split(" ")," 69 65  left top \u03c0 kn_nau 53 50 28 pi pii </tr>".split(" "),"<tr> 69 65  left top cos kn_nau 53 50 22 cos trg ".split(" ")," 69 65  left top acos kn_nau 53 50 20 acos trg ".split(" ")," 69 65  left top e kn_nau 53 50 28 ee eee </tr>".split(" "),"<tr> 69 65  left top tg kn_nau 53 50 22 tg trg ".split(" ")," 69 65  left top atg kn_nau 53 50 20 atg trg ".split(" "),
" 69 65  left top <sup>\u02b8</sup>\u221a\u0445 kn_nau 53 50 28 xky md </tr>".split(" "),"<tr> 69 65  left top ctg kn_nau 53 50 22 ctg trg ".split(" ")," 69 65  left top actg kn_nau 53 50 20 actg trg ".split(" ")," 69 65  left top \u0445<sup>\u2082</sup> kn_nau 53 50 28 xkv xkv </tr>".split(" "),"<tr> 69 65  left top log kn_nau 53 50 22 log log ".split(" ")," 69 65  left top log<sub>2</sub>x kn_nau 53 50 20 log2x l2x ".split(" ")," 69 65  left top 10<sup>x</sup> kn_nau 53 50 22 10x dsx </tr>".split(" "),
"<tr> 69 56  left top In kn_nau 53 50 22 ln lnn ".split(" ")," 69 56  left top log<sub>y</sub>x kn_nau 53 50 20 lyx md ".split(" ")," 69 56  left top 1/x kn_nau 53 50 24 1dx odx </tr>".split(" ")];
mdnk=[[48,25,"0"],[49,19,"1"],[50,20,"2"],[51,21,"3"],[52,13,"4"],[53,14,"5"],[54,15,"6"],[55,7,"7"],[56,8,"8"],[57,9,"9"],[96,25,"0"],[97,19,"1"],[98,20,"2"],[99,21,"3"],[100,13,"4"],[101,14,"5"],[102,15,"6"],[103,7,"7"],[104,8,"8"],[105,9,"9"],[107,22,"+"],[187,22,"+"],[109,17,"-"],[189,17,"-"],[106,16,"x"],[111,10,"\u00f7"],[8,6,"\uffeb"],[13,23,"="],[110,27,"."],[190,27,"."],[27,24,"C"],[46,24,"C"]];
var sr_displ=84,mums_for_calcul_1=["",84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,44,44,44,44,44],mums_for_calcul_2=["",84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,80,74,70,66,62,60,58,54,52,48],idncalc="scientific_calculator",kof=1,deszn=4;sst=[820,40,"",40];vstr=[46,100,46,100,46];zvezd=[25,20,200];var sr_calcu=16,srift_des=12,tl_rm_rk=10,tl_rm_ds=5,ot_displ=8,ors="",mpd=[],miv=[],pam=0,dlNl="You can not divide by zero !",displ_osnovn=0,displ_tek_ds=0,displ_memvrm=0;



function osnRbtFn(a){"cf"==mdt[a][12]?dobCifra(mdt[a][11]):"tc"==mdt[a][12]?dobTochk():"sb"==mdt[a][12]?sbrCalcu(a):"il"==mdt[a][12]?plsMinus():"md"==mdt[a][12]?matDeist(a):"rv"==mdt[a][12]?dobRavno("rv"):"dz"==mdt[a][12]?strZnaka():"pm"==mdt[a][12]?rbtPamat(a):"kk"==mdt[a][12]?kvdKoren():"xy"==mdt[a][12]?vozStepe(a):"cn"==mdt[a][12]?vchProcn(a):"pii"==mdt[a][12]?matFunOdin("pii"):"eee"==mdt[a][12]?matFunOdin("eee"):"xkv"==mdt[a][12]?matFunOdin("xkv"):"dsx"==mdt[a][12]?matFunOdin("dsx"):"odx"==mdt[a][12]?
matFunOdin("odx"):"lnn"==mdt[a][12]?matFunOdin("lnn"):"log"==mdt[a][12]?matFunOdin("log"):"l2x"==mdt[a][12]?matFunOdin("l2x"):"lyx"==mdt[a][12]?matDeist(a):"xky"==mdt[a][12]?matDeist(a):"trg"==mdt[a][12]&&trgFunkc(mdt[a][11])}
function trgFunkc(a){0<mpd.length&&("rv"==mpd[3]||"cn"==mpd[3])&&(ors=mpd[4]+"",mpd.length=0);var b=ors.split("|"),c=b.length-1;"gra"==grads_radia&&(b[c]=b[c]*Math.PI/180);"sin"==a?b[c]=Math.sin(b[c]):"asin"==a?b[c]=Math.asin(b[c]):"cos"==a?b[c]=Math.cos(b[c]):"acos"==a?b[c]=Math.acos(b[c]):"tg"==a?b[c]=Math.tan(b[c]):"atg"==a?b[c]=Math.atan(b[c]):"ctg"==a?b[c]=1/Math.tan(b[c]):"actg"==a&&(b[c]=180*Math.atan(1/b[c])/Math.PI);b[c]=+b[c].toFixed(12);ors=b.join("|");pokazDisplay(b[c]);document.getElementById("mem").innerHTML=
pam;tekDeistv()}
function matFunOdin(a){0<mpd.length&&("rv"==mpd[3]||"cn"==mpd[3])&&(ors=mpd[4]+"",mpd.length=0);var b=ors.split("|"),c=b.length-1;"pii"==a?b[c]=3.141592653589793:"eee"==a?b[c]=2.718281828459045:"xkv"==a?b[c]*=b[c]:"dsx"==a?b[c]=Math.pow(10,b[c]):"odx"==a?b[c]=1/b[c]:"lnn"==a?b[c]=Math.log(b[c]):"log"==a?b[c]=Math.log(b[c])/Math.log(10):"l2x"==a&&(b[c]=Math.log(b[c])/Math.log(2));b[c]=+b[c].toFixed(12);ors=b.join("|");pokazDisplay(b[c]);document.getElementById("mem").innerHTML=pam;tekDeistv()}
function dobCifra(a){mpd.length=0;var b=ors.split("|"),c=b.length-1;b[c]=0!=b[c].length||"0"!=a&&"00"!=a?"0"!=b[c]||"0"!=a&&"00"!=a?"0"!=b[c]||"0"==a&&"00"==a?"-0"!=b[c]||"0"!=a&&"00"!=a?"-0"!=b[c]||"0"==a&&"00"==a?b[c]+""+a:"-"+a:"-0":a:"0":"0";a=(b[c]+"").split(".");b[c]=b[c].substr(0,2==a.length?a[0].length+13:12);ors=b.join("|");pokazDisplay(b[c]);tekDeistv()}
function dobTochk(){mpd.length=0;var a=ors.split("|"),b=a.length-1;0>a[b].indexOf(".")&&(a[b]=0==a[b].length?"0.":a[b]+".");ors=a.join("|");pokazDisplay(a[b]);tekDeistv()}
function plsMinus(){var a=ors.split("|"),b=a.length-1;0<mpd.length&&("rv"==mpd[3]||"cn"==mpd[3])?(ors=-1*mpd[4]+"",mpd.length=0,pokazDisplay(ors)):0<mpd.length&&("plus"==mpd[3]||"mins"==mpd[3]||"umnz"==mpd[3]||"deln"==mpd[3])?(a[0]*=-1,ors=a[0]+"|"+a[1]+"|",mpd.length=0,pokazDisplay(a[0])):(0==a[b].length?a[b]="-0":"-"==a[b].substr(0,1)?a[b]=a[b].substr(1):a[b]="-"+a[b],ors=a.join("|"),pokazDisplay(a[b]));tekDeistv()}
function matDeist(a){0<mpd.length&&("rv"==mpd[3]||"cn"==mpd[3])?ors=mpd[4]+"":0<mpd.length&&("mp"==mpd[3]||"mm"==mpd[3])&&(ors=mpd[0]+"|"+mdt[a][11]+"|",mpd.length=0);var b=ors.split("|"),c=b.length;0==ors.length?ors=0<mpd.length?mpd[0]:"0|"+mdt[a][11]+"|":1==c||3==c&&0==b[2].length?ors=b[0]+"|"+mdt[a][11]+"|":3==c&&0<b[2].length&&(c=schtItogo(ors),"Infinity"==c?alert(dlNl):(mpd[0]=b[0]+"",mpd[1]=b[1]+"",mpd[2]=b[2]+"",mpd[3]=mdt[a][11]+"",mpd[4]=c+"",ors=c+"|"+mdt[a][11]+"|",pokazDisplay(c)));tekDeistv()}
function dobRavno(a){0<mpd.length&&"rv"==mpd[3]&&(ors=mpd[4]+"|"+mpd[1]+"|"+mpd[2],mpd.length=0);a=ors.split("|");var b=a.length;3==b&&0==a[2].length?(a[2]="0",b=schtItogo(a[0]+"|"+a[1]+"|"+a[2]),"Infinity"==b?alert(dlNl):(mpd[0]=a[0]+"",mpd[1]=a[1]+"",mpd[2]=0,mpd[3]="rv",mpd[4]=b+"",ors="",pokazDisplay(b))):3==b&&0<a[2].length&&(b=schtItogo(a[0]+"|"+a[1]+"|"+a[2]),"Infinity"==b?alert(dlNl):(mpd[0]=a[0]+"",mpd[1]=a[1]+"",mpd[2]=a[2]+"",mpd[3]="rv",mpd[4]=b+"",ors="",pokazDisplay(b)));tekDeistv()}
function schtItogo(a){var b=a.split("|");a=b[0];var c=b[1],b=b[2];a="plus"==c?1*a+1*b:"mins"==c?1*a-1*b:"umnz"==c?1*a*b*1:"deln"==c?1*a/b*1:"xy"==c?Math.pow(a,b):"lyx"==c?Math.log(1*a)/Math.log(1*b):"xky"==c?Math.pow(1*b,1/a*1):"";deszn*=1;0<(a+"").length&&(a=+a.toFixed(deszn));return a}
function strZnaka(){0<mpd.length&&("rv"==mpd[3]||"cn"==mpd[3])&&(ors=mpd[4]+"",mpd.length=0);var a=ors.split("|"),b=a.length-1,c=a[b].length-1;a[b]=a[b].substr(0,c);"."==a[b].substr(c-1,1)&&(a[b]=a[b].substr(0,c-1));if(0==a[b].length||"-0"==a[b]||"-"==a[b])a[b]="0";ors=a.join("|");pokazDisplay(a[b]);tekDeistv()}function vozStepe(){0<mpd.length&&"rv"==mpd[3]&&(ors=mpd[4]+"",mpd.length=0);ors=ors.split("|")[0]+"|xy|";tekDeistv()}
function kvdKoren(){0<mpd.length&&("rv"==mpd[3]||"cn"==mpd[3])&&(ors=mpd[4]+"",mpd.length=0);var a=ors.split("|"),b=a.length-1;a[b]*=1;a[b]=Math.sqrt(a[b]);a[b]=+a[b].toFixed(12);ors=a.join("|");pokazDisplay(a[b]);tekDeistv()}function sbrCalcu(a){ors="";displ_memvrm=displ_tek_ds=displ_osnovn=mpd.length=0;"ac"==mdt[a][11]&&(pam=0,document.getElementById("mem").innerHTML="0");document.getElementById("disp-tekd").innerHTML=0;pokazDisplay(0)}
function pokazDisplay(a){a+="";if(0>a.indexOf(".")){for(var b="",c=0,d=0,e=a.length-1;0<=e;e--)b=a.charAt(e)+b,c++,3==c&&(c=0,b=" "+b),d++;a=b;mums=mums_for_calcul_1}else mums=mums_for_calcul_2;b=Math.round(mums[a.length]*kof);document.getElementById("display").style.fontSize=b+"px";displ_osnovn=a;document.getElementById("display").innerHTML=a}
function rbtPamat(a){var b=ors.split("|"),c=b.length,d=c-1;"mp"==mdt[a][11]||"mm"==mdt[a][11]?0<mpd.length&&("cn"==mpd[3]||"rv"==mpd[3]||"plus"==mpd[3]||"mins"==mpd[3]||"umnz"==mpd[3]||"deln"==mpd[3])?pam="mp"==mdt[a][11]?1*pam+1*mpd[4]:1*pam-1*mpd[4]:1==c?(pam="mp"==mdt[a][11]?1*pam+1*b[0]:1*pam-1*b[0],ors="",mpd[0]=b[0],mpd[1]="***",mpd[2]="***",mpd[3]="mp",mpd[4]="***"):3==c&&(c=schtItogo(b[0]+"|"+b[1]+"|"+b[2]),"Infinity"==c?alert(dlNl):(pam="mp"==mdt[a][11]?1*pam+1*c:1*pam-1*c,mpd[0]=b[0]+"",
mpd[1]=b[1]+"",mpd[2]=b[2]+"",mpd[3]="rv",mpd[4]=c+"",ors="",pokazDisplay(c))):"mr"==mdt[a][11]?(b[d]=pam,ors=b.join("|"),pokazDisplay(b[d])):"mc"==mdt[a][11]&&(pam=0);displ_memvrm=document.getElementById("mem").innerHTML=pam}
function vchProcn(a){a=ors.split("|");var b=a.length;a[0]*=1;a[2]*=1;3==b&&"plus"==a[1]?(b=a[0]/100,b=a[2]*b+a[0]):3==b&&"mins"==a[1]?(b=a[0]/100,b=a[0]-a[2]*b):b=a[0]/100*a[2];b=+b.toFixed(deszn);ors="";mpd[0]=a[0]+"";mpd[1]=a[1]+"";mpd[2]=a[2]+"";mpd[3]="cn";mpd[4]=b;pokazDisplay(b);tekDeistv()}
function tekDeistv(){var a="",b=ors.split("|");0<mpd.length&&("umnz"!=mpd[1]&&"deln"!=mpd[1]||"cn"!=mpd[3]?(a="cn"==mpd[3]?"%":"",a=mpd[0]+""+nazvMatem(mpd[1])+""+mpd[2]+a+"="+mpd[4]+" &nbsp; "):a=mpd[0]+"%  \u043e\u0442 "+mpd[2]+"="+mpd[4]+" &nbsp; ");a=a+""+b[0];2==b.length?a=a+""+nazvMatem(b[1]):3==b.length&&(a=a+""+nazvMatem(b[1])+""+b[2]);"***"!=mpd[4]&&(document.getElementById("disp-tekd").innerHTML=a);displ_tek_ds=a}
function nazvMatem(a){return"plus"==a?"+":"mins"==a?"-":"umnz"==a?"x":"deln"==a?"\u00f7":"rv"==a?"=":"cn"==a?"%":"xy"==a?"^":a};

//]]>
</script>


</head>



<body>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="osn" style="height:100%; margin:0px; padding:0px; ">


<script type="text/javascript">
var adTFavor = "Add to Favorites";
var toAdFavr = 'To save in &#34;Favorites&#34;, press &#34;CTRL+D&#34;';
var domSapka = 'FB GADGETS';
var kolDeszn = 'The number of decimal digits is ';
var izMenete = 'change';
var dlNl_loc = 'You cannot divide by zero !';
var menBstrn = [['Quick setups', 'net'],
['Normal size', 'std'],
['Small', 'mal'],
['Large', 'bol'],
['In screen height', 'vis'],
['In screen width', 'sir'],
['Huge', 'obo']];
var radian = "Rad";
var gradus = "Grad";
</script>

<div id="scientific_calculator" style="margin:30px;" align="center">


<script type='text/javascript'>

var id_kof="kof_"+idncalc,kof=readCookie(id_kof);null==kof&&(kof=1400>screen.width?.8:1,createCookie(id_kof,kof,365));var id_des_zn="id_dszn_"+idncalc,deszn=readCookie(id_des_zn);null==deszn&&(deszn=4,createCookie(id_des_zn,deszn,365));var grrdco=readCookie("gra_rad_koo");if(null==grrdco){grads_radia="gra";createCookie("gra_rad_koo",grads_radia,365);var chc_rdgr=["","checked"]}else grads_radia=grrdco,chc_rdgr="rad"==grads_radia?["checked",""]:["","checked"];
function gradRad(a){grads_radia="rad"==a?"rad":"gra";createCookie("gra_rad_koo",grads_radia,365)}"undefined"!==typeof dlNl_loc&&(dlNl=dlNl_loc);korpusCalcul();
function korpusCalcul(){var a=Math.round(vstr[0]*kof),b=Math.round(zvezd[0]*kof),c=Math.round(zvezd[1]*kof),e=Math.round(zvezd[2]*kof),d=Math.round(sr_calcu*kof),g=Math.round(tl_rm_rk*kof);1>g&&(g=1);var h=Math.round(tl_rm_ds*kof);1>h&&(h=1);var m=Math.round(vstr[1]*kof),s=Math.round(ot_displ*kof);displ_osnovn+="";var n=displ_osnovn.split("."),f=displ_osnovn.length,n=1==n.length?Math.round(mums_for_calcul_1[f]*kof):Math.round(mums_for_calcul_2[f]*kof),f=Math.round(vstr[2]*kof),t=Math.round(220*kof),
u=Math.round(250*kof),q=Math.round(14*kof),r=Math.round(14*kof),p=Math.round(vstr[4]*kof),v=Math.round(srift_des*kof),w=Math.round(sst[0]*kof),k=Math.round(sst[1]*kof),l=Math.round(sst[1]*kof);.15<kof?(b='<table width="100%" border="0" cellpadding="0" cellspacing="0">  <tr>    <td width="'+b+'"  height="'+c+'" align="left" valign="middle">      <a href="javascript:addFavoriteMy(\''+toAdFavr+'\');"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiReRbf2ohZN9v9eNmmfzo2lBdU8Cr3f7k5cw4eUiLNgy5Zb8aOhk-bfvpX-WABSco7k3lgGsLg2WaeKMNrWFJpD-Iu4CQ06FrgQfU_AOuKi6gYIl3MDpurh6L4LcEz9lQLWqmL-A0a-Yr/s1600/Tree.jpg" width="'+b+'" height="'+c+'" border="0"></a>    </td>    <td                  height="'+
c+'" align="left" valign="middle"><a href="javascript:addFavoriteMy(\''+toAdFavr+"');\">"+adTFavor+'</a></td>    <td width="'+e+'" height="'+c+'" align="right" valign="middle"><b>'+domSapka+"</b></td>  </tr></table>",c='<table width="100%" border="0" cellpadding="0" cellspacing="0">  <tr>    <td width="'+t+'" align="left" valign="middle">      <input type="radio" name="radio" id="rad" value="rad" onClick="gradRad(this.value);" '+chc_rdgr[0]+' style="width:'+q+"px; height:"+r+'px;">        <label for="rad">'+
radian+'</label>      <input name="radio" type="radio" id="gra" value="gra" onClick="gradRad(this.value);" '+chc_rdgr[1]+' style="width:'+q+"px; height:"+r+'px;">        <label for="gra">'+gradus+'</label>    </td>    <td             align="left" valign="middle"><b>Mem:</b> <span id="mem">'+displ_memvrm+'</span></td>    <td width="'+u+'" align="right" valign="middle" id="disp-tekd">'+displ_tek_ds+"</td>  </tr></table>",e=kolDeszn+" - <b>"+deszn+'</b> (<a class="korp_12" style="font-size:'+v+'px;" href="javascript:desZnak();">'+
izMenete+"</a>)"):e=c=b="";a='<table width="'+w+'" border="0" cellpadding="0" cellspacing="0" class="korpus" style="font-size:'+d+"px; border-width:"+g+'px"><tr><td width="'+k+'" height="'+a+'">&nbsp;</td><td                  height="'+a+'">'+b+'</td><td width="'+l+'" height="'+a+'">&nbsp;</td></tr><tr><td width="'+k+'" height="'+m+'">&nbsp;</td><td align="right"    height="'+m+'" class="display" style="border-width: '+h+'px;"><div style="font-size:'+n+"px; margin-right:"+s+'px;" id="display">'+displ_osnovn+
'</div></td><td width="'+l+'" height="'+m+'">&nbsp;</td></tr><tr><td width="'+k+'" height="'+f+'">&nbsp;</td><td                  height="'+f+'">'+c+'</td><td width="'+l+'" height="'+f+'">&nbsp;</td></tr><tr><td width="'+k+'" height="10">&nbsp;</td><td height="10"><table width="100%"\t border="0" cellspacing="0" cellpadding="0">  <tr>    <td align="left"  valign="middle">'+vstavkaCalcul(2)+'</td>    <td align="right" valign="middle">'+vstavkaCalcul(1)+'</td>  </tr></table></td><td width="'+l+'" height="10">&nbsp;</td></tr><tr><td width="'+
k+'" height="'+p+'">&nbsp;</td><td                  height="'+p+'" id="des_zn">'+e+'</td><td width="'+l+'" height="'+p+'">&nbsp;</td></tr></table>'+tabUvelUmen();document.getElementById(idncalc).innerHTML=a}
function desZnak(){for(var a=Math.round(srift_des*kof),b=[0,1,2,3,4,5,6,7,8,12],c=[],e=b.length,d=0;d<e;d++)c[d]='<option value="'+b[d]+'" '+(deszn==b[d]?"selected":"")+">"+b[d]+"</option>";a=kolDeszn+' - <select style="font-size:'+a+'px;" onchange="otvIzm(this.value);">'+c.join("")+"</select>";document.getElementById("des_zn").innerHTML=a}function otvIzm(a){Math.round(srift_des*kof);deszn=a;createCookie(id_des_zn,deszn,365);korpusCalcul()}
function vstavkaCalcul(a){a=1==1*a?[0,28]:[28,46];mss=[];for(var b=a[0];b<a[1];b++){var c=Math.round(mdt[b][1]*kof),e=Math.round(mdt[b][2]*kof);mss[b]=mdt[b][0]+'<td width="'+c+'" '+(0<mdt[b][2].length?'height="'+e+'"':"")+" "+(0<mdt[b][3].length?'rowspan="'+mdt[b][3]+'"':"")+' align="'+mdt[b][4]+'" valign="'+mdt[b][5]+'">'+knopCalc(b)+"</td>"+mdt[b][13]}return'<table class="" border="0" cellspacing="0" cellpadding="0">'+mss.join("")+"</table>"}
function knopCalc(a){var b=Math.round(mdt[a][8]*kof),c=Math.round(mdt[a][9]*kof),e=Math.round(1*b+5*kof),d=Math.round(1*c+5*kof),g=0<mdt[a][10].length?Math.round(mdt[a][10]*kof):Math.round(28*kof),h=Math.round(2*kof);return'<div style="width:'+e+"px; height:"+d+'px; text-align:left;">  <div id="nmr_'+a+'" class="'+mdt[a][7]+'" style="width:'+b+"px; height:"+c+"px; font-size:"+g+"px; border-width:"+h+'px;"   onMouseDown="knNzt('+a+');" onMouseUp="knOtp('+a+');" onMouseOver="knNav('+a+');" onMouseOut="knUs('+
a+');">    <table border="0" cellspacing="0" cellpadding="0">      <tr>        <td width="'+b+'" height="'+c+'" align="center" valign="middle">'+mdt[a][6]+"</td>      </tr>  </table>  </div></div>"}
function tabUvelUmen(){for(var a=[],b=1;51>b;b++){var c=25==b?"rasd_b":1==b||50==b?"rasd_b":"rasdm",e=Math.round(25*kof);b==e&&(c="rasd_c");a[b]='<td width="6" height="30" align="center" valign="middle">  <a href="javascript:void(0);" onclick="javascript:uvelUmen('+b+');" class="'+c+'"></a></td>'}c=16;12>c&&(c=12);for(var e=menBstrn.length,d=[],b=0;b<e;b++)d[b]='<option value="'+menBstrn[b][1]+'" '+(0==b?"selected":"")+">"+menBstrn[b][0]+"</option>";return'<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:16px;">   <tr>     <td width="30" height="30" align="center" valign="middle"><a href="javascript:void(0);" onclick="javascript:uvelUmen(\'um\');" class="nastr_min"> </a></td>     <td height="30" align="center" valign="middle">&nbsp;</td>'+
a.join("")+'     <td height="30" align="center" valign="middle">&nbsp;</td>     <td width="30" height="30" align="center" valign="middle"><a href="javascript:void(0);" onclick="javascript:uvelUmen(\'uv\');" class="nastr_plus"> </a></td>   </tr> </table><select onchange="uvelUmen(this.value);" style="font-size:'+c+'px;">'+d.join("")+"</select>"}
function uvelUmen(a){"uv"==a?kof=(25*kof+1)/25:"um"==a?kof=(25*kof-1)/25:"net"!=a&&(kof="std"==a?1:"mal"==a?.5:"bol"==a?1.5:"obo"==a?15:"vis"==a?1*document.documentElement.clientHeight/680:"sir"==a?1*document.documentElement.clientWidth/(sst[0]+10):a/25);.04>kof&&(kof=.04);createCookie(id_kof,kof,365);korpusCalcul()}function knNzt(a){document.getElementById("nmr_"+a).className=mdt[a][7]+"_nz"}function knOtp(a){document.getElementById("nmr_"+a).className=mdt[a][7]+"_nv";osnRbtFn(a)}
function knNav(a){document.getElementById("nmr_"+a).className=mdt[a][7]+"_nv"}function knUs(a){document.getElementById("nmr_"+a).className=mdt[a][7]}document.onkeydown=showKey;document.onkeyup=showKey;
function showKey(a){a=a||window.event;var b=a.keyCode;if("keydown"==a.type&&8==b)return!1;for(var c="net",e=mdnk.length,d=0;d<e;d++)mdnk[d][0]==b&&(c=mdnk[d][1]);"net"!=c&&("keyup"==a.type?(osnRbtFn(c),document.getElementById("nmr_"+c).className=mdt[c][7]+""):document.getElementById("nmr_"+c).className=mdt[c][7]+"_nz")};

</script>

</table>

</div>




</body>
</html>


0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets