

function poetwin(poetname){

var x,y;
if (self.pageYOffset) // all except Explorer
{
	x = self.pageXOffset;
	y = self.pageYOffset;
}
else if (document.documentElement && document.documentElement.scrollTop)
	// Explorer 6 Strict
{
	x = document.documentElement.scrollLeft;
	y = document.documentElement.scrollTop;
}
else if (document.body) // all other Explorers
{
	x = document.body.scrollLeft;
	y = document.body.scrollTop;
}


var wpoet = new LoadPanel();
wpoet.setURL('/scripts/infowin/infowin.php?name='+poetname);
wpoet.setLocation(x+200,y+100);
wpoet.setAutoSize(true,true);
dynapi.document.addChild(wpoet);

}


