/*@cc_on _d=document;eval('var document=_d')@*/ var i,j,k,l; var lmn = 1; var l1 = -656; var l2 = 0; var stp = 0; var np = new Array(); np[0] = new Array(); np[0][0] = 'http://www.osaka-takoyaki.net/'; np[0][1] = '大阪たこ焼き 満天'; np[0][2] = '3'; np[1] = new Array(); np[1][0] = 'http://www.sanosuke.fm/'; np[1][1] = 'インターネットラジオ'; np[1][2] = '2'; np[2] = new Array(); np[2][0] = 'http://hp.sanosuke.co.jp/'; np[2][1] = '携帯無料ホームページ'; np[2][2] = '1'; np[3] = new Array(); np[3][0] = 'http://my.sanosuke.co.jp/'; np[3][1] = 'パーソナライズドページ'; np[3][2] = '0'; np2 = 4; var sy = 90; var my = 40; var x = 200; var y = -180; var ss = 0; var s = 210; var smpl = new Array(); smpl[0] = 225; smpl[1] = 180; smpl[2] = 135; smpl[3] = 90; var wek = new Array(); wek[0] = "ws"; wek[1] = "wm"; wek[2] = "wt"; wek[3] = "ww"; wek[4] = "wt"; wek[5] = "wf"; wek[6] = "ws"; var now = new Date(); var cly = now.getDay() * 1; var clc = now.getSeconds() * 1; var clh = now.getHours(); var chd = 0; if(clh >= 12){ clh -= 12; chd = 1; } var why = 0; var whh = 0; var whm = 0; var whm2 = 0; var clm = now.getMinutes(); if(document.all){ window.attachEvent("onload",clkset); window.attachEvent("onload",samplebar); }else if(document.getElementById){ window.addEventListener("load",clkset,false); window.addEventListener("load",samplebar,false); } function clkset(){ why = -60 + cly * 20; document.getElementById("cly").style.MozTransform = 'rotate('+why+'deg)'; document.getElementById("clc").style.MozTransform = 'rotate('+(clc * 6)+'deg)'; whm = clm * 6; document.getElementById("clm").style.MozTransform = 'rotate('+whm+'deg)'; whh = clh * 30 + clm/2; document.getElementById("clh").style.MozTransform = 'rotate('+whh+'deg)'; document.getElementById("wy").style.marginLeft = Math.round(114 + Math.sin(why/180*Math.PI) * 118)+'px'; document.getElementById("wy").style.marginTop = Math.round(114 - Math.cos(why/180*Math.PI) * 118)+'px'; document.getElementById("wy").innerHTML = ''; document.getElementById("wm").style.marginLeft = Math.round(114 + Math.sin(whm/180*Math.PI) * 118)+'px'; document.getElementById("wm").style.marginTop = Math.round(114 - Math.cos(whm/180*Math.PI) * (118))+'px'; whm = Math.floor(clm/10); whm2 = clm % 10; document.getElementById("wm").innerHTML = ''; document.getElementById("wh").style.marginLeft = Math.round(114 + Math.sin(whh/180*Math.PI) * 118)+'px'; document.getElementById("wh").style.marginTop = Math.round(114 - Math.cos(whh/180*Math.PI) * 118)+'px'; document.getElementById("wh").innerHTML = ''; clc++; if(clc >= 60){ clc = 0; clm++; if(clm >= 60){ clm = 0; clh++; if(clh==12) clh = 0; } } if(clc==0 && clm==0 && clh==0){ chd++; if(chd==2){ calset(); chd = 0; cly++; if(cly==7) cly = 0; } } setTimeout("clkset()",1000); } function calset(){ Obj = HttpRequest(); Obj.onreadystatechange = function(){ if(Obj.readyState==4){ document.getElementById("cal").innerHTML = Obj.responseText; } } Obj.open("GET","cal?p=1",true); Obj.send(null); } function samplebar(){ if(stp==0){ for(i=0;i
'+np[ss][1]+''; j.style.zIndex = 1; ss++; if(ss==np2) ss = 0; } smpl[i] += 3; j.style.marginLeft = Math.round(x+Math.sin(smpl[i]/180*Math.PI)*s)+"px"; j.style.marginTop = Math.round(y-Math.cos(smpl[i]/180*Math.PI)*s)+"px"; if(smpl[i]==126 || smpl[i]==210){ j.style.zIndex = 2; j.style.filter = 'alpha(opacity=' + 50 + ')'; j.style.MozOpacity = 50 / 100; j.style.opacity = 50 / 100; }else if(smpl[i]==165){ j.style.zIndex = 3; j.style.filter = 'alpha(opacity=' + 100 + ')'; j.style.MozOpacity = 1; j.style.opacity = 1; }else if(smpl[i]==255){ j.style.zIndex = 1; j.style.filter = 'alpha(opacity=' + 25 + ')'; j.style.MozOpacity = 25 / 100; j.style.opacity = 25 / 100; }else if(smpl[i]>=270) smpl[i] = sy; } } setTimeout("samplebar()",200); } function sampleck(a){ j = document.getElementById("smpl"+a); j.style.zIndex = 4; j.style.filter = 'alpha(opacity=' + 100 + ')'; j.style.MozOpacity = 1; j.style.opacity = 1; j.style.backgroundColor = "#3366ff"; stp = 1; } function sampleckout(a){ j = document.getElementById("smpl"+a); j.style.zIndex = 3; j.style.backgroundColor = "#333"; stp = 0; } function lmnset(){ j = document.getElementById("menu"+lmn); k = document.getElementById("menu"+(lmn-1)); j.style.marginLeft = l1+"px"; k.style.marginLeft = l2+"px"; if(l1 < -50){ l1 += 50; l2 += 50; setTimeout("lmnset()",10); }else{ k.style.display = "none"; k.innerHTML = ""; j.style.marginLeft = 0+"px"; j.style.cssFloat = "none"; l1 = -656; l2 = 0; lmn++; } } function pageld(a){ Obj = HttpRequest(); Obj.onreadystatechange = function(){ if(Obj.readyState==4){ l = a==3 ? '
'+Obj.responseText+'
' : Obj.responseText; document.getElementById("menu").innerHTML = ''+document.getElementById("menu").innerHTML; lmnset(); } } Obj.open("GET","r"+a,true); Obj.send(null); } function mailld(){ l = "submit=1&name="+document.getElementById("name").value+"&mail="+document.getElementById("mail").value+"&sub="+document.getElementById("sub").value+"&mbody="+document.getElementById("mbody").value; Obj = HttpRequest(); Obj.onreadystatechange = function(){ if(Obj.readyState==4){ document.getElementById("mailform").innerHTML = Obj.responseText; } } Obj.open("POST","r3",true); Obj.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); Obj.send(l); } function HttpRequest(){ if(window.ActiveXObject){ try{ return new ActiveXObject("Msxml2.XMLHTTP"); }catch(e){ try{ return new ActiveXObject("Microsoft.XMLHTTP"); }catch(e2){ return null; } } }else if(window.XMLHttpRequest){ return new XMLHttpRequest(); }else{ return null; } }