function rollover_ini() {
	rollovers = new Array();
	var img=document.body.getElementsByTagName('img');
	for(var i=0; i<img.length; i++) {
		if(img[i].className=='rollover') {
			img[i].src.match(/(.*)\.([a-z0-9]+)$/i);
			var src_act=RegExp.$1+'_act.'+RegExp.$2;
			rollovers[i]=document.createElement('img');
			rollovers[i].src=src_act;
			img[i].alt=src_act;
			img[i].onmouseover = function () {
				var buff= new String(this.src);
				this.src=this.alt;
				this.alt=buff; 	
			}
			
			img[i].onmouseout = function () {
				var buff= new String(this.src);
				this.src=this.alt; 
				this.alt=buff;	
			}
			
			
		}
	}
}

function Init() {
	rollover_ini();
}

function pokaz(_SRC, _WIDTH, _HEIGHT)
{
var special='toolbar=no, top=20, left=20 resizable=no, menubar=no, height=' + (_HEIGHT + 30) + ', width=' + (_WIDTH + 20);
window.open(_SRC,'',special);
}

function putFlashHere( sPath, iWidth, iHeight, sID) {
with (document) {
write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="../download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0/#version=5,0,0,0/default.htm" width="'+iWidth+'" height="'+iHeight+'" id="'+sID+'">');
write('  <param name="movie" value="'+sPath+'" />');
write('  <param name="quality" value="best" />');
write('  <param name="wmode" value="transparent" />');
write('  <param name="menu" value="false" />');
write('  <embed src="'+sPath+'" quality="best" wmode="transparent" menu="false" width="'+iWidth+'" height="'+iHeight+'" swLiveConnect=true name="'+sID+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="../www.macromedia.com/go/getflashplayer" />');
write('</object>');
}
}
