
// Table cell highlight


function listOver1(tr){
	if(document.getElementById||(document.all && !(document.getElementById))) tr.style.backgroundColor="#dedede";}
function listOut1(tr){
	if(document.getElementById||(document.all && !(document.getElementById))) tr.style.backgroundColor="#eeeeee";}
function listOver2(tr){
	if(document.getElementById||(document.all && !(document.getElementById))) tr.style.backgroundColor="#dedede";}
function listOut2(tr){
	if(document.getElementById||(document.all && !(document.getElementById))) tr.style.backgroundColor="#faf9fa";}
function dropdownOver(tr){
	if(document.getElementById||(document.all && !(document.getElementById))) tr.style.backgroundColor="#d9d9d9";}
function dropdownOut(tr){
	if(document.getElementById||(document.all && !(document.getElementById))) tr.style.backgroundColor="#e8e8e8";}



// Dropdown navigation


new ypSlideOutMenu("menu1", "down", 28, 145, 150, 105) // numbers indicate the following: position from left, position from right, width, height
new ypSlideOutMenu("menu2", "down", 104, 145, 90, 50)
new ypSlideOutMenu("menu3", "down", 167, 145, 125, 50)
new ypSlideOutMenu("menu4", "down", 231, 145, 80, 25)
new ypSlideOutMenu("menu5", "down", 293, 145, 160, 75)



// Image onMouseOver with fade effect


function flvFSTI3(v1,v2){
var v3;if (v1.filters[0]&&v1.filters[0].status==2){v1.filters[0].Stop();}if (v2==0){v3="blendTrans(Duration="+v1.STI8+")";}else {v3="revealTrans(Duration="+v1.STI8+",Transition="+(v2-1)+")";}v1.style.filter=v3;}

function flvFSTI1(){
var v1=arguments,v2=document,v3;v2.STI4=new Array();v2.STI7=(navigator.userAgent.toLowerCase().indexOf("mac")!=-1);for (var v4=0;v4<v1.length-2;v4+=5){v3=MM_findObj(v1[v4]);if (v3){v3.STI5=v3.src;v3.STI6=v1[v4+1];v3.STI2=v1[v4+2];v3.STI3=v1[v4+3];v3.STI8=v1[v4+4];v2.STI4[v2.STI4.length]=v3;if (v3.filters&&!v2.STI7){flvFSTI3(v3,v3.STI2);v3.onfilterchange=flvFSTI4;v3.filters[0].Apply();}v3.src=v3.STI6;if (v3.filters&&!v2.STI7){v3.filters[0].Play();}}}}

function flvFSTI2(){
var v1,v2=document,v3=v2.STI4,v4;for (v4=0;v3&&v4<v3.length&&(v1=v3[v4])&&v1.STI5;v4++){if (v1.filters&&!v2.STI7){flvFSTI3(v1,v1.STI3);v1.filters[0].Apply();}v1.src=v1.STI5;if (v1.filters&&!v2.STI7){v1.filters[0].Play();}}}

function flvFSTI4(){
this.style.filter="";}



// Image preload


function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
