// Auswahlseite
function sat(plain){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= (document.all ?  screen.availHeight : screen.availHeight)-54;
  eval("hb = open('main.html?gotoURL=" + plain + "', 'xxx', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hb.focus();
 }
 // Standard PopUp Window schliessen, danach Neues oeffnen
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height, center_popup, scrollable){
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  setTimeout("openPopUpWindow('"+URLStr+"', "+left+", "+top+", "+width+", "+height+", "+center_popup+", '"+scrollable+"')",300);
}
// PopUp Window Fashion Show Berlin	DSL
function popUpBerlin(URLStr, left, top){  // fashionshow berlin
  width= document.all ?  screen.availWidth : screen.availWidth;
  height= document.all ?  screen.availHeight : screen.availHeight;
  scrollable=false;
  center_popup=true;
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  setTimeout("openPopUpWindow('"+URLStr+"', "+left+", "+top+", "+width+", "+height+", "+center_popup+", '"+scrollable+"')",300);
}
// PopUp Window Fashion Show Berlin	DSL
function goHBberlinDSL(param){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hb = open('specials/berlin_fashionshow_2005/main.html?gotoURL=" + param + "', 'berlin', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hb.focus();
}
// PopUp Window Fashion Show Berlin	Modem
function goHBberlinModem(param){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hb = open('specials/berlin_fashionshow_2005/modem/main.html?gotoURL=" + param + "', 'berlin', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hb.focus();
}
// Standard PopUp Window oeffnen
function openPopUpWindow(URLStr, left, top, width, height, center_popup, scrollable){
  if(center_popup==true){
  	left=screen.width/2-width/2;
	top=screen.height/2-height/2;
  }
    popUpWin = window.open('', 'popUpWin', 'border=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
    popUpWin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>HUGO BOSS</title></head><frameset rows="*" cols="*" frameborder="NO" border="0" framespacing="0"><frame src="'+URLStr+'" name="PDF" id="PDF" frameborder="No" /></frameset></html>');
}
// PopUp Window Sponsoring
var popUpWinSpon=0;
function popUpWindowSpon(URLStr, left, top, width, height, center_popup, scrollable){
  if(popUpWin)
  {
    if(!popUpWinSpon.closed) popUpWin.close();
  }
  if(center_popup==true){
  	left=screen.width/2-width/2;
	top=screen.height/2-height/2;

  }
    popUpWinSpon = open(URLStr, 'popUpWinSpon', 'border=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
// AG Site oeffnen
function openAGWindow(lang){
  posX = 0;
  posY = 0;
  satWidth= 800;
  satHeight= 600;
  if(lang == "de"){
    eval("hbag = open('http://www.hugoboss-group.com/de/', 'ag_de', 'toolbar=1,scrollbars=1,resizable=1,status=1,menubar=1,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  } else {
    eval("hbag = open('http://www.hugoboss-group.com/en/', 'ag_en', 'toolbar=1,scrollbars=1,resizable=1,status=1,menubar=1,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  }  
  hbag.focus();
}  
// PopUp Window HUGOBOSSPRIZE 2006 deutsch
function goHBP06_de(){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hbpd = open('../hugobossprize/hugobossprize_06/de/fenster.html', 'prize_06_de', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hbpd.focus();
}
// PopUp Window HUGOBOSSPRIZE 2006 englisch
function goHBP06_en(){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hbpd = open('../hugobossprize/hugobossprize_06/en/fenster.html', 'prize_06_en', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hbpd.focus();
}
// PopUp Window HUGOBOSSPRIZE 2004 deutsch
function goHBP04_de(){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hbpd = open('../hugobossprize/hugobossprize_04/de/fenster.html', 'prize__04_de', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hbpd.focus();
}
// PopUp Window HUGOBOSSPRIZE 2004 englisch
function goHBP04_en(){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hbpd = open('../hugobossprize/hugobossprize_04/en/fenster.html', 'prize_04_en', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hbpd.focus();
}
// PopUp Window HUGOBOSSPRIZE 2002 deutsch
function goHBP_de(){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hbpd = open('../hugobossprize/de/teppich.html', 'prize_de', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hbpd.focus();
}
// PopUp Window HUGOBOSSPRIZE 2002 englisch
function goHBP_en(){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hbpd = open('../hugobossprize/en/teppich.html', 'prize_en', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hbpd.focus();
}
// PopUp Window HUGOBOSS-Sailing
function goHBS(param){
  posX = 0;
  posY = 0;
  satWidth= document.all ?  screen.availWidth : screen.availWidth;
  satHeight= document.all ?  screen.availHeight : screen.availHeight;
  eval("hb = open('segeln/main.html?gotoURL=" + param + "', 'sailing', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
  hb.focus();
}

