function buildbanner(id) {
	if (!document.phpAds_used) document.phpAds_used = ',';
	   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
	   
	   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
	   document.write ("http://banner.bag.ch/adjs.php?n=" + phpAds_random);
	   document.write ("&amp;what=zone:" + id + "");
	   document.write ("&amp;exclude=" + document.phpAds_used);
	if (document.referrer)
	   document.write ("&amp;referer=" + escape(document.referrer));
	   document.write ("'><" + "/script>");
}
