var remote_flash = 'http://www.wididi.com/_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=PR'; container += '$optie1_tekst=Ridderkerk'; container += '$optie1_naam=Tim Witte'; container += '$optie1_clip=http://clips.crowfile.com/_clips_/44/4fb0b75dcae1fa7f5ed2917bb5c21c3a.jpg?1'; container += '$optie1_link=http://www.wididi.com/ID/[@]50957744[en]referer[is]widget'; container += '$optie2_type=PR'; container += '$optie2_tekst=Ridderkerk'; container += '$optie2_naam=Ceciel van Helden'; container += '$optie2_clip=http://clips.crowfile.com/_clips_/00/78391aba9c7176b42c75d85ac7b85813.jpg?34'; container += '$optie2_link=http://www.wididi.com/ID/[@]50000000[en]referer[is]widget'; container += '$optie3_type=PR'; container += '$optie3_tekst=persoon'; container += '$optie3_naam=Wil van Groesen'; container += '$optie3_clip=http://clips.crowfile.com/_clips_/73/655ea7eacd1e0d810c685d476fca3236.jpg?1'; container += '$optie3_link=http://www.wididi.com/ID/[@]50968273[en]referer[is]widget'; container += '$optie4_type=PR'; container += '$optie4_tekst=Albrandswaard'; container += '$optie4_naam=Pim'; container += '$optie4_clip=http://clips.crowfile.com/_clips_/78/9da9aa7e0d94d292fea3c982b6dbaab4.jpg?1'; container += '$optie4_link=http://www.wididi.com/ID/[@]50968378[en]referer[is]widget'; container += '$optie5_type=PR'; container += '$optie5_tekst=Ridderkerk'; container += '$optie5_naam=Marnix van den Berg'; container += '$optie5_clip=http://clips.crowfile.com/_clips_/73/516ee2db99c8c422b46d3b20d23165fe.jpg?1'; container += '$optie5_link=http://www.wididi.com/ID/[@]50968373[en]referer[is]widget'; container += '$optie6_type=PR'; container += '$optie6_tekst=persoon'; container += '$optie6_naam=Elseline'; container += '$optie6_clip=http://clips.crowfile.com/_clips_/04/4c648e6155518b1f337803958ee2554a.jpg?2'; container += '$optie6_link=http://www.wididi.com/ID/[@]50968404[en]referer[is]widget'; container += '$optie7_type=PR'; container += '$optie7_tekst=Ridderkerk'; container += '$optie7_naam=Miguel Hoekstra'; container += '$optie7_clip=http://clips.crowfile.com/_clips_/79/794ea620b18ff9c3939298eba707869c.jpg?4'; container += '$optie7_link=http://www.wididi.com/ID/[@]50968379[en]referer[is]widget'; container += '$optie8_type=PR'; container += '$optie8_tekst=Capelle aan Den IJssel'; container += '$optie8_naam=Edwin van der Lee'; container += '$optie8_clip=http://clips.crowfile.com/_clips_/43/a1412b8b4ac9a3f9719d268d959fff85.jpg?2'; container += '$optie8_link=http://www.wididi.com/ID/[@]50957743[en]referer[is]widget'; container += '$optie9_type=PR'; container += '$optie9_tekst=Ridderkerk'; container += '$optie9_naam=Wico van Helden'; container += '$optie9_clip=http://clips.crowfile.com/_clips_/40/f1957cf53b4fdc4c78c54dc6d0347917.jpg?4'; container += '$optie9_link=http://www.wididi.com/ID/[@]50945040[en]referer[is]widget'; container += '$optie10_type=PR'; container += '$optie10_tekst=Ridderkerk'; container += '$optie10_naam=Gerda van de Mheen'; container += '$optie10_clip=http://clips.crowfile.com/_clips_/71/e971a389eb76bbba91243e09958ed954.jpg?2'; container += '$optie10_link=http://www.wididi.com/ID/[@]50968271[en]referer[is]widget'; container += '$link_target=_self'; container += '$optie_aantal=10'; container += '$icons_map=http://www.wididi.com/_content_/icons/'; container += '$design_map=http://www.wididi.com/_spheres_/wididi/design/'; function show_widget_small(divID) { if (flashmap == undefined) { var flashmap = remote_flash; } if (divID == undefined) { var divID = 'widget'; } var tag = new Widget_FlashTag(flashmap+'widget_small.swf'+'?v=53','316','131', '6,0,0,0','','',container); widgetDiv = document.getElementById(divID); widgetDiv.innerHTML = tag; }