//global variables
var strLocale = 'de';
var strOtherLocation = '../de/';

function changeLocale(){
	//strLocale=='en' ? changeLocation(strOtherLocation) : alert(strLocale);
	currLoc = location.href;	
	iStart = currLoc.lastIndexOf('/');
	iEnd = currLoc.length;
	htmlLoc = currLoc.substring((iStart + 1),iEnd);
	newLoc = htmlLoc.substring(0,htmlLoc.lastIndexOf('.'));
	newLoc = 'http://www.adidas-salomon.com/de/investor/reports/annually/2003/' + newLoc + '.html';
	document.location=newLoc;
}
function changeLocation(sUrl){
	document.location=sUrl;
}

function parentNav(str_Url)
{
	if(window.opener != null) window.opener.location = str_Url;
}
function recommendPage(){
	window.location = "mailto:"+"?subject=adidas-Salomon 2003 Annual Report" + "&body=" + "I thought this link might interest you:  " + document.title + ": " + document.location;	
}

//Vielleicht interessiert Sie dieser Link:  adidas-Salomon Geschäftsbericht 2002 - Brief an die Aktionäre: http://www.adidas-salomon.com/de/investor/reports/annually/strategie/brief.html


//popups
var strPrintVersionUrl = 'order_printversion.html';
function popUpc(strUrl,strName,strType){ //notes,print,download(xls,pdf)
	if(strType=='note'){strOptions='height=400,width=620,scrollbars';}
	if(strType=='print'){strOptions='height=400,width=620,scrollbars';strName='printWin';}
	if(strType=='download'){strOptions='status,menubar,resizable,height=400,width=620,scrollbars';}
	var winX=(screen.width-620)/2;
	var winY=(screen.height-400)/2;
	strOptions+=',left='+winX+',top='+winY;
	fireWin(strUrl,strName,strOptions);
}
function popUpo(strName){ //order printversion ...
	var winX=(screen.width-300)/2;
	var winY=(screen.height-350)/2;
	fireWin('order_printversion.html','orderWin','height=350,width=300,left='+winX+',top='+winY);
}
function popUpa(){ //interactive analyst
	var winX=(screen.width-670)/2;
	var winY=(screen.height-640)/2;
	fireWin('http://www.investis.com/adidas/interactive_analyst/adidas-salomon_ia.html','iaWin','resizable,scrollbars,status,height=640,width=670,left='+winX+',top='+winY);
}
function popUpi(strUrl,intWidth,intHeight){ //image enlarger , table enlarger
	var winX = (screen.width - intWidth) / 2;
	var winY = (screen.height - intHeight) / 2;
	fireWin(strUrl,'imageWin','resizable,scrollbars,height='+intHeight+',width='+intWidth+',left='+winX+',top='+winY);
}
function fireWin(strUrl,strName,strParams){ //fire
 //if(newWin != null && !newWin.closed){newWin.close();}
	 newWin = window.open(strUrl,strName,strParams); 
	 newWin.focus(); 
}