<!--
var tgpBuffer = new Array();
var tgpTransfer = false;
var tgpQuery = '';
function noErrorMessages (){return true;}
window.onerror = noErrorMessages;
// Reset showed status for this url
if (mytgp_weburl){
	document.write('<scr' + 'ipt language="JavaScript" src="http://www.lusttower.com/tgpdata.php?reseturl=true&weburl=' + escape(mytgp_weburl) + '"></scr' + 'ipt>');
}

function tgpGallery (pictures, url, description, mydate, thumb, width, height, contenttype, rating) {
	this.pictures = pictures;
	this.url = url;
	this.description = description;
	this.mydate = mydate;
	this.thumb = thumb;
	this.width = width;
	this.height = height;
	this.contenttype = contenttype;
	this.rating = rating;
}
function tgpData (pictures, url, description, mydate, thumb, width, height, contenttype, rating){
	tgpBuffer[tgpBuffer.length] = new tgpGallery (pictures, url, description, mydate, thumb, width, height, contenttype, rating);
}
function tgpCompareRandom (a, b) {
	if (Math.round(Math.random()) == 1){return 1;}
	else {return -1;}
}
function tgpShuffle (){
	tgpBuffer.sort(tgpCompareRandom);
}
function tgpTruncate (newsize){
	var tmpArray = new Array();
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		tmpArray[tmpArray.length] = tgpBuffer[i];
		if ((i+1) == newsize){break;}
	}
	tgpBuffer = tmpArray;
}
function clearTgpBuffer (){
	tgpBuffer = new Array();
}
function tgpTransferDone (){
	tgpTransfer = true;
}
function loadtgp (query){
	tgpQuery = query;
	tgpTransfer = false;
	document.write('<scr' + 'ipt language="JavaScript" src="http://www.lusttower.com/tgpdata.php?' + tgpQuery + '"></scr' + 'ipt>');
}
function verifytgp (){
	if (!tgpTransfer){
		document.write('<scr' + 'ipt language="JavaScript" src="http://www.lusttower.com/tgpdata.php?' + tgpQuery + '&noboost=true"></scr' + 'ipt>');
	}
}
function showtgp_1 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a><br>');
	}
}
function showtgp_1_5 (){
	var count = tgpBuffer.length;
	document.write('<table border=0 cellspacing=0 cellpadding=0>');
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<tr valign="top"><td class="tgpLink">' + obj.contenttype + '</td><td>&#160;&#160;</td><td><a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a></td></tr>');
	}
	document.write('</table>');
}
function showtgp_2 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<a href="' + obj.url + '" class="tgpLink">' + obj.pictures + ' pictures</a><br>');
	}
}
function showtgp_3 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<span class="tgpLink"><a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a> (' + obj.pictures);
		if (obj.contenttype == 'MOV'){
			document.write(' videos');
		}
		else {
			document.write(' pics');
		}
		document.write(')</span><br>');
	}
}
function showtgp_3_1 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<span class="tgpLink"><a href="' + obj.url + '" class="tgpLink"><b>' + obj.description + '</b></a> (' + obj.pictures);
		if (obj.contenttype == 'MOV'){
			document.write(' videos');
		}
		else {
			document.write(' pics');
		}
		document.write(')</span><br>');
	}
}
function showtgp_3_2 (){
	var ratingdir = 'http://pornserver.org/gfx/mytgp';
	var ratingwidth = 59;
	var ratingheight = 11;
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<span class="tgpLink"><img src="' + ratingdir + '/rating' + obj.rating + '.gif" width=' + ratingwidth + ' height=' + ratingheight + ' alt="Rating ' + obj.rating + ' out of 5" border=0> &#160;<a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a> (' + obj.pictures);
		if (obj.contenttype == 'MOV'){
			document.write(' videos');
		}
		else {
			document.write(' pics');
		}
		document.write(')</span><br>');
	}
}
function showtgp_4 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<span class="tgpLink">' + obj.mydate + ' <a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a></span><br>');
	}
}
function showtgp_5 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		document.write('<span class="tgpLink">' + obj.mydate + ' <a href="' + obj.url + '" class="tgpLink">' + obj.pictures + ' pictures</a></span><br>');
	}
}
function showtgp_6 (){
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures == 0){
			obj.pictures = '&#160;+&#160;';
		}
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		document.write('<span class="tgpLink">' + obj.pictures + ' <a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a></span><br>');
	}
}
function showtgp_6_11 (){
	var count = tgpBuffer.length;
	var fadings = new Array('#FFFFFF','#EFEFEF','#DFDFDF','#CFCFCF','#BFBFBF','#AFAFAF','#9F9F9F','#8F8F8F','#7F7F7F','#6F6F6F','#5F5F5F');
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures == 0){
			obj.pictures = '&#160;+&#160;';
		}
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		if ((i+1) > 11){
			var color = fadings[10];
		}
		else {
			var color = fadings[i];
		}
		document.write('<span class="tgpLink"><font color="' + color + '">' + obj.pictures + '</font> <a href="' + obj.url + '" class="tgpLink"><font color="' + color + '"><b>' + obj.description + '</b></font></a></span><br>');
	}
}

function showtgp_6_11_2 (){
	var ratingdir = 'http://pornserver.org/gfx/mytgp';
	var ratingwidth = 59;
	var ratingheight = 11;
	var count = tgpBuffer.length;
	var fadings = new Array('#FFFFFF','#EFEFEF','#DFDFDF','#CFCFCF','#BFBFBF','#AFAFAF','#9F9F9F','#8F8F8F','#7F7F7F','#6F6F6F','#5F5F5F');
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures == 0){
			obj.pictures = '&#160;+&#160;';
		}
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		if ((i+1) > 11){
			var color = fadings[10];
		}
		else {
			var color = fadings[i];
		}
		document.write('<span class="tgpLink"><img src="' + ratingdir + '/rating' + obj.rating + '.gif" width=' + ratingwidth + ' height=' + ratingheight + ' alt="Rating ' + obj.rating + ' out of 5" border=0> &#160;<a href="' + obj.url + '" class="tgpLink"><font color="' + color + '"><b>' + obj.description + '</b></font></a></span><br>');
	}
}

function showtgp_7 (rowpics){
	var count = tgpBuffer.length;
	
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		document.write('<span class="tgpLink"><a href="' + obj.url + '" class="tgpLink"><img src="' + obj.thumb + '" width="' + obj.width + '" height="' + obj.height + '" alt="' + obj.description + '" border=1></a></span> ');
		if ((i+1) % rowpics == 0){
			document.write('<br>');
		}
	}
}

function showtgp_7_1 (rowpics){
	var count = tgpBuffer.length;
	var rowcount = 0;
	
	for (i=0; i<count; i++){
		rowcount++;
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		document.write('<span class="tgpLink"><a href="' + obj.url + '" class="tgpLink"><img src="' + obj.thumb + '" width="' + obj.width + '" height="' + obj.height + '" alt="' + obj.description + '" border=1></a></span> ');
		if (rowcount % rowpics == 0){
			document.write('<br>');
			rowpics--;
			rowcount = 0;
		}
	}
}

function showtgp_7_2 (rowpics){
	var count = tgpBuffer.length;
	
	document.write('<table border=0 cellspacing=0 cellpadding=0>');
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		document.write('<tr valign="middle"><td class="tgpLink"><a href="' + obj.url + '" class="tgpLink"><img src="' + obj.thumb + '" width="' + obj.width + '" height="' + obj.height + '" alt="' + obj.description + '" border=1></a></td><td>&#160;&#160;</td><td><a href="' + obj.url + '" class="tgpLink">' + obj.description + '</a></td></tr>');
		if ((i+1) % rowpics == 0){
			document.write('<br>');
		}
	}
	document.write('</table>');
}

function showtgp_8 (split){
	document.write('<table border=0 cellspacing=0 cellpadding=0><tr valign=top><td>');
	var count = tgpBuffer.length;
	for (i=0; i<count; i++){
		var obj = tgpBuffer[i];
		obj.pictures += '';
		if (obj.pictures.length == 1){
			obj.pictures = '0' + obj.pictures;
		}
		document.write('<a href="' + obj.url + '" class="tgpLink">' + obj.pictures + ' pictures</a><br>');
		if ((i+1) % split == 0){document.write('</td><td width=5></td><td>');}
	}
	document.write('</td></tr></table>');
}
function showtgp(){
	showtgp_6();	
}
// -->