function __showFAQ (winTitle, faqUrl) {
	win = new Window({className: "juripax", title: winTitle, width:800, height:500, url: faqUrl, showEffectOptions: {duration:1.5}});
	var windowScroll = WindowUtilities.getWindowScroll(win.parent);
	win.setDestroyOnClose(); 
	win.setLocation(windowScroll.top + 10, 10);
	
	win.show();
	win.toFront();
}

function showMovie (faqUrl) {
	win = new Window({className: "juripax", title: "Movie Tutorial", top:10, left:10, width:660, height:555, url: faqUrl, showEffectOptions: {duration:1.5}});
	win.show(); 
}

function showPreview (previewUrl) {
	win = new Window({className: "juripax", title: "Preview", top:10, left:10, width:900, height:500, url: previewUrl, showEffectOptions: {duration:1.5}});
	win.show(); 
}

function openWin( windowURL, windowName, windowFeatures ) {  

	fenster=window.open( windowURL, windowName, windowFeatures );  

	fenster.focus();
}

function glen(URL,newwidth,newheight,scrollbar) {

        window.open(URL, '_blank', 'toolbar=no,location=no,directories=no,status=no,scrollbars='+ scrollbar + ',menubar=no,width='+ newwidth + ',height=' + newheight);
}


function switchlayer(Layer_Name)
{
  var GECKO = document.getElementById? 1:0 ;
  var NS = document.layers? 1:0 ;
  var IE = document.all? 1:0 ;

  if (GECKO)
       {document.getElementById(Layer_Name).style.display=
	   (document.getElementById(Layer_Name).style.display=='block') ? 'none' : 'block';}
  else if (NS)
       {document.layers[Layer_Name].display=(document.layers[Layer_Name].display==
	   'block') ? 'none' : 'block';}
  else if (IE)
       {document.all[Layer_Name].style.display=(document.all[Layer_Name].style.display==
	   'block') ? 'none' : 'block';}
}

function showlayer(Layer_Name)
{
  var GECKO = document.getElementById? 1:0 ;
  var NS = document.layers? 1:0 ;
  var IE = document.all? 1:0 ;

  if (GECKO) {
       document.getElementById(Layer_Name).style.display= '';
  }
  else if (NS) {
  	document.layers[Layer_Name].display='block';
  }
  else if (IE) {
  	document.all[Layer_Name].style.display='block';
  }
}

function hidelayer(Layer_Name)
{
  var GECKO = document.getElementById? 1:0 ;
  var NS = document.layers? 1:0 ;
  var IE = document.all? 1:0 ;

  if (GECKO) {
  	document.getElementById(Layer_Name).style.display= 'none';
  }
  else if (NS) {
  	document.layers[Layer_Name].display='none';
  }
  else if (IE) {
  	document.all[Layer_Name].style.display='none';
  }
}
