function jsWindow(anzeige,id) { if((anzeige == 'show') && (id == 'PopupMaterial')) { document.getElementById("PopupAusfuehrung").style.display = "none"; } if(anzeige == 'show') { // Div abfragen :visible oder :hidden if (jQuery('#'+id).is(':visible')) { jQuery('#'+id).css('display','none'); } else { // Material & Format Fenster schliessen jQuery("#PopupMaterial").css('display','none'); jQuery("#PopupFormat").css('display','none'); jQuery("#PopupAusfuerung").css('display','none'); jQuery('#'+id).fadeIn('fast'); } } else if(anzeige == 'hidden') { jQuery('#'+id).css('display','none'); if(jQuery.browser.opera) location.reload(); } } //--------------------------------------------------------------- function MaterialTypWahl(auswahl) { document.getElementById("PopupMaterial").style.display = "none"; document.getElementById("PopupAusfuehrung").style.display = "none"; jQuery("#PopupAusfuehrung").load("../js/script-popup-ausfuehrung.php?&material="+auswahl);switch(auswahl) {case 1: jsWindow('show','PopupAusfuehrung');break;case 2: document.getElementById("materialName").innerHTML = "Poster Matt"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 3: document.getElementById("materialName").innerHTML = "Poster Glanz"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 4: document.getElementById("materialName").innerHTML = "Poster Metallic"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 5: document.getElementById("materialName").innerHTML = "Poster Seidenraster"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 7: document.getElementById("materialName").innerHTML = "Fine Art Carton"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 8: document.getElementById("materialName").innerHTML = "Lustre Portraits"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 9: document.getElementById("materialName").innerHTML = "Backlit Film"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 10: jsWindow('show','PopupAusfuehrung');break;case 12: document.getElementById("materialName").innerHTML = "Poster Glanz laminiert"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 13: document.getElementById("materialName").innerHTML = "Poster Metallic laminiert"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 15: jsWindow('show','PopupAusfuehrung');break;case 16: document.getElementById("materialName").innerHTML = "Leinwand Matt (2 cm)"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 17: document.getElementById("materialName").innerHTML = "Leinwand Glanz (2 cm)"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 18: document.getElementById("materialName").innerHTML = "Leinwand Matt Gallery (4 cm)"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 19: document.getElementById("materialName").innerHTML = "Leinwand Glanz Gallery (4 cm)"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 20: document.getElementById("materialName").innerHTML = "Fototapeten"; document.getElementById("materialName").value = (auswahl+1); jQuery("#formatenbox").load("../js/script-div-format.php?material="+(auswahl+1));;break;case 21: document.getElementById("materialName").innerHTML = "Fototapeten"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 22: jsWindow('show','PopupAusfuehrung');break;case 23: document.getElementById("materialName").innerHTML = "Vinyl"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 24: document.getElementById("materialName").innerHTML = "Vinyl laminiert"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 25: jsWindow('show','PopupAusfuehrung');break;case 26: document.getElementById("materialName").innerHTML = "Triptychon als Poster"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 27: document.getElementById("materialName").innerHTML = "Triptychon als Leinwand"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 28: document.getElementById("materialName").innerHTML = "Triptychon als Platte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 31: jsWindow('show','PopupAusfuehrung');break;case 32: document.getElementById("materialName").innerHTML = "Matt auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 33: document.getElementById("materialName").innerHTML = "Glanz auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 34: document.getElementById("materialName").innerHTML = "Metallic auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 35: document.getElementById("materialName").innerHTML = "Laminiert auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 36: document.getElementById("materialName").innerHTML = "Metallic laminiert auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 37: jsWindow('show','PopupAusfuehrung');break;case 38: document.getElementById("materialName").innerHTML = "Glanz auf Forex-Platte weiß"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 39: document.getElementById("materialName").innerHTML = "Metallic auf Forex-Platte weiß"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 40: document.getElementById("materialName").innerHTML = "Glanz auf Forex-Platte schwarz"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 41: document.getElementById("materialName").innerHTML = "Matt auf Forex-Platte schwarz"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 42: jsWindow('show','PopupAusfuehrung');break;case 43: document.getElementById("materialName").innerHTML = "Laminiert auf Alu-Dibond"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 44: document.getElementById("materialName").innerHTML = "Metallic laminiert auf Alu-Dibond"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 45: jsWindow('show','PopupAusfuehrung');break;case 46: document.getElementById("materialName").innerHTML = "Glanz hinter Acryl-Glas"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 47: document.getElementById("materialName").innerHTML = "Metallic hinter Acryl-Glas"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 48: document.getElementById("materialName").innerHTML = "Glanz hinter Acryl-Glas mit Alu-Dibond"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 49: document.getElementById("materialName").innerHTML = "Metallic hinter Acryl-Glas mit Alu-Dibond"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 50: document.getElementById("materialName").innerHTML = "PVC-Plane"; document.getElementById("materialName").value = (auswahl+1); jQuery("#formatenbox").load("../js/script-div-format.php?material="+(auswahl+1));;break;case 51: document.getElementById("materialName").innerHTML = "PVC-Plane"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 52: document.getElementById("materialName").innerHTML = "Magnetfolie"; document.getElementById("materialName").value = (auswahl+1); jQuery("#formatenbox").load("../js/script-div-format.php?material="+(auswahl+1));;break;case 53: document.getElementById("materialName").innerHTML = "Magnetfolie"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 70: jsWindow('show','PopupAusfuehrung');break;case 71: document.getElementById("materialName").innerHTML = "FOTOS Glanz"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 72: document.getElementById("materialName").innerHTML = "FOTOS Matt"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 73: document.getElementById("materialName").innerHTML = "FOTOS Metallic"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 74: document.getElementById("materialName").innerHTML = "FOTOS Seidenraster"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 75: jsWindow('show','PopupAusfuehrung');break;case 76: document.getElementById("materialName").innerHTML = "Glanz auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 77: document.getElementById("materialName").innerHTML = "Matt auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break;case 78: document.getElementById("materialName").innerHTML = "Metallic auf Schaumplatte"; document.getElementById("materialName").value = auswahl; jQuery("#formatenbox").load("../js/script-div-format.php?material="+auswahl);break; } } function formatWahl(auswahl,format,preis) { if((format != '') && (preis != '')) { document.getElementById("PopupFormat").style.display = "none"; document.getElementById("formatName").innerHTML = format+' cm '+preis+'€'; document.getElementById('radioCheck').checked=true; } jQuery("#postFormat").load("../js/post-material-format.php?format="+auswahl); }