window.onload=function(){
	outLinks();
}
Proj={
	gallery:function(o){
		return p(o.href,'datenblatt',675,625,'scrollbars=1');
	},
	popup:function(o){
		return p(o.href,'popup',630,600,'scrollbars=1');
	},
	appendPostcard:function(src,w,h,link,parent_obj){
		if(src!=""){
			if(!parent_obj){parent_obj=document.getElementById("container")?document.getElementById("container"):document.getElementsByTagName("BODY")[0]}
			if(!this.aPostcard){
				this.aPostcard=document.createElement("IMG");
				this.aPostcard.id="dPOSTCARD";
			}
			this.aPostcard.style.width=w+"px";
			this.aPostcard.style.height=h+"px";
			this.aPostcard.src=src;
			if(link){
				this.postcardLink=document.createElement("A");
				this.postcardLink.href=link;
				this.postcardLink.appendChild(this.aPostcard);
				parent_obj.appendChild(this.postcardLink);
			}else{
				parent_obj.appendChild(this.aPostcard);
			}
		}
	},
	tipp:function(o){
		var target=$$(".polytext div.box.tipp."+o.href.split("#")[1])[0]
		$(target).setStyle({display:'block'});
		o.blur();
		return false
	},
	vcard:function(o){
		var vcard=$(o).ancestors()[1];
		$(vcard).childElements()[2].setStyle({display:'block'});
		$(o).addClassName("pas");
		$(o).onclick=function(){return false};
		$(o).blur();
		return false
	}
};