/*
** System Partnerski Bankier.pl
**
** https://www.systempartnerski.pl
**
** Kod: RBQNNIJdk8opLBkQIJj
** 
*/

document.write('');
document.write('<style type="text/css">#kalkulator a{color:#1A2A78;text-decoration:none;}');
document.write('#kalkulator a:hover{color: #3d4d9b;text-decoration:underline;}');
document.write('#kalkulator{width:100%;max-width: 960px;}');
document.write('div.calc{');
document.write('    border: 3px solid #DADADA; border-radius: 8px;margin: 20px;overflow: hidden !important;padding: 5px 0 15px;');
document.write('    position: relative;color: #333333;font-family: Arial,sans-serif;font-size: 16px;line-height: 150%;');
document.write('    float:left;width:100%;color:#444444;font-family:Tahoma;font-size:15px;line-height:20px;}');
document.write('#kalkulator .calc .content {font-size: 17px;padding:0 20px 0;position: relative;}');
document.write('#kalkulator .calc th {');
document.write('    font-weight: normal;');
document.write('    padding: 5px 10px 5px 0;');
document.write('    text-align: right;');
document.write('    width:60%;');
document.write('}');
document.write('#kalkulator .calc td {');
document.write('    min-width: 180px;');
document.write('    padding: 5px;');
document.write('    width:40%;');
document.write('}');
document.write('select {');
document.write('    width: 161px;');
document.write('    font-size: 15px;');
document.write('    vertical-align: middle;');
document.write('}');
document.write('input#id_amount, input#id_value, input#id_period, input#id_age {');
document.write('    width: 155px;');
document.write('    font-size: 15px;');
document.write('    vertical-align: middle;');
document.write('}');
document.write('table.kredyty{');
document.write('    width:100%;');
document.write('    padding:0;');
document.write('    border-spacing:0;');
document.write('}');
document.write('input.submit{');
document.write('    float:right;');
document.write('    padding: 0 10px;');
document.write('    font-size: 15px;');
document.write('}');
document.write('#kalkulator .calc tr.last th{');
document.write('    text-align:left;');
document.write('    font-size:14px;');
document.write('    color:#333;');
document.write('}');
document.write('#kalkulator .calc .content .lead{');
document.write('    margin-bottom:10px;');
document.write('    color:#006699;');
document.write('    color:#336699;');
document.write('    outline:none;');
document.write('    text-decoration:none;');
document.write('    font-family:Arial;');
document.write('    font-size:14px;');
document.write('    font-weight:bold;');
document.write('    ');
document.write('}');
document.write('#kalkulator .calc .content form table.kredyty label a{');
document.write('    text-decoration:none;');
document.write('}');
document.write('#kalkulator .calc .content form table.kredyty label a:hover{');
document.write('    text-decoration:underline;');
document.write('}');
document.write('#kalkulator .calc .ico_lupa{');
document.write('    display:none;');
document.write('}');
document.write('#kalkulator .calc h1, #kalkulator .calc .ico_lupa h2{');
document.write('    padding:0 20px 0;');
document.write('    color:#184172;');
document.write('    font-family:Arial;');
document.write('    font-size:20px;');
document.write('}');
document.write('a.show_result, p.powered a{');
document.write('    text-decoration:none;');
document.write('    float:right;');
document.write('    font-size:12px;');
document.write('    padding:0 10px;');
document.write('    color: #277A9F;');
document.write('    font-family: Verdana,Arial,sans-serif; ');
document.write('    font-size: 11px;');
document.write('    line-height:30px;');
document.write('    text-decoration:none;');
document.write('    color: #1A2A78;');
document.write('}');
document.write('a.show_result:hover, p.powered a:hover{');
document.write('    text-decoration:underline;');
document.write('    color: #3d4d9b;');
document.write('}');
document.write('#kalkulator #result table tbody tr td.ecommerce a{');
document.write('    color:#2994C7;');
document.write('}');
document.write('#kalkulator #result{');
document.write('    color: #333333;');
document.write('    font-family: Verdana,Geneva,sans-serif;');
document.write('    font-size: 11px;');
document.write('    clear:both;');
document.write('}');
document.write('#kalkulator #result table{');
document.write('    width:100%;');
document.write('    color: #333333;');
document.write('    font-family: Verdana,Geneva,sans-serif;');
document.write('    font-size: 11px;');
document.write('    border: 1px solid #DADADA; ');
document.write('    border-collapse:collapse;');
document.write('}');
document.write('#kalkulator #result table tbody tr th{');
document.write('    color: #333333;');
document.write('    font-size: 11px;');
document.write('    padding: 10px 4px;');
document.write('    text-align: center;');
document.write('    color: #2994C7;');
document.write('    border-width:0 1px;');
document.write('    border-color:#DADADA;');
document.write('    border-style:solid;');
document.write('}');
document.write('#kalkulator #result table tbody tr th a{');
document.write('    color: #333333;');
document.write('    text-decoration:none;');
document.write('    color: #1A2A78;');
document.write('}');
document.write('#kalkulator #result table tbody tr th a:hover{');
document.write('    color: #333333;');
document.write('    text-decoration:underline;');
document.write('    color: #3d4d9b; ');
document.write('    text-decoration: underline;');
document.write('}');
document.write('#kalkulator #result table tbody tr td{');
document.write('    text-align:center;');
document.write('    border: 1px solid #DADADA;');
document.write('}');
document.write('#kalkulator #result table tbody tr td.name{');
document.write('    text-align:left;');
document.write('    padding: 5px 6px;');
document.write('}');
document.write('p.powered{');
document.write('    float:left;');
document.write('    text-align:left;');
document.write('    font-size:10px;');
document.write('    color:#333;');
document.write('    margin:15px 0 0 0;');
document.write('    color: #277A9F;');
document.write('    font-family: Verdana,Arial,sans-serif; ');
document.write('    font-size: 11px;');
document.write('    line-height:30px;');
document.write('}');
document.write('a.show_result{');
document.write('    margin:15px 0 0 0;');
document.write('}       ');
document.write('p.powered a{');
document.write('    padding:0 0 0 5px;');
document.write('} ');
document.write('input.submit{width:180px;background-color: #66a3ff;border: 1px solid #DADADA; border-radius: 3px 0 0 0;');
document.write('    color: #ffffff;cursor: pointer;display: block;font-family: Tahoma;font-size: 15px;font-weight: bold;');
document.write('    height: 34px;line-height: 24px;margin:15px 0 0 0;text-align: center;text-decoration: none;}        ');
document.write('#kalkulator .calc .kredyty th, #kalkulator .calc .kredyty td {');
document.write('    border-bottom: 1px solid #D0EBF9;');
document.write('}');
document.write('#kalkulator .calc .kredyty td {');
document.write('    background:#EEF7FD;');
document.write('    border-top:1px solid #fff;');
document.write('}');
document.write('#kalkulator #result tr.even {');
document.write('    background-color: #EEF7FD;');
document.write('}');
document.write('#kalkulator #result tr.odd {');
document.write('    background-color: #D0EBF9;');
document.write('}</style>');
document.write('   <div id="calc"></div><div id="bplloader" style="text-align: center"><img src="//www.bankier.pl/static/api/data/ajax-loader.gif" style="visibility: none; margin: auto"/></div>');
document.write('	');
document.write('    <script lang="javascript">');
document.write('	var bplcalc = {');
document.write('		dataUrl: \'//api.systempartnerski.pl/kalkulatory/gotowka.js?domain=korzystnykredyt.produktyfinansowe.pl&charset=utf-8&period=60&amount=25000&\',');
document.write('		dataDiv: \'#calc\',');
document.write('		dataDomain: \'https://korzystnykredyt.produktyfinansowe.pl\',');
document.write('		dataName: "utf-8-kg",');
document.write('		loadJSON: function(url){');
document.write('			bplcalc.bjq.getJSON(url+\'callback=?\', function(data){');
document.write('	        	bplcalc.bjq(bplcalc.dataDiv).html(data.calc);');
document.write('	         bplcalc.bjq(\'#bplloader img\').css({\'visibility\': \'hidden\'});	');
document.write('   		if (url != bplcalc.dataUrl) {');
document.write('                  window.location = String(window.location).replace(/\#.*$/, "") + "#result";');
document.write('			} else {');
document.write('			};');
document.write('		 	});');
document.write('		},');
document.write('		openForm: function(formid){');
document.write('         	url = bplcalc.dataDomain+\'/e/lead/\'+formid+\'/label=Widget-Gotowki-\'+bplcalc.dataName+\'/?source=wpkg\';');
document.write('			form = window.open(url, \'\', \'width=800,height=600,status=no,scrollbars=yes\');');
document.write('			form.focus();');
document.write('      	},');
document.write('		calcInit: function(){');
document.write('			bplcalc.bjq=jQuery.noConflict(true);');
document.write('			bplcalc.bjq(document).ready(function() {');
document.write('				bplcalc.loadJSON(bplcalc.dataUrl);');
document.write('			});');
document.write('		},');
document.write('		bjq: false,');
document.write('		submitForm: function(){');
document.write('		bplcalc.bjq(\'#bplloader\').css({\'display\': \'block\'});');
document.write('            bplcalc.bjq(\'#bplloader img\').css({\'visibility\': \'visible\'});');
document.write('            bplcalc.bjq(\'#result\').remove();');
document.write('			   var serial = bplcalc.bjq(bplcalc.dataDiv+\' form\').serialize();');
document.write('			   bplcalc.loadJSON(bplcalc.dataUrl+\'porownanie=1&\'+serial+\'&\');');
document.write('			   return false;');
document.write('		},');
document.write('		load: function(){');
document.write('			   var s = document.getElementsByTagName(\'script\')[0];');
document.write('			   var scriptTag = document.createElement(\'script\');');
document.write('			   scriptTag.type = \'text/javascript\';');
document.write('			   scriptTag.src = \'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js\';');
document.write('			   ');
document.write('			   var done = false;			   ');
document.write('			   scriptTag.onload = scriptTag.onreadystatechange = function(){');
document.write('    			   		 if ( !done && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") ) {');
document.write('        				    done = true;');
document.write('					    bplcalc.calcInit();');
document.write('					    scriptTag.onload = scriptTag.onreadystatechange = null;');
document.write('    					 }');
document.write('			   };');
document.write('			   s.parentNode.insertBefore(scriptTag, s);');
document.write('		}');
document.write('	};');
document.write('	(function() {');
document.write('		bplcalc.load();');
document.write('	})();');
document.write('    </script>');