function hideDIV(item) {	document.getElementById(item).style.display='none';		}function showDIV(item){	document.getElementById(item).style.display='block';					      }//function resizeIframe(x){try{x.scrolling='no',x.style.height=x.contentWindow.document.body.scrollHeight+30+'px'}catch(x){}}function resizeIframe(x){try{x.scrolling='no',x.style.height=x.contentWindow.document.body.offsetHeight+60+'px'}catch(x){}}/** * @author Sławomir Kokłowski {@link http://www.kurshtml.boo.pl} * @copyright NIE usuwaj tego komentarza! (Do NOT remove this comment!) */// Domyślny identyfikator IFRAME:var autoiframe_id = 'autoiframe';// Domyślny dolny margines:var autoiframe_margin = 50;var autoiframe_timer = null;function autoiframe(id, margin){	if (parent != self && document.body && document.body.offsetHeight && document.body.scrollHeight)	{		clearTimeout(autoiframe_timer)		if (typeof id != 'undefined' && id) autoiframe_id = id;		parent.document.getElementById(autoiframe_id).height = 1;		autoiframe_timer = setTimeout("parent.document.getElementById(autoiframe_id).height = Math.max(document.body.offsetHeight, document.body.scrollHeight) + " + (typeof margin == 'undefined' || isNaN(parseInt(margin)) ? autoiframe_margin : parseInt(margin)), 1);	}}if (window.addEventListener) window.addEventListener('load', function() { autoiframe(); }, false);else if (window.attachEvent) window.attachEvent('onload', function() { autoiframe(); });
