var imgsize='100';
if(navigator.appName=='Netscape'&&!navigator.appName=='Firefox'){var thisday=new Date();var thisyear=thisday.getYear();if(thisyear<2000)thisyear+=1900;function clickMess(e){if(document.all&&event.button==2){alert('This Script ©'+thisyear+' Gheos.com');return false;}else if(navigator.appName=='Netscape'&&!navigator.appName=='Firefox'){if(document.getElementById&&e.which==3)alert('This Script ©'+thisyear+' Gheos.com');else if(document.layers&&e.which==3)return false;}}if(document.layers)document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickMess;}else{menuItems=new Array();menuItemNum=0;function addMenuItem(text,url,img){if(img)menuItems[menuItemNum]=new Array(text,url,img);else if(text) menuItems[menuItemNum]=new Array(text,url);else menuItems[menuItemNum]=new Array();menuItemNum++;}menuDelay=50;menuSpeed=8;menuOffset=2;menuWidth=163;menuHeight=287;addMenuItem("Join also:","#");addMenuItem();addMenuItem("Banner Exchange","http://Gheos.net/banner");addMenuItem("Mailforms","http://Gheos.net/mailform");addMenuItem("Web Counter","http://Gheos.net/counter");addMenuItem();addMenuItem("Get more FREE stuff:","#");addMenuItem();addMenuItem("Calculator","http://Gheos.net/js/calculator");addMenuItem("Calendar","http://Gheos.net/js/calendar");addMenuItem("Chat","http://Gheos.net/chat");addMenuItem("Customizable Pie Charts","http://Gheos.net");addMenuItem("Dictionary","http://Gheos.net/dictionary");addMenuItem("FREE SMS","http://Gheos.net/sms");addMenuItem("Maps","http://Gheos.net/js/maps");addMenuItem("Sunclock","http://Gheos.net/js/sunclock");addMenuItem("Time Zone Maps","http://Gheos.net/js/worldtime");addMenuItem("Weather Reports","http://MeteoWeather.com");if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5)isIe=1;else isIe=0;if(isIe){menuContent='
';menuPopup=window.createPopup();menuPopup.document.body.innerHTML=menuContent;}function showMenu(){menuXPos=event.clientX+menuOffset;menuYPos=event.clientY+menuOffset;menuXIncrement=menuWidth/menuSpeed;menuYIncrement=menuHeight/menuSpeed;menuTimer=setTimeout("openMenu(0,0)",menuDelay);return false;}function openMenu(height, width){iHeight=height;iWidth=width;menuPopup.show(menuXPos,menuYPos,iWidth,iHeight,document.body);if(iHeight2)m-=3;else{m+=9;y--;}c=y/100;y-=100*c;var jd=Math.floor((mday+(c*146097)/4+(y*1461)/4+(m*153+2)/5+1721119)-0.5)-0.5;var jt=(sec+60*(min+60*hour))/86400;return jd+jt;}function kepler(m,ecc){var e,delta;EPSILON=1e-6;e=m=torad(m);do{delta=e-ecc*Math.sin(e)-m;e-=delta/(1-ecc*Math.cos(e));}while(abs(delta)>EPSILON);return e;}function phase(pdate){var Day,N,M,Ec,Lambdasun,ml,MM,MN,Ev,Ae,A3,MmP,F,mEc,A4,lP,V,lPP,NP,y,x,Lambdamoon,BetaM,mage;with(Math){Day=pdate-epoch;N=fixangle((360/365.2422)*Day);M=fixangle(N+elonge-elongp);Ec=kepler(M,eccent);Ec=sqrt((1+eccent)/(1-eccent))*tan(Ec/2);Ec=2*todeg(atan(Ec));Lambdasun=fixangle(Ec+elongp);F=((1+eccent*cos(torad(Ec)))/(1-eccent*eccent));SunDist=sunsmax/F;SunAng=F*sunangsiz;ml=fixangle(13.1763966*Day+mmlong);MM=fixangle(ml-0.1114041*Day-mmlongp);MN=fixangle(mlnode-0.0529539*Day);Ev=1.2739*sin(torad(2*(ml-Lambdasun)-MM));Ae=0.1858*sin(torad(M));A3=0.37*sin(torad(M));MmP=MM+Ev-Ae-A3;mEc=6.2886*sin(torad(MmP));A4=0.214*sin(torad(2*MmP));lP=ml+Ev+mEc-Ae+A4;V=0.6583*sin(torad(2*(lP-Lambdasun)));lPP=lP+V;NP=MN-0.16*sin(torad(M));y=sin(torad(lPP-NP))*cos(torad(minc));x=cos(torad(lPP-NP));Lambdamoon=todeg(atan2(y,x))+NP;BetaM=todeg(asin(sin(torad(lPP-NP))*sin(torad(minc))));mage=lPP-Lambdasun;MoonPhase=(1-cos(torad(mage)))/2;MoonDist=(msmax*(1-mecc*mecc))/(1+mecc*cos(torad(MmP+mEc)));MoonDFrac=MoonDist/msmax;MoonAng=mangsiz/MoonDFrac;MoonPar=mparallax/MoonDFrac;MoonAge=synmonth*fixangle(mage)/360;}return fixangle(mage)/360;}document.write('
');function tick(doc){run==1?today=new Date():today=new Date(document.Input.Year.value,document.Input.Month.value-1,document.Input.Day.value,document.Input.Hour.value,document.Input.Minute.value,document.Input.Second.value);year=today.getYear();if(year<2000&&doc!='real')year+=1900;month=today.getMonth()+1;day=today.getDate();hours=today.getHours();minutes=today.getMinutes();seconds=today.getSeconds();hours+=today.getTimezoneOffset()/60;if(hours>23){hours-=24;day++;}if(hours<0){hours+=24;day--;}with(Math){julian=ucttoj(year,month,day,hours,minutes,seconds);img=round(56*phase(julian)+1);gif='http://meteoweather.com/moonphase/moon'+img+'.gif';mad=floor(MoonAge);mah=floor(24*(MoonAge-mad));mam=floor(60*(24*(MoonAge-mad)-mah));mas=floor(60*(60*(24*(MoonAge-mad)-mah)-mam));}if(img!=old){document.moonphaseimg.src=gif;old=img;}if(run==1)window.setTimeout("tick();",100);}current();