var tl_widget189 = {};
tl_widget189.init = function() {
    document.open();
    document.write('<div id="tl_widget189" style="text-align:left;position:relative; width:352px; height:370px; margin: 4px 4px; background: #fff url(http://www.trafficland.com/widget/img/tl_white_background.png) bottom left repeat-x; border:1px #ccc solid;"><a  id="tl_widget189_link" style="color:#326ea1;margin: 5px 0 0 0" href="http://www.trafficland.com/?esid=tlwidget" ><img  id="tl_widget189_powerd" style="cursor:pointer; border:none;"  src="http://www.trafficland.com/widget/img/trafficland_link.png" /></a><div id="tl_widget189_video" style="width:352px; height:240px; background: #fff url(http://pub2.camera.trafficland.com/image/live.jpg?system=tlwidget&webid=200140&pubtoken=e2b6c20f4b9b34d271c8581432abd695) top left no-repeat;"><a  id="tl_widget189_view"  style="cursor:pointer; width:352px; height:240px;display:block;"  href="http://www.trafficland.com/camera/200140/index.html?esid=tlwidget"><img  id="tl_widget189_cameraLink" style="display:none;cursor:pointer;border:none;" src="http://www.trafficland.com/widget/img/view_button.png"/></a></div><div  id="tl_widget189_data"  style="font-family:verdana; font-size:10px; font-weight:normal;  margin:5px 5px 0 5px ;color:#333"><h5 id="tl_widget189_title" style="font-family:verdana; font-size:10px; font-weight:normal;  margin:0 0 2px 0;overflow:hidden;" >Washington: Wisconsin Ave @ Q St</h5><div>Provided by DDOT</div></div><a   id="tl_widget189_button" style="cursor:pointer; margin: 2px 0 0 0; float:left;" href="http://www.trafficland.com/camera/200140/index.html?esid=tlwidget"><img style="border:none" src="http://www.trafficland.com/widget/img/widget_button1.png" /></a><a id="tl_widget189_button2" style="cursor:pointer; margin: 2px 0 0 0; float:left;" href="http://www.trafficland.com/?esid=tlwidget"><img style="border:none" src="http://www.trafficland.com/widget/img/widget_button2.png"/></a><a  id="tl_widget189_button3" style="cursor:pointer; margin: 2px 0 0 0; float:left;" href="http://www.trafficland.com/widget_intro.jsp?esid=tlwidget"><img  style="border:none" src="http://www.trafficland.com/widget/img/widget_button3.png"/></a></div>');
    document.close();
    var video = document.getElementById('tl_widget189_video')
    var button = document.getElementById('tl_widget189_button')
    var button2 = document.getElementById('tl_widget189_button2')
    var button3 = document.getElementById('tl_widget189_button3')
    var view = document.getElementById('tl_widget189_view');
    var powerd = document.getElementById('tl_widget189_powerd');
    view.onmouseover =  function(){
    var i = document.getElementById('tl_widget189_cameraLink');
        i.style.display = 'block';
    }
    view.onmouseout =  function(){
    var i = document.getElementById('tl_widget189_cameraLink');
        i.style.display = 'none';
    }
    fixWeatherPng(video.getElementsByTagName('img')[0],'tl_widget189_cameraLink');
    fixWeatherPng(button.getElementsByTagName('img')[0],'');
    fixWeatherPng(button2.getElementsByTagName('img')[0],'');
    fixWeatherPng(button3.getElementsByTagName('img')[0],'');
    fixWeatherPng(powerd,'');
}
function fixWeatherPng(img,i) {

if (img.filters) {
    var div = document.createElement('DIV');
    var src = img.src;
    img.style.visibility = 'hidden';
    div.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+ src +'", sizing="scale")';
    div.style.width = '140px';
    div.style.height = '118px';
    div.style.left = '0';
    div.style.top = '0';
    div.id = i;
    if(i=='tl_widget189_cameraLink'){div.style.display = 'none';};
    img.replaceNode(div);
    img.src = '';
}
}
tl_widget189.init();
var tracker_url = escape(document.location);
document.write('<iframe src="http://www.trafficland.com/widget/tracking.html?loc=' + tracker_url + '&rand=5118" width="1" height="1" style="display:none"  ></iframe>');
