//:: /typo3conf/ext/sfptemplate/files/defaultdomain/js/cb/cb.js
//===============================================================
var cbb={init:function(){if(!document.getElementById||!document.createElement||!document.appendChild)return false;var oElement,oOuter,oI1,oI2,tempId;var arrElements=document.getElementsByTagName('*');var oRegExp=new RegExp("(^|\\s)cbb(\\s|$)");for(var i=0;i<arrElements.length;i++){oElement=arrElements[i];if(oRegExp.test(oElement.className)){oOuter=document.createElement('div');oOuter.className=oElement.className.replace(oRegExp,'$1cb$2');if(oElement.getAttribute("id")){tempId=oElement.id;oElement.removeAttribute('id');oOuter.setAttribute('id','');oOuter.id=tempId;}
oElement.className='i3';oElement.parentNode.replaceChild(oOuter,oElement);oI1=document.createElement('div');oI1.className='i1';oOuter.appendChild(oI1);oI2=document.createElement('div');oI2.className='i2';oI1.appendChild(oI2);oI2.appendChild(oElement);cbb.insertTop(oOuter);cbb.insertBottom(oOuter);}}},insertTop:function(obj){var oOuter,oInner;oOuter=document.createElement("div");oOuter.className="bt";oInner=document.createElement("div");oOuter.appendChild(oInner);obj.insertBefore(oOuter,obj.firstChild);},insertBottom:function(obj){var oOuter,oInner;oOuter=document.createElement("div");oOuter.className="bb";oInner=document.createElement("div");oOuter.appendChild(oInner);obj.appendChild(oOuter);},addEvent:function(obj,type,fn){if(obj.addEventListener)
obj.addEventListener(type,fn,false);else if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event);}
obj.attachEvent("on"+type,obj[type+fn]);}}};cbb.addEvent(window,'load',cbb.init);

//:: /typo3conf/ext/sfptemplate/files/global/js/tabnavigation.js
//===============================================================
window.addEvent('load',function(){$$('.tabnavigation_bounding').each(function(item,index){var header=new Element('div',{'class':'tabnavigation_header'});header.inject(item,'top');item.removeClass('tabnavigation_bounding');item.addClass('tabnavigation_bounding_js');});$$('.tabnavigation_title').each(function(item,index){item.addEvent('click',function(){var bounding_container=this.getParents('.tabnavigation_bounding_js')[0];bounding_container.getElements('.tabnavigation_title').each(function(item,index){item.removeClass('open');});bounding_container.getElements('.tabnavigation_content').each(function(item,index){item.removeClass('open');});this.addClass('open');var titleelements=bounding_container.getElements('.tabnavigation_title');index=titleelements.indexOf(item);bounding_container.getElements('.tabnavigation_content')[index].addClass('open');return false;});titlecontainer=item.getParents('.tabnavigation_bounding_js')[0].getChildren('.tabnavigation_header')[0];titleelement=item.dispose();titleelement.inject(titlecontainer,'bottom');});});

