
bName = navigator.appName;
bVer = parseInt(navigator.appVersion); 

if      (bName == "Netscape" && bVer == 4) ver = "n";
else if (bName == "Microsoft Internet Explorer" && bVer == 4) ver = "ie";


function init() {
        if (ver == "n") {
                pic = document.picDiv
                pic.xcor = pic.left
                pic.ycor = pic.top
        }
        else if (ver == "ie") {
                pic = picDiv.style
                pic.xcor = pic.pixelLeft
                pic.ycor = pic.pixelTop
        }

pic.pathx = new Array(0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,180,200,210,220,230,240,250,260,270,280,290)

pic.pathy = new Array(180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180,180)


//Control Panel for Variables
pic.pathcor = 0                         //don't change
pic.active = 1               // set to 1 to begin when page loads
pic.pathloop = 1            // set to 1 to loop, 0 not to loop
speed = .04                                     // time between points in seconds

picpath()}

function picpath() {
        if (pic.active && pic.pathcor < pic.pathx.length) {
                pic.xcor = pic.pathx[pic.pathcor]
                pic.ycor = pic.pathy[pic.pathcor]
                pic.left = pic.xcor
                pic.top = pic.ycor
                pic.pathcor += 1
                setTimeout("picpath()",speed*1000) 
        }
		
        else {
        //if (pic.active && pic.pathloop && pic.active) {
        //    pic.pathcor = 0
        //    picpath()
        //    }
       //     else pic.active = 0
        }
}




