
	
//																										
// -----------------------------------------------------												
// Function RET_BOL_confirm_submit																		
// -----------------------------------------------------												
//																										
function RET_BOL_confirm_submit() {
	var agree=confirm("ACHTUNG\nWollen Sie dies Element wirklich löschen?");
	if (agree) 	return true;
	else 		return false;
}
//																										

	
//																										
// -----------------------------------------------------												
// Function ShowBigPicture																				
// -----------------------------------------------------												
//																										
function PreviewBusinesscard(width, height, screenX, screenY){
	
	if (!width) 	width 	= 640;
	if (!height) 	height 	= 480;
	if (!screenX) 	screenX = 50;
	if (!screenY) 	screenY = 50;
	
	Link = "";

	// IE Fenster oeffnen 
	if (document.layers) {
		window.open(Link, "Vorschau", "width="+width+",height="+height+",screenX="+screenX+",screenY="+screenY+"");
	}
	// NS Fenster oeffnen 
	if (document.getElementById) {
		window.open(Link, "Vorschau", "width="+width+",height="+height+",screenX="+screenX+",screenY="+screenY+",dependent=yes");
	}
}
//																										



	
//																										
// -----------------------------------------------------												
// Function ShowBigPicture																				
// -----------------------------------------------------												
//																										
function CheckAcrobat() {
	var displayString;
	var acrobat=new Object();
	acrobat.installed=false;
	acrobat.version='0.0';
	
	if (navigator.plugins && navigator.plugins.length) {
		for (x=0; x<navigator.plugins.length;x++) {
			if (navigator.plugins[x].description.indexOf('Adobe Acrobat')!= -1) {
			acrobat.version=parseFloat(navigator.plugins[x].description.split('Version ')[1]);
			if (acrobat.version.toString().length == 1) acrobat.version+='.0';
				acrobat.installed=true;
				displayString = 'Acrobat Version: '+acrobat.version;
				break;
			} 
			else if (navigator.plugins[x].description.indexOf('Adobe PDF Plug-In') != -1) {
				acrobat.installed=true;
				acrobat.version ='8+';
				displayString = 'Acrobat Version 8 or Above';
			}
		}
	} 
	else if (window.ActiveXObject) {
		for (x=2; x<10; x++) {
			try {
				oAcro=eval("new ActiveXObject('PDF.PdfCtrl."+x+"');");
				if (oAcro) {
					acrobat.installed=true;
					acrobat.version=x+'.0';
					displayString = 'Acrobat Version: '+acrobat.version;
				}
			}
			catch(e) {}
		}
	
		try {
			oAcro4=new ActiveXObject('PDF.PdfCtrl.1');
			if (oAcro4) {
				acrobat.installed=true;
				acrobat.version='4.0';
				displayString = 'Acrobat Version: '+acrobat.version;
			}
		}
		catch(e) {}
	
		try {
			oAcro7=new ActiveXObject('AcroPDF.PDF.1');
			if (oAcro7) {
				acrobat.installed=true;
				acrobat.version='7.0';
				displayString = 'Acrobat Version: '+acrobat.version;
			}
		}
		catch(e) {}
	}
	if (! displayString) { 
		return false;
	} 
	else { 
		return displayString;
	}
}
//																										

