
function rate( name, value )
{
document.cookie=name+"="+escape(value);
}


function rate2( category, name, value )
{
document.cookie=category+"="+name+"->"+value;
}

function move( i , y){

for(z=i;z>0;z=z-1)
{
document.getElementById(y + 'single'+ z ).style.background=' url(/themes/hostreview/images/starbox/full.gif) 0 0 no-repeat';
}
document.getElementById( 'single_star_conteiner_HPid' + y ).style.opacity='1.0';
}

function move2( i , y)
{
if( i == 0 ) i = 1;
for(z=i-3;z<6;z=z+1)
document.getElementById(y + 'single' + z ).style.background=' url(/themes/hostreview/images/starbox/empty.gif) 0 0 no-repeat'
}

function move3( name , y)
{
var z;
z = Get_Cookie( name );
for(z;z>0;z=z-1)
document.getElementById(y + 'single'+ z ).style.background=' url(/themes/hostreview/images/starbox/full.gif) 0 0 no-repeat';

z = Get_Cookie( name );
for(z = z+1;z<6;z=z+1)
document.getElementById(y + 'single' + z ).style.background=' url(/themes/hostreview/images/starbox/empty.gif) 0 0 no-repeat';


}

function Get_Cookie( name ) {

var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) &&
( name != document.cookie.substring( 0, name.length ) ) )
{
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ";", len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
}


function roll_overrr( name )
{
document.getElementById( 'opala' ).src=name;
}

function refresh()
{
document.cookie="bandwith_space_value=0";
document.cookie="reability_uptime_value=0";
document.cookie="customer_service_value=0";
document.cookie="quality_value=0";
document.cookie="price_value=0";
}
