$(document).ready(function() {

	$('.show_if_no_js').hide();

/*
    $('.entry a').each(function() {
        
        var c = $(this).attr('rel') != '' ? '<img src="' + $(this).attr('rel') + '" />' : ($(this).attr('title') != '' ? '' : $(this).attr('href'));
 
       	var align = 'left';
	var w = 250;
 
	if ($(this).attr('rel') != '') {
		align = 'center';
		w = 'auto';
	}
	if ($(this).attr('title') != '' || $(this).attr('rel') != '') { 
        $(this).qtip({
            content: c,
	    style: {
		width: w,
		textAlign: align
		},
 
		position: {
	            corner: {
	               target: 'bottomMiddle', // Position the tooltip above the link
	               tooltip: 'topMiddle'
	            },
	            adjust: {
        	       screen: true // Keep the tooltip on-screen at all times
	            }
         }
 
 
        });
	}
    });

*/
/*
	if (1) {
		var link = '';
		$('#sidebar-left a').each(function() {
	        	link = $(this).attr('href');
			$(this).attr('href', link +'?preview_theme=notolls');    
	        });
	
		$('#navmain ul li a').each(function() {
	        	link = $(this).attr('href');
			$(this).attr('href', link +'?preview_theme=notolls');    
		});
	
	        link = $('#headerimg h1 a').attr('href');
		$('#headerimg h1 a').attr('href', link +'?preview_theme=notolls');   

	}
 */
});

