
function popup(askp,asti,aste)
{ var undefined;

  if (aste==undefined)
  {aste='';}

  if (asti==undefined)
  {asti='www.autoschnelle.de';}

  asnw = window.open('', '','resizable=0');

  with (asnw)
  {
    document.open();
	document.write('<title>'+asti+'</title>');
	document.write('<meta http-equiv=\"imagetoolbar\" content=\"no\">');
	document.write('<LINK rel=\"stylesheet"\ type=\"text/css"\ href=\"css/webpage.css"\>');
	document.write('<body bgcolor=\"6699CC\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" scroll=\"auto\" onload=\"opener.asrez(document.images[0].width,document.images[0].height+25)\">')
	document.write('<div align=\"center"\><img src=\"'+askp+'\" border=\"0\" alt=\"'+aste+'\">\n')
	document.write('\n\t<div class=\"menueh\"><a href=\"javascript:self.close()\">window close</a></div></div>\n\n\n');

	document.close();
  }
}

function asrez(x,y)
{
if (navigator.appName == 'Microsoft Internet Explorer')
{asnw.resizeTo(x+10,y+29);}

else
{
	if(navigator.appVersion.substring(0,1) < "5")
		{asnw.resizeTo(x,y);}
	else
		{asnw.resizeTo(x+8,y+28);}
}

asx=(screen.availWidth/2)-(x/2);
asy=(screen.availHeight/2)-(y/2);
asnw.moveTo(asx,asy);
}
