//function setheight(){	return false;	var Lh = document.getElementById("right_content");	var Mh = document.getElementById("sidebar");	if (Lh.offsetHeight>Mh.offsetHeight)	{	   Mh.style.height = Lh.offsetHeight+"px";	}else{	   Lh.style.height = Mh.offsetHeight+"px";	}	}function set_preview(obj,obj_img){	Object.prototype.attachEvent = function(method,func)	{	if(!this[method]){	this[method]=func;	}	else{	this[method]=this[method].attach(func);	}	}	Function.prototype.attach=function(func){	var f=this;	return function(){	f();	func();	}	}	obj.attachEvent('onchange',function(){		if (obj.value){         			obj_img.src=obj.value;         			obj_img.style.display="";         			obj_img.border=1;         		} 	});	//obj.attachEvent('onclick',function(){alert("123");});}function viewmypic(mypic,imgfile) {         	if (imgfile.value){         		mypic.src=imgfile.value;		mypic.style.display="";		mypic.border=1;	}         }         
