myPix = new Array("dots/digital1.gif","dots/digital2.gif","dots/digital3.gif","dots/digital4.gif","dots/digital5.gif","dots/digital6.gif","dots/digital7.gif")
thisPic = 3
imgCt = myPix.length -1

//Specify affected tags. Add or remove from list:
 var tgs = new Array( 'div','td','tr');

 //Specify spectrum of different font sizes:
 var szs = new Array( '11px','12px','13px','14px','15px','16px','17px' );
 var startSz = 1;
//---------->
function processPrevious(trgt,inc)
{if (document.images && thisPic > 0) {
       /* thisPic--
        document.myPicture.src=myPix[thisPic]

  */
  if (!document.getElementById) return
 var d = document,cEl = null,sz = startSz,i,j,cTags;

 sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

 if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

 cEl.style.fontSize = szs[ sz ];

 for ( i = 0 ; i < tgs.length ; i++ ) {
 cTags = cEl.getElementsByTagName( tgs[ i ] );
 for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
 }
}
}
function processNext(trgt,inc)
{
  if (document.images && thisPic < imgCt) {
       /* thisPic++
        document.myPicture.src=myPix[thisPic]
  */
  if (!document.getElementById) return
 var d = document,cEl = null,sz = startSz,i,j,cTags;

 sz += inc;
 if ( sz < 0 ) sz = 0;
 if ( sz > 6 ) sz = 6;
 startSz = sz;

 if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

 cEl.style.fontSize = szs[ sz ];

 for ( i = 0 ; i < tgs.length ; i++ ) {
 cTags = cEl.getElementsByTagName( tgs[ i ] );
 for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
 }
}
}
$(document).ready(function(){	   
    $("#send_text").click(function(event){		
        if ($("#sendform").is(":hidden")) {		    
            $("#sendform").slideDown(500);		    		    
        } else {		   
           $("#sendform").slideUp(500);            
        }
    });
    $("#send_img").click(function(event){		
        if ($("#sendform").is(":hidden")) {		    
            $("#sendform").slideDown(500);		    		    
        } else {		   
           $("#sendform").slideUp(500);            
        }
    });
    $("#closeform").click(function(event){		
        if ($("#sendform").is(":hidden")) {		    
            $("#sendform").slideDown(500);		    		    
        } else {		   
           $("#sendform").slideUp(500);            
        }
    });
});