﻿//create a request for the correct js
function DrawTagCloud(width,height,bgcolor,textColor1,textColor2,maxWords){
    var wmgcumulusDiv = document.getElementById('wmgcumulus');
    if(wmgcumulusDiv){

        var e = document.createElement("script");
        e.src = 'http://cumulus.wmg.uk.com/wmgcumulus.js.aspx?url='+escape(window.location.href)+'&width='+width+'&height='+height+'&bgcolor='+bgcolor+'&textColor1='+textColor1+'&textColor2='+textColor2+'&maxWords='+maxWords;
        e.type="text/javascript";
        document.getElementsByTagName("head")[0].appendChild(e);
        
    }
}
