function expandFlash(c,b,a){document.getElementById(c).style.height=b;
document.getElementById(c).style.width=a
}function collapseFlash(c,b,a){document.getElementById(c).style.height=b;
document.getElementById(c).style.width=a
}function runFlash(c,b,a){document.write('<object id="id'+(new Date()).getTime()+'" type="application/x-shockwave-flash" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="'+b+'" height="'+a+'">\n');
document.write('<param name="movie" value="'+c+'" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<embed src="'+c+'" width="'+b+'" height="'+a+'" wmode="transparent"></embed>\n');
document.write("</object>\n")
}function fadeArea(a,m){var m=m||{};
var l=m.zindex||50;
var f=m.opacity||70;
var e=(f/100);
var n=m.bgcolor||"#000000";
var j;
if(m.darkElementId!=null){j=m.darkElementId
}else{j="body"
}var g=document.getElementById("darkenScreenObject");
if(!g){var d=document.getElementById(j);
var b=document.createElement("div");
b.style.position="absolute";
var k=findPos(d);
b.style.top=k[1]+"px";
b.style.left=k[0]+"px";
b.style.overflow="hidden";
b.style.display="none";
b.id="darkenScreenObject";
d.appendChild(b);
g=document.getElementById("darkenScreenObject")
}if(a){if(document.body&&(document.body.scrollWidth||document.body.scrollHeight)){var h=document.body.scrollWidth+"px";
var c=document.body.scrollHeight+"px"
}else{if(document.body.offsetWidth){var h=document.body.offsetWidth+"px";
var c=document.body.offsetHeight+"px"
}else{var h="100%";
var c="100%"
}}g.style.opacity=e;
g.style.MozOpacity=e;
g.style.filter="alpha(opacity="+f+")";
g.style.zIndex=l;
g.style.backgroundColor=n;
g.style.width=document.getElementById(j).offsetWidth+1+"px";
g.style.height=document.getElementById(j).offsetHeight+1+"px";
g.style.display="block"
}else{g.style.display="none"
}}function findPos(a){var b=curtop=0;
if(a.offsetParent){b=a.offsetLeft;
curtop=a.offsetTop;
while(a=a.offsetParent){b+=a.offsetLeft;
curtop+=a.offsetTop
}}return[b,curtop]
}function overlayDropDown(a){if(document.all){if(document.all.selectSearch){if(document.all.selectSearch.filters){if(a){document.all.selectSearch.style.filter="revealTrans";
document.all.selectSearch.filters[0].apply();
document.all.section.style.display="none"
}else{document.all.selectSearch.filters[0].enabled=false;
document.all.section.style.display="block"
}}}}}var aniLoop=0;
function displayMessage(c,a){var b=aniLoop%4;
var d="";
for(i=0;
i<b;
i++){d+="."
}searchAni=document.getElementById(a);
searchAni.innerHTML="<p style='font-weight:bold; font-size: 16pt; padding-left:190px; padding-top: 25px;color: black;'>"+c+d+"</p>";
aniLoop++
}function startSearchLogo(b){var a=document.getElementById(b);
var e=document.createElement("div");
e.style.position="absolute";
var d=findPos(a);
e.style.top=d[1]+"px";
e.style.left=d[0]+"px";
e.style.overflow="hidden";
e.style.display="block";
e.id="searchAniDiv";
e.style.zIndex=50;
a.appendChild(e);
var c="displayMessage('Searching','searchAniDiv');";
setInterval(c,400)
}var lock=false;
function startSearch(){if(!lock){lock=true;
document.getElementById("submitBtn").focus();
overlayDropDown(true);
fadeArea(true,{opacity:"70",bgcolor:"#fff",zindex:"25",darkElementId:"search_form_container"});
startSearchLogo("search_form_container")
}}function correctPNG(){var f=navigator.appVersion.split("MSIE");
var g=parseFloat(f[1]);
if((g>=5.5)&&(document.body.filters)){for(var c=0;
c<document.images.length;
c++){var d=document.images[c];
var j=d.src.toUpperCase();
if(j.substring(j.length-3,j.length)=="PNG"){if(d.className!="gloss"){var e=(d.id)?"id='"+d.id+"' ":"";
var k=(d.className)?"class='"+d.className+"' ":"";
var b=(d.title)?"title='"+d.title+"' ":"title='"+d.alt+"' ";
var h="display:inline-block;"+d.style.cssText;
if(d.align=="left"){h="float:left;"+h
}if(d.align=="right"){h="float:right;"+h
}if(d.parentElement.href){h="cursor:hand;"+h
}var a="<span "+e+k+b+' style="width:'+d.width+"px; height:"+d.height+"px;"+h+";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+d.src+"', sizingMethod='scale');\"></span>";
d.outerHTML=a;
c=c-1
}}}}}function bustCache(){var a=new Date();
return a.getMilliseconds()+Math.random()
};
