//load this file first
var __appCDN = true;

//rate functions....
function handupon(it){it.src='images/up.gif';}
function handupoff(it){it.src='images/upoff.gif';}
function handdownon(it){it.src='images/down.gif';}
function handdownoff(it){it.src='images/downoff.gif';}


function ontable(it){
	if(it.className.match(/premiumList/))
		it.style.background='url(images/premium_bg2.gif)';
	else
		it.style.background='url(images/bg2.gif)';
}

function ontableBig(it){
	if(it.className.match(/premiumList/))
		it.style.background='url(images/premium_bg2-big.gif)';
	else
		it.style.background='url(images/bg2-big.gif)';
}

function offtable(it){
	if(it.className.match(/premiumList/))
		it.style.background='url(images/premium_bg1.gif)';
	else
		it.style.background='url(images/bg1.gif)';
}

function offtableBig(it){
	if(it.className.match(/premiumList/))
		it.style.background='url(images/premium_bg1-big.gif)';
	else
		it.style.background='url(images/bg1-big.gif)';
}



/*
function offtable2(e, it, tid){

var targ;
if (!e) var e = window.event;
if (e.target) targ = e.target;
else if (e.srcElement) targ = e.srcElement;
if (targ.nodeType == 3) // defeat Safari bug
	targ = targ.parentNode;


if(targ.id != 'tableRow'+tid){
//alert(targ.id + '>tableRow'+tid);
	//return false;
}

if(it.className.match(/premiumList/))
	it.style.background='url(images/premium_bg1.gif)';
else
	it.style.background='url(images/bg1.gif)';

return true;
}
*/
