
function mehr(id) { document.getElementById(id).style.display = "block"; }

function weniger(id) { document.getElementById(id).style.display = "none"; }

function openWindow(vWidth, vHeight, vUrl, vName, vScroll)
{
	vLeft	= ((window.screen.width-vWidth)/2);
	vTop	= ((window.screen.height-vHeight)/2)-50;
	var oWindow = window.open(vUrl,vName,"height="+ vHeight +",width="+ vWidth +",resizable=no,left=" + vLeft + ",top=" + vTop + ",screenX=" + vLeft + ",screenY=" + vTop + ",scrollbars="+ vScroll)
	oWindow.focus();
}

function openSlideshow(UserID, FolderID, SelectedItem, ScrollBox, GoBack, Mode, SlideSwitch)  //v1.0
{
	vLeft=parseInt(((window.screen.width-700)/2)-6);
	vTop=parseInt(((window.screen.height-529)/2)-15);
	var oWindow = window.open("http://slideshow.jgsm.de/?UserID=" + UserID + "&FolderID=" + FolderID + "&SelectedItem=" + SelectedItem + "&ScrollBox=" + ScrollBox + "&GoBack=" + GoBack + "&SlideMode=" + Mode + "&SlideModeSwitch=" + SlideSwitch,"Window","height=529,width=700,resizable=no,left=" + vLeft + ",top=" + vTop + ",screenX=" + vLeft + ",screenY=" + vTop + ",scrollbars=0");
	oWindow.focus();
}

