// jquery.goin.js 005
	
//alert(GoInLocalServer);
if(jQuery) (function($){
	// public variables and methods
	$.extend({
		goin: {
			defaults: {
				// typo3 settings
				local: false,
				// keyword suche
				ajaxKeywordServiceUrl: GoInLocalServer + '/index.php?eID=keyword&plain=1',
				
				ajaxLoadingImage: GoInLocalServer + "/fileadmin/templates/goin/assets/images/loading.gif",
				ajaxQuicklookServiceUrl: GoInLocalServer + "/index.php?eID=quickmatrix&quicksave=1",
				//ajaxBrowserServiceUrl: GoInLocalServer + "/index.php?eID=vorauswahl&auswahl=",  wird jetzt komplett �ber rel gef�llt
				//ajaxConfigServiceUrl: GoInLocalServer + "/index.php?eID=fill_layer&",
				ajaxSubmitToCartUrl: GoInLocalServer + "/index.php?eID=card_send&amount=",
				quicklookContentUrl: GoInLocalServer + "/index.php?eID=quicklook",
				swfFlashShow: GoInLocalServer + "/fileadmin/templates/goin/assets/flash/module/Flashmodul.swf",
				swfHomePrivateData: encodeURIComponent(""), // NEU!
				// Nachricht beim Wechsel des Kundentyps
				// ajaxClientSwitch: '/index.php?eID=client_switch&height=200&width=400',
				// wird jetzt aus dem Href des Links gezogen 
	
				swfCollectionFlash: GoInLocalServer + "fileadmin/templates/goin/assets/flash/collection/collection.swf",
				swfCollectionData: encodeURIComponent(GoInLocalServer + "/index.php?eID=imglist&typ=collection"),
				swfExpressInstall: GoInLocalServer + "fileadmin/templates/goin/assets/flash/expressInstall.swf"
			},
			// helfer funktion zum debugging
			isDev: function() {
				if (GoInLocalServer.match(/dev\.goin\.de/)!=null) return true;
				if (GoInLocalServer.match(/.goin\.local/)!=null) return true;
			},
			debug: function(message) {
				if (window.console && window.console.log)
					window.console.log('GoIn Debug: ' + message);
			}
		}
	});
/*
	$.extend({
		goin: {
			defaults: {
				// local settings
				local: true,
				// keyword suche
				ajaxKeywordServiceUrl: "include/search.php.html?eID=keyword&plain=1",
				
//				 Nachricht beim Wechsel des Kundentyps
//				 ajaxClientSwitch: 'include/clientswitch.html?height=130&width=400',
//				 wird jetzt aus dem Href des Links gezogen 
				
				
				ajaxLoadingImage: "../assets/images/loading.gif",
				ajaxQuicklookServiceUrl: "include/include.produkte-art-result.html?eID=quickmatrix&quicksave=1",
				ajaxBrowserServiceUrl: "include/include.produkte-art-result.html?typ=",
				//ajaxConfigServiceUrl: "include/include.produkt-",
				ajaxConfigResultUrl: "include/produkt-konfiguriert.html",
				ajaxSubmitToCartUrl: "include/basket.php?eID=card_send&amount=",
				quicklookContentUrl: "include/quicklook.html", // NEU!
				swfFlashShow: "../assets/flash/module/Flashmodul.swf",
				swfSlideshowFlash: "../assets/flash/module/Flashmodul.swf",
				swfSlideshowData: "xml/home.xml",
				swfHomePrivateData: "xml/home_privat.xml", // NEU!
				swfServiceworldFlash: "../assets/flash/module/Flashmodul.swf",
				swfServiceworldData: "xml/servicewelt.xml",
				swfRoomplanerFlash: "../assets/flash/module/Flashmodul.swf",
				swfRoomplanerData: "xml/raumplanung.xml",
				swfTimelineFlash: "../assets/flash/module/Flashmodul.swf",
				swfTimelineData: "xml/history.xml",
				swfCollectionFlash: "../assets/flash/module/CollectionModul.swf",
				swfCollectionData: "xml/collection.xml",
				swfExpressInstall: "../assets/flash/expressInstall.swf"
			},
			// helfer funktion zum debugging
			debug: function(message) {
				if (window.console && window.console.log)
					window.console.log('GoIn Debug: ' + message);
			}
		}
	});
//*/
})(jQuery);





