var A = 0;var C = 0;var pauseA = 0;var pauseB = 0;var NS4layers = (document.layers) ? 1 : 0;var IE4layers = (document.all) ? 1 : 0;var ver4layers = (NS4layers || IE4layers) ? 1 : 0;buttonoff = new Image();buttonoff.src = "images/cspace2.gif";button1on = new Image();button1on.src = "images/button1.gif";button2on = new Image();button2on.src = "images/button2.gif";button3on = new Image();button3on.src = "images/button3.gif";button4on = new Image();button4on.src = "images/button4.gif";button5on = new Image();button5on.src = "images/button5.gif";button6on = new Image();button6on.src = "images/button6.gif";function ChngHref(hotspot)    {	if (C == 0)	     {		if (hotspot == 1) window.location.href=" ";		if (hotspot == 2) window.location.href=" ";		if (hotspot == 3) window.location.href=" ";		if (hotspot == 4) window.location.href=" ";				     }	else if (C == 1)	     {		if (hotspot == 1) window.location.href="crackinit.htm";		if (hotspot == 2) window.location.href="fracture.htm";	     }	else if (C == 2)	     {		if (hotspot == 1) window.location.href="rotate.htm";		if (hotspot == 2) window.location.href="sheet-plate.htm";		if (hotspot == 3) window.location.href="tension.htm";		if (hotspot == 4) window.location.href="precracking.htm";				     }    }function TimeOffA()    {	if (pauseA==1) {window.clearTimeout(identA);}  	if (pauseB==1) {window.clearTimeout(identB);}  	pauseA = 1;  	identA=setTimeout("document['im'].src=buttonoff.src",5000);     }function TimeOffB()   {  	if (pauseA==1) {window.clearTimeout(identA);} 	if (pauseB==1) {window.clearTimeout(identB);} 	pauseB = 1;  	identB=setTimeout("document['im'].src=buttonoff.src",5000);    }
