
// PopUp Druckansicht -----------------------------------------------------------------------------
function OpenPopUp_Print(strLink) 
{
	/*
	Definition:		Auto-Scrolling
					Not Resizable (soll in Ausnahmefälleb resizable sein -> Variable)
					2 Buttons (drucken + schließen)
					Container-Spacing = yes
	Fix:			width  (fix bei 632 = 584px Contentbereich +16px Abstand links +16px Abstand rechts +16px Scoller)
					height (fix = 20px HeaderFrame +16px Abstand nach oben + 374px Contentbereich +40px Abstand +24px FooterFrame)
	*/

	intWidth 	= 632;
	intHeight 	= 474;
	var _objPrint = window.open(strLink, "Drucken", "width="+intWidth+",height="+intHeight+",left=168,screenX=168,top=154,screenY=154,resizable=no,status=no,location=no,menubar=no,toolbar=no");
	_objPrint.focus();
}
//-------------------------------------------------------------------------------------------------


// PopUp TV-Guide Detail --------------------------------------------------------------------------
function OpenPopUp_TVGuide(strLink) 
{
	/*
	Definition:		Auto-Scrolling
					Not Resizable (soll in Ausnahmefälleb resizable sein -> Variable)
					1 Button (=Schließen)
					Container-Spacing = yes
	Fix:			width  (fix bei 632 = 584px Contentbereich +16px Abstand links +16px Abstand rechts +16px Scoller)
					height (fix = 20px HeaderFrame +16px Abstand nach oben + 374px Contentbereich +40px Abstand +24px FooterFrame)
	*/

	intWidth 	= 522; // kleiner als bei Premiere.de/at!
	intHeight 	= 474;
	var	_objTVGuide = window.open(strLink, "TVGuide", "width="+intWidth+",height="+intHeight+",left=168,screenX=168,top=154,screenY=154,resizable=no,status=no,location=no,menubar=no,toolbar=no");
	_objTVGuide.focus();
}
//-------------------------------------------------------------------------------------------------


// PopUp Marketing Inhalt -------------------------------------------------------------------------
function OpenPopUp_Marketing(strLink, popupName, intWidth, intHeight, strResizeable, strScrollbars, strToolbar) 
{
	/*
	Definition:		Kein Scrolling
					Not Resizable (soll in Ausnahmefälleb resizable sein -> Variable)
					2 Buttons
					Container-Spacing = no
	Variablen:		strLink
				width
				height
				strResizeable
	*/
	
	var _objMarketing = window.open(strLink,popupName, "width="+intWidth+",height="+intHeight+",left=168,screenX=168,top=154,screenY=154,resizable="+strResizeable+",scrollbars="+strScrollbars+",status=no,location=no,menubar=no,toolbar="+strToolbar+"");
	_objMarketing.focus();	
}
//-------------------------------------------------------------------------------------------------


// PopUp Content ----------------------------------------------------------------------------------
function OpenPopUp_Content(strLink, intWidth, intHeight) 
{
	/*
	Definition:		Kein Scrolling
					Not Resizable (soll in Ausnahmefällen resizable sein -> Variable)
					2 Buttons
					Container-Spacing = yes
	Variablen:		width
					height
	*/

	var _objContent = window.open(strLink, "Content", "width="+intWidth+",height="+intHeight+",left=168,screenX=168,top=154,screenY=154,resizable=no,status=no,location=no,menubar=no,toolbar=no");
	_objContent.focus();
}
//-------------------------------------------------------------------------------------------------


// PopUp ZoomIn -----------------------------------------------------------------------------------
function OpenPopUp_ZoomIn(strLink) 
{
	/*
	Definition:		Kein Scrolling
					Not Resizable (soll in Ausnahmefälleb resizable sein -> Variable)
					1 Button
					Container-Spacing = yes
	Variablen:		width  = 16px (Abstand links) +Bildberite +16px (Abstand rechts)
					height = 20px (HeaderFrame) +16px (Abstand oben) +Bildhöhe +Bildunterschriftkastenhöhe(meinst unbekannt!) +40px (Abstand nach unten) +24px (FooterFrame)
	*/
	
	var _objZoomIn = window.open(strLink, 'ZoomIn', 'width=330,height=360,left=168,screenX=168,top=154,screenY=154,resizable=yes,status=no,location=no,menubar=no,toolbar=no');
	_objZoomIn.focus();
}
//-------------------------------------------------------------------------------------------------

// PopUp ZoomIn -----------------------------------------------------------------------------------
function OpenPopUp_Spielervergleich(intWidth, intHeight, strParameter) 
{
	/*
	Definition:		Kein Scrolling
					Not Resizable (soll in Ausnahmefälleb resizable sein -> Variable)
					1 Button
					Container-Spacing = yes
	Variablen:		width  = 16px (Abstand links) +Bildberite +16px (Abstand rechts)
					height = 20px (HeaderFrame) +16px (Abstand oben) +Bildhöhe +Bildunterschriftkastenhöhe(meinst unbekannt!) +40px (Abstand nach unten) +24px (FooterFrame)
	*/
	
	var strLink = "/modules/bundesliga/popup_bundesliga_spielervergleich.jsp" + strParameter;
	var _objZoomIn = window.open(strLink, "ZoomIn", "width="+intWidth+",height="+intHeight+",left=168,screenX=168,top=154,screenY=154,resizable=no,status=no,location=no,menubar=no,toolbar=no");
	_objZoomIn.focus();
}
//-------------------------------------------------------------------------------------------------


// PopUp JobBoerse Bewerbung -----------------------------------------------------------------------------
function OpenPopUp_JobBewerbung(strLink, intWidth, intHeight) 
{
	/*
	Definition:		Auto-Scrolling
					Not Resizable
	Variablen:		width
					height
	*/

	var _objBewerbung = window.open(strLink, "JobBewerbung", "width="+intWidth+",height="+intHeight+",left=168,screenX=168,top=154,screenY=154,resizable=no,status=no,location=no,menubar=no,toolbar=no");
	_objBewerbung.focus();
}
//-------------------------------------------------------------------------------------------------


// PopUp Weiter-Button Funktion -------------------------------------------------------------------
function Popup_weiter(url)
        {
            top.opener.location.href=url;
            top.close();
        }
//-------------------------------------------------------------------------------------------------


//Drucken -----------------------------------------------------------------------------------------
function Winprint()
	{
        	top.window.frames[1].focus();
        	top.window.frames[1].print();
        }
//-------------------------------------------------------------------------------------------------
