

<!-- PAGE -->

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function GoBack(sURL, sDelivery)
{
  var sValue = document.f_detail.Prod_Ptalform.value.split(";");

  sLa = document.f_detail.Prod_Language.value;
	if (sDelivery == '') { sDelivery = '1'; }
	if (isNaN(sValue[2])) {
		sPf = sValue[0];
		sDuration = sValue[1];
		if (isNaN(sValue[1])) {
			sDuration = '';
		}
			sURL = sURL + '&Delivery='+sDelivery+'&pf='+sPf+'&la='+sLa+'&Duration='+sDuration
	} else {
		sPd = sValue[0];
		sPf = sValue[1];
		sDl = sValue[2];
		sPo = sValue[3];
		sURL = sURL + '&Delivery='+sDl+'&pf='+sPf+'&la='+sLa+'&Po='+sPo
	}
  location.href = sURL;
}

function change_Price(sProduct,sLocation)
{
  sLa = document.f_detail.Prod_Language.value;
  var sValue = document.f_detail.Prod_Ptalform.value.split(";");
  
  if (isNaN(sValue[2])) {
		sOS = sValue[0];
		sQTY = sValue[1];
		sDl = "1";
		sURL = '&OS='+sOS+'&QTY='+sQTY+'&la='+sLa;
	} else {
		sDl = sValue[2];
		sPo = sValue[3];
		sURL = '&Po='+sPo+'&la='+sLa
	}
  
	sURL = sLocation+'?'+sProduct+'&Delivery='+sDl+sURL;
	
  location.href = sURL;
  
}


function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
}



function MM_openBrWindow(theURL,winName,features) 
{ //v2.0
  window.open(theURL,winName,features);
}


function sPromoCode(sURL)
{
  document.location.href=sURL + "&PromoCode=" + document.f_Warenkorb.txtPromoCode.value;
}


function openWin(url)
{
win=window.open("screenshot.htm?"+url,"fenster","dependent=yes,locationbar=no,menubar=no,screenX=0,screenY=0,resizable=no,width=5,height=5");
}


function maxiwin()
  {
  BSW = screen.width;
  BSH = screen.height;
  window.outerHeight = screen.height;
  window.outerWidth  = screen.width;

  moveTo ( 0,0 )
  resizeTo( BSW, BSH );
  }
   
 function Input_Check_Search() 
{
  var Ergebnis = true;

  if (document.f_Search.txtSearch.value.length == 0 || document.f_Search.txtSearch.value == '<%=aryMenuLanguage(14)%>')
  {
    //alert("<%=aryMenuLanguage(1)%>");
	document.f_Search.txtSearch.focus();
	//document.f_Search.txtSearch.style.backgroundColor='#FF0000';
	Ergebnis = false;
  }
  return Ergebnis;
}