<!--
var t1;	// for setTimeouts
var t1name;	// for setTimeouts



function ShowCenterPic(id){
	if (t1) clearTimeout(t1);
	if (t1name) document.getElementById(t1name).className = "visibhidden";
	document.getElementById(id).className = "visibhidden-show";
}

function ShowCenterPicOut(id){
	t1=setTimeout("document.getElementById("+id+").className='visibhidden'", 100);
	t1name = id;
}


$(document).ready(function(){

	$("#maincontent img").each(function(){	
		if ($(this).css('float') == 'right')			$(this).css('margin', "0 0 6px 6px");
        else if ($(this).css('float') == 'left') 		$(this).css('margin', "0 6px 6px 0");
	});
	
	
	$("#maincontent p").each(function(){
		
		if ($(this).find("img").length > 1){
			if ($(this).find("img").eq(0).css('float') == 'left')
				$(this).next("*").eq(0).css('clear', 'left');
		}
	});	
});
	
    

    


function TopTriangleRoll() {

    var current = $("#topimages .dblock");

    if (current.length > 0) {
        $(current).addClass('dnone')
                  .removeClass('dblock');
                  
        if ($(current).next().length > 0) {
            $(current).next().addClass('dblock')
                             .removeClass('dnone');
        } else {
            $(current).addClass('dnone')
                      .removeClass('dblock');
            $("#topimages img").eq(0).addClass('dblock')
                             .removeClass('dnone');
        }
    }
}    
    
    
    
    
    
	
// -->
