function preload(imgObj,imgSrc)
{
eval(imgObj+"=new Image()")
eval(imgObj+".src='"+imgSrc+"'")
}

function clips(id,com)
{
eval(id+".clipInit("+com+");"+id+".clipTo("+com+")")
}

function changeImage(layer,imgName,imgObj)
{
if ((is.ns) && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')
else document.images[imgName].src = eval(imgObj+".src")
}

function setFonts()
{
if(document.all) fonts="xx-small"
else fonts="x-small"
document.writeln("<STYLE TYPE='text/css'>")
document.writeln("P {font-family:verdana,arial,helvetica,geneva; font-size:"+fonts+"; color:#000000}")
document.writeln("P.cap {font-family:verdana,arial,helvetica,geneva; font-size:11px; color:#000000}")
document.writeln("H3 {font-family:arial,helvetica,geneva; font-size:14px; color:#000000; line-height:20px}")
document.writeln("OL {font-family:verdana,arial,helvetica,geneva; font-size:"+fonts+"; color:#000000}")
document.writeln("UL {font-family:verdana,arial,helvetica,geneva; font-size:"+fonts+"; color:#000000}")
document.writeln("LI {font-family:verdana,arial,helvetica,geneva; font-size:"+fonts+"; color:#000000}")
document.writeln("A {font-family:verdana,arial,helvetica,geneva; font-size:"+fonts+"; color:#000000; text-decoration:none}")
document.writeln("A:active {color:#000000}")
document.writeln("A:visited {color:#000000}")
document.writeln("A:hover {color:#00000}")
document.writeln("</STYLE>")
}

// Netscape Resize Fix
if (document.layers)
 {
  widthCheck = window.innerWidth
  heightCheck = window.innerHeight
  window.onResize = resizeFix()
 }
function resizeFix()
{
if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
document.location.href = document.location.href
}