window.onerror = function() { return true; }

window.defaultStatus ="";
// that sets the status bar to " "

NS = (document.layers) ? 1:0
IE = (document.all) ? 1:0
gecko = (document.getElementById) ? 1:0
	loaded=0;
	layerstart = "";
	layerleft = "";
	layertop = "";
	layerstyle = ""; 
if (NS) {
	layerstart = "document.";
	layerleft = ".left";
	layertop = ".top";
	layerstyle = "";  }
if (gecko || IE){
	layerstart = "document.getElementById('";
	layerleft = ".left";
	layertop = ".top";
	layerstyle = "').style"; }
if (IE && !gecko){
	layerstart = "document.all.";
	layerleft = ".left";
	layertop = ".top";
	layerstyle = ".style"; }

// end error trapping



	gotthere = 0;
	count = 0;

    leftlocation = new Array( 0,280,355,431,411,438,485,318,181,181,217,263,-96 );
templeftlocation = new Array( 0,280,355,431,411,438,485,390,420,550,680,0 );
         Xorigin = new Array( 0,280,355,431,411,438,485 );
difftop = new Array( 0,0,0,0,0,0,0,0,0,0,0,0 );
diffleft = new Array( 0,0,0,0,0,0,0,0,0,0,0,0 );


if (NS) {
   	windowWidth = window.innerWidth;
   	windowHeight = window.innerHeight;  }
else if (IE) {
   windowWidth=600;
   windowHeight=400; }
// end error trapping
   	Ypos2 = 72;
   	Xpos2 = 72;



function startthedots() {
if (IE) {
windowWidth=document.body.clientWidth;
windowHeight=document.body.clientHeight; }
//Xorigin = 280;
spin();run();
 }

	OrbitSize = 72;
count=1; delay=100; direction = -1;
Count = new Array ( 0, .63, 1.26, 1.89, 2.52, 3.15, 3.78, 4.41, 5.04, 5.67 );
Xpoint = new Array ( 0, .63, 1.26, 1.89, 2.52, 3.15, 3.78, 4.41, 5.04, 5.67 );
Ypoint = new Array ( 0, .63, 1.26, 1.89, 2.52, 3.15, 3.78, 4.41, 5.04, 5.67 );
	speed = -0.009;
	offset = 1;

  function spin() {
for ( j = 0 ; j <= 9 ; j++ ) {
Count[j] = Count[j] + (speed);	
	Xpoint[j] = Xorigin[j] - 0 + ((OrbitSize*Math.sin(Count[j])*offset)); }
setTimeout('spin()',3); }

  function speedup() { speed=-.03; }
  function slowdown() { speed=-.009; }

function run() {
   count++; 
  for ( j = 1 ; j <= 6 ; j++ ) {
diffleft[j] = Xpoint[j] - templeftlocation[j];
diff = 30;
templeftlocation[j] = templeftlocation[j] + diffleft[j]/diff;
  eval(layerstart+"block"+j+layerstyle+layerleft+" = templeftlocation["+j+"]"); }
setTimeout('run()', 25) }

function start() {
if (!startup) { startup=1; setTimeout('rotation()',10000);
/*
if (IE) {
document.all.block1.style.filter = "Alpha(Opacity=75)";
document.all.block2.style.filter = "Alpha(Opacity=60)";
document.all.block3.style.filter = "Alpha(Opacity=55)";
document.all.block4.style.filter = "Alpha(Opacity=40)";
document.all.block5.style.filter = "Alpha(Opacity=35)";
document.all.block6.style.filter = "Alpha(Opacity=20)"; }
if (NS) {
document.block1.filter = "Alpha(Opacity=75)";
document.block2.filter = "Alpha(Opacity=60)";
document.block3.filter = "Alpha(Opacity=55)";
document.block4.filter = "Alpha(Opacity=40)";
document.block5.filter = "Alpha(Opacity=35)";
document.block6.filter = "Alpha(Opacity=20)"; }*/
 }
}

//-- end script -->