﻿<!--  index.js -->

<!-- 日付表示 JAVASCRIPT     -->
function ShowNowDate() {
	dayset = new Array("日","月","火","水","木","金","土");
	date = new Date();
	week = dayset[date.getDay()];
	yy = date.getYear();
	if (yy < 2000) yy += 1900;
	mm=date.getMonth() + 1;
	if(mm<10)mm="0"+mm;
	dd=date.getDate();
	if(dd<10)dd="0"+dd;
	document.write(yy+"年"+mm+"月"+dd+"日"+"["+week+"]");
}

//-->

<!-- left_naviのインフォのscript -->
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);   
}  
//-->

<!-- アクセスログgoogle -->
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
var pageTracker = _gat._getTracker("UA-11238357-5");
pageTracker._trackPageview();
setTimeout('pageTracker._trackEvent(\'NoBounce\', \'NoBounce\', \'Over 10 seconds\')',10000);
} catch(err) {}

<!-- バレンタインキャンペーン(ポイントGET)ページ-->
function opWin901() {;
window.open("http://www.wings-of-the-smile.com/valentine/valentine.php","バレンタインキャンペーン","width=400,height=600,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no");
};


