//<!-- 
function openNewWin(url,theWidth,theHeight)
{
  var theTop=0;
  if(screen.availHeight>theHeight)
    theTop=(screen.availHeight-theHeight)/2;
  var theLeft=0;
  if(screen.availWidth>theWidth)
    theLeft=(screen.availWidth-theWidth)/2;
  var features='height='+theHeight+',width='+theWidth+',top='+theTop+',left='+theLeft+',scrollbars=no,menubar=no,toolbar=no,resizable=no';
  theWin=window.open(url,'',features);
  if(window.navigator.appVersion.indexOf("Mac") != -1)
    theWin.resizeBy(0,20);
}

function divToggle(id){
	var element = document.getElementById(id); 
	img = fetch_object("toggle_" + id);
	if(element.style.display == "none" || !element.style.display) {
		element.style.display = "block"; 
		img.src = img.src.replace('.gif', '_collapsed.gif');
	} else if(element.style.display == "block") { 
		element.style.display = "none"; 
		img.src = img.src.replace('_collapsed.gif', '.gif');
	} 
}

function subandreload()
   {
	document.myform.submit();
	document.location.reload(true);
	opener.location.reload(true);
	}
	

function MM_preloadImages() { 
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
	
//-->

