var sslSites = [	/*	Kontinuierliche Blutzuckermessung */
				'133.html',	'patientenfall-chronik_formular.html',

				/*	Kontakt */
				'kontakt.html','index.php?id=55','55.html',

				/*  Produktanfrage  */
				'precision_produktanfrage.html','130.html',

				'feedback.html','produktanfrage_freestyle_lite.html',
				'produktanfrage_fs_freedom_lite.html',
'diabetesmanagement_registrierung.html',
'diabetesmanagment_registrierung.html','sticker.html',
'style_ups.html', 'sticker_precision_xceed.html',

				/* ende */
				'nix'
			];








jQuery().ready(function(){
    jQuery('#list1a').accordion({
    	header:'.head'
    });

    // Reset Font Size
    var originalFontSize = $('#content').css('font-size');
    $("#decreaseFont").click(function(){
    	$('#content').css('font-size', originalFontSize);
    });
    // Increase Font Size
    $("#increaseFont").click(function(){
        var currentFontSize = $('#content').css('font-size');
        var currentFontSizeNum = parseFloat(currentFontSize, 10);
        var newFontSize = (currentFontSizeNum > 18 )? currentFontSizeNum:currentFontSizeNum*1.1;
        $('#content').css('font-size', newFontSize);
        return false;
    });


	$("#content a").each(function (){
		(document.URL == this.href)?this.style.fontWeight = 'bold':0;
		(this.target == 'page')?this.target ="":0;
	});

	$("img").each(function (){
		(this.alt && !this.title)?this.title=this.alt:0;
		(this.title && !this.alt)?this.alt=this.title:0;
	});

	$("a").ssl({sslSites:sslSites});

	document.title = document.title.replace(/<(?:.|\s)*?>/g, "");

});






$.fn.pngimage = function(initial, settings) {
    return this.each(function() {
		if(jQuery.browser.msie &&  jQuery.browser.version < 7 && this.style.backgroundImage){
       			var src = this.style.backgroundImage.replace(/url\(/g,'').replace(/\)/g,'');       			
       			this.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='scale', enabled='true')";
       			this.style.backgroundImage="none";
       	}
    });
};



function Dump(val){

	if(console){
		console.debug(val);
	}else{
		//alert(val);
	}
	/**/
}