hs.graphicsDir = 'http://www.moebel-universum.net/includes/javascript/graphics/'; hs.outlineType = 'rounded-white'; hs.wrapperClassName = 'draggable-header'; /*********************************************** * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more *********************************************** var mygallery=new fadeSlideShow({ wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow dimensions: [425, 214], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["templates/md/bilder/topgrafik.gif", "http://www.moebel-universum.net/Badmoebel.Pelipal.Pelipal-Hauptprogramm.html", "", ""], ["templates/md/bilder/topgrafik1.gif", "http://www.moebel-universum.net/Badmoebel.Pelipal.Pelipal-Hauptprogramm.html", "", ""], ["templates/md/bilder/topgrafik2.gif", "http://www.moebel-universum.net/Badmoebel.Pelipal.Pelipal-Hauptprogramm.html", "", ""], ["templates/md/bilder/topgrafik3.gif", "http://www.moebel-universum.net/Badmoebel.Pelipal.Pelipal-Hauptprogramm.html", "", ""] //<--no trailing comma after very last image element! ], displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false}, persist: false, //remember last viewed slide and recall within same session? fadeduration: 500, //transition duration (milliseconds) descreveal: "ondemand", togglerid: "" }) function submit_to_wishlist() { document.cart_quantity.submit_target.value = "wishlist"; document.cart_quantity.submit(); } var selected; var submitter = null; function submitFunction() { submitter = 1; } function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150') } function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object; // one button is not an array if (document.getElementById('payment'[0])) { document.getElementById('payment'[buttonSelect]).checked=true; } else { //document.getElementById('payment'[selected]).checked=true; } } function rowOverEffect(object) { if (object.className == 'moduleRow') object.className = 'moduleRowOver'; } function rowOutEffect(object) { if (object.className == 'moduleRowOver') object.className = 'moduleRow'; } function popupImageWindow(url) { window.open(url,'popupImageWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150') } */ /*----------------------------Suggest Code-------------------------*/ /* This is the JavaScript file for the osCommerce AJAX Search Suggest You may use this code in your own projects as long as this copyright is left in place. All code is provided AS-IS. This code 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. For the rest of this code visit http://www.osCommerce-SSL.com For a complete detailed tutorial on how this code works visit: http://www.dynamicajax.com/fr/AJAX_Suggest_Tutorial-271_290_312.html For more AJAX code and tutorials visit http://www.DynamicAJAX.com Copyright 2006 Ryan Smith / 345 Technical / 345 Group. Auf XT-Commerce portiert von TechWay (Steffen Decker) mit Unterstützung von Purecut (aus dem ecombase.de Forum) Copyright 2006 @ TechWay, Steffen Decker */ //Gets the browser specific XmlHttpRequest Object function getXmlHttpRequestObject() { if (window.XMLHttpRequest) { return new XMLHttpRequest(); } else if(window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLHTTP"); } else { alert("Your Browser Sucks!\nIt's about time to upgrade don't you think?"); } } //Our XmlHttpRequest object to get the auto suggest var searchReq = getXmlHttpRequestObject(); //Called from keyup on the search textbox. //Starts the AJAX request. function searchSuggest() { if (searchReq.readyState == 4 || searchReq.readyState == 0) { var str = escape(document.getElementById('txtSearch').value); searchReq.open("GET", 'searchSuggest.php?search=' + str, true); searchReq.onreadystatechange = handleSearchSuggest; searchReq.send(null); } } //Called when the AJAX response is returned. function handleSearchSuggest() { if (searchReq.readyState == 4) { var ss = document.getElementById('search_suggest') ss.innerHTML = ''; var str = searchReq.responseText.split("\n"); for(i=0; i < str.length - 1; i++) { //Build our element string. This is cleaner using the DOM, but //IE doesn't support dynamically added attributes. var suggest = '