function bookmarkPage(){
	if (window.sidebar) // for firefox
		window.sidebar.addPanel('Beamtenkredit der Hamburg-Mannheimer Â· 0800-770 80 80', 'http://www.beamtenkapital.de/', "");
	else if(window.opera && window.print){ // for opera
		var elem = document.createElement('a');
		elem.setAttribute('href','http://www.beamtenkapital.de/');
		elem.setAttribute('title','Beamtenkredit der Hamburg-Mannheimer Â· 0800-770 80 80');
		elem.setAttribute('rel','sidebar');
		elem.click();
	} 
	else if(document.all)// for ie
		window.external.AddFavorite('http://www.beamtenkapital.de/','Beamtenkredit der Hamburg-Mannheimer Â· 0800-770 80 80');
}


function printPage() {
if (window.print) {
window.print();
   }
}




function openChild(childUrl,childName,childWidth,childHeight,childLeft,childTop,childStatus,childScrollbars,childLocation,childTollbar,childMenubar) 

{

	var newChild = null;

	if (childLeft=='center') {	

		childPosLeft = Math.floor((screen.width - childWidth) / 2);

		if (childTop=='center'||childTop=='middle')

			childPosTop = Math.floor((screen.height - childHeight) / 2);

    	else if (childTop=='top')

			childPosTop = 0;

		else

			childPosTop = screen.height - childHeight-30;

	}

	else if (childLeft=='left') {	

		childPosLeft = 0;

		if (childTop=='center'||childTop=='middle')

			childPosTop = Math.floor((screen.height - childHeight) / 2);

    	else if (childTop=='top')

			childPosTop = 0;

		else

			childPosTop = screen.height - childHeight-30;

	}

	else {	

		childPosLeft = screen.width - childWidth-10;

		if (childTop=='center'||childTop=='middle')

			childPosTop = Math.floor((screen.height - childHeight) / 2);

    	else if (childTop=='top')

			childPosTop = 0;

		else

			childPosTop = screen.height - childHeight-30;

	}

 

	var tmp = '';

	if (childUrl != null)

		tmp = childUrl.toLowerCase();

	if (tmp.indexOf('/service-neu/kontakt/') > -1){

		window.location.href = childUrl;

	}

	else {

	newChild = window.open(childUrl,childName,'width='+childWidth+',height='+childHeight+',innerwidth='+childWidth+',innerheight='+ childHeight+',top='+childPosTop+',left='+childPosLeft+',status='+childStatus+',scrollbars='+childScrollbars+',location='+childLocation+',toolbar='+childTollbar+',menubar='+childMenubar);

	newChild.name = childName;

	if (newChild != null && childUrl.indexOf("http:")<0)

		newChild.window.focus();

	}

}

