var Preloader=function(to,callBack)
	{
	var self=this;
	this.callBack=callBack;
	this.currentProgress=false;
	this.div=null;
	this.destroy=function()
		{
		this.div.style.display="none";
		}
	this.progress=function(progress,currentProc)
		{
		}
	this.div=document.createElement("DIV");
	this.div.className="preloader";
	to.appendChild(this.div);

	}