// JavaScript Document

function getCookie(key,  tmp1, tmp2, xx1, xx2, xx3) {
    tmp1 = " " + document.cookie + ";";
    xx1 = xx2 = 0;
    len = tmp1.length;
    while (xx1 < len) {
        xx2 = tmp1.indexOf(";", xx1);
        tmp2 = tmp1.substring(xx1 + 1, xx2);
        xx3 = tmp2.indexOf("=");
        if (tmp2.substring(0, xx3) == key) {
            return(unescape(tmp2.substring(xx3 + 1, xx2 - xx1 - 1)));
        }
        xx1 = xx2 + 1;
    }
    return("");
}

/*
hover = function() {
	var gototop01 = document.getElementById('gototop01','img');
	gototop01.onmouseover = function(){
		this.setAttribute('src','http://localhost:8888/wordpress/wp-content/themes/ollaria/images/cmn_gototoph.gif');
	}
	gototop01.onmouseout = function(){
		this.setAttribute('src','http://localhost:8888/wordpress/wp-content/themes/ollaria/images/cmn_gototop.gif');
	}
}
if(window.attachEvent) {
	window.attachEvent("onload", hover);
}
if(window.addEventListener) {
	window.addEventListener("load",hover,false);
}
*/