function open_katalog(){
		alert('javascript open_katalog function is called !!!');
	}
	
	function onlinekat_open(myLink) {
		
		//myLink = "http://"+myLink+"&PHPSESSID="+getQueryParamValue("PHPSESSID");
		myLink = myLink;
		
		alert(myLink);
		
		if (window.opener) {
			try {
				window.opener.location.href = myLink;
				window.opener.focus();
			}
			catch (e) {
				window.open(myLink, "_blank");
			}
		}
		else {
			window.open(myLink, "madeline");
		}
	}
	
	function onlinekat_open_catalog(myLink) {
		
		//myLink = "http://"+myLink+"&PHPSESSID="+getQueryParamValue("PHPSESSID");
		myLink = myLink;
			
		window.open(myLink, "_blank");
	}
	
	var browserName=navigator.appName; 
	var standardWidth = 960;
	var standardHeight = 760;
	
	function resize(windowWidth, windowHeight, windowX, windowY){
		if(browserName == 'Microsoft Internet Explorer'){
			window.resizeTo(windowWidth, windowHeight);
			if((windowWidth-document.body.clientWidth) > 0 && (windowHeight-document.body.clientHeight) > 0){
				window.resizeTo(windowWidth + (windowWidth-document.body.clientWidth), windowHeight + (windowHeight-document.body.clientHeight));
			}
		}else {
			window.innerWidth = windowWidth;
			window.innerHeight = windowHeight;
					
		}
		window.moveTo(windowX, windowY);
	}//end function 
	
	function window_width()
	{
	 if (window.innerWidth) return window.innerWidth;
	 else if (document.documentElement && document.documentElement.clientWidth) return document.documentElement.clientWidth;
	 else return 0;
	}
	
	function window_height()
	{
	 if (window.innerHeight) return window.innerHeight;
	 else if (document.documentElement && document.documentElement.clientHeight) return document.documentElement.clientHeight;
	 else return 0;
	}
	function jumpToProduct(i_articleNo, b_closeWindow) {
	alert("Artikel "+i_articleNo+" wird bestellt");
	}
	function jumpToHome(b_closeWindow) {
	alert("Springe zur Startseite");
	}

	function jumpToCatalogueOrder(b_closeWindow) {
	alert("Springe zur Katalogbestellseite");
	}	
	function popupWindow(myLoc, myWidth, myHeight) {
		window.open(myLoc, "_blank", "width="+myWidth+",height="+myHeight+",menubar=no,statusbar=no,locationbar=no,scrollbars=no");
		
	}
	
	function resize_flash() {
		fWidth = window_width();
		fHeight = window_height();
			
		if(browserName == 'Microsoft Internet Explorer'){
			var elemObject = document.getElementById('impression');
			if(fWidth>=standardWidth){
				elemObject.width = fWidth;
			}else{
				elemObject.width = standardWidth;
			}
			if(fHeight>=standardHeight){
				elemObject.height = fHeight; 
			}else{
				elemObject.height = standardHeight;
			}			
			
		}
		else {
			var elemObject = document.getElementById('impression');
			if(fWidth>=standardWidth){
				elemObject.width = fWidth;
			}else{
				elemObject.width = standardWidth;
			}
			if(fHeight>=standardHeight){
				elemObject.height = fHeight; 
			}else{
				elemObject.height = standardHeight;
			}	
		}
	}
