$(function(){
/*	$("#navtab .navn").each(function(){
		$(this).mouseover(function(){
			$(this).find('img').attr('src', 'i/nav/' + $(this).find('img').attr('name') + '_a.gif');
			$(this).css('backgroundColor', '#91002C');
		});
		$(this).mouseout(function(){
			$(this).find('img').attr('src', 'i/nav/' + $(this).find('img').attr('name') + '.gif');
			$(this).css('backgroundColor', '#fff');
		});
	});

   $("ul#main-menu li.with-subs").each(function(){
		$(this).click(function(e){
         $curr = $(this).find('ul');
         if( $curr.css('display') == 'none' ){
            $curr.show();
         } else {
            $curr.hide();
         }
		});
	});*/
    lllll = $("#ddd").val();
//     alert(lllll);
    dElm = document.getElementById('ddd')
if (dElm && dElm.innerHTML != '')
// 	if (lllll != undefined)
    {
        $("html,body").animate({scrollTop: $("#ddd").offset().top }, "slow");
    }
});

function show_info(lnk, param){
	runt = "toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1," + param;
    var iwin = window.open(lnk, 'info1', runt);
    iwin.focus();
}


