/* -----------------------------------------------------------------------------
  EXTERNAL WINDOWS
----------------------------------------------------------------------------- */
var lwin=null;
function testopenwins(){if (lwin && !lwin.closed)lwin.close()}
function ew(val) {
  val=parseInt(val);
  if (val<1||val>2)val=1;
  var url='http://www.alfaromeo.de/';
  if (val==1)url=''; else url='http://www.alfa-services.de/privacy.html';
  testopenwins();
  aw=screen.availWidth;ah=screen.availHeight;
  wh=600;
  ww=570;
  xw=(aw-ww)/2;yw=(ah-wh)/2;
  lwin=window.open(url,'_blank','scrollbars=1,statusbar=0,resizable=1,width='+ww+',height='+wh+',left='+xw+',top='+yw);
  if(val==1) {
    var markup=[];
    markup.push('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"');
    markup.push('       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">');
    markup.push('<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xml:lang="de" lang="de">');
    markup.push('<head>');
    markup.push('  <title>Alfa Romeo - Impressum</title>');
    markup.push('  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />');
    markup.push('  <meta http-equiv="content-language" content="de" />');
    markup.push('  <meta http-equiv="ImageToolbar" content="no" />');
    markup.push('  <meta name="robots" content="noindex,nofollow" />');
    markup.push('  <style type="text/css">');
    markup.push('  html{margin:0;padding:0;}');
    markup.push('  body{margin:0;padding:0;color:#fff;background:#212121;font-family:verdana;font-size:10px;}');
    markup.push('  #ifr{margin:0;padding:0;}');
    markup.push('  * html #ifr{margin-left:10px;}');
    markup.push('  *+html #ifr{margin-left:10px;}');
    markup.push('  #page{margin-left:21px;padding:0;}');
    markup.push('  h3{margin:0;padding:0;font-size:12px;color:#FF0000;font-weight:bold;}');
    markup.push('  p{margin:0;padding:0;}');
    markup.push('  a,a:hover{color:#fff;text-decoration:none;}');
    markup.push('  </style>');
    markup.push('</head>');
    markup.push('<body>');
    markup.push('<div id="ifr"><iframe src="http://www.alfaromeo.de/de/CMSDE/LocalRes/html/impressum.htm" width="540" height="400" framepadding="0" framespacing="0" frameborder="0" border="0"></iframe></div>');
    markup.push('<div id="page">');
    markup.push('<h3>Realisierung, Hosting und Betreuung</h3><p>DATAX Consult Internetservices GmbH<br />Vor dem Celler Tor 7<br />31303 Burgdorf<br /><br /><a target="_blank" href="http://www.datax-is.de">www.datax-is.de</a></p>');
    markup.push('</div>');
    markup.push('</body>');
    markup.push('</html>');
    lwin.document.open();
    lwin.document.write(markup.join("\n"));
    lwin.document.close();
  }
  return false;
}
