function openShadowbox(innerContent, playerType, overlayTitle, overlayWidth, overlayHeight) {
	Shadowbox.open({
		content: innerContent,
		player: playerType,
		title: overlayTitle,
		width: overlayWidth,
		height: overlayHeight
	});
}
function handleShadowBoxOpen(obj) {
	document.getElementById("webswf").onShadowBoxOpen();
}
function handleShadowBoxClose(obj) {
	document.getElementById("webswf").onShadowBoxClose();
}
function closeShadowBox()
{
	Shadowbox.close();
}
function winOpen(url, width, height)
{
  links = (screen.width/2)-(width/2);
  oben = (screen.height/2)-(height/2);
  window.open(url,"popup","height="+height+",width="+width+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = no,fullscreen = no,top ="+oben+",left ="+links);
}
Shadowbox.init({
	skipSetup: true,
	troubleElements:{},
	onClose: handleShadowBoxClose,
	onOpen: handleShadowBoxOpen
});
