var movies = new Array();



var english = new Array();



var spanish = new Array();



var ext = '.swf'



var i;



/*----------------------------------------------------------Info area-------------------------------------------------------------------------------*/



movies[0] = '';







english[0] = "Subscribers only";







spanish [0] = "";











movies[1] = '';







english[1] = "Subscribers only";







spanish [1] = "";











movies[2] = 'daily-routine1';







english[2] = "I get up very early, at seven o'clock in the morning, in order to go to class. When I get up, I have breakfast in a hurry, I get dressed...well, first I have a shower, and then I get dressed, and I get on the bus. Afterwards, at lunch time, I always eat out, and I return home by bus, late. I have dinner with my family, and I go to bed at eleven. And you, what time do you get up? What do you do...Who do you eat with at lunchtime? Do you study, or do you work? ";







spanish [2] = " Me levanto muy pronto, a las siete de la mañana para ir a clase. Cuando me levanto, desayuno de prisa, me visto, bueno...me ducho primero, y luego me visto, y me voy en autobús. Después, a la hora de comer, como siempre fuera de casa, y vuelvo a casa en autobús, tarde. Ceno con mi familia, y me voy a la cama a las once de la noche. Y tú, ¿a qué hora te levantas? ¿Qué haces...Con quién comes a mediodía? ¿Estudias, o trabajas?";











movies[3] = '';







english[3] = "Subscribers only";







spanish [3] = "";











movies[4] = '';







english[4] = "Subscribers only";







spanish [4] = "";











movies[5] = '';







english[5] = "Subscribers only";







spanish [5] = "";











movies[6] = 'describing-barcelona';







english[6] = "In Barcelona, there are lots of things to visit. There is a park, also of Gaudí, which is very nice, and the streets are marvelous, they are full of shops, and the people are very different. We like it a lot and we are looking forward to going back.";







spanish [6] = "En Barcelona hay muchas cosas que visitar. Hay un parque, también de Gaudí, muy bonito, y las calles son maravillosas, están llenas de tiendas, y la gente es muy diferente. Nos gusta mucho, y tenemos muchas ganas de volver";











movies[7] = '';







english[7] = "Subscribers only";







spanish [7] = "";











movies[8] = '';







english[8] = "Subscribers only";







spanish [8] = "";











movies[9] = '';







english[9] = "Subscribers only";







spanish [9] = "";











movies[10] = '';







english[10] = "Subscribers only";







spanish [10] = "";











movies[11] = '';







english[11] = "Subscribers only";







spanish [11] = "";











movies[12] = '';







english[12] = "Subscribers only";







spanish [12] = "";











movies[13] = '';







english[13] = "Subscribers only";







spanish [13] = "";











movies[14] = '';







english[14] = "Subscribers only";







spanish [14] = "";











movies[15] = '';







english[15] = "Subscribers only";







spanish [15] = "";











movies[16] = '';







english[16] = "Subscribers only";







spanish [16] = "";











movies[17] = '';







english[17] = "Subscribers only";







spanish [17] = "";











movies[18] = 'if-hadmoney';







english[18] = "If I had a lot of money, I would take some friends with me on a trip to Paris. I would rent a house where we could live for a while, and we would go out partying every night, and during the day, if we weren't too sleepy, we would go out to the museums and visit the city.";







spanish [18] = "Si tuviese mucho dinero, me llevaría unos cuantos amigos a viajar conmigo a París. Alquilaría una casa donde pudiésemos vivir por una temporada, y nos iríamos todos las noches de fiesta, y por el día, si no tenemos mucho sueño, saldríamos a los museos y visitar la ciudad.";











movies[19] = '';







english[19] = "Subscribers only";







spanish [19] = "";











movies[20] = '';







english[20] = "Subscribers only";







spanish [20] = "";











movies[21] = '';







english[21] = "Subscribers only";







spanish [21] = "";











movies[22] = '';







english[22] = "Subscribers only";







spanish [22] = "";











movies[23] = 'months-weather';







english[23] = " In January, it's a little bit cold. Normally there are days when the cold comes in waves, but then they go, and also it's sunny, it almost never rains, and of course, in this part of Spain, it doesn't snow. In February, it's a little bit colder, and there are rainy days. In March, it starts getting a little warmer, although in April the rains return, and we don't have sunny days. In May, there are more sunny days, almost the whole month, and the cold starts to go. In June the summer has begun, and every day is sunny, without any cloudy or rainy days. In July it gets hotter, and in August it gets even hotter, and in September, the heat is like it was in June, especially at the end of the month. The rains come again in October, and the cold returns in November. In December, it is a bit colder, but it doesn't rain. ";







spanish [23] = " En enero, hace un poco de frío. Normalmente hay unos días que vienen olas de frío pero luego se van, y también hace sol, casi nunca llueve, y por supuesto, en esta zona de España, no nieva. En febrero, hace un poco más frío, y hay días de lluvia. En marzo, ya va viniendo el calor, aunque en abril, vuelve las lluvias, y no tenemos casi días soleados. En mayo, hay más días soleados, casi todo el mes, y el frío se va yendo. En junio ya es verano, y ya tenemos todos los días de sol, y ningún día nublado ni con lluvia. En julio, hace más calor, en agosto hace aún más calor, y en septiembre, el calor que hace es como en junio sobretodo al final de este mes. En octubre vuelven las lluvias, y en noviembre entra el frío de nuevo. En diciembre, hace un poco más frío pero ya no hay lluvias. ";











movies[24] = '';







english[24] = "Subscribers only";







spanish [24] = "";











movies[25] = '';







english[25] = "Subscribers only";







spanish [25] = "";











movies[26] = '';







english[26] = "Subscribers only";







spanish [26] = "";











movies[27] = '';







english[27] = "Subscribers only";







spanish [27] = "";











movies[28] = '';







english[28] = "Subscribers only";







spanish [28] = "";











movies[29] = '';







english[29] = "Subscribers only";







spanish [29] = "";









movies[30] = '';







english[30] = "Subscribers only"; 







spanish [30] = "";











movies[31] = '';







english[31] = "Subscribers only"; 







spanish [31] = "";









movies[32] = '';







english[32] = "Subscribers only"; 







spanish [32] = "";











movies[33] = '';







english[33] = "Subscribers only"; 







spanish [33] = "";











movies[34] = '';







english[34] = "Subscribers only"; 







spanish [34] = "";











movies[35] = '';







english[35] ="Subscribers only"; 







spanish [35] = "";

/*------------------------------------------------------end Info area-------------------------------------------------------------------------------*/



function processURL()



{



	



	var URL = window.location.href;



	pos = URL.indexOf("?");



	if(parseInt(URL.substr(pos+2,1))!=NaN)



		i = parseInt(URL.substr(pos+1,2));



		else



		i = parseInt(URL.substr(pos+1,1));



}



		



function createSWF()



	{



	processURL();



	var swf = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='340.1' height='313.1'><param name='movie' value='"+movies[i]+"_pl"+ext+"'>"+



		"<param name='wmode' value='transparent'>"+



		"<param name='bgcolor' value='#000000'>"+



		"<param name='quality' value='high'>"+



		"<param name='menu' value='true'>"+



		"<param name='play' value='true'>"+



		"<param name='loop' value='true'>"+



		"<param name='scale' value='noscale'>"+



		"<param name='flashvars' value='videoUrl="+movies[i]+ext+"&currentfps=25.00&loopVideo=stopend&playOnLoad=false&autobuffer=true'>"+



		"<embed src='"+movies[i]+"_pl"+ext+"' type='application/x-shockwave-flash'"+



		"pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' wmode='transparent' bgcolor='#000000'"+ "width='340.1' height='313.1' quality='high' menu='true' play='true' loop='true' scale='noscale' flashvars='videoUrl="+movies[i]+ext+"&currentfps=25.00&loopVideo=stopend&playOnLoad=false&autobuffer=true'></embed></object>"



	document.write(swf);



	}







function popup(i)



{



	myPopup=window.open('popup.html?'+i,'_blank','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=1000, height=380px,top=200px');



}





function show(div)



{



	obj = document.getElementById(div)



	obj.style.display='';



}



function hide(div)



{



	obj = document.getElementById(div)



	obj.style.display='none';



}