 function shckbp(shckp,shckti,shckte)
<!-- © Christian Köchy http://www.shck.de -->
{ var undefined;

if (shckti==undefined || (shckti==''))
{shckti='';}

if (shckte==undefined || (shckti==''))
{shckte='';}

x=(screen.availWidth/2)-(800/2);y=(screen.availHeight/2)-(600/2);

shcknw=window.open('','','resizable=1,width=800,height=600,top='+y+',left='+x+'');

with (shcknw)
{
focus();
document.open();
document.write('');
document.write('<title>'+shckti+'</title>');
document.write('<meta http-equiv="imagetoolbar" content="no">');
document.write('<link rel="stylesheet" type="text/css" href="./main.css" />');
document.write('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  scroll="no" onload="opener.shckrez(document.images[0].width,document.images[0].height)">');
document.write('<a href="javascript:self.close()">');
document.write('<img src="'+shckp+'" border="0" alt="'+shckte+'" title="'+shckte+'"></a>');
 if (shckte) {document.write('<div style="position:absolute; top:0; left:0; background-color:#96C560; padding:10px;"><b>'+shckte+'</b></div>'); }
document.write('</body>'); 
document.close();
}
}

function shckrez(x,y)
{
if (navigator.appName.toLowerCase() == 'microsoft internet explorer')
{

if ((navigator.userAgent.toLowerCase().indexOf('aol')==-1) && (navigator.userAgent.toLowerCase().indexOf('opera')==-1))
{shcknw.resizeTo(x+12,y+31);}

if (navigator.userAgent.toLowerCase().indexOf('opera')!=-1)
{shcknw.resizeTo(x+12,y+31);}

if (navigator.userAgent.toLowerCase().indexOf('aol')!=-1)
{shcknw.resizeTo(x+4,y+4);}

}


else
{
if(navigator.appVersion.substring(0,1) < "5")
{shcknw.resizeTo(x,y);}

else
{shcknw.resizeTo(x+8,y+28);}
}

shckx=(screen.availWidth/2)-(x/2);
shcky=(screen.availHeight/2)-(y/2);

shcknw.moveTo(shckx,shcky);
}
