
function RowOver(id,idx)
{eval('var imagesArray='+id+'_Images');var y=imagesArray.length;for(x=0;x<y;x++)
{if(x!=idx)
{var r=document.getElementById('StationRow'+x+'_'+id)
r.className='num-list';}}
isOver=true;var row=document.getElementById('StationRow0_'+id)
row.className='num-list';var row=document.getElementById('StationRow'+idx+'_'+id)
row.className='active';var controlImage=document.getElementById('TopStationImage_'+id);var newImage=imagesArray[idx];controlImage.src=newImage.src;}
function RowOut(id,idx)
{isOver=false;setTimeout("if (!isOver){var row=document.getElementById('StationRow"+idx+"_"+id+"');row.className='num-list';}",00);setTimeout('var controlImage = document.getElementById(\'TopStationImage_'+id+'\');if (!isOver) controlImage.src=defaultImage_'+id+'.src',200);}
function ClearRows(id)
{eval('var imagesArray='+id+'_Images');var y=imagesArray.length;for(x=0;x<y;x++)
{if(x!=idx)
{var r=document.getElementById('StationRow'+x+'_'+id)
r.className='num-list';}}}
function wh_timer()
{var o4=document.getElementById("wh_max");var o5=document.getElementById("wh_current");if((o4)&&(o5))
{var o0=o5.value;o5.value++;if(o5.value*1>=o4.value*1)o5.value=0;wh_viewtab(o0,o5.value);}
wh_settimer();}
function wh_dotover(n)
{var st=document.getElementById("wh_seconds");if(st){if(st.value==0)return;}
if(n>-1)
{var o4=document.getElementById("wh_max");var o5=document.getElementById("wh_current");if((o4)&&(o5))
{if(n!=o5.value)
{var o0=o5.value;o5.value=n;if(o5.value*1>=o4.value*1)o5.value=0;wh_viewtab(o0,o5.value);}}}
wh_cleartimer();}
function wh_cleartimer()
{var od=document.getElementById("wh_timerid");if(od)clearTimeout(od.value);}
function wh_conout()
{wh_settimer();}
function wh_viewtab(p1,p2)
{var o1=document.getElementById("wh_data"+p2);var o2=document.getElementById("wh_fholder");if((o1)&&(o2))o2.innerHTML=o1.innerHTML;o1=document.getElementById("wh_dicon"+p2);o2=document.getElementById("wh_iconholder");if((o1)&&(o2)){o2.innerHTML=o1.innerHTML;}
o1=document.getElementById("wh_iddot"+p2);o2=document.getElementById("wh_iddot"+p1);var o3=document.getElementById("wh_dsrc0");var o4=document.getElementById("wh_dsrc1");if((o1)&&(o2)&&(o3)&&(o4)){o1.src=o4.value;o2.src=o3.value;}}
function wh_stop(n)
{var st=document.getElementById("wh_seconds");if(st)
{st.value=100000;wh_dotover(n)
st.value=0;}}
function wh_dotout()
{}
function wh_settimer()
{var st=document.getElementById("wh_seconds");var od=document.getElementById("wh_timerid");if((st)&&(od))
{if(st.value>0)od.value=setTimeout("wh_timer()",st.value);}}
function wh_main()
{var st=document.getElementById("wh_current");if(st)st.value=0;wh_settimer();}