﻿//var winW = 1200;
function onSourceDownloadProgressChanged(sender, eventArgs) {
    //sender.findName("uxStatus").Text = "Loading: " + Math.round((eventArgs.progress * 1000)) / 10 + "%";
	/*if (winW==1200) {
		winW = (getWidth()==null)?1200:getWidth();
	}*/
    sender.findName("uxProgress")["Canvas.Left"] = window.document.body.clientWidth / 2 - 125;
    sender.findName("uxProgress")["Canvas.Top"] = window.document.body.clientHeight / 2 - 64;
    sender.findName("uxProgressBar").ScaleX = eventArgs.progress * 250;
}
