function markcell(zelle) {
    document.all[zelle].style.borderBottom="1px solid #D60900"
}

function nomarkcell(zelle) {
    document.all[zelle].style.borderBottom="1px solid #ACC7DC"
}

function outmarkcell(zelle){
    document.all[zelle].style.borderBottom="1px solid #ACC7DC"
}


function flashmapURL(zielURL) {
	window.open(zielURL, 'NewWindow','status=1,location=1,menubar=1,=yes,scrollbars=yes,resizable=yes,width=810,height=600');
}


function standortsucheDeepLink(deepLink){         
               top.location.href="index.php?id=96&deepL="+deepLink; 	
}




var pluginTargetVersion = 6;
var detectableWithVB = false;
var detectableWithPlugins = false;
var pluginDetected = false;

document.writeln('<scr'+'ipt language="VBscript">');
document.writeln('detectableWithVB = False');
document.writeln('If ScriptEngineMajorVersion >= 2 then');
document.writeln('  detectableWithVB = True');
document.writeln('End If');
document.writeln('Function detectActiveXControl(activeXControlName)');
document.writeln('  on error resume next');
document.writeln('  detectActiveXControl = False');
document.writeln('  If detectableWithVB Then');
document.writeln('     detectActiveXControl = IsObject(CreateObject(activeXControlName))');
document.writeln('  End If');
document.writeln('End Function');
document.writeln('<\/scr' + 'ipt>');

function checkForPlugin(){
	if(detectableWithPlugins){
		for (i=0;i<navigator.plugins.length;i++){
			for(j=0;j<navigator.plugins[i].length;j++){
				if (navigator.mimeTypes && navigator.plugins[i][j].type.indexOf('application/x-shockwave-flash') != -1 && 
					(navigator.plugins[i][j].suffixes.indexOf('swf') != -1) && 
					navigator.plugins[i].description.indexOf('Flash') != -1 && 
					navigator.plugins[i][j].enabledPlugin && 
					parseInt(navigator.plugins[i].description.substr(navigator.plugins[i].description.indexOf('.')-1,1)) >= pluginTargetVersion) pluginDetected = true;
				}
			}
		}
	else if (detectableWithVB) pluginDetected = detectActiveXControl('ShockwaveFlash.ShockwaveFlash.'+pluginTargetVersion);
	}
	
	
function canDetect(){
	detectableWithPlugins = (navigator.plugins && navigator.plugins.length > 0)? true:false;
	if (detectableWithVB || detectableWithPlugins) return true;
	else return false;
	
    }

if(canDetect()){
	checkForPlugin();
	}



