
function movieRate(url, id) {

document.write('<form name="myrateform" style="margin: 0px; padding: 0px;" method="POST" action="/action/rate-videogallery.php">');
document.write('<select name="value" onChange="this.form.submit();">');
document.write('<option selected>please select</option>');
document.write('<option value="5">*****&nbsp; - best movies</option>');
document.write('<option value="4">****&nbsp;&nbsp;&nbsp; - good movies</option>');
document.write('<option value="3">***&nbsp;&nbsp;&nbsp;&nbsp; - average</option>');
document.write('<option value="2">**&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - not good</option>');
document.write('<option value="1">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - very bad</option>');
document.write('</select>');
document.write('<input type="hidden" name="mark" value="mov-' + id + '">');
document.write('<input type="hidden" name="url" value="' + url + '">');
document.write('</form>');
      
}
