function ini_flash(){
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='391' height='306'>"
+"<param name='movie' value='cargainicio.swf'><param name='quality' value='high'><embed src='cargainicio.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='391' height='306'></embed>        </object>");
}

defaultStatus =  'ALART PUNT VERD'
 
function base(ventana) 
{ 
var url = ventana;
var width = screen.availWidth; 
var height = screen.availHeight; 
var specs = "fullscreen=no,left=0,top=0,screenX=0,screenY=0"; 
specs += ",width=" + width + ",height=" + height; 
specs += ",scrollbars=no,toolbar=no,menubar=no"; 
specs += ",status=no,location=no"; 
specs += ",directories=no,resizable=no,alwaysRaised"; 
//specs += ",innerHeight=" + height + ",innerWidth=" + width; 
var Popup = window.open(url, 'alart', specs); 
Popup.resizeTo(width,height);
//vete();
}
function newsletter_es() 
{ 
var url = 'newsletter_es.html';
var width = 380;
var height = 400; 
var izda= ((screen.availWidth-width)/2);
var superior=((screen.availHeight-height)/2);
var specs = "fullscreen=no,left=" + izda +",top=" + superior +",screenX=0,screenY=0"; 
specs += ",width=" + width + ",height=" + height; 
specs += ",scrollbars=no,toolbar=no,menubar=no"; 
specs += ",status=no,location=no"; 
specs += ",directories=no,resizable=no,alwaysRaised"; 
var Popup = window.open(url, 'alart_2', specs); 
Popup.resizeTo(width,height);
Popup.focus();
//vete();
}
function newsletter_cat() 
{ 
var url = 'newsletter_es.html';
var width = 380;
var height = 400; 
var izda= ((screen.availWidth-width)/2);
var superior=((screen.availHeight-height)/2);
var specs = "fullscreen=no,left=" + izda +",top=" + superior +",screenX=0,screenY=0"; 
specs += ",width=" + width + ",height=" + height; 
specs += ",scrollbars=no,toolbar=no,menubar=no"; 
specs += ",status=no,location=no"; 
specs += ",directories=no,resizable=no,alwaysRaised"; 
//specs += ",innerHeight=" + height + ",innerWidth=" + width; 
var Popup = window.open(url, 'alart_2', specs); 
Popup.resizeTo(width,height);
Popup.focus();
//vete();
}
function newsletter_en() 
{ 
var url = 'newsletter_es.html';
var width = 380;
var height = 400; 
var izda= ((screen.availWidth-width)/2);
var superior=((screen.availHeight-height)/2);
var specs = "fullscreen=no,left=" + izda +",top=" + superior +",screenX=0,screenY=0"; 
specs += ",width=" + width + ",height=" + height; 
specs += ",scrollbars=no,toolbar=no,menubar=no"; 
specs += ",status=no,location=no"; 
specs += ",directories=no,resizable=no,alwaysRaised"; 
//specs += ",innerHeight=" + height + ",innerWidth=" + width; 
var Popup = window.open(url, 'alart_2', specs); 
Popup.resizeTo(width,height);
//vete();
}

function frankfurt() 
{ 
var url = 'popfrankfurt.html';
var width = 208; 
var height = 350; 
//var width = screen.availWidth; 
//var height = screen.availHeight; 
var izda= ((screen.availWidth-width)/2);
var superior=((screen.availHeight-height)/2);

var specs = "fullscreen=no,left=" + izda +",top=" + superior +",screenX=0,screenY=0"; 
specs += ",width=" + width + ",height=" + height; 
specs += ",scrollbars=no,toolbar=no,menubar=no"; 
specs += ",status=no,location=no"; 
specs += ",directories=no,resizable=no,alwaysRaised"; 
//specs += ",innerHeight=" + height + ",innerWidth=" + width; 
var Popup = window.open(url, 'frank', specs); 
Popup.resizeTo(width,height);
//vete();
}
