/**
 * JavaScript Datei fuer stadtgeschichte.com
 *
 * @package		Stadtgeschichte
 * @modulegroup	Stadtgeschichte
 * @module		StadtgeschichteJavaScriptDatei
 * @author		Olaf Strunck <o.strunck@eggenet.com>
 * @version 	1.0	04/12/2003
 *
 */


/**
 * Fuer PopUps
 */
 function newWindow(windowName, breite, hoehe, menue, status, urlbar, tool) {
   fenster=window.open ("",windowName,"menubar="+menue+",status="+status+", location="+urlbar+",width="+breite+",height="+hoehe+", toolbar="+tool+",scrollbars=yes,resizable=yes");
   fenster.focus();
}

function zurKasse(sessionID) {
	if(opener) {
	   //opener.location.href='https://ssl.stadtgeschichte.eu/index.php?action=pay&PHPSESSID='+sessionID; self.close();
	   opener.location.href='index.php?action=pay&PHPSESSID='+sessionID; self.close();
	} else {
	   //location.href='https://ssl.stadtgeschichte.eu/index.php?action=pay&PHPSESSID='+sessionID;
	   location.href='index.php?action=pay&PHPSESSID='+sessionID;
	}
}

// Transparenz Funktion fuer Flaggen
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.75
else if (which2.filters)
which2.filters.alpha.opacity=75
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

function closeButton(popupNavi) {
	if(opener) {
		document.writeln('<td><img src="grafiken/sonstiges/pfeil_popup_navigation.gif" alt="" width="8" height="20" border="0"></td><td><a href="" onClick="window.close(self);" class="navigationPopup">'+popupNavi+'</a></td>');
	}
}

function startLink(startLinkBez) {
	if (!opener) {
		document.writeln('<img src="grafiken/sonstiges/pfeil_popup_navigation.gif" alt="" width="8" height="20" border="0"></td><td><a href="index.php" class="navigationPopup">'+startLinkBez+'</a>');
	}
}


function popupLogoLink() {
	if(opener) {
		document.writeln('<img src="grafiken/sonstiges/logo_gsv_verlag_unten.jpg" alt="Logo GSV St&auml;dteatlasverlag" width="272" height="112" border="0">');
	} else {
		document.writeln('<a href="index.php"><img src="grafiken/sonstiges/logo_gsv_verlag_unten.jpg" alt="Logo GSV St&auml;dteatlasverlag" width="272" height="112" border="0"></a>');
	}
}


