
	 var cwin = null;
	 function openWin(theUrl, name, width, height, tools) {
	   cwin = window.open('', name,
	  tools+'width=' + width + ',height='+height);
	  if (cwin != null) {
	   if (cwin.opener == null)
	    cwin.opener = self;
	   cwin.location.href= theUrl;
	
	    cwin.focus();
	  }
	 }
	 function closeWin(theWin) {
	  theWin.close();
	 }

function ButtonMouseOver(object){
//alert(object.style.mocolor);
object.style.backgroundColor=object.style.movback;
object.style.cursor='pointer';
object.style.color=object.style.movtext;

}

function ButtonMouseDown(object){
object.style.backgroundColor=object.style.mclick;

}


function ButtonMouseOut(object){
object.style.backgroundColor=object.style.motback;
object.style.cursor='default';
object.style.color=object.style.mottext
}

function ShowHide(object){

	if(document.all[object].style.display == 'block'){
		hide(object);
	}else{
		show(object);
	}


}

function show(object) 
  {
   document.all[object].style.display = 'block';
   document.all[object].style.visibility = 'visible';
   
  }
           
 function hide(object) 
  {
   document.all[object].style.display = 'none';
   document.all[object].style.visibility = 'hidden';
  }
