/*
 update 2009.04.01
 H.Nishioka
*/

function blankWin(el) { 
	window.open(el.href); 
	return false; 
} 


/*rollover*/
function imgRollOver() {
	if(document.getElementsByTagName) {
	var images = document.getElementsByTagName("img");
	for(var i=0; i < images.length; i++) {
			if(images[i].getAttribute("src").match("_out.")){
				images[i].onmouseover = function() {this.setAttribute("src", this.getAttribute("src").replace("_out.", "_over."));}
				images[i].onmouseout = function() {this.setAttribute("src", this.getAttribute("src").replace("_over.", "_out."));}
			}
		}
	}
}
if(window.addEventListener) {window.addEventListener("load", imgRollOver, false);}
else if(window.attachEvent) {window.attachEvent("onload", imgRollOver);}



$(function() {
	$("#weather").load("weather.php div[class=livedoorWeather]");
})


