/*********************
//* jQuery Multi Level CSS Menu #2- By Dynamic Drive: http://www.dynamicdrive.com/
//* Last update: Nov 7th, 08': Limit # of queued animations to minmize animation stuttering
//* Menu avaiable at DD CSS Library: http://www.dynamicdrive.com/style/
*********************/

//Update: April 12th, 10: Fixed compat issue with jquery 1.4x

jQuery(document).ready(function()
{	
		jQuery('#mob_nav ul').hide(); 
	// TOGGLE NAV
	jQuery('#nav_butt').click(function () { 
		jQuery('#mob_nav ul').toggle('fast', function() {
   
    window.scrollTo(0, 133);
  });
    	
    });
    window.scrollTo(0, 1);
        
});


function highdpi_init() {
	if(jQuery('.replace-2x').css('font-size') == "1px") {
		var els = jQuery(".replace-2x").get();
		for(var i = 0; i < els.length; i++) {
			var src = els[i].src
			src = src.replace(".png", "@2x.png");
			src = src.replace(".jpg", "@2x.jpg");
			els[i].src = src;
		};
	}
}

jQuery(document).ready(function() {
	highdpi_init();
});

