function openSuche(path) {
	winWidth = 750;
	winHeight = 320;
	winX=((screen.width - winWidth) / 2 );
    winY=((screen.height - winHeight) / 2 );
    win = window.open('http://www.lhcargo.com/popup/suche.jsp?path='+path,'lhc_suche','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no,width=490,height=396,left='+winX+',top='+winY);
	win.focus();
}

function openGlossary(path) {
	winWidth = 500;
	winHeight = 410;
	winX= ((screen.width - winWidth) /2 );
    winY= ((screen.height - winHeight) /2 );
    win = window.open('http://www.lhcargo.com/popup/glossary.jsp?path='+path+'&letter=A','lhc_glossary','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+winWidth+',height='+winHeight+',left='+winX+',top='+winY);
	win.focus();
}

function openGallery(path) {
	winWidth = 750;
	winHeight = 500;
	winX= ((screen.width - winWidth) /2 );
    winY= ((screen.height - winHeight) /2 );
    win = window.open('http://www.lhcargo.com/popup/gallery.jsp?path='+path,'lhc_gallery','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+winWidth+',height='+winHeight+',left='+winX+',top='+winY);
	win.focus();
}

function openPrint() {
	winWidth = 588;
	winHeight = 495;
	winX= ((screen.width - winWidth) /2 );
    winY= ((screen.height - winHeight) /2 );
    win = window.open('', 'lhc_print','toolbar=yes,location=yes,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width='+winWidth+',height='+winHeight+',left='+winX+',top='+winY);
	win.focus();
}

function openToolbox() {
	winWidth = 250;
	winHeight = 580;
	winX= ((screen.width - winWidth) /2 );
    winY= ((screen.height - winHeight) /2 );
    win = window.open('', 'lhc_toolbox','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+winWidth+',height='+winHeight+',left='+winX+',top='+winY);
	win.focus();
}

function openSend2friend() {
	winWidth = 400;
	winHeight = 510;
	x=((screen.width - winWidth) / 2);
    y=((screen.height - winHeight) / 2);
    win = window.open( '' ,'lhc_send2friend','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no, resizable=no,width='+winWidth+',height='+winHeight+',left='+x+',top='+y);
	win.focus();    
}

function openProductfinder(n) { 
	if ( n=='de') 
		Productfinder=window.open("http://www.lhcargo.com/productfinder/data/productfinder_lh_d.html","Productfinder","width=760,height=560,menubar=no,status=no");
	else
		Productfinder=window.open("http://www.lhcargo.com/productfinder/data/productfinder_lh_e.html","Productfinder","width=760,height=560,menubar=no,status=no");
	
	Productfinder.moveTo(100,50); 
	Productfinder.focus(); 
}

function Fenster(url) {
	newWin = window.open(url,"lhc");
	newWin.focus();
}

function Contchange(url2) {
	top.location.href = url2;
}

function openInOpener(url) {
	opener.location.href = url;
}

function spPopUp(lang) {
	var breite = 750;
	var hoehe = 528;
	var popupLeft  = screen.availWidth/2-375;
	var popupTop = screen.availHeight/2-250;

	if(lang == "")
		lang = "de";

	w = window.open('http://mycargo.lufthansa-cargo.com/cargopacker/login.'+lang+'.jsp','Services','left='+popupLeft+',top='+popupTop+',width='+breite+',height='+hoehe+'');
	w.focus();
}

function newPopUp(pagePath, pageTitle, winWidth, winHeight) {
	//winWidth = 760;
	//winHeight = 528;
	x=((screen.width - winWidth) / 2);
    y=((screen.height - winHeight) / 2);
    win = window.open(pagePath, pageTitle, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes, resizable=no,width='+winWidth+',height='+winHeight+',left='+x+',top='+y);
	win.focus();    
}