// dropdown select location change function selsub(Url) { Url=document.subsites.sites[document.subsites.sites.selectedIndex].value; document.location = Url; } excludeUrls = Array( 'http://www.novartis.at', 'http://novintegweb01.eu.novartis.net:7741', 'http://www.novartis.at', 'http://www.transplant.at', 'http://dominoext.novartis.com', 'http://infra.novartis.com', 'http://nibr.novartis.com', 'http://novcont05.eu.novartis.net', 'http://qsm3.asp.quartal.com', 'http://search.novartis.com', 'http://www.afinitor.at', 'http://www.at.novartis.com', 'http://www.global-hr.orientation.novartis.com', 'http://www.meinedaten.novartis.de', 'http://www.meinedaten.novartis.at', 'https://www.mediziner-der-zukunft.at', 'https://www.medizinerderzukunft.at', 'https://sso.novartis.de', 'https://login.doccheck.com', 'http://www.studentenservice.novartis.at', 'http://www.neuroservice.at', 'http://www.neuroscience.novartis.at', 'http://www.transplant.at', 'http://www.mdz.novartis.at', 'http://big-phat.novlive.cqcms.net', 'http://www.big.novartispharma.at', 'http://www.aclasta.at', 'http://www.afinitor.at', 'http://www.akro.at', 'http://www.amd-info.at', 'http://www.aredia.at', 'http://www.augenallergie.at', 'http://www.calcitonin.at', 'http://www.certican.at', 'http://www.comtan.at', 'http://www.cubicin.at', 'http://www.das-trockene-auge.at', 'http://www.diabetes-bewegt.at', 'http://www.diovan.at', 'http://www.elidel.at', 'http://www.estalis.at', 'http://www.estradot.at', 'http://www.exelon.at', 'http://www.exforge.at', 'http://www.exjade.at', 'http://www.famvir.at', 'http://www.femara.at', 'http://www.foradil.at', 'http://www.genteal.at', 'http://www.glivec.at', 'http://www.hepatitis-info.at', 'http://www.lescol.at', 'http://www.levodopa.at', 'http://www.lucentis.at', 'http://www.mtor.at', 'http://www.myfortic.at', 'http://www.navoban.at', 'http://www.neoral.at', 'http://www.sandostatin.at', 'http://www.sebivo.at', 'http://www.simulect.at', 'http://www.stalevo.at', 'http://www.tasigna.at', 'http://www.trileptal.at', 'http://www.visudyne.at', 'http://www.vitalux.at', 'http://www.voltaren.at', 'http://www.xolair.at', 'http://www.zaditen.at', 'http://www.zometa.at' ); function putFocus(lmnt) { document.broschueren.elements[lmnt].value=""; document.broschueren.elements[lmnt].focus(); } // Broschueren bestellung form function validateAddress() { if (document.broschueren.elements["vorname"].value.length == 0) { alert("Bitte geben Sie Ihren Vornamen an!"); putFocus("vorname"); return false; } if (document.broschueren.elements["name"].value.length == 0) { alert("Bitte geben Sie Ihren Nachnamen an!"); putFocus("name"); return false; } if (document.broschueren.elements["strasse"].value.length == 0) { alert("Bitte geben Sie Ihre Strasse an!"); putFocus("strasse"); return false; } if (document.broschueren.elements["plz"].value.length == 0) { alert("Bitte geben Sie Ihre Postleitzahl an!"); putFocus("plz"); return false; } if (document.broschueren.elements["ort"].value.length == 0) { alert("Bitte geben Sie Ihren Wohnort an!"); putFocus("ort"); return false; } if (document.broschueren.elements["land"].value.length == 0) { alert("Bitte geben Sie Ihr Land an!"); putFocus("land"); return false; } document.broschueren.ort.value += " " + document.broschueren.land.value; return true; } function validateInput() { alle = document.broschueren.length; if (alle >= 7) { buecher = 0; for (i=0; i < (alle-6); i++) { if (document.broschueren.elements[i].checked) { buecher++; } } if (buecher>=1) { return validateAddress(); } else { alert("Bitte waehlen Sie mindestens eine Broschuere aus !"); return false; } } else { alert("Bitte waehlen Sie mindestens eine Broschuere aus !"); return false; return validateAddress(); }} // END Broschueren bestellung form /* Overlayer functions */ function getPageScroll(){ var scrolly = typeof window.pageYOffset != 'undefined' ? window.pageYOffset : document.documentElement.scrollTop; var scrollx = typeof window.pageXOffset != 'undefined' ? window.pageXOffset : document.documentElement.scrollLeft; var arrayScroll = new Array(scrollx, scrolly); return arrayScroll; } function getPageSize() { var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) { xScroll = window.innerWidth + window.scrollMaxX; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { // all except Explorer if(document.documentElement.clientWidth){ windowWidth = document.documentElement.clientWidth; } else { windowWidth = self.innerWidth; } windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } // for small pages with total height less then height of the viewport if(yScroll < windowHeight){ pageHeight = windowHeight; } else { pageHeight = yScroll; } // for small pages with total width less then width of the viewport if(xScroll < windowWidth){ pageWidth = xScroll; } else { pageWidth = windowWidth; } arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) return arrayPageSize; } function playSWF(flash, width, height) { var src=""; src=""; src+=""; src+=""; src+=""; src+=""; src+=""; src+="<\/object>"; var tw=width+20; var th=height+20; Dialog.info(src, { className:"novartis", recenterAuto:false, draggable:false, closable:false, width: tw, height:th, top:80, onShow:function() { $('main-nav').hide(); }, onClose:function() { $('main-nav').show(); } }); } function showPIC(srcpic, width, height, titel) { var src=""; src=""+titel+""; var tw=width+14; var th=height+5; Dialog.info(src, { className:"novartis", recenterAuto:false, draggable:false, closable:true, width: tw, height:th, top:80, onShow:function() { $('main-nav').hide(); }, onClose:function() { $('main-nav').show(); } }); } function openContact(url) { var src=""; Dialog.info(src, { className:"novartis", recenterAuto:false, draggable:false, closable:true, width: 390, height: 760, top: 20, zIndex: 600, onShow:function() { $('main-nav').hide(); }, onClose:function() { $('main-nav').show(); } }); } function openSocial(url) { var src=""; Dialog.info(src, { className:"novartisSocial", recenterAuto:false, draggable:false, closable:true, width: 400, height: 335, zIndex: 600, top: 60, onShow:function() { $('main-nav').hide(); }, onClose:function() { $('main-nav').show(); } }); } function showOverlayer(){ } function hideOverlayer(){ Dialog.closeInfo(); } function openVPM(url) { var src=""; Dialog.info(src, { className:"novartis", iframescroll:"no", recenterAuto:false, draggable:false, closable:true, width: 355, height: 406, top: 20, onShow:function() { $('main-nav').hide(); }, onClose:function() { $('main-nav').show(); } }); } function _openVPM(url) { winVPM = new Window({ className:"novartis", iframescroll:"no", title:"", minimizable:false, maximizable:false, resizable:false, draggable:true, recenterAuto:false, destroyOnClose:true, top:20, width: 345, height:400 }); winVPM.setURL(url); winVPM.setZIndex(1500); winVPM.showCenter(); } var icon_print_hover = new Image(); icon_print_hover.src = '/images/_common/icon_print_hover.jpg'; function imgChangeSrc(img_name, src){ if(document.getElementById){ document.getElementById(img_name).src = src; } } function getElementsByClass(searchClass,node,tag) { var classElements = new Array(); if ( node == null ) node = document; if ( tag == null ) tag = '*'; var els = node.getElementsByTagName(tag); var elsLen = els.length; var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)"); for (i = 0, j = 0; i < elsLen; i++) { if ( pattern.test(els[i].className) ) { classElements[j] = els[i]; j++; } } return classElements; } function showHide(name, clsname_hide, clsname_show){ if(document.getElementById){ r = document.getElementById(name); if(r.style.display == 'block'){ if(clsname_hide && clsname_show){ t = document.getElementById(name+'-td'); t.className = 'nopad'; } r.style.display = 'none'; }else{ if(clsname_hide && clsname_show){ t = document.getElementById(name+'-td'); t.className = clsname_show; } r.style.display = 'block'; } } } var imgMinus = new Image(); imgMinus.src = '/images/_common/minus.gif'; function setPlusMinus(name, plus_src, minus_src){ if(document.getElementById){ if(!plus_src){ plus_src = '/images/_common/plus.gif'; } if(!minus_src){ minus_src = '/images/_common/minus.gif'; } i = document.getElementById(name); if(i.src.indexOf('plus') != -1){ i.src = minus_src; }else{ i.src = plus_src; } } } if(window.enable_ie_select_fix){ var SKB = { require: function(libraryName) { // inserting via DOM fails in Safari 2.0, so brute force approach document.write(''); }, load: function() { this.require("/js/prototype.js"); this.require("/js/scriptaculous/builder.js"); this.require("/js/firebug/firebug.js"); this.require("/js/skb-util.js"); this.require("/js/fix-ie-select-zindex-bug.js"); this.require("/js/comunicati-stampa.js"); } }; SKB.load(); } // Telephon extensions if (!JWMM) { var JWMM = {}; } JWMM.numbers = { 11: 6908, 201: 6013, 202: 6010, 203: 6044, 206: 6444, 207: 6133, 223: 6011, 235: 6313, 249: 6913, 252: 5501, 254: 6311, 284: 5331, 287: 5440, 309: 5400, 310: 6502, 318: 6203, 324: 6210, 340: 6361, 359: 6446, 376: 6161, 380: 6145, 382: 6355, 393: 5700, 415: 6046, 446: 6164, 481: 6316, 484: 6503, 484: 6525, 493: 6030, 5000: 5000, 504: 6132, 505: 5603, 529: 6300, 531: 6251, 538: 6121, 539: 6450, 547: 6443, 555: 6131, 565: 6143, 584: 6317, 588: 6252, 594: 6449, 596: 6312, 610: 6332, 615: 6042, 6160: 5441, 618: 6205, 620: 6113, 628: 6423, 629: 6204, 632: 6101, 634: 5701, 639: 6207, 648: 6333, 651: 6149, 653: 6150, 655: 5330, 656: 6513, 657: 6307, 660: 6403, 663: 6123, 668: 6160, 670: 6110, 672: 6165, 673: 6034, 677: 6142, 679: 6100, 682: 6217, 684: 6122, 686: 6336, 702: 6319, 703: 6318, 706: 6209, 707: 6304, 709: 6216, 710: 5403, 711: 5601, 712: 5606, 715: 6043, 716: 6912, 718: 6301, 723: 6306, 725: 6320, 726: 6334, 731: 5001, 733: 6130, 734: 6031, 736: 6451, 742: 6302, 744: 6309, 746: 6315, 747: 6200, 749: 5401, 751: 6211, 752: 6400, 753: 6501, 754: 6500, 755: 6201, 757: 6524, 758: 6338, 758: 6338, 761: 6001, 762: 6401, 763: 6456, 764: 6440, 765: 6520, 766: 6522, 767: 6453, 768: 6507, 770: 6120, 772: 6308, 778: 6163, 779: 6206, 783: 6510, 786: 6208, 787: 6148, 788: 5705, 789: 6512, 790: 6447, 793: 6144, 795: 6441, 796: 6521, 797: 6000, 798: 5350, 9010: 6523, 9015: 6214, 9017: 6402, 9018: 6511, 9034: 6421, 9035: 6424, 9043: 6337, 9045: 6422, 9046: 5320, 9047: 6331, 9069: 6141, 9070: 6420, 9085: 6455, 9087: 6202, 9095: 6124, 9096: 5500, 9098: 6354, 9102: 6508, 9111: 6360, 9112: 6351, 9113: 6452, 9114: 6350, 9115: 6425, 9116: 6357, 9118: 6255, 9127: 6256, 9133: 6134, 9134: 6037, 9148: 6504, 9161: 6303, 9163: 6356, 9165: 6330, 9174: 6032, 9174: 6033, 9175: 6254, 9179: 6257, 9180: 6442, 9181: 6509, 9183: 6457, 9186: 6020, 9205: 6526, 9209: 6135, 9221: 6112, 9228: 6021, 9234: 6454, 9313: 5353, 9314: 5352, 9315: 5335, 9317: 5709, 9318: 5303, 9319: 5655, 9320: 5600, 9322: 5608, 9323: 5605, 9324: 5604, 9325: 5332, 9326: 5100, 9327: 5602, 9328: 5707, 9330: 5334, 9331: 5502, 9331: 5504, 9332: 5503, 9335: 5704, 9342: 5702, 9345: 5708, 9348: 5706, 9349: 5002, 9350: 5003, 9351: 5650, 9355: 5703, 9357: 5301, 9361: 5101, 9362: 5102, 9503: 6358 }; JWMM.updateNumber = function(elm) { var num = JWMM.numbers[elm.value] || "
Keine Nummer gefunden"; document.getElementById("dw_results").innerHTML = 'Neue Nummer: '+num+''; return false; }