function insertFlashMovie(nazwa, width, height, wmode){
	
	document.write('<script type="text/javascript">');
	document.write('AC_FL_RunContent( \'codebase\',\'http://download.macromedia.com/pub/shockwave/cabs/swflash.cab#version=8,0,0,0\',\'width\',\'' + width + '\',\'height\',\'' + height + '\',\'src\',\''+nazwa +'\',\'quality\',\'high\',\'pluginspage\',\'http://www.macromedia.com/go/getflashplayer\',\'wmode\',\'' + wmode + '\',\'movie\',\''+ nazwa +'\' );');
	
	document.write('</script><noscript>');
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + width + '" height="' + height + '">');
	
	document.write('<param name="movie" value="'+ nazwa + '.swf" />');
	document.write(' <param name="quality" value="high" />');
	document.write('<param name="wmode" value="' + wmode + '" />');
	document.write('<embed src="'+ nazwa + '.swf" width="' + width + '" height="' + height + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="' + wmode + '"></embed>');
	document.write('</object></noscript>');
	
	/*document.write('HALO');*/
	
	return true;

}


function divtip(e,v,name){
 var top=document.documentElement.scrollTop;
  if(v.title){
    var t=document.createElement("div");
    t.className="divtip";
    t.innerHTML=v.title;
    v.title="";
    v.move=function(e){
      e=e||event;
      t.style.left=e.clientX+20+"px";
      t.style.top=e.clientY+20+top+"px";
    }
    v.move(e);
    document.body.appendChild(t);
    v.style.cursor="pointer";
    v.onmousemove=function(e){v.move(e)}
    v.onmouseout=function(e){
      v.title=t.innerHTML;
      v.className=name;
      document.body.removeChild(t);
      
      
    }
  }
}


function showtrail(file)
{
	if(navigator.userAgent.toLowerCase().indexOf('opera') == -1)
	{
		// followmouse()
		document.getElementById('ttimg').src=file
		document.onmousemove=followmouse
		gettrailobj().visibility="visible"
		gettrailobj().width="auto"
		gettrailobj().height="auto"
		w=document.getElementById('ttimg').width;
		h=document.getElementById('ttimg').height;
	}
}

   
function hidetrail()
{
	document.onmousemove=""
	document.getElementById('ttimg').src='/img/s.gif'
	gettrailobj().visibility="hidden"
	gettrailobj().left=-1000
	gettrailobj().top=0
}

 
 


