﻿//*for calendar select
function turnpage(src,mode){

 currPos = src.selectedIndex;

 if(mode==0){//前翻
 	if(currPos==0) return;
	else {
	 src.selectedIndex = currPos -1;
	 src.onchange();
	} 
 }else{
 if(currPos == src.length-1)
	 return;
	 else {
	 src.selectedIndex = currPos +1;
	 src.onchange();
	 }
 }
}

function changeMPCld()
{
 var y,m;
 y=CLD.SY.selectedIndex+2006;
 m=CLD.SM.selectedIndex;
 //alert(y);
 OBJ_MP_LOADACTION.loadPeriods("",y+"-"+appendZero(m+1));

}
///**for div ozoom
function zoomIn() {
  newZoom= parseInt(ozoom.style.zoom)+10+'%'
      ozoom.style.zoom =newZoom;
  } 
function zoomOut() {
  newZoom= parseInt(ozoom.style.zoom)-10+'%'
      ozoom.style.zoom =newZoom;
  } 