<!-- hide script
//	all contents on this site							--
//	are copyright (c) 1998-2008 by				--
//	http://www.art-emission.com					 	--
//	of Switzerland, all rights reserved		--

// Original Javascript von header.php

var selected;
var submitter = null;

function submitFunction() {
    submitter = 1;
}

function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}  

function selectRowEffect(object, buttonSelect) {
  if (!selected) {
    if (document.getElementById) {
      selected = document.getElementById('defaultSelected');
    } else {
      selected = document.all['defaultSelected'];
    }
  }

  if (selected) selected.className = 'moduleRow';
  object.className = 'moduleRowSelected';
  selected = object;

	// one button is not an array
  if (document.getElementById('payment'[0])) {
    document.getElementById('payment'[buttonSelect]).checked=true;
  } else {
    //document.getElementById('payment'[selected]).checked=true;
  }
}

function rowOverEffect(object) {
  if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}

function rowOutEffect(object) {
  if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}

function popupImageWindow(url) {
  window.open(url,'popupImageWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
// Original Javascript von header.php



function loadDocPDFinWindow(url)
	{	if (browserOk)	
		{	var merkmalewin2='toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=880,height='+getMaxYsize(530,1200)+',left='+getXcenter(880)+',top='+getYcenter(getMaxYsize(530,1200));
			var dateiname=url;
			actualwin2=window.open('','docpdf2net',merkmalewin2);
			win2open=true;
			if (actualwin2!=null)
			{	actualwin2.focus();
				actualwin2.location.href=dateiname;
				return false;}
			else
			{	return true;}}
		else
		{	return true;}}


function loadOpenInWindow(url)
{	if (browserOk)	
	{	var merkmalewin1='toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=990,height='+getMaxYsize(575,1200)+',left='+getXcenter(990)+',top='+getYcenter(getMaxYsize(575,1200));
		var dateiname=url;
		actualwin1=window.open('','docwin1net',merkmalewin1);
		win1open=true;
		if (actualwin1!=null)
		{	actualwin1.focus();
			actualwin1.location.href=dateiname;}
}}
		


			
	
	
function largeImage(images,windex,hindex,scroll)
{	if (browserOk)	
	{	var windextmp = windex;
		if (windextmp<(maxScreenX - 200))
		{ windextmp = maxScreenX - 200; }

	  var hindextmp = hindex;
		if (hindextmp<(maxScreenY - 200))
		{ hindextmp = maxScreenY - 200; }
		if ((scroll) && (scroll==true)){
			var merkmalewin1='toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width='+windextmp+',height='+hindextmp+',left='+getXcenter(windextmp)+',top='+getYcenter(hindextmp);
		}
		else {
			var merkmalewin1='toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+windextmp+',height='+hindextmp+',left='+getXcenter(windextmp)+',top='+getYcenter(hindextmp);
		}
			
		var dateiname="http://www.schriftenfaecher.ch/shop/largeImages.html?," + images + "," + windex + "," + hindex;
		actualwin1=window.open('','windowImg1net',merkmalewin1);
		win1open=true;
		if (actualwin1 && (actualwin1!=null))
		{	actualwin1.location.href=dateiname;
			actualwin1.focus();} }}	



	
		
// Text/Bilder ein- ausschalten
function moreText(moreLabel,textLabel,lessLabel)
{
	if (document.getElementById)
	{
		var style2 = document.getElementById(moreLabel).style;
		style2.display = "none";
		var style2 = document.getElementById(textLabel).style;
		style2.display = "block";
		var style2 = document.getElementById(lessLabel).style;
		style2.display = "block";
	}
	else if (document.all)
	{
		var style2 = document.all[moreLabel].style;
		style2.display = "none";
		var style2 = document.all[textLabel].style;
		style2.display = "block";
		var style2 = document.all[lessLabel].style;
		style2.display = "block";
	}
}		

function lessText(moreLabel,textLabel,lessLabel)
{
	if (document.getElementById)
	{
		var style2 = document.getElementById(moreLabel).style;
		style2.display = "block";
		var style2 = document.getElementById(textLabel).style;
		style2.display = "none";
		var style2 = document.getElementById(lessLabel).style;
		style2.display = "none";
	}
	else if (document.all)
	{
		var style2 = document.all[moreLabel].style;
		style2.display = "block";
		var style2 = document.all[textLabel].style;
		style2.display = "none";
		var style2 = document.all[lessLabel].style;
		style2.display = "none";
	}
}				
			
// stop hiding -->	
		
	
		


