/* ########################################################################################################
 * Modifiziertes Skript by Reber IT - 2013
 * ########################################################################################################
 * ORIGINAL-SKRIPT:
 * Image preview script 
 * powered by jQuery (http://www.jquery.com)
 * 
 * written by Alen Grakalic (http://cssglobe.com)
 * 
 * for more info visit http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
 * ########################################################################################################
 */
 	//Hilfsvariablen
	var mouseOnThumb	= 0;
	var mouseOnZoom		= 0;
	var ivFlag			= "";
	var iiFlag			= "";
this.imagePreview_lbFx_zoom = function(){	
	var xOffset = 7; //Std: 10
	var yOffset = 5; //Std: 30
	bind2item = "mouse"; //mouse | img
    showTitel = true;
    fit2screen = true;
    fx = "fade";
    fxtime = 120;
    onklick = "nix";
	//# Funktion zum Bild-Einblenden
 	$("a.ritLightBox_zoom").bind("mouseenter", function(e){
		$(this).addClass("gotIt");
		var baseObject = this;
		var textLoader = false;
		setTimeout(function() { 
			baseObject.t = baseObject.title;
			baseObject.title = "";	
			if ($(baseObject).hasClass("gotIt")) {
				if ($(baseObject).hasClass("rit_tlbz")) { 
					var picPageX = parseInt($(baseObject).offset().left);
					var picPageY = parseInt($(baseObject).offset().top);
					var picHeight = parseInt($(baseObject).height());
					var picWidth  = parseInt($(baseObject).width());
					textLoader = true;
				} else { 
					var picPageX = parseInt($(baseObject).find("img").offset().left);
					var picPageY = parseInt($(baseObject).find("img").offset().top);
					var picHeight = parseInt($(baseObject).find("img").height());
					var picWidth  = parseInt($(baseObject).find("img").width());
				}
				
				
				removeZoomImage_force();
				var c = (baseObject.t != "") ? "
" + baseObject.t : "";
				if (showTitel==false) { c=""; }
				$("body").append("
 + ")
"+ c +"