function ShowModalPane(divId)
 {
 	var modalpaneheight=FluorShowModalPaneHeight!=null&&typeof FluorShowModalPaneHeight!='undefined'?FluorShowModalPaneHeight:450;
 	var modalpanewidth=FluorShowModalPaneWidth!=null&&typeof FluorShowModalPaneWidth!='undefined'?FluorShowModalPaneWidth:680;
	if(navigator.userAgent.toLowerCase().indexOf('msie')>=0&&modalpaneheight!=450)
	{
		modalpaneheight=modalpaneheight-5;
	}
  try{
 	ShowDialog(divId,modalpanewidth,modalpaneheight,modalpanewidth,modalpaneheight);	 	
 	var fay=document.getElementById('ScreenOver');
	document.body.appendChild(document.getElementById(divId));
	
	var ww , wh ;
	  if (self.innerHeight)
	  {  // all except Explorer
	    ww = self.innerWidth;
	    wh = self.innerHeight;
	  } else if (document.documentElement && document.documentElement.clientHeight)
	  { // Explorer 6 Strict Mode
	    ww = document.documentElement.clientWidth;
	    wh = document.documentElement.clientHeight;
	  } else if (document.body) { // other Explorers
	    ww = document.body.clientWidth;
	    wh = document.body.clientHeight;
	  }  

	var dde = document.documentElement;
	 var bgX,bgY
	  if (window.innerWidth) {
		 bgX = window.pageXOffset;
		 bgY = window.pageYOffset;
	  } else {
	     bgX = dde.scrollLeft;
		 bgY = dde.scrollTop;
	  }
	  	  
	document.getElementById(divId).style.top = ((wh - 450)/2) + document.body.scrollTop;
	document.getElementById(divId).style.backgroundColor="white";
	}catch(e){}
 }

	 function onstatuschange(obj,imgUrl)
    {
        if(obj==null||typeof obj=='undefined')
            return;
        obj.setAttribute('src',imgUrl);
    }
