$(document).ready(function(){
	n = Math.floor(Math.random()*3);
	if(n===0){
		$("#headerinner2 img").attr("src",$("#headerinner2 img").attr("src").replace(/^(.+)(_blank)(\.[a-z]+)$/, "$1_tappic$3"));
		$("#headerinner2 a").attr("href" , "tappic/");
	}
	else if(n===1){
		$("#headerinner2 img").attr("src",$("#headerinner2 img").attr("src").replace(/^(.+)(_blank)(\.[a-z]+)$/, "$1_tapmake9$3"));
		$("#headerinner2 a").attr("href" , "tapmake9/");
	}
	else if(n===2){
		$("#headerinner2 img").attr("src",$("#headerinner2 img").attr("src").replace(/^(.+)(_blank)(\.[a-z]+)$/, "$1_pavopedia$3"));
		$("#headerinner2 a").attr("href" , "pavopedia/");
	}
	else if(n===3){
		$("#headerinner2 img").attr("src",$("#headerinner2 img").attr("src").replace(/^(.+)(_blank)(\.[a-z]+)$/, "$1_carrot$3"));
	}
	else if(n===4){
		$("#headerinner2 img").attr("src",$("#headerinner2 img").attr("src").replace(/^(.+)(_blank)(\.[a-z]+)$/, "$1_eggplant$3"));
	}
	
	
	$("#twitter_div").append("<script type='text/javascript' src='http://twitter.com/statuses/user_timeline/pavocado_com.json?callback=twitterCallback2&amp;count=3'></script>");
});
