  function f() { window.open('', 'foto', 'toolbar=no, menubar=no, scrollbars=yes, height=400, width=500, top=0; left=0'); }

/* USE WORDWRAP AND MAXIMIZE THE WINDOW TO SEE THIS FILE
========================================
 V-NewsTicker v2.0
 License : Freeware (Enjoy it!)
 (c)2003 VASIL DINKOV- PLOVDIV, BULGARIA
========================================
 For IE4+, NS4+ & Opera5+
========================================
 Get the NewsTicker script at:
 http://www.smartmenus.org/other.php
 and don't wait to get the Great SmartMenus script at:
 http://www.smartmenus.org
 LEAVE THESE NOTES PLEASE - delete the comments if you want */

// BUG in Opera:
// If you want to be able to control the body margins
// put the script right after the BODY tag, not in the HEAD!!!

// === 1 === FONT, COLORS, EXTRAS...
v_font='tahoma,verdana,arial,sans-serif';
v_fontSize='11px';
v_fontSizeNS4='11px';
v_fontWeight='normal';
v_fontColor='#333333';
v_textDecoration='none';
v_fontColorHover='#cc0000';//		| won't work
v_textDecorationHover='bold';//	| in Netscape4
v_bgColor='transparent';//set [='transparent'] for transparent#DEDFF6
v_top=0;//	|
v_left=0;//	| defining
v_width=320;//	| the box
v_height=120;//	|
v_paddingTop=1;
v_paddingLeft=1;
v_position='relative';//absolute or relative
v_timeout=2500;//1000 = 1 second
v_slideSpeed=30;
v_slideDirection=0;//0=down-up;1=up-down
v_pauseOnMouseOver=true;

//['','<table bgcolor=#000000 width=760 height=140 cellspacing=0 cellpadding=0 border=0><tr>'+
//'<td width=60 align=center valign=top style="padding: 3pt;"><font class=error><div align=left>27 XI</div> &nbsp;<br>17:00 <br>&nbsp;<div align=right> zagraj±:</div></font></td>' +
//'<td align=center width=350><img height=120 border=0 src="./img/ban/konc/ban_wilki_g.gif"></td><td width=350 align=center>' +
//'<img width=300 border=0 src="./img/ban/konc/ban_wilki_d.gif"><br>&nbsp;<br><span class=data>Koncert odbędzie się w sali kina Etiuda<br>Bilety w cenie <b>35</b>zł do nabycia w sklepie Fono Foto (Al. 3-go Maja 6)<br> i Klubie Perspektywy (tel. 265 43 80). <a href="/?b=mr&b1=konc">Więcej</a></span></td></tr></table>',''],

// === 2 === THE CONTENT - ['href','text','target']
v_content=[


['','<span class=tytul>Sztab miejski:</span><br>&nbsp;<span class=cright>'+
	'<center>W dniu finału Sztab (<font color=ff0000><b>ODK ul. Wspólna</b></font>)<br> przyjmuje wolontariuszy w godz. 12:00-17:00,<br> na których czekać będzie ciepły posiłek i herbata.<br><img src="gfx/0.gif" width=1 height=5><br>'+
	'Do Sztabu mog± zgłaszać się również mieszkańcy,<br> chc±cy przekazać unikatowe przedmioty na licytację.</span></center>', ''],

['','<img src="gfx/0.gif" width=1 height=5><br><img align=left src="http://www.infonetsc.pl/gfx/loga8_sm.jpg" width=99 height=99 border=0><span class=tytul>Wydawca serwisu:</span><br>&nbsp;<br><span class=cright>'+
	'<center><a href="http://www.infonetsc.pl" target=_blank><b>InfoNetsc.pl</b><br>&nbsp;<br>Komputery Internet Multimedia<br><br>ul. Trzeciaków 35A, Ostrowiec</a></center></span>', '']

];

	function v_get(a){return v_iE?document.all[a].style:v_nS4?document.layers[a]:document.getElementById(a).style};
	function v_getOS(a){return v_iE?document.all[a].style:v_nS4?document.layers[a]:document.getElementById(a).style};
	function v_getxOS(a){return v_iE?document.all[a]:v_nS4?document.layers[a]:document.getElementById(a)};
	function rand(min,max) { return (Math.round((max-min) * Math.random() + min));	}

// THE SERIOUS SCRIPT - PLEASE DO NOT TOUCH
v_ua=navigator.userAgent;
v_nS4=document.layers?1:0;
v_iE=document.all&&!window.innerWidth&&v_ua.indexOf("MSIE")!=-1?1:0;
v_oP=v_ua.indexOf("Opera")!=-1&&document.clear?1:0;
v_oP4=v_ua.indexOf("Opera")!=-1&&!document.clear;
v_kN=v_ua.indexOf("Konqueror")!=-1&&parseFloat(v_ua.substring(v_ua.indexOf("Konqueror/")+10))<3.1?1:0;
v_count=v_content.length;
v_s1=1;
v_cur=1;
v_cl=0;
v_d=v_slideDirection?-1:1;
v_TIM=0;
v_fontSize2=v_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?v_fontSizeNS4:v_fontSize;
v_canPause=0;

var cF;

function v_start(){
	var o=v_getOS('v_1');
	if(!o) return;
	if(v_iE||v_oP) 
	{ 
		if(o.pixelTop==v_paddingTop) 
		{	v_canPause=1;
			if(v_count>1) v_TIM=setTimeout("v_canPause=0;v_slide()",v_timeout);
			return
		};
		o.pixelTop-=v_d;
		if(v_oP&&o.visibility.toLowerCase()!='visible')o.visibility='visible';
		setTimeout("v_start()",v_slideSpeed);
		return
	};
	if(parseInt(o.top)==v_paddingTop)
	{
		v_canPause=1;
		if(v_count>1) v_TIM=setTimeout("v_canPause=0;v_slide()",v_timeout);
		return
	};
	o.top=parseInt(o.top)-v_d;
	setTimeout("v_start()",v_slideSpeed)
};

function v_slide() {
	var o=v_getOS('v_'+v_cur);
	var o2=v_getOS('v_'+(v_cur<v_count?v_cur+1:1));
	if(!o||!o2) return;

	if(v_iE||v_oP)
	{
		if(o.pixelTop==v_paddingTop*2-v_height*v_d)
		{
			if(v_oP) o.visibility='hidden';
			o.pixelTop=v_height*v_d;
			v_cur=v_cur<v_count?v_cur+1:1;
			v_canPause=1;
			v_TIM=setTimeout("v_canPause=0;v_slide()",v_timeout);
			return
		};
		o.pixelTop-=v_d;
		if(v_oP&&o2.visibility.toLowerCase()!='visible') o2.visibility='visible';
		o2.pixelTop-=v_d;
		setTimeout("v_slide()",v_slideSpeed);
		return
	};

	if(parseInt(o.top)==v_paddingTop*2-v_height*v_d)
	{
		o.top=v_height*v_d;
		v_cur=v_cur<v_count?v_cur+1:1;
		v_canPause=1;
		v_TIM=setTimeout("v_canPause=0;v_slide()",v_timeout);
		return
	};
	o.top=parseInt(o.top)-v_d;
	o2.top=parseInt(o2.top)-v_d;
	setTimeout("v_slide()",v_slideSpeed)
};

function fotoTC(data, dest)
{
	dest.innerHTML=''+data+'';
}

function fotoTEC(info)
{ }

function AR(url, info, callbackFunction, callbackFunctionError, dest) 
{ 
	var http = null; var cbFunction = callbackFunction; var cbFunctionError = callbackFunctionError; var addInfo = info; 
	function StateChange() 
	{ 
		if (http.readyState == 4) 
		{	if (http.status != 200) 
			{ if (cbFunctionError != null) { cbFunctionError(addInfo); } 
			  delete http; 
			} 
			else 
			{ 
				cbFunction(http.responseText, dest); 
			} 
		} 
	}

	if (window.XMLHttpRequest) 
	{	http = new XMLHttpRequest(); } 
	else if (window.ActiveXObject) 
		 { 
			try { http = new ActiveXObject("Msxml2.XMLHTTP"); } 
			catch (e) { try { http = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { http = false; } }
		} 
	if (!http) { alert('Blad podczas polaczenia.');return false; }; 
	http.onreadystatechange = StateChange; 
	http.open('GET', url, true); 
	http.send(null); 
} 



function loadFoto(gal, skip, ilef)
{
	cF=v_getxOS("cFotkiabc");
	if (!cF) return;
	AR('/_get.php?lid=loadFoto&skip='+skip+'&ilef='+ilef+'&gal='+gal+'&time=123', 'load', fotoTC, fotoTEC, cF); 
}
