var sp_docObj
var sp_Top
var sp_Left
var sp_High
var sp_Wide
var sp_see
var sp_dontSee
if (document.all){
sp_docObj = "document.all"
sp_Top = ".style.top"
sp_Left = ".style.left"
sp_High = ".style.pixelHeight"
sp_Wide = ".style.pixelWidth"
sp_see = ".style.visibility = 'visible'"
sp_dontSee = ".style.visibility = 'hidden'"
sp_bgCol = ".style.backgroundColor"
sp_txtCol = ".style.color"
}else{
sp_docObj = "document.layers"
sp_Top = ".top"
sp_Left = ".left"
sp_High = ".clip.height"
sp_Wide = ".clip.width"
sp_see = ".visibility = 'show'"
sp_dontSee = ".visibility = 'hide'"
sp_bgCol = ".document.bgColor"
}
//=========================================
function slideIt2(slidelayerName,endHigh,endWide,frames,delay){
startHigh = eval("(" + sp_docObj + "['" + slidelayerName + "']" + sp_High + ")");
startWide = eval("(" + sp_docObj + "['" + slidelayerName + "']" + sp_Wide + ")");
travelVert = (endHigh-parseInt(startHigh));
travelHor = (endWide-parseInt(startWide));
vertFramePix = (travelVert/frames);
horFramePix = (travelHor/frames);
vertMoveTo = (vertFramePix + parseInt(startHigh));
horMoveTo = (horFramePix + parseInt(startWide));
xxx=eval("'"+slidelayerName+"'")
resize2(xxx,vertMoveTo,horMoveTo,vertFramePix,horFramePix,frames,delay);
}
function resize2(layerName,posHigh,posWide,vertIncs,horIncs,stages,wait){
if (stages==0){
}else{
eval("(" + sp_docObj + "['" + layerName + "']" + sp_High + "= posHigh)")
eval("(" + sp_docObj + "['" + layerName + "']" + sp_Wide + "= posWide)")
posHigh=(posHigh+vertIncs)
posWide=(posWide+horIncs)
--stages
setTimeout('resize2("' + layerName + '",' + posHigh + ',' + posWide + ',' + vertIncs + ',' + horIncs + ',' + stages + ',' + wait + '),' + wait)
}}
//=========================================
function seeDontSee(layerName,vis){
if (vis == "see"){
eval("(" + sp_docObj + "['" + layerName + "']" + sp_see + ")")
}else{
eval("(" + sp_docObj + "['" + layerName + "']" + sp_dontSee + ")")
}}
//=========================================
function colText(layerName,hexVal){
zzz=eval("'"+hexVal+"'")
eval("(" + sp_docObj + "['" + layerName + "']" + sp_txtCol + "=zzz)")
}
function colBg(layerName,hexVal){
eval("(" + sp_docObj + "['" + layerName + "']" + sp_bgCol + "=hexVal)")
}
//=========================================
function slideIt(slidelayerName,endTop,endLeft,frames,delay){
startTop = eval("(" + sp_docObj + "['" + slidelayerName + "']" + sp_Top + ")");
startLeft = eval("(" + sp_docObj + "['" + slidelayerName + "']" + sp_Left + ")");
travelVert = (endTop-parseInt(startTop));
travelHor = (endLeft-parseInt(startLeft));
vertFramePix = (travelVert/frames);
horFramePix = (travelHor/frames);
vertMoveTo = (vertFramePix + parseInt(startTop));
horMoveTo = (horFramePix + parseInt(startLeft));
xxx=eval("'"+slidelayerName+"'")
moveIt2(xxx,vertMoveTo,horMoveTo,vertFramePix,horFramePix,frames,delay);
}
function moveIt2(layerName,posTop,posLeft,vertIncs,horIncs,stages,wait){
if (stages==0){
}else{
eval("(" + sp_docObj + "['" + layerName + "']" + sp_Top + "= posTop)")
eval("(" + sp_docObj + "['" + layerName + "']" + sp_Left + "= posLeft)")
posTop=(posTop+vertIncs)
posLeft=(posLeft+horIncs)
--stages
ccc=eval("'"+layerName+"'")
setTimeout('moveIt2("' + ccc + '",' + posTop + ',' + posLeft + ',' + vertIncs + ',' + horIncs + ',' + stages + ',' + wait + '),' + wait);
}}
//=========================================
function curve(curvelayerName,vertMid,horMid,vertEnd,horEnd,frames,delay){
startTop = eval("(" + sp_docObj + "['" + curvelayerName + "']" + sp_Top + ")");
startLeft = eval("(" + sp_docObj + "['" + curvelayerName + "']" + sp_Left + ")");
p1x=parseInt(startTop)
p2x=parseInt(vertMid)
p3x=parseInt(vertEnd)
p1y=parseInt(startLeft)
p2y=parseInt(horMid)
p3y=parseInt(horEnd)
t=1
f=frames/100
aaa=eval("'"+curvelayerName+"'")
curveMove(aaa,p1x,p2x,p3x,p1y,p2y,p3y,t,f)
}
function curveMove(curvelayerName,p1x,p2x,p3x,p1y,p2y,p3y,t,f){
if (t<=0){
}else{
x=((t*t)*p1x)-(2*t*(t-1)*p2x)+((t-1)*(t-1)*(p3x));
y=((t*t)*p1y)-(2*t*(t-1)*p2y)+((t-1)*(t-1)*(p3y));
t=(t-f)
eval("(" + sp_docObj + "['" + curvelayerName + "']" + sp_Top + "= x)")
eval("(" + sp_docObj + "['" + curvelayerName + "']" + sp_Left + "= y)")
setTimeout('curveMove("' + curvelayerName + '",'+p1x+','+p2x+','+p3x+','+p1y+','+p2y+','+p3y+','+t+','+f+'),'+10);
}}



//###########################################################




{
var browserName = navigator.appName;
var	browserVer = parseInt ( navigator.appVersion );
if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) {
isFalse();
} else if (browserName == "Netscape" && browserVer >=4) {
isFalse();
} else { 
isTrue();
}}
function isTrue(){
scriptWorks="0"
}
function isFalse(){
scriptWorks="1"
}

//===========================================

function over(imgDocID,imgObjName) {
if (scriptWorks == "1")
document.images[imgDocID].src = eval(imgObjName + ".src")
}

//===========================================

function showPic(title,picture){
options="width=400,height=500,status=no,scrollbars=yes"
closeupWindow=window.open("","CloseUp",options)
contents="<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2  Final//EN'><HTML><HEAD><TITLE></TITLE></HEAD><BODY onBlur='window.close()'  bgcolor='#ffffff'><BR><img hspace='10' src='images/"+picture+"' border=1 alt=''><BR><BR><font face='Arial' size='2' color='#00000'>"+title+"<BR><br><font size='1'>This window will close when you click outside of its frame.</font></font></BODY></HTML>"
closeupWindow.document.write(contents)
closeupWindow.document.close()
}
//===========================================
function showPicWork(title,picture){
options="width=800,height=500,status=no,scrollbars=yes"
closeupWindow=window.open("","CloseUp",options)
contents="<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2  Final//EN'><HTML><HEAD><TITLE></TITLE></HEAD><BODY onBlur='window.close()'  bgcolor='#ffffff'><BR><img hspace='10' src='images/"+picture+"' border=1 alt=''><BR><BR><font face='Arial' size='2' color='#00000'>"+title+"<BR><br><font size='1'>This window will close when you click outside of its frame.</font></font></BODY></HTML>"
closeupWindow.document.write(contents)
closeupWindow.document.close()
}
//===========================================
function showPicA(title,picture){
options="width=650,height=470,status=no,scrollbars=yes"
closeupWindow=window.open("","CloseUp",options)
contents="<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2  Final//EN'><HTML><HEAD><TITLE></TITLE></HEAD><BODY onBlur='window.close()'  bgcolor='#ffffff'><BR><img hspace='10' src='images/"+picture+"' border=1 alt=''><BR><BR><font face='Arial' size='2' color='#00000'>"+title+"<BR><br><font size='1'>This window will close when you click outside of its frame.</font></font></BODY></HTML>"
closeupWindow.document.write(contents)
closeupWindow.document.close()
}
//===========================================
function showPicB(title,picture){
options="width=500,height=400,status=no,scrollbars=yes"
closeupWindow=window.open("","CloseUp",options)
contents="<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2  Final//EN'><HTML><HEAD><TITLE></TITLE></HEAD><BODY onBlur='window.close()'  bgcolor='#ffffff'><BR><img hspace='10' src='images/"+picture+"' border=1 alt=''><BR><BR><font face='Arial' size='2' color='#00000'>"+title+"<BR><br><font size='1'>This window will close when you click outside of its frame.</font></font></BODY></HTML>"
closeupWindow.document.write(contents)
closeupWindow.document.close()
}