var uri="http://www.gmect.jp/general/common/js/";
function jsfile(n) {
	this.length = n;
		for (i = 0; i < n; i++) {
	this[i] = null
	}
}
var n = 6;
var file = new jsfile(n)
file[0] = "heightLine.js";
file[1] = "jquery-min.js";
file[2] = "jquery.cookie.js";
file[3] = "jquery.textresizer.js";
file[4] = "fontsize.js";
file[4] = "swfobject.js";
for (i = 0; i <n; i++) {
	document.write('<script type="text/javascript" src="',uri,file[i],'"></script>');
}

/* Mousover */
function smartRollover() {
	if(document.getElementsByTagName) {
		var images = document.getElementsByTagName("img");
		for(var i=0; i < images.length; i++) {
			if(images[i].getAttribute("src").match("_off."))
			{
				images[i].onmouseover = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
				}
				images[i].onmouseout = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
				}
			}
		}
	}
}
if(window.addEventListener) {
	window.addEventListener("load", smartRollover, false);
}
else if(window.attachEvent) {
	window.attachEvent("onload", smartRollover);
}
