function visitReview(id) {
    window.open("http://www.porn-db.com/go/reviews/" + id + '.html', 'window', '');
    return false;
}

function windowStatus() {
  window.status=""; 
  return true;
}

 
 
 


function galleryRate(url, id) {

document.write('<form name="myrateform" method="POST" action="http://www.porn-db.com/action/rate-gallery.php">');
document.write('<select name="value" onChange="this.form.submit();">');
document.write('<option selected>please select</option>');
document.write('<option value="5">***** &nbsp;- best gallery</option>');
document.write('<option value="4">****&nbsp;&nbsp;&nbsp; - good gallery</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="gal-' + id + '">');
document.write('<input type="hidden" name="url" value="' + url + '">');
document.write('</form>');
      
}





function reviewComment(url, id) {
document.write('<table width="100%"><form action="http://www.porn-db.com/action/comment.php" method="POST">');
document.write('<tr><td><h2 class="t_14">Add your comment</h2></td></tr>');
document.write('<tr><td width="100%">Your name<br /><input name="p[name]" type="text" style="width: 80%" /></td></tr>');
document.write('<tr><td width="100%">Your email<br /><input name="p[email]" type="text" style="width: 80%" /></td></tr>');
document.write('<tr><td width="100%">Comment<br /><textarea name="p[text]" style="width: 100%" rows="4"></textarea></td></tr>');
document.write('<tr><td width="100%"><input type="submit" value="Add comment" style="font: bold 16px Arial; height: 30px;" />');
document.write('<input type="hidden" name="url" value="' + url + '" />');
document.write('<input type="hidden" name="p[mark]" value="site-' + id + '" />');
document.write('</td></tr><tr>');
document.write('<td class="t_comment"><font color="red">*</font> all comments will be previewed by moderator before publish</td>');
document.write('</tr></form></table>');
}






function reviewRate(url, id, name) {

document.write('<form name="myrateform" method="POST" action="http://www.porn-db.com/action/rate-site.php">');
document.write('<select name="value" onChange="this.form.submit();">');
document.write('<option selected>please select</option>');
document.write('<option value="5">***** - best site</option>');
document.write('<option value="4">****&nbsp;&nbsp; - good site</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="site-' + id + '">');
document.write('<input type="hidden" name="url" value="' + url + '">');
document.write('</form>');
      
}

 
 
 
 
function movieRate(url, id) {

document.write('<form name="myrateform" style="margin: 0px; padding: 0px;" method="POST" action="http://www.porn-db.com/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>');
      
}

