var remote_flash = 'http://www.werkgeversdrechtsteden.nl/_content_/flash/'; var flashVer=0; vbFlash6=false,vbFlash7=false; vbFlash8=false; vbFlash9=false; vbFlash10=false; vbFlash11=false; vbFlash12=false; if(navigator.plugins["Shockwave Flash"]){ flashVer=parseInt(navigator.plugins["Shockwave Flash"].description.substr(16)); } else { document.write('\n'); document.write('on error resume next\n'); document.write('vbFlash6=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n'); document.write('vbFlash7=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7")))\n'); document.write('vbFlash8=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8")))\n'); document.write('vbFlash9=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9")))\n'); document.write('vbFlash10=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.10")))\n'); document.write('vbFlash11=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.11")))\n'); document.write('vbFlash12=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.12")))\n'); document.write('\n'); flashVer=(vbFlash6)?6:flashVer; flashVer=(vbFlash7)?7:flashVer; flashVer=(vbFlash8)?8:flashVer; flashVer=(vbFlash9)?9:flashVer; flashVer=(vbFlash10)?10:flashVer; flashVer=(vbFlash11)?11:flashVer; flashVer=(vbFlash12)?12:flashVer; } function Widget_FlashTag(src, width, height, version, groep, soort, info,full) { this.src = src; this.width = width; this.height = height; this.version = version; this.id = 'flashfloater'; this.flashVars = null; this.flashVarsStr = null; this.genericParam = new Object(); this.genericParam['menu'] = 'false'; this.genericParam['scale'] = 'noscale'; this.genericParam['quality'] = 'high'; if (full == '' || full == undefined) { full = false; } else { this.genericParam['allowFullScreen'] = 'true'; } this.addFlashVar('typert', groep); this.addFlashVar('melding', soort); this.addFlashVar('info', info); this.genericParam['wmode'] = 'transparent'; this.addFlashVar('ID', 'flashfloater'); this.genericParam['allowScriptAccess'] = 'always'; this.ie = (navigator.appName.indexOf ("Microsoft") != -1) ? 1 : 0; } Widget_FlashTag.prototype.setSource = function(src) { this.src = src; } Widget_FlashTag.prototype.setWidth = function(w) { this.width = width; } Widget_FlashTag.prototype.setHeight = function(h) { this.h = height; } Widget_FlashTag.prototype.setVersion = function(v) { this.version = v; } Widget_FlashTag.prototype.setId = function(id) { this.id = id; } Widget_FlashTag.prototype.setBgcolor = function(bgc) { if (bgc.charAt(0) != '#') { bgc = '#' + bgc; } this.genericParam['bgcolor'] = bgc; } Widget_FlashTag.prototype.addFlashVars = function(fvs) { this.flashVarsStr = fvs; } Widget_FlashTag.prototype.addFlashVar = function(n, v) { if (this.flashVars == null) { this.flashVars = new Object(); } this.flashVars[n] = unescape(v); } Widget_FlashTag.prototype.removeFlashVar = function(n) { if (this.flashVars != null) { this.flashVars[n] = undefined; } } Widget_FlashTag.prototype.setSwliveconnect = function(swlc) { this.genericParam['swliveconnect'] = swlc; } Widget_FlashTag.prototype.setPlay = function(p) { this.genericParam['play'] = p; } Widget_FlashTag.prototype.setLoop = function(l) { this.genericParam['loop'] = l; } Widget_FlashTag.prototype.setMenu = function(m) { this.genericParam['menu'] = m; } Widget_FlashTag.prototype.setQuality = function(q) { if (q != 'low' && q != 'high' && q != 'autolow' && q != 'autohigh' && q != 'best') { alert('Supported values are "low", "high", "autolow", "autohigh", and "best".'); } this.genericParam['quality'] = q; } Widget_FlashTag.prototype.setScale = function(sc) { if (sc != 'showall' && sc != 'noborder' && sc != 'exactfit') { alert('Supported values are "showall", "noborder", and "exactfit".'); } this.genericParam['scale'] = sc; } Widget_FlashTag.prototype.setAlign= function(a) { if (a != 'l' && a != 't' && a != 'r' && a != 'b') { alert('Supported values are "l", "t", "r" and "b".'); } this.genericParam['align'] = a; } Widget_FlashTag.prototype.setSalign= function(sa) { if (sa != 'l' && sa != 't' && sa != 'r' && sa != 'b' && sa != 'tl' && sa != 'tr' && sa != 'bl' && sa != 'br') { alert('Supported values are "l", "t", "r", "b", "tl", "tr", "bl" and "br".'); } this.genericParam['salign'] = sa; } Widget_FlashTag.prototype.setWmode = function(wm) { if (wm != 'window' && wm != 'opaque' && wm != 'transparent') { alert('Supported values are "window", "opaque", and "transparent".'); } this.genericParam['wmode'] = wm; } Widget_FlashTag.prototype.setBase = function(base) { this.genericParam['base'] = base; } Widget_FlashTag.prototype.toString = function() { var flashTag = new String(); if (this.ie) { flashTag += ''; flashTag += ''; for (var n in this.genericParam) { if (this.genericParam[n] != undefined && this.genericParam[n] != null) { flashTag += ''; } } if (this.flashVars != null) { var fv = this.getFlashVarsAsString(); if (fv.length > 0) { flashTag += ''; } } flashTag += ''; } else { flashTag += ' 0) { flashTag += ' flashvars="'+fv+'"'; } } flashTag += ' pluginspage="http://www.macromedia.com/go/getflashplayer">'; flashTag += ''; } return flashTag; } Widget_FlashTag.prototype.write = function(doc) { doc.write(this.toString()); } Widget_FlashTag.prototype.getFlashVarsAsString = function() { var qs = new String(); for (var n in this.flashVars) { if (this.flashVars[n] != undefined && this.flashVars[n] != null) { qs += (escape(n)+'='+escape(this.flashVars[n])+'&'); } } if (this.flashVarsStr != null) { return qs + this.flashVarsStr; } return qs.substring(0, qs.length-1); } var container = ''; container += '$optie1_type=BE'; container += '$optie1_tekst=Uw partner in Maritieme en IndustriĆ«le Elektrotechniek '; container += '$optie1_naam=Bakker Sliedrecht Electro Industrie  ...'; container += '$optie1_clip=http://clips.crowfile.com/_logos_/86/b3286bb79678d8d51cd01321d3049bdf.jpg?3'; container += '$optie1_link=http://www.werkgeversdrechtsteden.nl/ID/[@]80957086[en]referer[is]widget'; container += '$optie2_type=BE'; container += '$optie2_tekst=Zeist'; container += '$optie2_naam=De Koning Advocaten B.V.'; container += '$optie2_clip=/_content_/icons/icon_BE.png'; container += '$optie2_link=http://www.werkgeversdrechtsteden.nl/ID/[@]81000803[en]referer[is]widget'; container += '$optie3_type=BE'; container += '$optie3_tekst=Dordrecht'; container += '$optie3_naam=Diesel Services De Kil'; container += '$optie3_clip=http://clips.crowfile.com/_logos_/94/8e345225022f5e1ea8164934b194dc0a.jpg?1'; container += '$optie3_link=http://www.werkgeversdrechtsteden.nl/ID/[@]81000794[en]referer[is]widget'; container += '$optie4_type=BE'; container += '$optie4_tekst=member of the MULLER DORDRECHT group'; container += '$optie4_naam=Rederij T. Muller BV'; container += '$optie4_clip=http://clips.crowfile.com/_logos_/45/c49beaa3278140ef9a68f48fb9fd85fb.jpg?3'; container += '$optie4_link=http://www.werkgeversdrechtsteden.nl/ID/[@]80957245[en]referer[is]widget'; container += '$optie5_type=BE'; container += '$optie5_tekst=Toonaangevend in elektrotechnische dienstverlening'; container += '$optie5_naam=Verkerk Groep '; container += '$optie5_clip=http://clips.crowfile.com/_logos_/09/05a688e8df1dff2bc42663f5232c20a9.jpg?3'; container += '$optie5_link=http://www.werkgeversdrechtsteden.nl/ID/[@]80957309[en]referer[is]widget'; container += '$optie6_type=BE'; container += '$optie6_tekst=Individueel Relatie Management'; container += '$optie6_naam=Wididi B.V.'; container += '$optie6_clip=http://clips.crowfile.com/_logos_/46/55fabe7154cb3df7824896a6d406a395.jpg?8'; container += '$optie6_link=http://www.werkgeversdrechtsteden.nl/ID/[@]80957046[en]referer[is]widget'; container += '$optie7_type=BE'; container += '$optie7_tekst=Sliedrecht'; container += '$optie7_naam=Bureau BM '; container += '$optie7_clip=http://clips.crowfile.com/_logos_/02/8a1b8928d9a0fc07fee1b2ef3db1c9ad.jpg?2'; container += '$optie7_link=http://www.werkgeversdrechtsteden.nl/ID/[@]80957102[en]referer[is]widget'; container += '$optie8_type=BE'; container += '$optie8_tekst=Dordrecht'; container += '$optie8_naam=Dsn Holding B.V.'; container += '$optie8_clip=/_content_/icons/icon_BE.png'; container += '$optie8_link=http://www.werkgeversdrechtsteden.nl/ID/[@]81000594[en]referer[is]widget'; container += '$optie9_type=BE'; container += '$optie9_tekst=DISC Training en Coaching - Voor TOP prestaties in verkoop'; container += '$optie9_naam=De Haan Management Partners'; container += '$optie9_clip=http://clips.crowfile.com/_logos_/85/52a6276c51d0226745cdb101a1e9ae04.jpg?1'; container += '$optie9_link=http://www.werkgeversdrechtsteden.nl/ID/[@]81000585[en]referer[is]widget'; container += '$optie10_type=BE'; container += '$optie10_tekst=DSN - geliefd in elk kantoor - perfect tot in de details'; container += '$optie10_naam=DSN Design en Office'; container += '$optie10_clip=http://clips.crowfile.com/_logos_/47/dfc95850bc1c6c49593b85a7d3a7c5f9.jpg?1'; container += '$optie10_link=http://www.werkgeversdrechtsteden.nl/ID/[@]80999847[en]referer[is]widget'; container += '$link_target=_blank'; container += '$optie_aantal=10'; container += '$icons_map=http://www.werkgeversdrechtsteden.nl/_content_/icons/'; container += '$design_map=http://www.werkgeversdrechtsteden.nl/_spheres_/wd/design/'; function show_widget(divID) { if (flashmap == undefined) { var flashmap = remote_flash; } if (divID == undefined) { var divID = 'widget'; } var tag = new Widget_FlashTag(flashmap+'widget.swf'+'?v=53','316','360', '6,0,0,0','','',container); widgetDiv = document.getElementById(divID); widgetDiv.innerHTML = tag; }