function WWqtvr(url)
{
	panorama = window.open("images/projekte/" + url, "new window", "width=320,height=255,scrollbars=no,resizeable=0");
	panorama.name = url;
}
function qtvr(url) {
	leftPosition = (screen.width) ? (screen.width-320)/2 : 0;
	topPosition = (screen.height) ? (screen.height-255)/2 : 0;
	var windowprops = 'width=320,height=255,top='+ topPosition +',left='+ leftPosition +',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	popup = window.open("images/projekte/" + url,'register',windowprops);
}

function loadRamps(sect) {
	var url = "rampsVid.php?sect="+sect;
	//alert("url:"+url);
	location.href = url;
}

function skatermade() {
	leftPosition = (screen.width) ? (screen.width-1000)/2 : 0;
	topPosition = (screen.height) ? (screen.height-600)/2 : 0;
	var windowprops = 'width=1000,height=600,top='+ topPosition +',left='+ leftPosition +',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	popup = window.open("specials/skatermade.html",'register',windowprops);
}

function loadSwf( whichSwf )
{
	var so;
	var swfWidth = "1000";
	var swfHeight = "600";
	so = new SWFObject("specials/" +  whichSwf + ".swf",  whichSwf, swfWidth, swfHeight, "7");
	so.addParam("wmode", "transparent");
	so.write("flashContent");
}