// JavaScript Document

//<![CDATA[

window.addEvent('domready', function(){

// =====================Menú========================================== 
var conte_c_menu = $('c_menu');
 menu = new Windoo({position: false, left: 480, top: 40, theme: Windoo.Themes.aero, width: 268,	height: 365, title: 'la casita de pablok',
		resizable: false, container: $('container'), buttons: {menu: true, roll: true, close: false, maximize: false}	});
 menu.adopt(conte_c_menu).show();
	
// =====================nosotros========================================== 
var conte_c_nosotros = $('c_nosotros');
 nosotros = new Windoo({position: false, left: 50, top: 100, theme: Windoo.Themes.aero,	width: 268,	height: 135, title: 'nosotros',
		resizable: false, container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false,
		onClose: function(){ sh('nosotroslink','','show');	}	});
 nosotros.adopt(conte_c_nosotros).hide();

$('b_nosotros').addEvent('click', function(ev){ nosotros.show(); });

// =====================machi========================================== 
obras = new Windoo({theme: Windoo.Themes.aero, position: false, left: 90, top: 20, width: 550, height: 590, title: 'obras de miserendino para "nosotros"',
		type: 'iframe',	container: false, buttons: {roll: true, maximize: false}, destroyOnClose: false, url: 'slide.html',
		onClose: function(){ sh('obraslink','','show');		}	});

$('b_obras').addEvent('click', function(ev){ obras.show(); });

// =====================tapa y contratapa========================================== 
var conte_c_tyc = $('c_tyc');
 tyc = new Windoo({position: false, left: 50, top: 100, theme: Windoo.Themes.aero, width: 320, height: 200, title: 'tapa y contratapa de "nosotros"',
		container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false,
		onClose: function(){ sh('tyclink','','show');		}	});
tyc.adopt(conte_c_tyc).hide();

$('b_tyc').addEvent('click', function(ev){		tyc.show();			});

// =====================cuentos========================================== 
var conte_c_cuentos = $('c_cuentos');
 cuentos = new Windoo({position: false, left: 50, top: 100, theme: Windoo.Themes.aero,	width: 268,	height: 230, title: 'cuentos',
		resizable: false, container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false,
		onClose: function(){ sh('cuentoslink','','show');	}	});
 cuentos.adopt(conte_c_cuentos).hide();

$('b_cuentos').addEvent('click', function(ev){ cuentos.show(); });

// =====================macri========================================== 
macri = new Windoo({theme: Windoo.Themes.aero, left: 600, top: 10,	width: 790,	height: 480, title: 'Macri',
		type: 'iframe', container: false, buttons: {menu: true, roll: true}, ghost: {resize: true, move: true},	destroyOnClose: false,
		url: 'cuentos/macri.html',	onClose: function(){ sh('macrilink','','show'); }	});

$('b_macri').addEvent('click', function(ev){	macri.show();	});

// =====================hitos========================================== 
hitos = new Windoo({theme: Windoo.Themes.aero, left: 600, top: 10,	width: 790,	height: 480, title: 'Hitos',
		type: 'iframe', container: false, buttons: {menu: true, roll: true}, ghost: {resize: true, move: true},	destroyOnClose: false,
		url: 'cuentos/hitos.html',	onClose: function(){ sh('hitoslink','','show'); }	});

$('b_hitos').addEvent('click', function(ev){	hitos.show();	});

// =====================comunidad========================================== 
comunidad = new Windoo({theme: Windoo.Themes.aero, left: 600, top: 10,	width: 790,	height: 480, title: 'Comunidad',
		type: 'iframe', container: false, buttons: {menu: true, roll: true}, ghost: {resize: true, move: true},	destroyOnClose: false,
		url: 'cuentos/comunidad.html',	onClose: function(){ sh('comunidadlink','','show'); }	});

$('b_comunidad').addEvent('click', function(ev){	comunidad.show();	});

// =====================conciencia========================================== 
conciencia = new Windoo({theme: Windoo.Themes.aero, left: 600, top: 10,	width: 790,	height: 480, title: 'Conciencia',
		type: 'iframe', container: false, buttons: {menu: true, roll: true}, ghost: {resize: true, move: true},	destroyOnClose: false,
		url: 'cuentos/conciencia.html',	onClose: function(){ sh('conciencialink','','show'); }	});

$('b_conciencia').addEvent('click', function(ev){	conciencia.show();	});

// =====================de lo que se trata========================================== 
var conte_c_deloque = $('c_deloque');
 deloque = new Windoo({ position: false, left: 50, top: 100, theme: Windoo.Themes.aero, width: 400, height: 280, title: 'de lo que se trata',
		resizable: false, container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false,
		onClose: function(){ sh('deloquelink','','show');		}	});
deloque.adopt(conte_c_deloque).show();

$('b_deloque').addEvent('click', function(ev){	deloque.show();		});

// =====================pequeña bio========================================== 
var conte_c_bio = $('c_bio');
 bio = new Windoo({position: false, left: 50, top: 100, theme: Windoo.Themes.aero, width: 720, height: 330, title: 'pequeña bio',
		container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false,
		onClose: function(){ sh('biolink','','show');		}	});
bio.adopt(conte_c_bio).hide();

$('b_bio').addEvent('click', function(ev){		bio.show();			});

// =====================la casita anterior de pablok========================================== 
casita = new Windoo({theme: Windoo.Themes.aero, left: 600, top: 10,	width: 790,	height: 480, title: 'la casita anterior de pablok',
		type: 'iframe', container: false, buttons: {menu: true, roll: true}, ghost: {resize: true, move: true},	destroyOnClose: false,
		url: 'anterior/index.html',	onClose: function(){ sh('casitalink','','show'); }	});

$('b_casita').addEvent('click', function(ev){	casita.show();	});

// =====================poemas========================================== 
var conte_c_po1 = $('c_po1');
po1 = new Windoo({position: false, left: 50, top: 80, theme: Windoo.Themes.aero, width: 380, height: 300, title: 'Tengo',
		container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false });
po1.adopt(conte_c_po1).hide();

var conte_c_po2 = $('c_po2');
po2 = new Windoo({position: false, left: 70, top: 110, theme: Windoo.Themes.aero, width: 360, height: 300, title: 'perrito',
		container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false });
po2.adopt(conte_c_po2).hide();

var conte_c_po3 = $('c_po3');
po3 = new Windoo({position: false, left: 90, top: 140, theme: Windoo.Themes.aero, width: 390, height: 300, title: 'Arenas movedizas',
		container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false });
po3.adopt(conte_c_po3).hide();

var conte_c_po4 = $('c_po4');
po4 = new Windoo({position: false, left: 110, top: 170, theme: Windoo.Themes.aero, width: 450, height: 300, title: 'Instrucciones',
		container: $('container'), buttons: {menu: true, roll: true, maximize: false}, destroyOnClose: false });
po4.adopt(conte_c_po4).hide();

$('b_poemas').addEvent('click', function(ev){ po1.show(); po2.show(); po3.show(); po4.show(); deloque.hide();	});

// =====================cartografias========================================== 
cart = new Windoo({theme: Windoo.Themes.aero, position: false, left: 50, top: 100, width: 810, height: 500,	title: 'revistacartografias.com.ar',
		type: 'iframe', container: false, buttons: {menu: true, roll: true}, ghost: {resize: true, move: true}, destroyOnClose: false,
		url: 'http://www.revistacartografias.com.ar', onClose: function(){			sh('cartlink','','show');		}	});

$('b_cart').addEvent('click', function(ev){	cart.show();	}); 


});
//]]>

