<script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=UA-133964763-1"></script>
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-133964763-1');
</script>
<script type="text/javascript" src="/media/jui/js/jquery.min.js"></script>
pk.edu.pl is using jquery
<script type="text/javascript" src="/media/jui/js/jquery-noconflict.js"></script>
pk.edu.pl is using jquery
<script type="text/javascript" src="/media/jui/js/jquery-migrate.min.js"></script>
pk.edu.pl is using jquery
<script type="text/javascript" src="/media/system/js/caption.js"></script>
<script type="text/javascript" src="/media/jui/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/media/system/js/mootools-core.js"></script>
<script type="text/javascript" src="/media/system/js/core.js"></script>
<script type="text/javascript" src="/plugins/system/screenreader/screenreader/languages/pl-PL.js"></script>
<script type="text/javascript" src="/plugins/system/screenreader/screenreader/libraries/tts/soundmanager/soundmanager2.js"></script>
<script type="text/javascript" src="/plugins/system/screenreader/screenreader/libraries/tts/tts.js"></script>
<script type="text/javascript" src="/plugins/system/screenreader/screenreader/libraries/controller/controller.js"></script>
<script type="text/javascript" src="/plugins/system/mediabox_ck/assets/mediaboxck.min.js"></script>
<script type="text/javascript" src="templates/pk***-tpl/js/template.js"></script>
<script type="text/javascript" src="/media/system/js/html5fallback.js"></script>
<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
function info_cookie(){
var exdays = 60;
var exdate=new Date();
exdate.setDate(exdate.getDate() + exdays);
do***ent.cookie = 'info_cookie=1;
expires='+exdate.toUTCString();
do***ent.getElementById('panel_cookie_dol').style.display='none';
}
window.addEvent('load', function() {
var cookies = do***ent.cookie.split(';
');
if(!cookies.length)
do***ent.getElementById('panel_cookie_dol').style.display='none';
});
window.soundManager.url = 'https://www.pk.edu.pl/plugins/system/screenreader/screenreader/libraries/tts/soundmanager/swf/';
window.soundManager.debugMode = false;
window.soundManager.defaultOptions.volume = 80;
var screenReaderConfigOptions = { baseURI: 'https://www.pk.edu.pl/',
token: '0a5779157f774a04f509448fe7798ee3',
langCode: 'pl',
chunkLength: 100,
screenReaderVolume: '80',
position: 'bottomright',
scrolling: 'fixed',
targetAppendto: 'html',
targetAppendMode: 'bottom',
preload: 0,
autoBackgroundColor: 0,
readPage: 1,
readChildNodes: 1,
ieHighContrast: 1,
ieHighContrastAdvanced: 1,
gtranslateIntegration: 0,
excludeScripts: 1,
readImages: 0,
readImagesAttribute: 'alt',
readImagesOrdering: 'before',
mainpageSelector: '*[name*=main], *[class*=main], *[id*=main], *[id*=container], *[class*=container]',
showlabel: 0,
screenreader: 1,
highcontrast: 1,
highcontrastAlternate: 1,
colorHue: 90,
colorBrightness: 4,
dyslexicFont: 1,
fontsize: 1,
fontsizeDefault: 80,
fontsizeMin: 20,
fontsizeMax: 200,
fontsizeSelector: 'li, h0, h1, h2, h3, h4, span, p, table, input, body',
fontSizeOverride: 1,
fontSizeHeadersIncrement: 20,
toolbarBgcolor: '#eeeeee',
template: 'elegant.css',
accesskey_play: 'P',
accesskey_pause: 'E',
accesskey_stop: 'S',
accesskey_increase: 'O',
accesskey_decrease: 'U',
accesskey_reset: 'R',
accesskey_highcontrast: 'H',
accesskey_highcontrast2: 'J',
accesskey_highcontrast3: 'K',
accesskey_dyslexic: 'D',
accesskey_skiptocontents: 'C',
accesskey_minimized: 'L',
readerEngine: 'proxy',
useMobileReaderEngine: 0,
mobileReaderEngine: 'proxy',
hideOnMobile: 0,
useMinimizedToolbar: 0,
showSkipToContents: 1,
skipToContentsSelector: '#content',
removeLinksTarget: 0
};
Mediabox.scanPage = function() {
var links = jQuery('a').filter(function(i) {
if ( jQuery(this).attr('rel')
&& jQuery(this).attr('mediaboxck_done') != '1') {
var patt = new RegExp(/^lightbox/i);
return patt.test(jQuery(this).attr('rel'));
}
});
if (! links.length) return;
links.mediabox({
overlayOpacity : 0.75,
resizeOpening : 1,
resizeDuration : 240,
initialWidth : 320,
initialHeight : ***0,
defaultWidth : 640,
defaultHeight : 360,
showCaption : 1,
showCounter : 1,
loop : 0,
isMobileEnable: 1,
// mobileDetection: 'resolution',
isMobile: false,
mobileResolution: '640',
attribType : 'rel',
showToolbar : '0',
diapoTime : '3000',
diapoAutoplay : '0',
medialoop : false,
playerpath: '/plugins/system/mediabox_ck/assets/NonverBlaster.swf'
}, null, function(curlink, el) {
var rel0 = curlink.rel.replace(/[[]|]/gi," ");
var relsize = rel0.split(" ");
return (curlink == el) || ((curlink.rel.length > 8) && el.rel.match(relsize[1]));
});
};
jQuery(do***ent).ready(function(){ Mediabox.scanPage();
});
</script>
<script type="text/javascript">
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;
n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;
n.push=n;
n.loaded=!0;
n.version='2.0';
n.queue=[];
t=b.createElement(e);
t.async=!0;
t.src=v;
s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, do***ent,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '422703395192574');
fbq('track', 'PageView');
</script>
<script type="text/javascript">
jQuery.noConflict();
function slideSwitch() {
$active = jQuery(".maintop").find('.active')
$next = $active.next();
if( $next.length == 0 ) {
$next = $active.parent().find('.item').first()
}
$next.show();
$next.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.css('display','none');
$active.removeClass('active')
$next.addClass('active');
}
function flashSwitch() {
$active = jQuery(".topnews").find('.active');
$next = $active.next();
if( $next.length == 0 ) {
$next = $active.parent().find('.item').first()
}
$next.show();
$next.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.removeClass('active')
$next.addClass('active');
$bactive = jQuery(".topnews").find('.bactive');
$nextBactive = $bactive.next();
if( $nextBactive.length == 0 ) {
$nextBactive = $bactive.parent().find('.bullet').first()
}
$bactive.removeClass('bactive');
$nextBactive.addClass('bactive');
}
(function($) {
jQuery(".submenu1").mouseenter(
function () {
$(this).find('.img').addClass('active')
$(this).find('.img').removeClass('inactive')
});
jQuery(".submenu1").mouseleave(
function () {
$(this).find('.img').addClass('inactive')
$(this).find('.img').removeClass('active')
});
jQuery(".submenu2").mouseenter(
function () {
$(this).find('.img').addClass('active')
$(this).find('.img').removeClass('inactive')
});
jQuery(".submenu2").mouseleave(
function () {
$(this).find('.img').addClass('inactive')
$(this).find('.img').removeClass('active')
});
jQuery(".submenu3").mouseenter(
function () {
$(this).find('.img').addClass('active')
$(this).find('.img').removeClass('inactive')
});
jQuery(".submenu3").mouseleave(
function () {
$(this).find('.img').addClass('inactive')
$(this).find('.img').removeClass('active')
});
jQuery(".submenu4").mouseenter(
function () {
$(this).find('.img').addClass('active')
$(this).find('.img').removeClass('inactive')
});
jQuery(".submenu4").mouseleave(
function () {
$(this).find('.img').addClass('inactive')
$(this).find('.img').removeClass('active')
});
var $timer = null;
$timer = setInterval( "slideSwitch()", 4000 );
var $flashTimer = null;
$flashTimer = setInterval( "flashSwitch()", 4000 );
jQuery(".arrowLeft").click(
function () {
clearInterval($timer);
$active = jQuery(".maintop").find('.active')
$prev = $active.prev();
if( $prev.length == 0 ) {
$prev = $active.parent().find('.item').last()
}
$prev.show();
$prev.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.css('display','none');
$active.removeClass('active')
$prev.addClass('active');
$timer = setInterval( "slideSwitch()", 4000 );
});
jQuery(".arrowRight").click(
function () {
clearInterval($timer);
$active = jQuery(".maintop").find('.active')
$next = $active.next();
if( $next.length == 0 ) {
$next = $active.parent().find('.item').first()
}
$next.show();
$next.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.css('display','none');
$active.removeClass('active')
$next.addClass('active');
$timer = setInterval( "slideSwitch()", 4000 );
});
jQuery('.topnews .item:first').addClass('active');
jQuery('.topnews .bullet:first').addClass('bactive');
jQuery( ".bullets .bullet:eq(0)" ).click(
function () {
if (! $(this).hasClass('bactive')) {
clearInterval($flashTimer);
$active = jQuery(".topnews").find('.active')
$next = $active.parent().find('.item').first()
$next.show();
$next.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.removeClass('active')
$next.addClass('active');
jQuery(".topnews").find('.bactive').removeClass('bactive');
$(this).addClass('bactive');
$flashTimer = setInterval( "flashSwitch()", 4000 );
}
});
jQuery( ".bullets .bullet:eq(1)" ).click(
function () {
if (! $(this).hasClass('bactive')) {
clearInterval($flashTimer);
$active = jQuery(".topnews").find('.active')
$next = $active.parent().find('.item').eq(1)
$next.show();
$next.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.removeClass('active')
$next.addClass('active');
jQuery(".topnews").find('.bactive').removeClass('bactive');
$(this).addClass('bactive');
$flashTimer = setInterval( "flashSwitch()", 4000 );
}
});
jQuery( ".bullets .bullet:eq(2)" ).click(
function () {
if (! $(this).hasClass('bactive')) {
clearInterval($flashTimer);
$active = jQuery(".topnews").find('.active')
$next = $active.parent().find('.item').last()
$next.show();
$next.animate({"opacity": "1"}, "slow");
$active.animate({"opacity": "0"}, "slow");
$active.removeClass('active')
$next.addClass('active');
jQuery(".topnews").find('.bactive').removeClass('bactive');
$(this).addClass('bactive');
$flashTimer = setInterval( "flashSwitch()", 4000 );
}
});
jQuery(".items-row:gt(3)").css('display', 'none');
jQuery(".pagination .pageId:eq(0)").addClass('active');
jQuery( ".pagination .pageId" ).click(
function () {
if (! $(this).hasClass('active')) {
jQuery(".contentSmall .pagination").find('.active').removeClass('active');
$(this).addClass('active');
}
var firstItemId = jQuery('.pageId').index(this) * 4-1;
var lastItemId = firstItemId + 4;
jQuery(".items-row").css('display', 'none');
if (firstItemId < 0) {
jQuery(".items-row:lt(4)").css('display', 'block');
} else {
jQuery(".items-row:gt("+firstItemId+"):lt("+lastItemId+")").css('display', 'block');
}
});
jQuery(".pk-main-news .page:gt(0)").css('display', 'none');
jQuery(".pk-main-news .pagination .pageId:eq(0)").addClass('active');
jQuery(".pk-main-news .pagination .pageId" ).click(
function () {
if (! $(this).hasClass('active')) {
jQuery(".pk-main-news .pagination").find('.active').removeClass('active');
$(this).addClass('active');
}
var firstItemId = jQuery('.pageId').index(this)-1;
var lastItemId = firstItemId + 1;
jQuery(".pk-main-news .page").css('display', 'none');
if (firstItemId < 0) {
jQuery(".pk-main-news .page:lt(1)").css('display', 'block');
} else {
jQuery(".pk-main-news .page:eq("+lastItemId+")").css('display', 'block');
}
});
})(jQuery);
</script>