function resizeDiv(where, w, h) {
 document.getElementById(where).width=w; 
 document.getElementById(where).height=h; 
}



function imageThumb(where, w, h) {
	iwidth = document.images[where].width;
	iheight = document.images[where].height;
	scaleby= w/iwidth;
	
	h=scaleby*iheight;
	document.images[where].width=w;
	document.images[where].height=h;
	document.images[where].ow=iwidth;
	document.images[where].oh=iheight;
	document.images[where].tw=w;
	document.images[where].th=h;
 
}

function imageBig(where) {
	document.images[where].width=document.images[where].ow;
	document.images[where].height=document.images[where].oh;
	
}
function imageSmall(where) {
	document.images[where].width=document.images[where].tw;
	document.images[where].height=document.images[where].th;
	
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function overflowDIV(where, state) {
	overflow_div = document.getElementById(where);
	overflow_div.style.overflow = state; 
}
