$(document).ready(function () {
	if(jQuery.os.name == 'iphone' ||jQuery.os.name == 'ipad' ){
		var elmtoHide = [];
		elmtoHide.push($('#footermenu .left a img[alt=Dr.ROMANELLI]'));
		elmtoHide.push($('#footermenu .left a img[alt=MUSIC IS BEAUTIFUL]'));
		jQuery.each(elmtoHide, function() {
			var elmsrc = $(this).attr('src');
			elmsrc = elmsrc.replace('.gif','_ipad.gif');
			var elmtoShow = '<img src="'+elmsrc+'" alt="'+$(this).attr('alt')+'" />';
			$(this).parent().before(elmtoShow);
			$(this).parent().remove();
		});
		
		$('#download article.dl_zip').each(function(){
			$('.dlBTN' , $(this)).css('display', 'none');
		});
		
		var srccopyelm = $('.copycode');
		if(srccopyelm.length > 0){
			srccopyelm.css('display','none');
		}
	}else{
		var blogpartselm = $('#blogpartspreview');
		if(blogpartselm.length > 0){
			blogpartselm.hide();
		}else{return}
	}
});
