<!--
var online=0;
var Image1Off, Image1On, Image2Off, Image2On, Image3On, Image3Off, Image4On, Image4Off, Image5On, Image5Off, Image6On, Image6Off;
var current_img = new Image, new_img = new Image;

var 	hrefs = new Array("", "bases_seduccion.shtml", "seduccion.shtml", "espiritu_seduccion.shtml", "atraccion.shtml", "satisfaccion.shtml", "falsos-mitos.shtml", "extractos.shtml", "faq.html", "inscripcion.shtml");

current_img=""; new_img="";

Image1Off= new Image; Image2Off = new Image; Image3Off = new Image; Image4Off = new Image; Image5Off = new Image; Image6Off = new Image;
Image1Off.src = "images/prev.gif"; 
Image2Off.src = "images/next.gif";
Image3Off.src = "images/subsc.gif";
Image4Off.src = "images/back_samples.gif";
Image5Off.src = "images/back_samples-lt.gif";
Image6Off.src = "images/subscription.gif";

Image1On = new Image; Image2On = new Image; Image3On = new Image; Image4On = new Image; Image5On = new Image; Image6On = new Image;
Image1On.src = "images/prev_on.gif"; 
Image2On.src = "images/next_on.gif";
Image3On.src = "images/subsc_on.gif";
Image4On.src = "images/back_samples_on.gif";
Image5On.src = "images/back_samples-lt_on.gif";
Image6On.src = "images/subscription_on.gif";

function ImgUp(key) {
current_img = "img" + key;
new_img = eval("Image" + key + "On.src");
document[current_img].src = new_img;
new_img=null;
current_img="";
}

function ImgDown(key) {
current_img = "img" + key;
new_img = eval("Image" + key + "Off.src");
document[current_img].src = new_img;
new_img=null;
current_img="";
}

//function getMailPrice(){document.write(50);}
function getMailPrice(){document.write(40);}
//function getPrice(){document.write('49.50');}
function getPrice(){document.write('39.95');}


var url = 'https://secure.francebill.net/form.cgi?id=s0881&prod=p08810002&lang=esp';

/* ----------------- Here's all the code involving the tracking ------------- */
	var gen = window.location.search.substring(1);

	if (document.cookie.length > 0) // the cookie exist
	{
		// The cookie will be get
		//	alert("the cookie will be get");
			gen = GetCookie();
		//	alert(gen);
			url += '&' + gen;
	}
	else if (gen != '') 
	{//the cookie does not exist but there is a gen				
//			alert("the cookie will be set");	
			var arrgen = gen.split('=');
			var expdate = new Date ();
			expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
			SetCookie(arrgen[0], arrgen[1], expdate); 
			url += '&' + gen;

	}

/* The SetCookie function is valid also for the path, the domain and the secure arguments. It accept a variable number of arguments. This is why we use a function to set the cookie*/

function SetCookie(name, value)
{
	var argv = SetCookie.arguments;
	var argc = SetCookie.arguments.length;
	var expires = (argc > 2) ? argv[2] : null;
	var path = (argc > 3) ? argv[3] : null;
	var domain = (argc > 4) ? argv[4] : null;
	var secure = (argc > 5) ? argv[5] : false;
	document.cookie = name + "=" + escape (value) +
        ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
        ((path == null) ? "" : ("; path=" + path)) +
        ((domain == null) ? "" : ("; domain=" + domain)) +
        ((secure == true) ? "; secure" : "");
 }

  function GetCookie()
 {
	 var gn = unescape(document.cookie);
	 gn = gn.split(";");
	 gn = gn[0].split("=");
	 gen = gn[0]+"="+gn[1];	
	 return gen;
 }

/* ------------------------- End of the tracking code ----------------------- */

function Credit(arg)
{
	/*If 
	none: do none
	0: up
	1: down
	3: btn
	*/
	var code = "";

	if (arg == 0)  // members prompt
	{
		code += '<center><a href="members/index.html" class="access">Entrada ';
		code += 'Miembros</a></center>';
	}

	if (arg == 1) // top of page
	{
		code += '<div style="margin-top:2px"><a href="inscripcion.shtml" onmouseover="window.status=\'Opciones de Inscripción\';return true;" onmouseout="window.status=\'\';return true;"><img ' + 'src="images/inscript.jpg" border=0></a></div>';
		document.write(code);
		return;
	}
	if (arg == 2) //bot credit and prompt
	{
		code += '<div style="margin-top:2px"><a href="inscripcion.shtml" onmouseover="window.status=\'Opciones de Inscripción\';return true;" onmouseout="window.status=\'\';return true;" class="menu"><img src="images/creditcards.jpg">Entrada Miembros</a></div>';
		document.write(code);
		return;
	}

	if(arg == 3) // link in the subscription page
	{
		/*
		code += '<center><a href="javascript:alert(\'¡¡¡ATENCION!!! Por causa de problemas administrativos de Billing France, su tarjeta podría no ser aceptada y por lo tanto los abonos por tarjetas están momentaneamente suspendidos. Si usted desea abonarse de esta forma, puede utilizar el servicio PayPal, que acepta todas las tarjetas de crédito, de débito y cualquier tarjeta prepagada. El servicio Billing France será nuevamente disponible en los días que siguen.\')"><img src="images/proceed.gif" border="0" alt="Abonarse"></a></center>';
		/*/
		code +='<center><a href="javascript:OpenCrdWnd(\''+url+'\')" ';
		code += 'onmouseout="window.status=\'\'; return true" ';
		code += 'onMouseOver="window.status=\'¡Inscríbase ahora al programa más completo de seducción rápida!\'; return true;">';
		code += '<img src="images/proceed.gif" border="0" alt="Acceso tarjeta de crédito"></a></center><br>';
		/**/
	}
	if (arg == 4) // top in the subscription page
	{
		code+='<div style="margin-top:2px"><img src="images/creditcards_inactive.jpg" border=0></div>';
	}

	document.write(code);
	code = null;
}

function InvokeLinks(page)
{
	var code = "",
		max = 10,
		cur_img,
		indexes = new Array("index", "basessed", "seduccion", "espiritu", "atraccion", "satisfaccion", "falsos-mitos", "extractos", "faq", "inscripcion"),
		lnktxt = new Array("Inicio", "Bases Seducción", "Seducción Rápida", "Espíritu Seducción", "Atracción", "Satisfacción", "Falsos Mitos", "Extractos", "FAQ", "<b>SUSCRIPCION</b>"),
	    n, url='';

		if(online) url="http://www.seduccion-rapida.com/";

		for(i = 0; i < max; i++)
		{
			hrefs[indexes[i]] = url + hrefs[i];
			lnktxt[indexes[i]] = url + lnktxt[i];
		}		

		code = '';
		code += '<table width="95%" border=2 cellspacing=0 cellpadding=0 style="border-collapse:collapse;display:inline"><tr>' +
		'<td bgcolor="#858585">' +
		'<table border=0 cellspacing=1 cellpadding=8 cols=1 width="100%">';

	for(n = 0; n < max; n++)
	{
		if(indexes[n] != page)	curImg = "images/bgblue.gif";
		else					curImg = "images/bggreen.gif";
		
		code+='<tr><td align="center" background='+curImg+'>'+
				'<a href="' + hrefs[indexes[n]]  + '" class="menuMain2">' +
				              lnktxt[indexes[n]] + '</a></td></tr>';
	}

	code +='</table></td></tr>';
	
	if(page != 'inscripcion')
		code+='<tr><td align="center" valign="middle"><img src="images/billingfrance-esp.gif" alt="¡Transacciones rápidas y seguras!"></td></tr>';
		
	code+='<tr><td align="center"><a href="enlaces.html" class="notas2">Página Links</a></td></tr></table>&nbsp;';

	document.write(code);
	code='';
}


var code;

function OpenWnd(source) //never use var here
{
		var width=window.screen.width, height=window.screen.height,
		resized_width  = Math.floor(width * 80 / 100), //rounded down to int
		resized_height = Math.floor(height * 80 / 100);
		var centerLeft = (width - resized_width) / 2;	//left position to center the popup
		var centerTop  = (height - resized_height) / 4;
		
		OpenNewWindow = window.open(source,"","WIDTH="+resized_width+",HEIGHT=" + 
			resized_height+",left="+centerLeft+",top=0,titlebar=0,menubar=0,resizable=1,scrollbars=1," +
			"location=0,hotkeys=1,status=1,toolbar=0," +
				"dependent=1");
		OpenNewWindow.focus();	
}

function OpenWnd2(source) //never use var here
{
		OpenNewWindow = window.open(source, "title", "WIDTH=640,HEIGHT=500,left=0,titlebar=no,status=yes,location=no,menubar=no,resizable=yes,scrollbars=yes", true);	
		OpenNewWindow.focus();		
}

function OpenCrdWnd(source) //never use var here
{
	var width=window.screen.width, height=window.screen.height,
	resized_width  = Math.floor(width * 80 / 100), //rounded down to int
	resized_height = Math.floor(height * 70 / 100);
	var centerLeft = (width - resized_width) / 2;	//left position to center the popup
	OpenNewWindow = window.open(source, "title", "WIDTH="+resized_width+",HEIGHT="+resized_height+",top=0,left="+centerLeft+",location=yes,toolbar=yes,titlebar=yes,menubar=yes,status=yes,resizable=yes,scrollbars=yes", true);	
	OpenNewWindow.focus();		
}

function GetAnnouncements()
{
	code='<div align="left" style="margin-left:3px;margin-right:3px;"><font face="verdana, sans-serif" size=1 color="#FCF7F7">' +
	'<hr><b>Las ventajas únicas de este programa :</b><hr></font></div><center>' +
	'<table cols=2 width="95%" cellspacing=0 cellpadding=2>' +
	'<tr><td valign="top"><font face="verdana" color="#FCF7F7">&#167;</font></td><td><font face="verdana, sans-serif" size=1 color="#FCF7F7"> Un solo pago y un acceso inmediato</td></tr>' +
	'<tr><td valign="top"><font face="verdana" color="#FCF7F7">&#167;</font></td><td><font face="verdana, sans-serif" size=1 color="#FCF7F7"> Abono de por vida a un programa viviente</td></tr>' +
	'<tr><td valign="top"><font face="verdana" color="#FCF7F7">&#167;</font></td><td><font face="verdana, sans-serif" size=1 color="#FCF7F7"> Asistencia técnica 24/7</td></tr>' +
	'<tr><td valign="top"><font face="verdana" color="#FCF7F7">&#167;</font></td><td><font face="verdana, sans-serif" size=1 color="#FCF7F7"> Privacidad asegurada</td></tr>' +
	'<tr><td valign="top"><font face="verdana" color="#FCF7F7">&#167;</font></td><td><font face="verdana, sans-serif" size=1 color="#FCF7F7"> Mailing list opcional reservada a los miembros</td></tr>' +
	'</table></center></font><br>';

	document.write(code);
}


function Go(page)
{
	window.location.href = hrefs[page];
}

function GetAffiAd()
{
	document.write('<br><a href="webmasters-affiliation.shtml" onmouseover="window.status=\'¡ Presione aquí y empieze a ganar !\';return true;" onmouseout="window.status=\'\';return true;"><img src="images/affiad.gif" border=0></a>');
}

function GetVisitorsLinks()
{

}

function GetFooter() 
{
	document.write("© Seducción-Rapida.com - Todos los derechos reservados");
}


function GenerateLink(page)
{
	window.location.href = page;
}

