function openfenster(artid, ivwtag, arttemplate) {
  var win, file;
  file="druckversion.php?artid="+artid+"&arttmpl="+arttemplate+"&ivwtag="+ivwtag;
  win=window.open(file,"","toolbar,titlebar,scrollbars,status,width=730,height=500,status=no");
}

function openshowbild(type, bildid, galleryid, rid) {
	var win, file;
	file="showbild.php?type="+type+"&bildid="+bildid+"&galleryid="+galleryid+"&rid="+rid;
	win=window.open(file,"","titlebar,scrollbars,status,width=500,height=600,status=no");
}

// Achtung: Aenderungen an der folgenden Funktion muessen auch im Standard-Template
// (volksfest.template) vollzogen werden, da dort das Script nochmals eingebaut ist !

function opendiashow(type, variable, wert) {
	var file="diashow.php?type="+type+"&"+variable+"="+wert;
	var	win=window.open(file,"Diashow","scrollbars,resizable=no,width=760,height=620,status=no,screenX=0,screenY=0");
}

function bildvorschau(bildid, rid) {
	var win, file;
	file="bildvorschau.php?bildid="+bildid+"&rid="+rid;
	win=window.open(file,"","titlebar,scrollbars,status,width=480,height=600,status=no");
}

// Gewinnspiel ab Frühjahr 2007 //

function fireItUp(num) {
   url = "http://www.volksfest-nuernberg.de/gewinnspiel/spiel1/index" + num + ".html";
   win = window.open(url, "", "resizable=no,width=940,height=720,status=no,screenX=0,screenY=0");
   }

function fensta(){
win = window.open("http://www.volksfest-nuernberg.de/gewinnen/scooter.html","Spiel","width=500,height=430,left=100,top=100");
}

function live(){
win = window.open("http://timeshift.odn.de/cam-volksfest/live.jpg","","scrollbars,status,width=620,height=300");

}
function panorama(){
win = window.open("http://livecam.odn.de/drehcam-01/pano/","","width=620,height=450");
}
function livecam(){
win = window.open("http://www.volksfest-nuernberg.de/live/mobotix.html","","width=660,height=510");
}
function livecamraffer(breite, hoehe){
win = window.open("http://www.volksfest-nuernberg.de/live/mobotixraff.html","","width="+breite+",height="+hoehe);
}