//////////////////////////////////////////////////////////////////
//                      _pathGenerator v1.1                     //
//////////////////////////////////////////////////////////////////
//                                                              //
//  This JavaScript can be freely used as long as this message  //
//  stays here in the header of the script. Any modifications   //
//  and bugs found (and fixed) are appreciated.                 //
//                                                              //
//  Author : Svetlin Staev w/ changes by Dynamic Drive          //
//  Date   : 01/10/2001                                         //
//  Email  : svetlins@yahoo.com                                 //
//  Visit  : http://www.dynamicdrive.com for this script        //
//////////////////////////////////////////////////////////////////
var posX, posY;
var ie    = document.all?1:0;
var ns    = document.layers?1:0;
var dom   = document.getElementById?1:0;
var dhtml = new svetLayer("sampleLayer");
var path  = new Array(1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1061,14,1060,14,1060,14,1058,14,1057,14,1056,14,1056,14,1054,14,1052,14,1052,14,1050,14,1048,14,1046,14,1044,14,1040,14,1040,14,1036,14,1034,14,1030,14,1030,14,1028,14,1026,14,1024,14,1024,14,1022,14,1022,14,1020,14,1020,14,1018,14,1014,14,1006,14,1001,14,1001,14,997,14,993,14,990,14,985,14,980,14,976,14,972,14,969,14,966,14,962,14,959,14,954,14,951,14,951,14,947,14,944,14,941,14,938,14,936,14,934,14,931,14,927,14,924,14,921,14,917,14,909,14,904,14,904,14,895,14,892,14,892,14,887,14,882,14,876,14,866,14,862,14,862,14,858,14,855,14,851,14,848,14,845,14,845,14,838,14,835,14,831,14,831,14,829,14,826,14,821,14,815,14,808,14,800,14,794,14,786,14,780,14,773,14,769,14,764,14,764,14,759,14,754,14,746,14,743,14,741,14,737,14,737,14,735,14,733,14,731,14,729,14,727,14,727,14,725,14,722,14,720,14,720,14,715,14,715,14,710,14,704,14,699,14,693,14,688,14,682,14,674,14,665,14,659,14,654,14,648,14,642,14,636,14,631,14,627,14,624,14,621,14,617,14,613,14,613,14,609,14,606,14,599,14,599,14,596,14,592,14,588,14,581,14,575,14,569,14,563,14,556,14,550,14,545,14,539,14,531,14,523,14,514,14,510,14,505,14,500,14,495,14,491,14,487,14,484,14,482,14,482,14,481,14,481,14,481,14,481,14,481,14,481,14,481,14,481,14,481,14,480,14,478,14,478,14,475,14,472,14,467,14,463,14,459,14,454,14,448,14,440,14,427,14,423,14,418,14,418,14,413,14,407,14,401,14,397,14,394,14,391,14,385,14,385,14,383,14,381,14,381,14,379,14,378,14,377,14,376,14,376,14,375,14,375,14,374,14,372,14,368,14,365,14,360,14,354,14,354,14,348,14,341,14,328,14,328,14,318,14,310,14,299,14,290,14,282,14,277,14,277,14,266,14,266,14,260,14,255,14,251,14,246,14,242,14,242,14,237,14,234,14,230,14,230,14,223,14,219,14,219,14,214,14,209,14,204,14,200,14,196,14,196,14,193,14,188,14,183,14,179,14,175,14,172,14,169,14,166,14,165,14,163,14,163,14,161,14,161,14,160,14,160,14,159,14,159,14,157,14,157,14,155,14,152,14,148,14,148,14,145,14,140,14,137,14,132,14,127,14,122,14,118,14,114,14,111,14,104,14,99,14,99,14,96,14,94,14,92,14,90,14,88,14,85,14,83,14,82,14,82,14,81,14,80,14,80,14,80,14,80,14,79,14,79,14,78,14,78,14,78,14,77,14,76,14,75,14,74,14,72,14,70,14,67,14,63,14,63,14,60,14,57,14,53,14,50,14,48,14,48,14,46,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,43,14,42,14,42,14,42,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,41,14,40,14,40,14,40,14,40,14,40,14,40,14,40,14,40,14,40,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14,39,14);
var index = 0;
var trNum = 0;
function svetLayer(id)
	{
		this.name = dom?document.getElementById(id):ie?document.all[id]:ns?document.layers[id]:null;
		if (this.name !== null)
			{
				this.css    = (dom||ie)?this.name.style:this.name;
				this.x      = dom?this.css.pixelLeft:ie?parseInt(this.css.left):this.css.left;
				this.y      = dom?this.css.pixelTop:ie?parseInt(this.css.top):this.css.top;
				this.moveTo = moveTo;
				return this;
			}
		else alert('Your layer does not exist');
	}

function moveTo(x,y)
	{
		if(dom||ie)
			{
				this.x=x;
				this.y=y;
				this.css.left=x;
				this.css.top=y;
			}
		else this.css.moveTo(x,y);
	}
function timeline()
	{
		if(trNum < (path.length-1))
			{
				dhtml.moveTo(path[trNum],path[trNum+1])
				trNum += 2;
				setTimeout('timeline()',10);
			}
		else trNum=0; 
	}
window.onload=timeline;