var browserName=navigator.appName;var browserVer=parseInt(navigator.appVersion);var version="";var msie4=(browserName=="Microsoft Internet Explorer"&&browserVer>=4);if((browserName=="Netscape"&&browserVer>=3)||msie4||browserName=="Konqueror"||browserName=="Opera"){version="n3";}else{version="n2";}
function blurLink(theObject){if(msie4){theObject.blur();}}
function decryptCharcode(n,start,end,offset){n=n+offset;if(offset>0&&n>end){n=start+(n-end-1);}else if(offset<0&&n<start){n=end-(start-n-1);}
return String.fromCharCode(n);}
function decryptString(enc,offset){var dec="";var len=enc.length;for(var i=0;i<len;i++){var n=enc.charCodeAt(i);if(n>=0x2B&&n<=0x3A){dec+=decryptCharcode(n,0x2B,0x3A,offset);}else if(n>=0x40&&n<=0x5A){dec+=decryptCharcode(n,0x40,0x5A,offset);}else if(n>=0x61&&n<=0x7A){dec+=decryptCharcode(n,0x61,0x7A,offset);}else{dec+=enc.charAt(i);}}
return dec;}
function linkTo_UnCryptMailto(s){location.href=decryptString(s,-1);}
		// JS function for mouse-over
	function over(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
		else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_h.src");}
	}
		// JS function for mouse-out
	function out(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");}
		else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_n.src");}
	}

/***************************************************************
*
*  javascript functions for the tt_products Shop System
*  relies on the javascript library "xajax"
*
*
*  Copyright notice
*
*  (c) 2006-2008 Franz Holzinger <contact@fholzinger.com>
*  All rights reserved
*
*  This script is part of the TYPO3 t3lib/ library provided by
*  Kasper Skaarhoj <kasper@typo3.com> together with TYPO3
*
*  Released under GNU/GPL (see license file in tslib/)
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*  This copyright notice MUST APPEAR in all copies of this script
***************************************************************/
function test(eing) {
					var reg = /@/;
					var rc = true;
					if (!reg.exec(eing)) {
				 		rc = false;
				 	}
				 	return rc;
				}
	
				function checkEmail(element) {
					if (test(element.value)){
						return (true);
					}
					alert("Ungültige E-mail Addresse '"+element.value+"'! Bitte neu eingeben.");
					return (false);
				}
	
				function checkParams(formObj) {
					var rc = true;
					for (var i = 0; i < formObj.length; i++) {
						if (formObj[i].type == "text") {
							var email = /email/i;
							if (email.exec(formObj[i].name)) {
								rc = checkEmail (formObj[i]);
							}
						}
						if (!rc) {
							break;
						}
					}
					return rc;
				}
				
	function openPic(url,winName,winParams)	{	//
		var theWindow = window.open(url,winName,winParams);
		if (theWindow)	{theWindow.focus();}
	}


img3_4ed1_0_n=new Image(); img3_4ed1_0_n.src = "typo3temp/menu/Stories_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_9c75319385.gif"; 
img3_4ed1_0_h=new Image(); img3_4ed1_0_h.src = "typo3temp/menu/Stories_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_0e9cf3a021.gif"; 
img680_4ed1_1_n=new Image(); img680_4ed1_1_n.src = "typo3temp/menu/Tests_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_a298968257.gif"; 
img680_4ed1_1_h=new Image(); img680_4ed1_1_h.src = "typo3temp/menu/Tests_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_17e297dd75.gif"; 
img684_4ed1_2_n=new Image(); img684_4ed1_2_n.src = "typo3temp/menu/Workshops_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_746f40cf24.gif"; 
img684_4ed1_2_h=new Image(); img684_4ed1_2_h.src = "typo3temp/menu/Workshops_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_6af91eaf32.gif"; 
img35_4ed1_3_n=new Image(); img35_4ed1_3_n.src = "typo3temp/menu/Service_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_abf11170b8.gif"; 
img35_4ed1_3_h=new Image(); img35_4ed1_3_h.src = "typo3temp/menu/Service_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_ad583ed30e.gif"; 
img48_4ed1_4_n=new Image(); img48_4ed1_4_n.src = "typo3temp/menu/myGuitar_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_a2e3737fef.gif"; 
img48_4ed1_4_h=new Image(); img48_4ed1_4_h.src = "typo3temp/menu/myGuitar_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_529e31cac5.gif"; 
img21_4ed1_5_n=new Image(); img21_4ed1_5_n.src = "typo3temp/menu/Kleinanzeigen_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_b367b747cb.gif"; 
img21_4ed1_5_h=new Image(); img21_4ed1_5_h.src = "typo3temp/menu/Kleinanzeigen_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_6140fec3a6.gif"; 
img10_4ed1_6_n=new Image(); img10_4ed1_6_n.src = "typo3temp/menu/Shop_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_90b49d87e2.gif"; 
img10_4ed1_6_h=new Image(); img10_4ed1_6_h.src = "typo3temp/menu/Shop_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_ebedcb7f4d.gif"; 
img39_4ed1_7_n=new Image(); img39_4ed1_7_n.src = "typo3temp/menu/Kontakt_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_2d21e9c0d0.gif"; 
img39_4ed1_7_h=new Image(); img39_4ed1_7_h.src = "typo3temp/menu/Kontakt_menu_main_bg_49b5ebba66_dark_0a4f068ccf_hilight_1f010ffc35_8b8db4fb5b.gif"; 
