

/*------------------------------------------*/
/*  pulldown                                */
/*------------------------------------------*/
/*-- ein und ausblenden pulldown --*/
var strNavPullDownActive = '' ;
function showPullDown(layerId) {
	// pulldown
	if( strNavPullDownActive ) {
		wrapperShowLayer(strNavPullDownActive, 'hidden') ;
	}
	if( layerId ) {
		strNavPullDownActive = 'sectionLayerId'+layerId ;
		wrapperShowLayer(strNavPullDownActive, 'visible') ;
	}
	else {
		strNavPullDownActive = '' ;
	}
}

function showPullDownTop(id) {
	showPullDown() ;
	
	strNavPullDownActive = 'divPullDownNavigation'+id ;
	wrapperShowLayer(strNavPullDownActive, 'visible') ;
}

var strNavPullDownContentActive = '' ;
function showPullDownContent(layerId) {
	// pulldown
	if( strNavPullDownContentActive ) {
		wrapperShowLayer(strNavPullDownContentActive, 'hidden') ;
	}
	if( layerId ) {
		strNavPullDownContentActive = 'divNavPullDownContentID'+layerId ;
		wrapperShowLayer(strNavPullDownContentActive, 'visible') ;
	}
	else {
		strNavPullDownContentActive = '' ;
	}
}


function getBlinkerPullDown(target, pic) {
	wrapperBlinkerParentNode(target, pic) ;
}

/**
 * 
 */
function showWeiterInfos() {
	block = 'setShowWeiterInfos' ;
	if (document.getElementById)
	{
		if (document.getElementById(block).style.display == 'block')
		{
			document.getElementById(block).style.display = 'none';
		}
		else
		{
			document.getElementById(block).style.display = 'block';
		}
	}
	else if (document.all)
	{
		if (document.all[block].style.display == 'block')
		{
			document.all[block].style.display = 'none';
		}
		else
		{
			document.all[block].style.display = 'block';
		}
	}
}

/**
 * 
 */
var win ;
function wrapperFenster(pfad,w,h,fenstername) {
	// parameter setzen
	para = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no' ;
	// wenn kein fenster name uebergeben wurde, standard-fenstername setzen
	if( arguments.length < 4 ) {
		fenstername='fenster';
	}
	//alert('fenstername:'+fenstername);
	win = window.open(pfad, fenstername, para+',width='+w+',height='+h) ;
	// apple safari fix:
	win.name = fenstername ;
}

/**
 * 
 */
function popup(pfad) {
	
	wrapperFenster(pfad,680, 590, 'rolandpopup') ;
}

