// globale Variablen var agt = navigator.userAgent.toLowerCase(); var ie = (agt.indexOf("msie") != -1); var ns = (navigator.appName.indexOf("Netscape") != -1); var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1)); var mac = (agt.indexOf("mac")!=-1); var old,skn; var iex = document.all; var ns4 = document.layers; var ns6 = document.getElementById&&!document.all; var ie4 = document.all; // show logo, if there is no R&S frame function showLogo() { htmlcode="RS Logo



"; if (top.frames.length) { document.write(htmlcode); } } // cell rollover functions function mover(cell, bgColor) { if (!cell.contains(event.fromElement)) { cell.style.cursor = 'hand'; if (bgColor == null) cell.bgColor = 'CC9900'; else cell.bgColor = bgColor; } } // cell rollover mouseout functions function mout(cell, bgColor) { if (!cell.contains(event.toElement)) { cell.style.cursor = 'default'; if (bgColor == null) cell.bgColor = 'FCE698'; else cell.bgColor = bgColor; } } // cell rollover onClick functions function mclick(cell) { if(event.srcElement.tagName=='TD') { cell.children.tags('A')[0].click(); } } // open a new window function openWindow(url, wname, attrib) { var f1 = null ; if (attrib==null) attrib="width=500,height=480,dependent=true,titlebar=no,menubar=no,locationbar=no,resizable=yes,status=no"; f1 = window.open(url, wname, attrib); } // open a new window with variable size function openSizedWindow(url, wname, width, height) { var f1 = null ; f1 = window.open(url, wname, "width=" + width + ",height=" + height + ",dependent=true,titlebar=no,menubar=no,locationbar=no,resizable=yes,status=no"); } function openExtraSizedWindow (u,t,w,h,x,y) { var f1 = null ; if (u != null) { if (t == null) t = document.title; if (w == null) w = 500; if (h == null) h = 515; if (x == null) x = ""; else x = ",left=" + x; if (y == null) y = ""; else y = ",top=" + y; f1 = window.open(u, t, 'width=' + w + ',height=' + h + x + y + ',dependent=true,titlebar=no,menubar=no,locationbar=no,resizable=yes,status=no'); } } // load RS Frameset function loadRSFrameset(navig, content, website) { var loadIt = false; if (website == "") { website = "com"; } if (top.frames.length < 1) { if ((navig.indexOf("/www/dev_center.nsf/html/") == 0) && content != "") { var newURL = '/frameset/' + website + '/' + navig.substring(25, navig.length) + content } else { var newURL = '/www/dev_center.nsf/frameset?OpenAgent'; if (website) newURL = newURL + '&website=' + website; if (navig) newURL = newURL + '&navig=' + navig; if (content) newURL = newURL + '&content=' + content; } loadIt = true; } if (loadIt) top.location.replace(newURL); } // load RS Frameset 2004 function loadRSFrameset2004(navig, content, website) { var loadIt = false; var newURL = '/www/dev_center.nsf/frameset2004?OpenAgent'; if (website) newURL = newURL + '&website=' + website; if (navig) newURL = newURL + '&navig=' + navig; if (content) newURL = newURL + '&content=' + content; if (top.frames.length < 1) { loadIt = true; } if (loadIt) top.location.replace(newURL); } // load frameset function loadFrameset(navig, content) { // loadRSFrameset(navig, content, "com"); var loadIt = false; if (top.frames.length < 1) { loadIt = true; } if (loadIt) top.location.replace('/www/dev_center.nsf/dynframe?OpenAgent&navig=' + navig + '&content=' + content); } function MM_findObj(n, d) { var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i\n on error resume next \n result = IsObject(CreateObject("' + ClassID + '"))\n'); if (result) return name+','; else return ''; } function detectNS(ClassID,name) { n = ""; if (nse.indexOf(ClassID) != -1) if (navigator.mimeTypes[ClassID].enabledPlugin != null) n = name+","; return n; } if (ie && win) { pluginlist = detectIE("Adobe.SVGCtl","SVG Viewer") + detectIE("SWCtl.SWCtl.1","Shockwave Director") + detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave Flash") + detectIE("rmocx.RealPlayer G2 Control.1","RealPlayer") + detectIE("QuickTimeCheckObject.QuickTimeCheck.1","QuickTime") + detectIE("MediaPlayer.MediaPlayer.1","Windows Media Player") + detectIE("PDF.PdfCtrl.5","Acrobat Reader"); } if (ns || !win) { nse = ""; for (var i=0;i 0) pluginlist = pluginlist.substring(0,pluginlist.length-1); return (pluginlist.indexOf(theplugin)!=-1); } function loadpopupvars() { Xoffset=-60; // modify these values to ... Yoffset= 20; // change the popup position. yyy=-1000; if (ns4) { skn=document.dek; } else if (ns6) { skn=document.getElementById("dek").style; } else if (ie4) { skn=document.all.dek.style; } if(ns4) { document.captureEvents(Event.MOUSEMOVE); } else { skn.visibility="visible" skn.display="none" } document.onmousemove=get_mouse; } function popup(msg,bak,mywidth){ if (!mywidth) mywidth = 200; if (!skn) loadpopupvars(); if (ns4) { if (bak) { otherbg = " bgcolor=\"" + bak + "\""; } else { otherbg = ""; } var content=""+msg+"
"; } else { if (bak) { otherbg = " style=\"background: " + bak + ";\""; } else { otherbg = ""; } var content="
"+msg+"
"; } yyy=Yoffset; if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"} if(ns6){document.getElementById("dek").innerHTML=content;skn.display=''} if(ie4){document.all("dek").innerHTML=content;skn.display=''} } function get_mouse(e){ var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollLeft; skn.left=x+Xoffset; var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollTop; skn.top=y+yyy; } function kill(){ yyy=-1000; if(ns4) { skn.visibility="hidden"; } else if (ns6||ie4) { skn.display="none"; } } // variable with cookie name for shop var shopcn = "RSShop"; var shopvisible = true; var configuratorcn = "RSConfigurator"; var configuratorvisible = true; // get cookie value function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } // set a cookie function SetCookie(name,value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } // get cookie function GetCookie(name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) { return getCookieVal (j); } i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function DeleteCookie(name) { var expdate = new Date(); expdate.setTime(expdate.getTime() - 1); var cookieval = GetCookie(name); if (cookieval != null) { SetCookie(name,"1",expdate); } } var today = new Date(); var zero_date = new Date(0,0,0); today.setTime(today.getTime() - zero_date.getTime()); var cookie_expire_date = new Date(today.getTime() + (8 * 7 * 86400000)); /* save form field values in cookies Example:
*/ function FieldsToCookie (formobj,formfields) { var fields = formfields.split(","); var i; for(i=0; i Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis This software is released under the MIT License */ var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&&h.win){try{K.write("