//
// hideElement

function hideElement(id_object) {
	this.document.getElementById(id_object).style.display='none';
}

function showElement(id_object) {
	this.document.getElementById(id_object).style.display='table';
}

function showLotImage(num,img) {
	//alert( id);
	//alert(this.document.getElementById('lot_nr_'+num).offsetTop)
	//alert(this.id)
	
	return Tip(img, BGCOLOR, '#25361B', BORDERWIDTH, 0);
}

/*
function fileBrowserCallBack(field_name, url, type, win) {
	// due to mcpuk bug with firefox please tiny the absolute path to the connector, something like:
	// var connector = "http://localhost/tinymcpuk/filemanager/browser.html?Connector=http://localhost/tinymcpuk/filemanager/connectors/php/connector.php";
	var connector = "../../filemanager/browser.html?Connector=connectors/php/connector.php";
	var enableAutoTypeSelection = true;
	
	var cType;
	tinymcpuk_field = field_name;
	tinymcpuk = win;
	
	switch (type) {
		case "image":
			cType = "Image";
			break;
		case "flash":
			cType = "Flash";
			break;
		case "file":
			cType = "File";
			break;
	}
	
	if (enableAutoTypeSelection && cType) {
		connector += "&Type=" + cType;
	}
	
	window.open(connector, "tinymcpuk", "modal,width=600,height=400");
}*/