/**
 * Pro Framework
 *
 * @category   Pro
 * @author     Pro-Web (http://pro-web.at)
 * @copyright  Copyright (c) 2008 pro-web.at (http://pro-web.at)
 */

var lightBoxStdOptions = {
	imageBlank: '/images/lightbox-blank.gif',
	imageLoading: '/images/lightbox-ico-loading.gif',
	imageBtnClose: '/images/lightbox-btn-close.gif',
	imageBtnPrev: '/images/lightbox-btn-prev.gif',
	imageBtnNext: '/images/lightbox-btn-next.gif',
	txtImage: 'Bild',
	txtOf: 'von'
};

function unobfus_email(text) {
	return text.replace(/\s*\(at\)\s*/ig, '@').replace(/\s*\(punkt\)\s*/ig, '.').replace(/\s*\(bindestrich\)\s*/ig, '-');
}
function unobfus_phone(text) {
	var numbers = ["null","eins","zwei","drei","vier","f\u00fcnf","sechs","sieben","acht","neun"];
	for (i in numbers)
		text = text.replace(new RegExp('\\('+numbers[i]+'\\)', 'g'), i);
	return text;
}

$(function() {
	$('a.lightbox').lightBox(lightBoxStdOptions);
});
