// utility.js - Jun Nojima

/* FOR MOBILE */
function changeViewport(){
	if(window.screen.width < 560){
	$("meta[name='viewport']").attr("content","width=590");
	}
}


/* MAIL */

function mail(){
var h = "hello";
var d = "junnojima.jp";
$("#mailLink").attr("href","mailto:"+h+"@"+d);
}



/* PAGE SCROLL 

function pageScroll(){
	$("a[href^='#']").click(function(event){
	event.preventDefault();
		var tElement =  $(this).attr('href');
		var tLine = $(tElement).offset();
		$('html,body').animate({ scrollTop: tLine.top }, 500, 'jswing');
		return false;
	});
};

*/

$(document).ready(function(){
//changeViewport();
//pageScroll();
mail();
});



