// JavaScript Document
$(document).ready(function() {
	$('#fontControls').jfontsizer({
			applyTo: 'body',
			changesmall: '1',
			changelarge: '3',
			changedefault: '1.0',
			expire: 50
	});
});
$(function(){ 
	$('input[title!=""], textarea[title!=""]').hint();
});
$(function(){
	$('table.clear').each(function(index) {
		$(this).attr('cellpadding','0');
		$(this).attr('cellspacing','0');
		$(this).attr('border','0');
	});
});
function windowresize() {
	var supersitemapheight = $('table#supersitemap').height();
	$('#footer').css('height',supersitemapheight);
	browser = navigator.userAgent;
	browser_ie7 = browser.indexOf("MSIE 7.0");
	if(browser_ie7 > -1) {
		var docheight = $('body').height();
	}
	else {
		var docheight = $(document).height();
	}
	var containerheight = $('table#container').height();
	var rechnung = docheight - containerheight;
	var rechnung2 = rechnung + supersitemapheight;
	if (docheight > 0) {
		$('#footer').css('height', rechnung2);
	}
}
$(window).load(function() {
	windowresize();
});
$(window).resize(function() {
	windowresize();
});
$(function(){
	$('div.versicherungen td img').before('<div class="versicherungpicborder"></div>');
	$('div.ansprechpartner td img').before('<div class="appicborder"></div>');
});
