<!-- js Layer Script Builder by jsLayerUtility.com, abqconnect.com -->
<!-- Timestamp:11/13/2009 7:48:22 PM-->

var name = (document.layers)?"NS4":"Not supported";
if (name=="Not supported"){
name = (document.all)?"Microsoft Internet Explorer":"Not supported";
}
if (name=="Microsoft Internet Explorer"){
name = (document.charset)?"Microsoft Internet Explorer":"Opera";
}
if (name=="Not supported"){
name = (document.getElementById && !document.all && !document.layers)?"NS6":"Not supported";
}

if (name=="NS4"){
alert("NS4 is no longer supported by jsLU");
}else{
DIVcount =7; 
DIV_name = new Array(7);
DIV_type = new Array(7);
DIV_value_image = new Array(7);
DIVlength = new Array(7);
DIV_MouseOver_function = new Array(7);
DIV_MouseClick_function = new Array(7);
DIV_OnMouseOut_function = new Array(7);
DIV_OnMouseDown_function = new Array(7);
DIV_OnMouseUp_function = new Array(7);
DIV_Absolute = new Array(7);
imageInitialSize = new Array(7);
 
var framescount =7007; 
vp = new Array(7007);
hp = new Array(7007);
ka = new Array(7007);
is = new Array(7007);
iv = new Array(7007);

DIV_name[1] = "PicFrame";
DIV_type[1] = "i";
DIVlength[1] = 2;
DIV_Absolute[1] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[1] = "photoframe.gif";
DIV_MouseOver_function[1] = "";
DIV_MouseClick_function[1] = "";
DIV_OnMouseOut_function[1] = "";
DIV_OnMouseDown_function[1] = "";
DIV_OnMouseUp_function[1] = "";
imageInitialSize[1]= 569

document.write('<DIV id="PicFrame102"  name="PicFrame102" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="PicFrame102_img" ID="PicFrame102_img"  width=580 SRC="photoframe.gif" BORDER="0" onMouseOver="' , DIV_MouseOver_function[1],'" onClick="' , DIV_MouseClick_function[1],'" onMouseOut="' , DIV_OnMouseOut_function[1],'" onMouseDown="' , DIV_OnMouseDown_function[1],'" onMouseUp="' , DIV_OnMouseUp_function[1],'"></DIV>');

}else{
imageInitialSize[1]= 569
DIV_value_image[1] = "photoframe.gif";
DIV_MouseOver_function[1] = "";
DIV_MouseClick_function[1] = "";
DIV_OnMouseOut_function[1] = "";
DIV_OnMouseDown_function[1] = "";
DIV_OnMouseUp_function[1] = "";
document.write('<DIV id="PicFrame"  name="PicFrame" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="PicFrame_img" ID="PicFrame_img" SRC="photoframe.gif" BORDER="0" onMouseOver="' , DIV_MouseOver_function[1],'" onClick="' , DIV_MouseClick_function[1],'" onMouseOut="' , DIV_OnMouseOut_function[1],'" onMouseDown="' , DIV_OnMouseDown_function[1],'" onMouseUp="' , DIV_OnMouseUp_function[1],'"></DIV>');
}

vp[1] = 115; hp[1]= 12; ka[1]= ""; 
iv[1] = 0; is[1] = 102; 
vp[2] = 115; hp[2]= 12; ka[2]= "p"; 
iv[2] = 0; is[2] = 102; 
DIV_name[2] = "Photo1";
DIV_type[2] = "i";
DIVlength[2] = 9;
DIV_Absolute[2] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[2] = "pic1.jpg";
DIV_MouseOver_function[2] = "";
DIV_MouseClick_function[2] = "DIVaction('Photo1,Photo2' , 'a' , '')";
DIV_OnMouseOut_function[2] = "";
DIV_OnMouseDown_function[2] = "";
DIV_OnMouseUp_function[2] = "";
imageInitialSize[2]= 500

document.write('<DIV id="Photo1100"  name="Photo1100" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo1100_img" ID="Photo1100_img"  width=500 SRC="pic1.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[2],'" onClick="' , DIV_MouseClick_function[2],'" onMouseOut="' , DIV_OnMouseOut_function[2],'" onMouseDown="' , DIV_OnMouseDown_function[2],'" onMouseUp="' , DIV_OnMouseUp_function[2],'"></DIV>');

}else{
imageInitialSize[2]= 500
DIV_value_image[2] = "pic1.jpg";
DIV_MouseOver_function[2] = "";
DIV_MouseClick_function[2] = "DIVaction('Photo1,Photo2' , 'a' , '')";
DIV_OnMouseOut_function[2] = "";
DIV_OnMouseDown_function[2] = "";
DIV_OnMouseUp_function[2] = "";
document.write('<DIV id="Photo1"  name="Photo1" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo1_img" ID="Photo1_img" SRC="pic1.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[2],'" onClick="' , DIV_MouseClick_function[2],'" onMouseOut="' , DIV_OnMouseOut_function[2],'" onMouseDown="' , DIV_OnMouseDown_function[2],'" onMouseUp="' , DIV_OnMouseUp_function[2],'"></DIV>');
}

vp[1002] = 154; hp[1002]= 52; ka[1002]= "p"; 
iv[1002] = 100; is[1002] = 100; 
vp[1003] = 154; hp[1003]= 52; ka[1003]= ""; 
iv[1003] = 90; is[1003] = 100; 
vp[1004] = 154; hp[1004]= 52; ka[1004]= ""; 
iv[1004] = 60; is[1004] = 100; 
vp[1005] = 154; hp[1005]= 52; ka[1005]= ""; 
iv[1005] = 20; is[1005] = 100; 
vp[1006] = 154; hp[1006]= -600; ka[1006]= "p"; 
iv[1006] = 1; is[1006] = 100; 
vp[1007] = 154; hp[1007]= 52; ka[1007]= ""; 
iv[1007] = 20; is[1007] = 100; 
vp[1008] = 154; hp[1008]= 52; ka[1008]= ""; 
iv[1008] = 40; is[1008] = 100; 
vp[1009] = 154; hp[1009]= 52; ka[1009]= ""; 
iv[1009] = 60; is[1009] = 100; 
vp[1010] = 154; hp[1010]= 52; ka[1010]= ""; 
iv[1010] = 90; is[1010] = 100; 
DIV_name[3] = "Photo2";
DIV_type[3] = "i";
DIVlength[3] = 10;
DIV_Absolute[3] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[3] = "pic2.jpg";
DIV_MouseOver_function[3] = "";
DIV_MouseClick_function[3] = "DIVaction('Photo2,Photo3' , 'a' , '')";
DIV_OnMouseOut_function[3] = "";
DIV_OnMouseDown_function[3] = "";
DIV_OnMouseUp_function[3] = "";
imageInitialSize[3]= 500

document.write('<DIV id="Photo2100"  name="Photo2100" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo2100_img" ID="Photo2100_img"  width=500 SRC="pic2.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[3],'" onClick="' , DIV_MouseClick_function[3],'" onMouseOut="' , DIV_OnMouseOut_function[3],'" onMouseDown="' , DIV_OnMouseDown_function[3],'" onMouseUp="' , DIV_OnMouseUp_function[3],'"></DIV>');

}else{
imageInitialSize[3]= 500
DIV_value_image[3] = "pic2.jpg";
DIV_MouseOver_function[3] = "";
DIV_MouseClick_function[3] = "DIVaction('Photo2,Photo3' , 'a' , '')";
DIV_OnMouseOut_function[3] = "";
DIV_OnMouseDown_function[3] = "";
DIV_OnMouseUp_function[3] = "";
document.write('<DIV id="Photo2"  name="Photo2" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo2_img" ID="Photo2_img" SRC="pic2.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[3],'" onClick="' , DIV_MouseClick_function[3],'" onMouseOut="' , DIV_OnMouseOut_function[3],'" onMouseDown="' , DIV_OnMouseDown_function[3],'" onMouseUp="' , DIV_OnMouseUp_function[3],'"></DIV>');
}

vp[2003] = 154; hp[2003]= -600; ka[2003]= ""; 
iv[2003] = 1; is[2003] = 100; 
vp[2004] = 154; hp[2004]= -600; ka[2004]= "p"; 
iv[2004] = 1; is[2004] = 100; 
vp[2005] = 154; hp[2005]= 52; ka[2005]= ""; 
iv[2005] = 20; is[2005] = 100; 
vp[2006] = 154; hp[2006]= 52; ka[2006]= ""; 
iv[2006] = 40; is[2006] = 100; 
vp[2007] = 154; hp[2007]= 52; ka[2007]= ""; 
iv[2007] = 60; is[2007] = 100; 
vp[2008] = 154; hp[2008]= 52; ka[2008]= ""; 
iv[2008] = 90; is[2008] = 100; 
vp[2009] = 154; hp[2009]= 52; ka[2009]= "p"; 
iv[2009] = 100; is[2009] = 100; 
vp[2010] = 154; hp[2010]= 52; ka[2010]= ""; 
iv[2010] = 90; is[2010] = 100; 
vp[2011] = 154; hp[2011]= 52; ka[2011]= ""; 
iv[2011] = 60; is[2011] = 100; 
vp[2012] = 154; hp[2012]= 52; ka[2012]= ""; 
iv[2012] = 20; is[2012] = 100; 
DIV_name[4] = "Photo3";
DIV_type[4] = "i";
DIVlength[4] = 10;
DIV_Absolute[4] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[4] = "pic3.jpg";
DIV_MouseOver_function[4] = "";
DIV_MouseClick_function[4] = "DIVaction('Photo3,Photo4' , 'a' , '')";
DIV_OnMouseOut_function[4] = "";
DIV_OnMouseDown_function[4] = "";
DIV_OnMouseUp_function[4] = "";
imageInitialSize[4]= 500

document.write('<DIV id="Photo3100"  name="Photo3100" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo3100_img" ID="Photo3100_img"  width=500 SRC="pic3.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[4],'" onClick="' , DIV_MouseClick_function[4],'" onMouseOut="' , DIV_OnMouseOut_function[4],'" onMouseDown="' , DIV_OnMouseDown_function[4],'" onMouseUp="' , DIV_OnMouseUp_function[4],'"></DIV>');

}else{
imageInitialSize[4]= 500
DIV_value_image[4] = "pic3.jpg";
DIV_MouseOver_function[4] = "";
DIV_MouseClick_function[4] = "DIVaction('Photo3,Photo4' , 'a' , '')";
DIV_OnMouseOut_function[4] = "";
DIV_OnMouseDown_function[4] = "";
DIV_OnMouseUp_function[4] = "";
document.write('<DIV id="Photo3"  name="Photo3" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo3_img" ID="Photo3_img" SRC="pic3.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[4],'" onClick="' , DIV_MouseClick_function[4],'" onMouseOut="' , DIV_OnMouseOut_function[4],'" onMouseDown="' , DIV_OnMouseDown_function[4],'" onMouseUp="' , DIV_OnMouseUp_function[4],'"></DIV>');
}

vp[3004] = 54; hp[3004]= -600; ka[3004]= ""; 
iv[3004] = 1; is[3004] = 100; 
vp[3005] = 54; hp[3005]= -600; ka[3005]= "p"; 
iv[3005] = 1; is[3005] = 100; 
vp[3006] = 154; hp[3006]= 52; ka[3006]= ""; 
iv[3006] = 20; is[3006] = 100; 
vp[3007] = 154; hp[3007]= 52; ka[3007]= ""; 
iv[3007] = 40; is[3007] = 100; 
vp[3008] = 154; hp[3008]= 52; ka[3008]= ""; 
iv[3008] = 60; is[3008] = 100; 
vp[3009] = 154; hp[3009]= 52; ka[3009]= ""; 
iv[3009] = 90; is[3009] = 100; 
vp[3010] = 154; hp[3010]= 52; ka[3010]= "p"; 
iv[3010] = 100; is[3010] = 100; 
vp[3011] = 154; hp[3011]= 52; ka[3011]= ""; 
iv[3011] = 90; is[3011] = 100; 
vp[3012] = 154; hp[3012]= 52; ka[3012]= ""; 
iv[3012] = 60; is[3012] = 100; 
vp[3013] = 154; hp[3013]= 52; ka[3013]= ""; 
iv[3013] = 20; is[3013] = 100; 
DIV_name[5] = "Photo4";
DIV_type[5] = "i";
DIVlength[5] = 10;
DIV_Absolute[5] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[5] = "pic4.jpg";
DIV_MouseOver_function[5] = "";
DIV_MouseClick_function[5] = "DIVaction('Photo4,Photo5' , 'a' , '')";
DIV_OnMouseOut_function[5] = "";
DIV_OnMouseDown_function[5] = "";
DIV_OnMouseUp_function[5] = "";
imageInitialSize[5]= 500

document.write('<DIV id="Photo4100"  name="Photo4100" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo4100_img" ID="Photo4100_img"  width=500 SRC="pic4.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[5],'" onClick="' , DIV_MouseClick_function[5],'" onMouseOut="' , DIV_OnMouseOut_function[5],'" onMouseDown="' , DIV_OnMouseDown_function[5],'" onMouseUp="' , DIV_OnMouseUp_function[5],'"></DIV>');

}else{
imageInitialSize[5]= 500
DIV_value_image[5] = "pic4.jpg";
DIV_MouseOver_function[5] = "";
DIV_MouseClick_function[5] = "DIVaction('Photo4,Photo5' , 'a' , '')";
DIV_OnMouseOut_function[5] = "";
DIV_OnMouseDown_function[5] = "";
DIV_OnMouseUp_function[5] = "";
document.write('<DIV id="Photo4"  name="Photo4" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo4_img" ID="Photo4_img" SRC="pic4.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[5],'" onClick="' , DIV_MouseClick_function[5],'" onMouseOut="' , DIV_OnMouseOut_function[5],'" onMouseDown="' , DIV_OnMouseDown_function[5],'" onMouseUp="' , DIV_OnMouseUp_function[5],'"></DIV>');
}

vp[4005] = 54; hp[4005]= -600; ka[4005]= ""; 
iv[4005] = 1; is[4005] = 100; 
vp[4006] = 54; hp[4006]= -600; ka[4006]= "p"; 
iv[4006] = 1; is[4006] = 100; 
vp[4007] = 154; hp[4007]= 52; ka[4007]= ""; 
iv[4007] = 20; is[4007] = 100; 
vp[4008] = 154; hp[4008]= 52; ka[4008]= ""; 
iv[4008] = 40; is[4008] = 100; 
vp[4009] = 154; hp[4009]= 52; ka[4009]= ""; 
iv[4009] = 60; is[4009] = 100; 
vp[4010] = 154; hp[4010]= 52; ka[4010]= ""; 
iv[4010] = 90; is[4010] = 100; 
vp[4011] = 154; hp[4011]= 52; ka[4011]= "p"; 
iv[4011] = 100; is[4011] = 100; 
vp[4012] = 154; hp[4012]= 52; ka[4012]= ""; 
iv[4012] = 90; is[4012] = 100; 
vp[4013] = 154; hp[4013]= 52; ka[4013]= ""; 
iv[4013] = 60; is[4013] = 100; 
vp[4014] = 154; hp[4014]= 52; ka[4014]= ""; 
iv[4014] = 20; is[4014] = 100; 
DIV_name[6] = "Photo5";
DIV_type[6] = "i";
DIVlength[6] = 10;
DIV_Absolute[6] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[6] = "Pic5.jpg";
DIV_MouseOver_function[6] = "";
DIV_MouseClick_function[6] = "DIVaction('Photo5,Photo6' , 'a' , '')";
DIV_OnMouseOut_function[6] = "";
DIV_OnMouseDown_function[6] = "";
DIV_OnMouseUp_function[6] = "";
imageInitialSize[6]= 500

document.write('<DIV id="Photo5100"  name="Photo5100" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo5100_img" ID="Photo5100_img"  width=500 SRC="Pic5.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[6],'" onClick="' , DIV_MouseClick_function[6],'" onMouseOut="' , DIV_OnMouseOut_function[6],'" onMouseDown="' , DIV_OnMouseDown_function[6],'" onMouseUp="' , DIV_OnMouseUp_function[6],'"></DIV>');

}else{
imageInitialSize[6]= 500
DIV_value_image[6] = "Pic5.jpg";
DIV_MouseOver_function[6] = "";
DIV_MouseClick_function[6] = "DIVaction('Photo5,Photo6' , 'a' , '')";
DIV_OnMouseOut_function[6] = "";
DIV_OnMouseDown_function[6] = "";
DIV_OnMouseUp_function[6] = "";
document.write('<DIV id="Photo5"  name="Photo5" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo5_img" ID="Photo5_img" SRC="Pic5.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[6],'" onClick="' , DIV_MouseClick_function[6],'" onMouseOut="' , DIV_OnMouseOut_function[6],'" onMouseDown="' , DIV_OnMouseDown_function[6],'" onMouseUp="' , DIV_OnMouseUp_function[6],'"></DIV>');
}

vp[5006] = 54; hp[5006]= -600; ka[5006]= ""; 
iv[5006] = 1; is[5006] = 100; 
vp[5007] = 54; hp[5007]= -600; ka[5007]= "p"; 
iv[5007] = 1; is[5007] = 100; 
vp[5008] = 154; hp[5008]= 52; ka[5008]= ""; 
iv[5008] = 20; is[5008] = 100; 
vp[5009] = 154; hp[5009]= 52; ka[5009]= ""; 
iv[5009] = 40; is[5009] = 100; 
vp[5010] = 154; hp[5010]= 52; ka[5010]= ""; 
iv[5010] = 60; is[5010] = 100; 
vp[5011] = 154; hp[5011]= 52; ka[5011]= ""; 
iv[5011] = 90; is[5011] = 100; 
vp[5012] = 154; hp[5012]= 52; ka[5012]= "p"; 
iv[5012] = 100; is[5012] = 100; 
vp[5013] = 154; hp[5013]= 52; ka[5013]= ""; 
iv[5013] = 90; is[5013] = 100; 
vp[5014] = 154; hp[5014]= 52; ka[5014]= ""; 
iv[5014] = 60; is[5014] = 100; 
vp[5015] = 154; hp[5015]= 52; ka[5015]= ""; 
iv[5015] = 20; is[5015] = 100; 
DIV_name[7] = "Photo6";
DIV_type[7] = "i";
DIVlength[7] = 10;
DIV_Absolute[7] = 1;
if (name=="Opera" || name=="NS6"){
DIV_value_image[7] = "Pic6.jpg";
DIV_MouseOver_function[7] = "";
DIV_MouseClick_function[7] = "DIVaction('Photo6,Photo1' , 'a' , '')";
DIV_OnMouseOut_function[7] = "";
DIV_OnMouseDown_function[7] = "";
DIV_OnMouseUp_function[7] = "";
imageInitialSize[7]= 500

document.write('<DIV id="Photo6100"  name="Photo6100" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo6100_img" ID="Photo6100_img"  width=500 SRC="Pic6.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[7],'" onClick="' , DIV_MouseClick_function[7],'" onMouseOut="' , DIV_OnMouseOut_function[7],'" onMouseDown="' , DIV_OnMouseDown_function[7],'" onMouseUp="' , DIV_OnMouseUp_function[7],'"></DIV>');

}else{
imageInitialSize[7]= 500
DIV_value_image[7] = "Pic6.jpg";
DIV_MouseOver_function[7] = "";
DIV_MouseClick_function[7] = "DIVaction('Photo6,Photo1' , 'a' , '')";
DIV_OnMouseOut_function[7] = "";
DIV_OnMouseDown_function[7] = "";
DIV_OnMouseUp_function[7] = "";
document.write('<DIV id="Photo6"  name="Photo6" style="position:absolute;visibility:visible;top:1px;left:-4000px;">', '<IMG NAME="Photo6_img" ID="Photo6_img" SRC="Pic6.jpg" BORDER="0" onMouseOver="' , DIV_MouseOver_function[7],'" onClick="' , DIV_MouseClick_function[7],'" onMouseOut="' , DIV_OnMouseOut_function[7],'" onMouseDown="' , DIV_OnMouseDown_function[7],'" onMouseUp="' , DIV_OnMouseUp_function[7],'"></DIV>');
}

vp[6007] = 54; hp[6007]= -600; ka[6007]= ""; 
iv[6007] = 1; is[6007] = 100; 
vp[6008] = 54; hp[6008]= -600; ka[6008]= "p"; 
iv[6008] = 1; is[6008] = 100; 
vp[6009] = 154; hp[6009]= 52; ka[6009]= ""; 
iv[6009] = 20; is[6009] = 100; 
vp[6010] = 154; hp[6010]= 52; ka[6010]= ""; 
iv[6010] = 40; is[6010] = 100; 
vp[6011] = 154; hp[6011]= 52; ka[6011]= ""; 
iv[6011] = 60; is[6011] = 100; 
vp[6012] = 154; hp[6012]= 52; ka[6012]= ""; 
iv[6012] = 90; is[6012] = 100; 
vp[6013] = 154; hp[6013]= 52; ka[6013]= "p"; 
iv[6013] = 100; is[6013] = 100; 
vp[6014] = 154; hp[6014]= 52; ka[6014]= ""; 
iv[6014] = 90; is[6014] = 100; 
vp[6015] = 154; hp[6015]= 52; ka[6015]= ""; 
iv[6015] = 60; is[6015] = 100; 
vp[6016] = 154; hp[6016]= 52; ka[6016]= ""; 
iv[6016] = 20; is[6016] = 100; 
<!-- core-script Name: Lucidity for IE -->
<!-- script author: Scott Phillips (for more information visit abqconnect.com, jslayerutility.com, layerutility.com) -->
<!-- Last updated: 4:00 am September 8, 2009 , additions are paused layers in the first position can now be activated, heald layers can be activated, Image switching in the key followed by a semicolon-->
<!-- August 1, 2009.  HAlignStatus() to permit the user to indicate wether the layers location is based on either the left side or the center of the layer. This is what you would use to center image layers inside the users browser visible area. use trigger 'm' to center the layer or a 'l' to allign with the left side.  Also, when a layer is at position one then it can not be logicaly finnished if it hasnt been started yet -->
<!-- See Basic core-script for comments about the essential operability of js Layer Utilities core-scripts -->

timestamp_last_activation = new Array(DIVcount); <!-- august 21,2009 these two variables are used to prevent firefoxes from missfiring onmouseover events when the image is being resized.  each image has its own onmouseover -->


currentDIVpoint = new Array(DIVcount);
DIVstatus = new Array(DIVcount);
DIVNewContent = new Array(DIVcount);
move = new Array(DIVcount);
HAlignStatus=new Array(DIVcount);

var xPos = 0;
var delay = 50;
var yPos = 0;
var current;	
var window_height = 0;	
var window_width = 0;

<!-- get window size info -->
if(name == "Microsoft Internet Explorer"){
	window_height = document.body.clientHeight;
	window_width = document.body.clientWidth;
}else{
	window_height = window.innerHeight;
	window_width = window.innerWidth;
}

<!-- Set up each layers starting values -->
for (var j = 1; j <= DIVcount; j++) {
	current = j * 1001- 1000;
	DIVNewContent[j] = "";
	move[j] = 1;
	currentDIVpoint[j]=1;
	HAlignStatus[j]="l";
	if (ka[current].indexOf("m")>-1 && ka[current].indexOf("m")<2){HAlignStatus[j]="m"}
	
	<!-- Sets the starting DIV status -->
	DIVstatus[j]="";
	if (ka[current].indexOf("p")>-1 && ka[current].indexOf("p")<2){DIVstatus[j]="p"}
	if (ka[current].indexOf("h")>-1 && ka[current].indexOf("h")<2){DIVstatus[j]="h"}
	if (DIVstatus[j]=="" || DIVstatus[j]=="m" || DIVstatus[j]=="l" ){DIVstatus[j]="a"}
}


function PerpetuatingFunction(){
PositionDIV();
setTimeout('PerpetuatingFunction()',delay);
}

<!-- Available layer statuses 'p'= pause, 'a'= activate, 'f'= finish, 'r'=restart 'h'=hold-->
function DIVaction(DIVname, Status, NewContent){
	if (Status =="p" || Status =="a" || Status =="f" || Status =="r" || Status =="h" || Status =="m" || Status =="l"){
		var pos;
		var StringToFind;
		var ListOfDIVsToActivate=DIVname;

		if (name=="NS6" || name=="Opera"){
			var dt = new Date()
			var yyy = dt.getMilliseconds()
			var iii = dt.getSeconds()

			var m_minute = dt.getMinutes()
			var ms_min = m_minute * 60000;

			var h_hour = dt.getHours()
			var ms_hour = h_hour * 3600000;		

			var ggg = (iii*1000) + yyy + ms_min + ms_hour;
		}
		for (var j = 1; j <= DIVcount; j++) {
			StringToFind=DIV_name[j];
				if (ListOfDIVsToActivate.indexOf(StringToFind) > -1){

					var NotAllowActivation='false';
					if (Status =='f' && DIVstatus[j]=='p' && currentDIVpoint[j]==1){NotAllowActivation='true'}
					if (Status =='f' && DIVstatus[j]=='h' && currentDIVpoint[j]==1){NotAllowActivation='true'}

					<!-- the following 10 lines were added august 19, 2009 to prevent firefox from missfiring onmouseover event for each and every changed size element-->
					if (name=="NS6" || name=="Opera"){
						<!-- if(currentDIVpoint[j]>1){ -->
							jjj = timestamp_last_activation[j] + 20;
							if (ggg < jjj && Status !='p'){
								NotAllowActivation='true'
							}
						<!-- } -->
					}

					if (NotAllowActivation=='true'){

					}else{
						if (Status =="c" || Status =="l"){
							HAlignStatus[j]=Status;
						}else{
							DIVstatus[j]=Status;
						
						}
						DIVNewContent[j]=NewContent;
						if(name=="NS6" || name=="Opera"){
							timestamp_last_activation[j] = ggg;
						}
					}

				}
		}
	}else{
	alert ("Invalid status")
	}
}

<!-- This function handles positioning, sizing and rewriting DIV's based on their DIVstatus valuses -->
function PositionDIV() {
	if (name == "Microsoft Internet Explorer") {
		window_height = document.body.clientHeight;
		window_width = document.body.clientWidth;
	}else {
		window_height = window.innerHeight;
		window_width = window.innerWidth;
	}
	<!-- Cycles through all the DIVs in the project.  -->
	var blnHorW;
	for (var j = 1; j <= DIVcount; j++) {
			var ddt=new Date()
			var dtb=new Date()
			var current;
			current = currentDIVpoint[j] + (j * 1001- 1001);

			blnHorW=false;
			if (DIVstatus[j] == 'h') {blnHorW = true} 
						
			if (blnHorW == true && currentDIVpoint[j] > 1) {
				<!-- keep current position while this DIVs status is 'h' (content may be changed below though) -->
			}else{
				if (DIVstatus[j] != 'p' && DIVstatus[j] != 'h'){
						<!-- Otherwise increment to next position and adjust status from the new ka-->
						currentDIVpoint[j] = currentDIVpoint[j] + move[j];
						if(currentDIVpoint[j] < 0){
						currentDIVpoint[j] = DIVlength[j];
							if (DIVstatus[j] == 'f'){
							DIVstatus[j] = 'a';
							}
						}

						current = currentDIVpoint[j] + (j * 1001- 1001);
						if (ka[current]!=null){
							var locOfAFileName = ka[current].indexOf(";");
							if (locOfAFileName>-1){
								templocOfAFileName=locOfAFileName;
							}else{
								if (ka[current] != null){
									templocOfAFileName=ka[current].length;
								}else{
									templocOfAFileName=-1;
								}
							}
						}


						if(currentDIVpoint[j] > DIVlength[j]){
							currentDIVpoint[j] = 1;
							current = j * 1001- 1000;
							if (ka[current]!=null){
								locOfAFileName = ka[current].indexOf(";");
								if (locOfAFileName>-1){
									templocOfAFileName=locOfAFileName;
								}else{
									if (ka[current]!=null){
										templocOfAFileName=ka[current].length;
									}else{
										templocOfAFileName=-1;
									}
								}
							}
							if (DIVstatus[j] == 'r'){
								DIVstatus[j] = 'a';
							}else{	
								<!-- Sets the starting DIV status -->
								DIVstatus[j]="";
								if (ka[current].indexOf("p")>-1 && ka[current].indexOf("p") < templocOfAFileName){DIVstatus[j]="p"}
								if (ka[current].indexOf("h")>-1 && ka[current].indexOf("h") < templocOfAFileName){DIVstatus[j]="h"}
								if (DIVstatus[j]==""){DIVstatus[j]="a"}
								if (ka[current].indexOf("l")>-1 && ka[current].indexOf("l") < templocOfAFileName){HAlignStatus[j]="l"}
								if (ka[current].indexOf("m")>-1 && ka[current].indexOf("m") < templocOfAFileName){HAlignStatus[j]="m"}
							}					
						}else{
							if (DIVstatus[j] == 'a'){
								<!-- exclude ie from funning the following -->
								if (name=="NS6" || name=="Opera"){
									var eee = dtb.getSeconds()
									var ppp = eee * 1000;
									var m_minute = dtb.getMinutes()
									var ms_min = m_minute * 60000;
									var h_hour = dtb.getHours()
									var ms_hour = h_hour * 3600000;
									timestamp_last_activation[j] = ddt.getMilliseconds() + ppp + ms_min + ms_hour;
								}
								if (ka[current].indexOf("p")>-1 && ka[current].indexOf("p") < templocOfAFileName){DIVstatus[j] = 'p'}
								if (ka[current].indexOf("h")>-1 && ka[current].indexOf("h") < templocOfAFileName){DIVstatus[j] = 'h'}
								if (ka[current].indexOf("l")>-1 && ka[current].indexOf("l") < templocOfAFileName){HAlignStatus[j]="l"}
								if (ka[current].indexOf("m")>-1 && ka[current].indexOf("m") < templocOfAFileName){HAlignStatus[j]="m"}
							}
						}
					} 









				<!-- position DIV -->
				if(DIV_Absolute[j] == 1){
					if(HAlignStatus[j]=="l"){
						xPos = hp[current];
					}else{
						halfLayersWidth= .5 * imageInitialSize[j];
						xPos = hp[current] - halfLayersWidth;
					}
					yPos=vp[current];	
				}else{
					if(HAlignStatus[j]=="l"){
						xPos=(hp[current] * .01) * window_width;
					}else{
						halfLayersWidth=.5*imageInitialSize[j];
						xPos=(hp[current]*.01)*window_width;
						xPos=xPos-halfLayersWidth;
					}

					yPos=(vp[current] * .01) * window_height;
					if(name == "Microsoft Internet Explorer") {
						yPos=yPos+document.body.scrollTop;
					}else{
						yPos=yPos+window.pageYOffset;
						<!-- xPos = xPos + window.pageXOffset -->
					}	
				}
			
			

<!-- ECMA (compatible for all browsers) code above -->
<!-- ################################################################################################## -->
<!-- start of browser specific coding --><!-- Resized image DIVs-->
				if (name == "Microsoft Internet Explorer") {
						if (DIV_type[j] == "i"){
							var changeImage = document.getElementById(DIV_name[j] + "_img"); 
							changeImage.style.width = imageInitialSize[j] * (is[current] * .01);
						}
						var DIVtoReposition = document.getElementById(DIV_name[j]);
							DIVtoReposition.style.left = xPos;						
							DIVtoReposition.style.top = yPos;
							if (iv[current]!=""){
								DIVtoReposition.style.filter="alpha(opacity=" + iv[current] +")";
							}else{
								DIVtoReposition.style.filter="alpha(opacity=100)";
							}

				}else if (name == "Opera" || name == "NS6" ){
						if (DIV_type[j] == "i"){
							strdivname = DIV_name[j] + is[current];
							if(currentDIVpoint[j] == 1){
								if (DIVlength[j] + (j * 1001- 1001) != is[current]){
									var lastIndex = DIVlength[j] + (j * 1001- 1001)
									var OLDstrdivname = DIV_name[j] + is[lastIndex]
									var NSOLDDIVtoReposition = document.getElementById(OLDstrdivname)
									NSOLDDIVtoReposition.style.left = -2000 + "px";
									NSOLDDIVtoReposition.style.top = "0px";	
								}
							}else{
								if (is[current-1] != is[current]){
									var OLDstrdivname=DIV_name[j] + is[current-1];
									var NSOLDDIVtoReposition = document.getElementById(OLDstrdivname)
									NSOLDDIVtoReposition.style.left = -2000 + "px";
									NSOLDDIVtoReposition.style.top = "0px";
								}
							}
						}else{
							strdivname = DIV_name[j];
						}
						var NSDIVtoReposition = document.getElementById(strdivname)
						if(DIV_Absolute[j] == 1 || DIVstatus[j] == 'h'){
							NSDIVtoReposition.style.left = xPos + "px";
							NSDIVtoReposition.style.top = yPos + "px";
						}else{
							NSDIVtoReposition.style.left = xPos + window.pageXOffset + "px";
							NSDIVtoReposition.style.top = yPos + window.pageYOffset + "px";
						}
				}
			}	

			
			if (locOfAFileName>-1){
			 	var locOfAFileName = locOfAFileName+1;
				var EndOfFileName = ka[current].length;
				var NewImageName;
				NewImageName = ka[current].substring(locOfAFileName,EndOfFileName);   <!-- Be careful not to add any trailing spaces.  They dont get trimed off at the moment. -->
				
				<!-- switch out content -->
				<!-- Image DIV changing protocol -->
				if (name == "Microsoft Internet Explorer") {						
					var imagetochangeX= document.getElementById(DIV_name[j]+'_img'); 
					imagetochangeX.src = NewImageName;
				}else if (name == "Opera" || name == "NS6" ){
					for (var h = 1; h <= DIVlength[j]; h++) {
					current = h + (j * 1001- 1001);
					strdivname = DIV_name[j] + is[current] + "_img";
					var DIVTomodifyX = document.getElementById(strdivname); 						
						if (DIVTomodifyX !=null){
						DIVTomodifyX.src = NewImageName;
						}
					}
				}else{
					for (var h = 1; h <= DIVlength[j]; h++) {
					current = h + (j * 1001- 1001);
					strdivname = DIV_name[j] + is[current] + "_img";
					DIVTomodifyX = document[strdivname];
						if (DIVTomodifyX !=null){
						DIVTomodifyX.src = NewImageName;
						}
					}
				}
				DIVNewContent[j] = "";
				locOfAFileName=-1;
			}else{
				<!-- Content can be changed regardless of DIVstatus a,f,r,p or h but only where a 'c' key is-->			
				if (ka[current].indexOf("c")>-1){
					<!-- Sets new DIV content -->
					if (DIVNewContent[j] != "") {
						if (DIV_type[j] == "h") {
							<!-- HTML DIV changing protocol -->
							if (name == "Microsoft Internet Explorer" || name == "Opera" || name == "NS6") {						
								var strdivname = DIV_name[j];
								var DIVTomodify = document.getElementById(strdivname); 						
								DIVTomodify.innerHTML = DIVNewContent[j];
							}else{
								DIVTomodify = document.layers[strdivname];
								DIVTomodify.document.open();
								DIVTomodify.document.write(DIVNewContent[j]);
								DIVTomodify.document.close();
							}		
						}else{
							<!-- Image DIV changing protocol -->
							if (name == "Microsoft Internet Explorer") {						
								var imagetochange= document.getElementById(DIV_name[j]+'_img'); 
								imagetochange.src = DIVNewContent[j];
							}else if (name == "Opera" || name == "NS6" ){
								for (var h = 1; h <= DIVlength[j]; h++) {
								current = h + (j * 1001- 1001);
								strdivname = DIV_name[j] + is[current] + "_img";
								var DIVTomodify = document.getElementById(strdivname); 						
									if (DIVTomodify !=null){
										DIVTomodify.src = DIVNewContent[j];
									}
								}
							}else{
								for (var h = 1; h <= DIVlength[j]; h++) {
								current = h + (j * 1001- 1001);
								strdivname = DIV_name[j] + is[current] + "_img";
								DIVTomodify = document[strdivname];
									if (DIVTomodify !=null){
									DIVTomodify.src = DIVNewContent[j];
									}
								}
							}								
						}
						DIVNewContent[j] = "";
					}
				}

			}	
<!-- End of browser specific coding -->
<!-- ################################################################################################## -->

	}
}

<!-- THIS INITIATES THE PERPETUATING FUNCTION (TIMER)  -->	
window.onload=function(){
bolDocumentLoaded=true;
setTimeout('PerpetuatingFunction()',delay);
}


<!--  Additional source added by webmaster -->


<!--  End of webmaster additions   -->

}

