     jQuery.noConflict();
     jQuery(document).ready(function($){
     	$("span.openguestbook").click(function() {
			$('form.a63-form').show();
											   });
     });
	 
	 

Behaviour.addLoadEvent 
(	function()
	{   //CSS für Javascript
	
	}
);

var Rules = {	
	'.extern' : function(el)
	{	el.onclick = function()
		{    this.setAttribute('target','_blank');
		}
	}
	,
	'.openguestbook' : function(el)
	{	el.onclick = function()
		{    $('.a63-form').show();
		}
	}
	,
	'a' : function(el)
	{	el.onmouseover = function()
		{   //PDFs im neuen Fenster
			x=this.href;
			x=x.split('.');
			
			for (i=0;i<x.length;i++)
			{	if (x[i]=="pdf")
				{	this.setAttribute('target','_blank');
				}
			}
		}
	}
	
	
};

Behaviour.register(Rules);


