function preloadImages() {
	for(i=0; i<preloadImages.arguments.length; i++){
		var pre_img = new Array();
		pre_img[i] = new Image;
		pre_img[i].src=preloadImages.arguments[i];
	}
}
function setTxt(id){
	text = document.all(id).value;
	window.clipboardData.setData("text", text);

	var obj=document.all && document.all(id) || document.getElementById && document.getElementById(id);
	if(obj && obj.style){
		obj.style.backgroundColor="#9cf";
	}
}
function changeCssImage(id, img){
	var obj=document.all && document.all(id) || document.getElementById && document.getElementById(id);
	if(obj && obj.style) obj.style.backgroundImage="url('"+img+"')";
}
function changeCssDisplay(id, stmt){
	var obj=document.all && document.all(id) || document.getElementById && document.getElementById(id);
	if(obj && obj.style){
		obj.style.display=stmt;
	}
}

