function ShowBanner(zoneId, siteId, width, height)
{
	var browName = navigator.appName;
	var browDateTime = (new Date()).getTime();
	var browVersion = parseInt(navigator.appVersion);
	var ua=navigator.userAgent.toLowerCase();
	var adcode='';
	if (browName=='Netscape'){
	     if (browVersion>=5)
	          { document.write('<ifr'+'ame src="http://ad.netmedia.hr/ad.aspx?ZoneID='+zoneId+'&Task=Get&Browser=NETSCAPE6&SiteID='+siteId+'&X=' + browDateTime + '" width='+width+' height='+height+' Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No></ifr'+'ame>'); }
	     else if ((browVersion>=4)&&(ua.indexOf("mac")==-1))
	          { document.write('<S'+'CRIPT src="http://ad.netmedia.hr/ad.aspx?ZoneID='+zoneId+'&Task=Get&Browser=NETSCAPE4&SiteID='+siteId+'">');
	          document.write('</'+'scr'+'ipt>');
	          document.write(adcode); }
	     else if (browVersion>=3)
	          { document.write('<A HREF="http://ad.netmedia.hr/ad.aspx?ZoneID='+zoneId+'&Task=Click&Mode=HTML&SiteID='+siteId+'&PageID=' + browDateTime + '&RandomNumber=' + browDateTime + '" target="_new"><IMG SRC="http://ad.netmedia.hr/ad.aspx?ZoneID='+zoneId+'&Task=Get&Mode=HTML&SiteID='+siteId+'&PageID=' + browDateTime + '&RandomNumber=' + browDateTime + '" width="'+width+'" height="'+height+'" border="0"></A>'); } }
	if (browName=='Microsoft Internet Explorer')
	     { document.write('<ifr'+'ame src="http://ad.netmedia.hr/ad.aspx?ZoneID='+zoneId+'&Task=Get&SiteID='+siteId+'&X=' + browDateTime + '" width='+width+' height='+height+' Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No></ifr'+'ame>'); }
}