$(document).ready(
		function(){
			$('#news_ticker').innerfade({
				animationtype: 'fade',
				speed: 800,
				timeout:6000,
				type: 'random',
				containerheight: '90px'
			});
			$('#images_list').innerfade({
				speed: 3000,
				timeout: 8000,
				type: 'random',
				containerheight: '248px'
			});
				
	}
);

$(document).ready(
		function(){
// apply to all png images 
$('img[@src$=.png]').ifixpng();  
// apply to all png images and to div#logo 
$('img[@src$=.png], div#message').ifixpng(); 
// apply to all png images and to div#logo 
$('img[@src$=.png], #message_close').ifixpng(); 
	}
);

   function getCookie() {
            var dc = document.cookie;
            var cookies = dc.split(';');    
            for(var looped=0; looped < cookies.length; looped++) {
                if (cookies[looped].match('java')) {
                    var cookie_value = cookies[looped];
                }
            }
            cookie_value = cookie_value.substring(13);
            cookie_value = unescape(cookie_value);
            var menu_values = cookie_value.split('|'); 
            for(var loop=0; loop < menu_values.length; loop++){
                var sub_menu_values = menu_values[loop].split(':');
                if (sub_menu_values[0] == '') {continue;}
                var switch_menu = document.getElementById(sub_menu_values[0]);
                switch_menu.className = sub_menu_values[1];
                menu_status[sub_menu_values[0]] = sub_menu_values[1];
            }
        }

    menu_status = new Array();
    <!--
    function showHide(theid){
        if (document.getElementById) {
            var switch_id = document.getElementById(theid);
            if(menu_status[theid] != 'hide') {
               switch_id.className = 'hide';
               menu_status[theid] = 'hide';
            }else{
               switch_id.className = 'hide';
               menu_status[theid] = 'hide';
            }
            var menu_state = '';
            for (menu_name in menu_status) {
                menu_state += menu_name + ":" + menu_status[menu_name] + "|";
            }
            document.cookie="java=" + escape(menu_state) + ";";
        }
    }
    //-->
